Raw schema
{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"minLength": 3,
"maxLength": 5000,
"description": "What should happen in the shot (3-5000 characters)."
},
"model": {
"type": "string",
"enum": [
"kling-2.1",
"kling-2.6-pro",
"kling-o1",
"kling-3.0",
"kling-o3-standard",
"kling-o3-pro",
"kling-o3-4k",
"kling-v3-pro",
"minimax-01",
"minimax-hailuo-02",
"minimax-hailuo-2.3-pro",
"luma-ray-2",
"luma-ray-3.2",
"minimax-hailuo-2.3-pro-t2v",
"luma-ray-3.2-t2v",
"sora-2",
"sora-2-pro",
"veo3",
"veo3.1",
"veo3.1-fast",
"gemini-omni-flash",
"veo3-fast",
"gemini-omni-flash-t2v",
"wan-2.1",
"wan-2.7",
"wan-2.7-ref2v",
"wan-2.7-t2v",
"happy-horse",
"happy-horse-ref2v",
"happy-horse-t2v",
"pixverse-v6",
"pixverse-v6-t2v",
"krea-wan-14b-t2v",
"grok-imagine",
"grok-imagine-t2v",
"sora-2-t2v",
"sora-2-pro-t2v",
"seedance-2.0-pro",
"seedance-2.0-pro-fast",
"seedance-2.0-ref2v",
"seedance-2.0-ref2v-fast",
"seedance-2.0-pro-t2v",
"seedance-2.0-pro-fast-t2v",
"seedance-1.5-pro",
"seedance-1.5-pro-t2v",
"seedance-1.0-pro",
"seedance-1.0-pro-t2v",
"seedance-1.0-pro-fast",
"seedance-1.0-pro-fast-t2v",
"seedance-1.0-lite",
"seedance-1.0-lite-t2v",
"seedance-1.0-lite-ref2v",
"kling-o3-standard-t2v",
"kling-o3-pro-t2v",
"kling-v3-standard-t2v",
"kling-v3-pro-t2v",
"ltx-2-19b",
"ltx-2-19b-distilled",
"ltx-2-19b-t2v",
"ltx-2-19b-distilled-t2v"
],
"description": "Video model. Supported durations and text-to-video vs image-to-video differ per model; call generation_options_list first.",
"default": "wan-2.1"
},
"durationSeconds": {
"type": "integer",
"minimum": 2,
"maximum": 30,
"description": "Clip length in seconds (2-30). Must be supported by the chosen model.",
"default": 5
},
"aspectRatio": {
"type": "string",
"enum": [
"9:16",
"16:9",
"1:1"
],
"description": "Output aspect ratio.",
"default": "9:16"
},
"sourceAssetId": {
"type": "string",
"format": "uuid",
"description": "Source image asset ID. Required by image-to-video models."
},
"referenceAssetIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 29,
"description": "Reference image asset IDs. Seedance 2.5 accepts 29 plus sourceAssetId, for 30 images total; other models accept up to 4.",
"default": []
},
"referenceVideoAssetIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 10,
"description": "Seedance 2.5 reference video asset IDs. Unsupported by other models.",
"default": []
},
"referenceAudioAssetIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 10,
"description": "Seedance 2.5 reference audio asset IDs. Unsupported by other models.",
"default": []
},
"resolution": {
"type": "string",
"enum": [
"480p",
"720p"
],
"description": "Seedance 2.5 output resolution."
},
"generateAudio": {
"type": "boolean",
"description": "Generate audio alongside the video when supported.",
"default": true
},
"negativePrompt": {
"type": "string",
"maxLength": 2500,
"description": "What to avoid in the shot."
},
"seed": {
"type": "integer",
"description": "Optional seed for reproducible output."
},
"folderId": {
"type": "string",
"format": "uuid",
"description": "Optional media library folder ID."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"idempotencyKey": {
"type": "string",
"minLength": 8,
"maxLength": 200,
"pattern": "^[A-Za-z0-9._:-]+$",
"description": "Retry key. Reuse only with identical inputs."
}
},
"required": [
"prompt"
],
"additionalProperties": false
}