Skip to main content
POST

Authorizations

Authorization
string
header
required

Your organization's API key, from Settings → MCP. Authorization: Bearer crl_sk_live_…

Headers

Idempotency-Key
string

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.

Maximum string length: 255

Body

application/json
brand_id
string
required

Required. The brand to generate for (a brand id, from GET /v1/brands). The run renders with the brand's default avatar (its look, voice and persona) unless avatar_id names another, and lands in the brand's API project.

tool
enum<string>

The tool to run. Preferred over stage.

Available options:
ugc-video,
reshoot,
short-clip,
character-swap,
motion-control,
hook-captions,
merge-clips,
photo-edit,
text-to-photo,
add-audio,
lipsync,
change-voice,
text-to-speech,
dialogue
stage
string

Lower-level escape hatch when you want to address a stage directly.

model
enum<string>

Override the tool's default model. Must belong to the tool's stage.

Available options:
nano-banana-pro,
nano-banana-2-text-to-image,
nano-banana-2-1-text-to-image,
gpt-image-v2-text-to-image,
gpt-image-v2-5-flare-text-to-image,
gpt-image-v2-5-sunburst-text-to-image,
gpt-image-v2-6-flare-text-to-image,
gpt-image-v2-6-sunburst-text-to-image,
kling-image-4-0-text-to-image,
nano-banana-pro-edit,
nano-banana-2-edit,
nano-banana-2-1-edit,
bytedance-seedream-v4-5-edit,
gpt-image-v2-edit,
gpt-image-v2-5-flare-edit,
gpt-image-v2-5-sunburst-edit,
gpt-image-v2-6-flare-edit,
gpt-image-v2-6-sunburst-edit,
kling-image-4-0-edit,
bytedance-seedance-2-5-image-to-video,
kling-video-4-0-image-to-video,
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,
minimax-h3-max-image-to-video,
minimax-h3-max-turbo-image-to-video,
kling-v3-4k-image-to-video,
kling-v3-pro-image-to-video,
kling-v3-standard-image-to-video,
kling-o3-standard-image-to-video,
google-gemini-omni-flash-image-to-video,
veo-3-1-lite-text-to-video,
veo-3-1-lite-first-last-frame-to-video,
veo3-1-text-to-video,
veo3-1-first-last-frame-to-video,
veo3-1-first-last-frame-to-video-fast,
veo3-1-reference-to-video,
flux-3-max-text-to-video,
flux-3-max-keyframes-to-video,
flux-3-max-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,
bytedance-seedance-2-5-reference-to-video,
kling-video-4-0-reference-to-video,
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,
kling-video-4-0-text-to-video,
alibaba-wan-3-0-prime-text-to-video,
alibaba-wan-3-0-prime-image-to-video,
alibaba-wan-3-0-prime-reference-to-video,
alibaba-wan-3-0-pro-text-to-video,
alibaba-wan-3-0-pro-image-to-video,
alibaba-wan-3-0-pro-reference-to-video,
minimax-h3-max-text-to-video,
minimax-h3-max-turbo-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,
talking-head,
merge-clips,
character-swap-transfer,
character-swap-replace,
character-swap-recast,
reshoot-seedance-2-0,
reshoot-kling-4-0,
reshoot-seedance-2-5,
seedance-2-5-video-edit,
video-upscale,
kling-video-4-0-video-edit
prompt
string

What to create. Required by most models.

avatar_id
string

The avatar the run renders with (from GET /v1/avatars): its face goes into the model's character slot and its voice is the default for any voice parameter. Must belong to your workspace (404 otherwise). Omit to use the account's default avatar.

inputs
object

Slot key → asset id(s) or public https URL(s), per the model's inputs. A URL must serve the media file itself and is adopted as an asset automatically; a video slot also takes a TikTok / Instagram post link, whose video is imported. Any other web page link is a 400.

params
object

Model parameters. Validated against the model's schema — an unknown key is a 400.

count
integer

Alternatives to produce, up to the model's max_count. Image models only; video is always one take.

Required range: 1 <= x <= 4
source_url
string<uri>

For a tool with accepts_source_url (today short-clip): the video LINK to work from, instead of uploading it. Pass this OR the source asset in inputs, never both. The run is priced off the link's real length.

include_avatar
boolean
default:true

The avatar (the brand's default, or avatar_id) is added to the model's character slot so it stays recognisable across runs, which also satisfies a required character slot (ugc-video's characters) without an inputs entry. Set false when the output must NOT contain the avatar (a product shot on the brand's account, a scene without it); a required character slot then needs the face in inputs.

Response

An idempotent replay: the original generation, unchanged and not re-charged.

object
enum<string>
required
Available options:
generation
id
string
required
status
enum<string>
required
Available options:
queued,
processing,
succeeded,
failed
output
object[]
required
tool
string
stage
string
model
string
prompt
string
params
object
brand_id
string
error
string

Present on failed. The credits were refunded.

created_at
number
updated_at
number