PixMind Docs
API Guides

Short drama storyboard

Analyze an episode and retrieve storyboard images, shot prompts, reference images, voice prompts, dialogue, and subtitles.

Submit one video to POST /api-platform/v1/short-drama-to-storyboard with an API key that has video permission.

FieldAccepted valuesDefault
videoUrlPublic direct video URL or the publicUrl of an owned temporary uploadRequired
modepro, ultraultra
depthlow, medium, highlow
languageBCP 47 language tagzh-CN
temporaryUploadIdsAt most one upload ID, matching videoUrlOmitted

The limit is 10 minutes and 200 MiB per video. Use the Idempotency-Key header with the same body when retrying an uncertain submission.

curl 'https://aihub-admin.aimix.pro/api-platform/v1/short-drama-to-storyboard' \
  -H "Authorization: Bearer $PIXMIND_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: storyboard-episode-1' \
  -d '{"videoUrl":"https://example.com/episode.mp4","mode":"pro","depth":"medium","language":"en"}'

Poll GET /api-platform/v1/tasks/{taskId} with the returned task ID. A ready task includes result.storyboard, result.scripts, result.characters, result.scenes, result.props, result.voiceProfiles, and result.cover. It also returns dialogue, subtitles, and signed image URLs in result.media. Poll the task again to refresh expired asset URLs. A failed task includes an error code and message.

Each started 30-second block is billed to the API wallet. The system probes the video before charging and refunds the original charge after a terminal processing failure. Read usage.credits, usage.units, and usage.refunded on the task, and query GET /api-platform/v1/tools for the current prices by mode and depth.

Default API credits per 30 secondsLowMediumHigh
Pro160320480
Ultra200400600