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

API Keys

Create, list, update, and revoke API keys through the dashboard API.

View as Markdown

API keys authenticate programmatic access. Each key can be scoped to specific operations and revoked independently. Keys are managed through the dashboard API, which is authenticated with your browser session (JWT) — not with an API key.

The full key (pxsk_ followed by 32 hex characters) is returned only once, at creation. Store it immediately in a secret manager or environment variable.

POST /api/keys#

Create a new API key. The raw key is returned once, in this response only.

Auth: Dashboard (JWT)

Parameter Type Required Description
name string Yes Human-friendly name, 1 to 100 characters.
scopes string[] No Allowed operations. Defaults to images:generate, images:edit, videos:generate, uploads:write.
expires_in_days number No Days until expiry, 1 to 365. Null means the key never expires.

Response

{
  "id": "9b1c7e0a-...",
  "name": "Production server",
  "raw_key": "pxsk_1a2b3c...   (shown only once)",
  "key_prefix": "pxsk_1a2b",
  "scopes": ["images:generate", "images:edit", "videos:generate", "uploads:write"],
  "created_at": "2026-06-17T20:00:00Z"
}

GET /api/keys#

List your API keys. Values are masked — only the prefix is shown.

Auth: Dashboard (JWT)

GET /api/keys/{id}#

Get a single API key by id.

Auth: Dashboard (JWT)

PATCH /api/keys/{id}#

Update a key’s name, scopes, or active status.

Auth: Dashboard (JWT)

Parameter Type Required Description
name string No New name, 1 to 100 characters.
scopes string[] No New scope set.
is_active boolean No Activate or deactivate the key.

DELETE /api/keys/{id}#

Revoke a key. It stops working immediately and returns 204 No Content. This cannot be undone.

Auth: Dashboard (JWT)

Available scopes#

images:generate   Generate images from text prompts
images:edit       Edit existing images with instructions
videos:generate   Generate videos from text or images
uploads:write     Upload files to managed assets for image/video inputs
audio:generate    Generate audio and music
agent:run         Run AI agent workflows

Best practices: use separate keys per environment (dev/staging/prod), grant only the scopes each key needs, rotate keys periodically, and never commit them to source control.

Previous
Templates
Next
Webhooks
On this page
  • POST /api/keys
  • GET /api/keys
  • GET /api/keys/{id}
  • PATCH /api/keys/{id}
  • DELETE /api/keys/{id}
  • Available scopes
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