Upgrade
PicX StudioPicX Studio
Create
Generate
Explore
Templates
Skills
Prompts
Product Video Studio
Product Image Studio
Ad Templates
Media
DirectorLive
Creditsup to 80%

Buy Credits−80%CreditsLoading…up to 80% off yearly
  • Overview
  • Docs
  • API keys
  • Playground
  • MCP
  • CLI
Getting Started
  • Quick Start
  • Authentication
  • Rate Limits
MCP
  • Overview
  • Tools Reference
  • Connect Claude Desktop
  • Connect Cursor
CLI
  • Overview
  • Command Reference
  • Recipes
API Reference
  • Generate Image
  • Edit Image
  • Generate Video
  • List Models
  • Managed Assets
  • Templates
Developer Tools
  • API Keys
  • Webhooks
  • Usage Tracking
  • Playground
  • Async Image Generation
Code Examples
  • cURL Examples
  • Python SDK
  • JavaScript SDK
DevelopersDocsDeveloper Tools

Usage Tracking

Monitor API usage and credit balance with your API key, plus richer dashboard reports.

View as Markdown

Track how much of the API you are using and your remaining credit balance. Two endpoints are available directly with your API key; richer breakdowns are available through the dashboard API (JWT).

API-key endpoints — call these with Authorization: Bearer pxsk_…

GET /v1/account/usage#

Usage statistics for your account over a period.

Auth: API Key

Parameter Type Required Description
period string No Window like 7d or 30d (pattern Nd, from 1d to 365d). Default 30d.

Response

{
  "total_requests": 150,
  "successful_requests": 145,
  "failed_requests": 5,
  "total_cost_usd": 3.24,
  "credits_used": 3240,
  "period_days": 30,
  "model_breakdown": {
    "gemini-3.1-flash-image-preview": 100,
    "fal-ai/bytedance/seedance/v2": 50
  }
}

GET /v1/account/me#

Your profile and current credit balance.

Auth: API Key

Response

{
  "id": "9b1c7e0a-...",
  "email": "[email protected]",
  "name": "You",
  "role": "user",
  "is_active": true,
  "credits": { "balance": 6760, "total_earned": 10000, "total_used": 3240 }
}

The endpoints below are part of the dashboard API and require a browser session (JWT). They are not accessible with an API key.

GET /api/usage#

Aggregated usage including per-model breakdown and top endpoints.

Auth: Dashboard (JWT)

Parameter Type Required Description
period number No Days, 1 to 365. Default 30.

Response

{
  "total_requests": 150,
  "successful_requests": 145,
  "failed_requests": 5,
  "total_credits_used": 3240,
  "period_days": 30,
  "model_breakdown": { "gemini-3.1-flash-image-preview": 100 },
  "top_endpoints": [ { "endpoint": "/v1/images/generate", "count": 100 } ]
}

GET /api/usage/daily#

Per-day usage breakdown for the period.

Auth: Dashboard (JWT)

GET /api/logs#

Paginated request logs: method, endpoint, status, latency, and credits.

Auth: Dashboard (JWT)

Parameter Type Required Description
limit number No Page size, 1 to 100. Default 50.
offset number No Pagination offset. Default 0.

GET /api/tier#

Your tier limits — see Rate Limits.

Auth: Dashboard (JWT)

Check your usage#

curl

curl "https://api.picxstudio.com/v1/account/usage?period=30d" \
  -H "Authorization: Bearer pxsk_your_key"

python

import requests

usage = requests.get(
    "https://api.picxstudio.com/v1/account/usage",
    headers={"Authorization": "Bearer pxsk_your_key"},
    params={"period": "30d"},
).json()
print(usage["credits_used"], "credits used")
Previous
Webhooks
Next
Playground
On this page
  • GET /v1/account/usage
  • GET /v1/account/me
  • GET /api/usage
  • GET /api/usage/daily
  • GET /api/logs
  • GET /api/tier
  • Check your usage
PicX Studio

Fuel your creativity, frame your story.

Studio

  • 1985 Snapshot
  • Templates
  • Skills
  • Tools
  • Prompts
  • Discover
  • PicX TV
  • Pricing
  • Blog

Skills

  • 1985 Flash Snapshot
  • 90s Album Snapshot
  • Storyboard to Video Workflow
  • H3 Max Director Live
  • GPT Image 2 Prompting
  • Character Continuity

Video models

  • MiniMax H3
  • Seedance 2.5
  • Seedance 2.0
  • Kling 3.0 Pro
  • FLUX 3
  • Grok Imagine
  • What is Seedance?
  • Higgsfield alternative

Image models

  • Nano Banana 2
  • Nano Banana Pro
  • GPT Image 2
  • Seedream 5 Pro
  • Nano Banana 2 vs Pro
  • What is Nano Banana?
  • Prompt Generator

E-commerce

  • AI tools for e-commerce
  • AI product photography
  • AI product video generator
  • AI UGC video ads
  • AI video ad generator
  • AI dropshipping

Free Tools

  • Background Remover
  • Image Upscaler
  • Image Compressor
  • Image to Text
  • Meme Generator
  • Instagram grid maker
  • AI face generator
  • Explore all tools

Resources

  • Compare
  • Prompt Roundups
  • Guides
  • Docs
  • API
  • CLI
  • FAQ

Company

  • About Us
  • Team
  • Careers
  • Brand
  • Partners
  • Sponsors
  • Roadmap
  • Status
  • Domain Rating
PicX Studio

© 2026 PicX Studio. All rights reserved.

Monitor your Domain Rating with FrogDR
[email protected]
  • Terms of Service
  • Privacy Policy
  • Security