Start a generation
Start an image or video run. This is the API’s one paid operation and it is
asynchronous by design: a video takes minutes, so the call returns a job handle
immediately and you poll GET /v1/generations/{id}.
inputs values are either an asset id or a public https URL (adopted as an asset
automatically). params are validated against the model’s own schema — an unknown key
is a 400, never a silent drop, because a silently ignored parameter on a paid call is
the worst possible outcome.
Send Idempotency-Key and a retry returns the ORIGINAL generation instead of paying
for a second run.
Authorizations
Your organization's API key, from Settings → API. Authorization: Bearer crl_sk_live_…
Headers
A UUID you generate. A replay returns the original generation with idempotent-replay: true. Keys are namespaced per API key and kept for 24 hours.
255Body
The tool to run. Preferred over stage.
ugc-video, short-clip, scene-video, motion-control, hook-captions, photo-edit, text-to-photo, add-audio, lipsync, change-voice, text-to-speech, dialogue Lower-level escape hatch when you want to address a stage directly.
Override the tool's default model. Must belong to the tool's stage.
nano-banana-pro, nano-banana-2-text-to-image, gpt-image-v2-text-to-image, nano-banana-pro-edit, nano-banana-2-edit, bytedance-seedream-v4-5-edit, gpt-image-v2-edit, bytedance-seedance-2-0-image-to-video, bytedance-seedance-2-0-image-to-video-fast, xai-grok-imagine-video-1-5-preview-image-to-video, google-gemini-omni-flash-image-to-video, bytedance-seedance-2-0-reference-to-video, bytedance-seedance-2-0-mini-reference-to-video, bytedance-seedance-2-0-reference-to-video-fast, xai-grok-imagine-reference-to-video, google-gemini-omni-flash-reference-to-video, kling-v3-standard-motion-control, hook-write, caption-burn, short-clip, bytedance-seedance-2-0-text-to-video, sync-3-lipsync, sync-lipsync-v2-pro, ffmpeg-api-merge-audio-video, elevenlabs-zrm-text-to-speech, elevenlabs-zrm-text-to-dialogue, change-voice, scene-seedance-2-0, scene-seedance-2-0-mini, scene-kling-o3-pro-reference, scene-seedance-2-0-fast, scene-kling-o3-standard-reference, scene-kling-o3-pro-edit, scene-kling-o3-standard-edit What to create. Required by most models.
Generate as this creator — inherits their look, voice and persona.
Slot key → asset id(s) or public https URL(s), per the model's inputs. A URL is adopted as an asset automatically.
Model parameters. Validated against the model's schema — an unknown key is a 400.
Alternatives to produce. Image models only; video is always one take.
1 <= x <= 4Response
An idempotent replay: the original generation, unchanged and not re-charged.
generation queued, processing, succeeded, failed Present on failed. The credits were refunded.