Workflow APIs and Canonical Generation APIs
Canonical generation APIs and workflow APIs are separate contracts. Use POST /v1/characters to create a character, POST /v1/generations for standalone or character image generation, and POST /v1/video/generations for motion. The Quickstart uses these canonical routes. Use their returned IDs and their own status endpoints.
Workflow
Canonical generation APIs and workflow APIs are separate contracts. Use POST /v1/characters to create a character, POST /v1/generations for standalone or character image generation, and POST /v1/video/generations for motion. The Quickstart uses these canonical routes. Use their returned IDs and their own status endpoints.
The deployed workflow routes include /v1/workflow/create-character, /v1/workflow/character-to-image, /v1/workflow/text-to-image, /v1/workflow/image-to-video and /v1/workflow/story/generate. They have different input wrappers and result envelopes; follow each reference entry and poll the corresponding /status/{job_id} endpoint. Do not reuse a canonical-generation payload or assume every workflow returns the same status code.
For workflow character images and videos, sourceImage contains assetId plus the platform-issued presignedUrl. Retrieve both from an accessible platform source; arbitrary external image URLs are not a substitute. GET /v1/workflow/character-to-image/presets supplies cataloged pose names. Replace all resource and pose placeholders in examples with actual values before calling.
POST /v1/generate-image and /v1/generate-video are additional compatibility routes. They require an Idempotency-Key header and a modelAlias/input wrapper. Each logical request needs a unique key; use the same key and identical payload when retrying it. These wrappers differ from /v1/generations and /v1/video/generations. These are prepared-media contracts: image input allows a final prompt, width/height and other documented worker fields; video input requires exactly one input_image_url or input_image_base64 and duration_seconds. They do not take canonical character_id/image_asset_id/aspect_ratio inside input. Follow statusUrl from the response.
POST /v1/workflow/voice-chat/stt accepts a multipart file. POST /v1/workflow/voice-chat/tts accepts JSON text and returns raw WAV bytes; save the response as audio instead of parsing JSON. The canonical /v1/audio/speech route returns a JSON object with a signed outputUrl.
POST /v1/workflow/chat (also /v1/chat/workflow) accepts query/history and platform-managed conversation fields. POST /v1/chat/customizable has its own caller-supplied systemPrompt/schema contract. The non-streaming limitation in the Chat Completions guide specifically describes /v1/chat/completions, whose schema rejects stream, tools and response_format.
