Used to create video generation tasks and query status and results via task ID.
Core fields for task creation:
model: Required. Model name.
prompt: Optional; if not provided, content must include a non-empty text item.
content: Optional, the Volcano Ark content array, mixing text, image, video, and audio materials.
function_mode: Optional. Commonly used for advanced modes such as Omni-Reference.
Compatible input parameters:
The following fields are mainly used for compatibility with legacy clients and older protocols. For new integrations, please use the standard format in the “Request Example” on this page whenever possible: use the content array for text and reference materials, and use top-level duration, ratio, resolution, fps, and other fields for generation configuration.
When using mode=reference_material or function_mode=omni_reference, it is recommended to pass text and reference materials via content.
content text items are written as { "type": "text", "text": "测试文字" }.
content image, video, and audio material items use the image_url, video_url, and audio_url object formats respectively, for example { "type": "image_url", "image_url": { "url": "https://example.com/ref.png" }, "role": "reference_image", "name": "1" }.
role can be used to identify the purpose of the material, and name can be referenced by name in prompts.
ratio, duration, resolution, and fps will affect the final generation configuration.
Seedance 2.5 Mixed image, video, and audio reference example (the asset URLs are placeholders; replace them with actual accessible links when calling):
gemini-omni can also be invoked through this Seedance task API.
mode=t2v is used for text-to-video, mode=r2v for generation with reference images/reference materials, and mode=edit for video editing.
Text can be placed in the text item of prompt or content; images can be placed in image_url / image_urls / reference_images / input_reference / content; videos can be placed in video_urls / content.
The duration field can use duration or seconds, and will be automatically mapped to the 4 / 6 / 8 / 10 second options.
MiniMax / Hailuo Invocation:
minimax-h3 can be invoked through this task API and supports text-to-video, image reference, and audio reference; text can be placed in the prompt or content text fields, and assets can be placed in fields such as content, image_urls, and audio_urls.
hailuo-2.3 can be invoked through this task API. A first-frame image is required. It is recommended to pass the image_url item of role=first_frame in content.
minimax-h3 commonly uses duration=5~15 and resolution=1440p; hailuo-2.3 commonly uses duration=6 or 10 and resolution=768p.
Key fields in query results:
items[].status
items[].content.video_url or items[].video_url
items[].error
items[].progress
Error fields: error.code, error.message.
{ "error": { "code": "invalid_request_error", "message": "requires at least one image in `images`" }}
Kling 4.0
Kling 4.0 calls: kling-4.0 (720p) and kling-4.0-1080p both support the Seedance content/duration/resolution/ratio/mode format, contents/settings/options, and the OpenAI video format; request bodies can be reused between the two unified video endpoints. The resolution must match the model name. Kling 4.0 can directly use the Seedance format fields content/duration/resolution/ratio/mode, or the OpenAI video format fields prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The legacy contents/settings/options envelope is retained only for compatibility. Available mode values are t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), and reference_material (image or video references). When mode is omitted and no explicit tool is provided, reference_material is used by default if reference material is present; otherwise, t2v is used by default. Reference modes use the standard reference image role and do not silently convert explicitly specified first and last frames into reference images; for first and last frames, explicitly select i2v or i2v_first_last and omit aspect-ratio parameters. Reference audio is not currently supported. settings.audio is available only in the all-in-one mode for reference images/reference material; omit the audio switch for t2v, i2v, and i2v_first_last.
Vidu Q4
Vidu Q4: vidu-q4 is fixed at 720p, and vidu-q4-540p is fixed at 540p. Supports generating videos from 3 to 16 seconds. At least 1 image is required, with up to 15 reference images supported. Reference generation can include up to 3 MP3 audio clips, each 3 to 12 seconds long and up to 50 MB. Pure text-to-video, specified first and last frames, and reference videos are not supported. Multiple images are used as joint references and do not indicate first or last frame positions. Tasks can be created via POST /v1/videos, POST /api/v3/contents/generations/tasks, or the Vidu formats POST /ent/v2/img2video and POST /ent/v2/reference2video. For the unified endpoint, mode=reference_images is recommended; use mode=reference_material when including audio. Reference audio can use audio_urls. The Seedance format can also use the audio_url field of the standard content; the audio Boolean field controls audio generation and is used separately from the reference audio URL list. The resolution must match the model name.
Optional. The Volcano Ark content array, which interleaves text and media items in order. Text items use { "type": "text", "text": "..." }; image, video, and audio items use image_url, video_url, and audio_url objects respectively, with url placed inside them. These can be used together with role (such as reference_image, reference_video, and reference_audio) and name for text references.
Optional. Compatibility mode fields, such as t2v, i2v, i2v_first_last, reference_images, and reference_material; gemini-omni supports t2v, r2v, and edit.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OverseasAPI","description":"Overseas API documentation","colors":{"primary":"#6d28d9","light":"#f5f3ff","dark":"#2e1065"},"logo":{"light":"https://mintcdn.com/btc-de295b31/dNi9LBWUBzALFywP/public/assets/logo.webp?fit=max\u0026auto=format\u0026n=dNi9LBWUBzALFywP\u0026q=85\u0026s=bac78dc112e5baf91eafeb0fffd5fd7d","dark":"https://mintcdn.com/btc-de295b31/dNi9LBWUBzALFywP/public/assets/logo.webp?fit=max\u0026auto=format\u0026n=dNi9LBWUBzALFywP\u0026q=85\u0026s=bac78dc112e5baf91eafeb0fffd5fd7d"},"favicon":{"light":"https://mintcdn.com/btc-de295b31/dNi9LBWUBzALFywP/public/assets/favicon.ico?fit=max\u0026auto=format\u0026n=dNi9LBWUBzALFywP\u0026q=85\u0026s=3a7f47070b4df3f9f490ff43d87e6281","dark":"https://mintcdn.com/btc-de295b31/dNi9LBWUBzALFywP/public/assets/favicon.ico?fit=max\u0026auto=format\u0026n=dNi9LBWUBzALFywP\u0026q=85\u0026s=3a7f47070b4df3f9f490ff43d87e6281"},"api":{"params":{"expanded":"all"}},"contextual":{"options":["copy"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","footer":{"socials":{"telegram":"https://t.me/overseas_api"}},"navbar":{"links":[{"href":"mailto:support@aiid.edu.kg","label":"Support"},{"href":"https://aiid.edu.kg/pricing","label":"Pricing"}],"primary":{"type":"button","label":"Console","href":"https://aiid.edu.kg/console"}},"href":"api-reference/en/conventions"},{"language":"cn","footer":{"socials":{"telegram":"https://t.me/overseas_api"}},"navbar":{"links":[{"href":"mailto:support@aiid.edu.kg","label":"支持"},{"href":"https://aiid.edu.kg/pricing","label":"价格"}],"primary":{"type":"button","label":"控制台","href":"https://aiid.edu.kg/console"}},"href":"api-reference/cn/conventions"},{"language":"zh-Hant","footer":{"socials":{"telegram":"https://t.me/overseas_api"}},"navbar":{"links":[{"href":"mailto:support@aiid.edu.kg","label":"支援"},{"href":"https://aiid.edu.kg/pricing","label":"價格"}],"primary":{"type":"button","label":"控制台","href":"https://aiid.edu.kg/console"}},"href":"api-reference/zh-tw/conventions"},{"language":"fr","footer":{"socials":{"telegram":"https://t.me/overseas_api"}},"navbar":{"links":[{"href":"mailto:support@aiid.edu.kg","label":"Support"},{"href":"https://aiid.edu.kg/pricing","label":"Tarifs"}],"primary":{"type":"button","label":"Console","href":"https://aiid.edu.kg/console"}},"href":"api-reference/fr/conventions"},{"language":"ja","footer":{"socials":{"telegram":"https://t.me/overseas_api"}},"navbar":{"links":[{"href":"mailto:support@aiid.edu.kg","label":"サポート"},{"href":"https://aiid.edu.kg/pricing","label":"料金"}],"primary":{"type":"button","label":"コンソール","href":"https://aiid.edu.kg/console"}},"href":"api-reference/ja/conventions"},{"language":"ru","footer":{"socials":{"telegram":"https://t.me/overseas_api"}},"navbar":{"links":[{"href":"mailto:support@aiid.edu.kg","label":"Поддержка"},{"href":"https://aiid.edu.kg/pricing","label":"Тарифы"}],"primary":{"type":"button","label":"Консоль","href":"https://aiid.edu.kg/console"}},"href":"api-reference/ru/conventions"},{"language":"vi","footer":{"socials":{"telegram":"https://t.me/overseas_api"}},"navbar":{"links":[{"href":"mailto:support@aiid.edu.kg","label":"Hỗ trợ"},{"href":"https://aiid.edu.kg/pricing","label":"Bảng giá"}],"primary":{"type":"button","label":"Bảng điều khiển","href":"https://aiid.edu.kg/console"}},"href":"api-reference/vi/conventions"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"btc-de295b31","hasAudioNarration":false,"actualSubdomain":"btc-de295b31","customDomains":["docs.aiid.edu.kg"],"gitSource":{"type":"github","owner":"btcfoxman","repo":"new-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adcd70fa22308d93b4ed191","collectionId":"a508850c-f314-4580-b926-7540fa8a2d66","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adcd70fa22308d93b4ed191"},"entitlements":{},"buildId":"6adcd70fa22308d93b4ed191","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"cn","tag":"API 参考","count":32},{"language":"en","tag":"API Reference","count":32},{"language":"fr","tag":"Référence API","count":32},{"language":"ja","tag":"API リファレンス","count":32},{"language":"ru","tag":"Справочник API","count":32},{"language":"vi","tag":"Tài liệu API","count":32},{"language":"zh-Hant","tag":"API 參考","count":32},{"language":"cn","tag":"开发文档","count":15},{"language":"en","tag":"Guides","count":15},{"language":"fr","tag":"Guides","count":15},{"language":"ja","tag":"ガイド","count":15},{"language":"ru","tag":"Руководства","count":15},{"language":"vi","tag":"Hướng dẫn","count":15},{"language":"zh-Hant","tag":"開發文檔","count":15},{"language":"cn","tag":"Skills","count":7},{"language":"en","tag":"Skills","count":7},{"language":"fr","tag":"Skills","count":7},{"language":"ja","tag":"Skills","count":7},{"language":"ru","tag":"Начало работы","count":7},{"language":"ru","tag":"Skills","count":7},{"language":"vi","tag":"Bắt đầu","count":7},{"language":"vi","tag":"Skills","count":7},{"language":"zh-Hant","tag":"Skills","count":7},{"language":"cn","tag":"集成与工具","count":6},{"language":"en","tag":"Tools","count":6},{"language":"fr","tag":"Outils","count":6},{"language":"ja","tag":"ツール","count":6},{"language":"ru","tag":"Инструменты","count":6},{"language":"vi","tag":"Công cụ","count":6},{"language":"zh-Hant","tag":"整合與工具","count":6},{"language":"cn","tag":"视频生成Vidu格式","count":5},{"language":"en","tag":"Video generation Vidu","count":5},{"language":"fr","tag":"Génération vidéo Vidu","count":5},{"language":"ja","tag":"Video generation Vidu","count":5},{"language":"ru","tag":"Генерация видео Vidu","count":5},{"language":"vi","tag":"Tạo video Vidu","count":5},{"language":"zh-Hant","tag":"影片生成 Vidu 格式","count":5},{"language":"cn","tag":"概览","count":4},{"language":"cn","tag":"视频生成Kling格式","count":4},{"language":"cn","tag":"开发指南","count":4},{"language":"cn","tag":"开始使用","count":4},{"language":"en","tag":"Overview","count":4},{"language":"en","tag":"Video generation Kling format","count":4},{"language":"en","tag":"Developer Guide","count":4},{"language":"en","tag":"Get started","count":4},{"language":"fr","tag":"Aperçu","count":4},{"language":"fr","tag":"Format de génération vidéo Kling","count":4},{"language":"fr","tag":"Guide développeur","count":4},{"language":"fr","tag":"Bien démarrer","count":4},{"language":"ja","tag":"概要","count":4},{"language":"ja","tag":"動画生成Kling形式","count":4},{"language":"ja","tag":"開発ガイド","count":4},{"language":"ja","tag":"はじめに","count":4},{"language":"ru","tag":"Обзор","count":4},{"language":"ru","tag":"ФорматKling генерации видео","count":4},{"language":"ru","tag":"Руководство разработчика","count":4},{"language":"vi","tag":"Tổng quan","count":4},{"language":"vi","tag":"Định dạngKling tạo video","count":4},{"language":"vi","tag":"Hướng dẫn phát triển","count":4},{"language":"zh-Hant","tag":"概覽","count":4},{"language":"zh-Hant","tag":"影片生成Kling格式","count":4},{"language":"zh-Hant","tag":"開發指南","count":4},{"language":"zh-Hant","tag":"開始使用","count":4},{"language":"cn","tag":"视频生成Sora兼容格式","count":3},{"language":"en","tag":"Video generation Sora compatible formats","count":3},{"language":"fr","tag":"Formats compatibles avec la génération de vidéosSora","count":3},{"language":"ja","tag":"動画生成Sora対応形式","count":3},{"language":"ru","tag":"Совместимый формат для Sora генерации видео","count":3},{"language":"vi","tag":"Định dạng tương thích Sora cho tạo video","count":3},{"language":"zh-Hant","tag":"影片生成Sora相容格式","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html{font-size:15px}#api-playground-input,#body-content,#content-area,.api-section,.mdx-content,.request-example,.response-example{font-size:.9rem}.api-section pre,.request-example pre,.response-example pre,code{font-size:.85em}#page-title,.api-section h1,.api-section h2,.api-section h3{letter-spacing:-.01em}"}],"page":{"pagePath":"api-reference/en/video-generation-seedance/create-video-seedance","slug":"/api-reference/en/video-generation-seedance/create-video-seedance","pageMetadata":{"title":"Create video (Seedance)","openapi":"api-reference/en/openapi.json POST /api/v3/contents/generations/tasks","generated":true,"description":"This series supports OpenAI video generation formats (see the link [Video generation Sora compatible formats](/api-reference/en/video-generation-sora-compatible-format/create-video)).\n\nUsed to create video generation tasks and query status and results via task ID.\n\nCore fields for task creation:\n- `model`: Required. Model name.\n- `prompt`: Optional; if not provided, `content` must include a non-empty text item.\n- `content`: Optional, the Volcano Ark content array, mixing text, image, video, and audio materials.\n- `function_mode`: Optional. Commonly used for advanced modes such as Omni-Reference.\n\nCompatible input parameters:\n\nThe following fields are mainly used for compatibility with legacy clients and older protocols. For new integrations, please use the standard format in the “Request Example” on this page whenever possible: use the `content` array for text and reference materials, and use top-level `duration`, `ratio`, `resolution`, `fps`, and other fields for generation configuration.\n\n- `mode`:`t2v / i2v / i2v_first_last / reference_images / reference_material`\n- `image_url / image_urls / input_reference`\n- `end_image_url / last_image_url`\n- `video_urls / audio_urls`\n- `seconds / duration`\n- `aspect_ratio / ratio / size`\n- `quality / resolution`\n- `fps`\n- `generate_audio / watermark`\n\nCall details:\n- When using `mode=reference_material` or `function_mode=omni_reference`, it is recommended to pass text and reference materials via `content`.\n- `content` text items are written as `{ \"type\": \"text\", \"text\": \"测试文字\" }`.\n- `content` image, video, and audio material items use the `image_url`, `video_url`, and `audio_url` object formats respectively, for example `{ \"type\": \"image_url\", \"image_url\": { \"url\": \"https://example.com/ref.png\" }, \"role\": \"reference_image\", \"name\": \"1\" }`.\n- `role` can be used to identify the purpose of the material, and `name` can be referenced by name in prompts.\n- `ratio`, `duration`, `resolution`, and `fps` will affect the final generation configuration.\n\nSeedance 2.5 Mixed image, video, and audio reference example (the asset URLs are placeholders; replace them with actual accessible links when calling):\n\n```json\n{\n \"model\": \"sd-2-5\",\n \"ratio\": \"9:16\",\n \"fps\": 24,\n \"duration\": 10,\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"使用 @图片1 @图片2 @图片3 @音频1 参考@视频1 生成视频\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://demo1.png\"\n },\n \"role\": \"reference_image\",\n \"name\": \"图片1\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://demo2.png\"\n },\n \"role\": \"reference_image\",\n \"name\": \"图片2\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://demo3.png\"\n },\n \"role\": \"reference_image\",\n \"name\": \"图片3\"\n },\n {\n \"type\": \"video_url\",\n \"video_url\": {\n \"url\": \"https://video.mp4\"\n },\n \"role\": \"reference_video\",\n \"name\": \"视频1\"\n },\n {\n \"type\": \"audio_url\",\n \"audio_url\": {\n \"url\": \"https://audio.mp3\"\n },\n \"role\": \"reference_audio\",\n \"name\": \"音频1\"\n }\n ]\n}\n```\n\nGemini Omni invocation:\n- `gemini-omni` can also be invoked through this Seedance task API.\n- `mode=t2v` is used for text-to-video, `mode=r2v` for generation with reference images/reference materials, and `mode=edit` for video editing.\n- Text can be placed in the `text` item of `prompt` or `content`; images can be placed in `image_url / image_urls / reference_images / input_reference / content`; videos can be placed in `video_urls / content`.\n- The duration field can use `duration` or `seconds`, and will be automatically mapped to the 4 / 6 / 8 / 10 second options.\n\nMiniMax / Hailuo Invocation:\n- `minimax-h3` can be invoked through this task API and supports text-to-video, image reference, and audio reference; text can be placed in the `prompt` or `content` text fields, and assets can be placed in fields such as `content`, `image_urls`, and `audio_urls`.\n- `hailuo-2.3` can be invoked through this task API. A first-frame image is required. It is recommended to pass the `image_url` item of `role=first_frame` in `content`.\n- `minimax-h3` commonly uses `duration=5~15` and `resolution=1440p`; `hailuo-2.3` commonly uses `duration=6` or `10` and `resolution=768p`.\n\nKey fields in query results:\n- `items[].status`\n- `items[].content.video_url` or `items[].video_url`\n- `items[].error`\n- `items[].progress`\n\nError fields: `error.code`, `error.message`.\n\n```json\n{\n \"error\": {\n \"code\": \"invalid_request_error\",\n \"message\": \"requires at least one image in `images`\"\n }\n}\n```\n\n## Kling 4.0\n\nKling 4.0 calls: `kling-4.0` (720p) and `kling-4.0-1080p` both support the Seedance `content/duration/resolution/ratio/mode` format, `contents/settings/options`, and the OpenAI video format; request bodies can be reused between the two unified video endpoints. The resolution must match the model name. Kling 4.0 can directly use the Seedance format fields content/duration/resolution/ratio/mode, or the OpenAI video format fields prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The legacy contents/settings/options envelope is retained only for compatibility. Available mode values are t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), and reference_material (image or video references). When mode is omitted and no explicit tool is provided, reference_material is used by default if reference material is present; otherwise, t2v is used by default. Reference modes use the standard reference image role and do not silently convert explicitly specified first and last frames into reference images; for first and last frames, explicitly select i2v or i2v_first_last and omit aspect-ratio parameters. Reference audio is not currently supported. settings.audio is available only in the all-in-one mode for reference images/reference material; omit the audio switch for t2v, i2v, and i2v_first_last.\n\n## Vidu Q4\n\nVidu Q4: `vidu-q4` is fixed at 720p, and `vidu-q4-540p` is fixed at 540p. Supports generating videos from 3 to 16 seconds. At least 1 image is required, with up to 15 reference images supported. Reference generation can include up to 3 MP3 audio clips, each 3 to 12 seconds long and up to 50 MB. Pure text-to-video, specified first and last frames, and reference videos are not supported. Multiple images are used as joint references and do not indicate first or last frame positions. Tasks can be created via `POST /v1/videos`, `POST /api/v3/contents/generations/tasks`, or the Vidu formats `POST /ent/v2/img2video` and `POST /ent/v2/reference2video`. For the unified endpoint, `mode=reference_images` is recommended; use `mode=reference_material` when including audio. Reference audio can use `audio_urls`. The Seedance format can also use the `audio_url` field of the standard `content`; the `audio` Boolean field controls audio generation and is used separately from the reference audio URL list. The resolution must match the model name.","href":"/api-reference/en/video-generation-seedance/create-video-seedance"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n h2: \"h2\",\n li: \"li\",\n p: \"p\",\n pre: \"pre\",\n span: \"span\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n }, {CodeBlock} = _components;\n if (!CodeBlock) _missingMdxReference(\"CodeBlock\", true);\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"This series supports OpenAI video generation formats (see the link \", _jsx(_components.a, {\n href: \"/api-reference/en/video-generation-sora-compatible-format/create-video\",\n children: \"Video generation Sora compatible formats\"\n }), \").\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Used to create video generation tasks and query status and results via task ID.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Core fields for task creation:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"model\"\n }), \": Required. Model name.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"prompt\"\n }), \": Optional; if not provided, \", _jsx(_components.code, {\n children: \"content\"\n }), \" must include a non-empty text item.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"content\"\n }), \": Optional, the Volcano Ark content array, mixing text, image, video, and audio materials.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"function_mode\"\n }), \": Optional. Commonly used for advanced modes such as Omni-Reference.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Compatible input parameters:\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The following fields are mainly used for compatibility with legacy clients and older protocols. For new integrations, please use the standard format in the “Request Example” on this page whenever possible: use the \", _jsx(_components.code, {\n children: \"content\"\n }), \" array for text and reference materials, and use top-level \", _jsx(_components.code, {\n children: \"duration\"\n }), \", \", _jsx(_components.code, {\n children: \"ratio\"\n }), \", \", _jsx(_components.code, {\n children: \"resolution\"\n }), \", \", _jsx(_components.code, {\n children: \"fps\"\n }), \", and other fields for generation configuration.\"]\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"mode\"\n }), \":\", _jsx(_components.code, {\n children: \"t2v / i2v / i2v_first_last / reference_images / reference_material\"\n })]\n }), \"\\n\", _jsx(_components.li, {\n children: _jsx(_components.code, {\n children: \"image_url / image_urls / input_reference\"\n })\n }), \"\\n\", _jsx(_components.li, {\n children: _jsx(_components.code, {\n children: \"end_image_url / last_image_url\"\n })\n }), \"\\n\", _jsx(_components.li, {\n children: _jsx(_components.code, {\n children: \"video_urls / audio_urls\"\n })\n }), \"\\n\", _jsx(_components.li, {\n children: _jsx(_components.code, {\n children: \"seconds / duration\"\n })\n }), \"\\n\", _jsx(_components.li, {\n children: _jsx(_components.code, {\n children: \"aspect_ratio / ratio / size\"\n })\n }), \"\\n\", _jsx(_components.li, {\n children: _jsx(_components.code, {\n children: \"quality / resolution\"\n })\n }), \"\\n\", _jsx(_components.li, {\n children: _jsx(_components.code, {\n children: \"fps\"\n })\n }), \"\\n\", _jsx(_components.li, {\n children: _jsx(_components.code, {\n children: \"generate_audio / watermark\"\n })\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Call details:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"When using \", _jsx(_components.code, {\n children: \"mode=reference_material\"\n }), \" or \", _jsx(_components.code, {\n children: \"function_mode=omni_reference\"\n }), \", it is recommended to pass text and reference materials via \", _jsx(_components.code, {\n children: \"content\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"content\"\n }), \" text items are written as \", _jsx(_components.code, {\n children: \"{ \\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"测试文字\\\" }\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"content\"\n }), \" image, video, and audio material items use the \", _jsx(_components.code, {\n children: \"image_url\"\n }), \", \", _jsx(_components.code, {\n children: \"video_url\"\n }), \", and \", _jsx(_components.code, {\n children: \"audio_url\"\n }), \" object formats respectively, for example \", _jsx(_components.code, {\n children: \"{ \\\"type\\\": \\\"image_url\\\", \\\"image_url\\\": { \\\"url\\\": \\\"https://example.com/ref.png\\\" }, \\\"role\\\": \\\"reference_image\\\", \\\"name\\\": \\\"1\\\" }\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"role\"\n }), \" can be used to identify the purpose of the material, and \", _jsx(_components.code, {\n children: \"name\"\n }), \" can be referenced by name in prompts.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"ratio\"\n }), \", \", _jsx(_components.code, {\n children: \"duration\"\n }), \", \", _jsx(_components.code, {\n children: \"resolution\"\n }), \", and \", _jsx(_components.code, {\n children: \"fps\"\n }), \" will affect the final generation configuration.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Seedance 2.5 Mixed image, video, and audio reference example (the asset URLs are placeholders; replace them with actual accessible links when calling):\"\n }), \"\\n\", _jsx(CodeBlock, {\n numberOfLines: \"52\",\n language: \"json\",\n children: _jsx(_components.pre, {\n className: \"shiki shiki-themes github-light-default dark-plus\",\n style: {\n backgroundColor: \"#ffffff\",\n \"--shiki-dark-bg\": \"#0B0C0E\",\n color: \"#1f2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n language: \"json\",\n children: _jsxs(_components.code, {\n language: \"json\",\n numberOfLines: \"52\",\n children: [_jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"model\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"sd-2-5\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"ratio\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"9:16\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"fps\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#B5CEA8\"\n },\n children: \"24\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"duration\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#B5CEA8\"\n },\n children: \"10\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"content\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": [\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" {\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"text\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"text\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"使用 @图片1 @图片2 @图片3 @音频1 参考@视频1 生成视频\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" },\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" {\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"image_url\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"image_url\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"url\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"https://demo1.png\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" },\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"role\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"reference_image\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"name\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"图片1\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" },\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" {\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"image_url\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"image_url\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"url\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"https://demo2.png\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" },\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"role\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"reference_image\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"name\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"图片2\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" },\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" {\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"image_url\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"image_url\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"url\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"https://demo3.png\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" },\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"role\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"reference_image\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"name\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"图片3\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" },\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" {\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"video_url\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"video_url\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"url\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"https://video.mp4\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" },\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"role\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"reference_video\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"name\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"视频1\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" },\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" {\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"audio_url\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"audio_url\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"url\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"https://audio.mp3\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" },\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"role\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"reference_audio\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"name\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"音频1\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" ]\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), \"\\n\", _jsx(_components.p, {\n children: \"Gemini Omni invocation:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"gemini-omni\"\n }), \" can also be invoked through this Seedance task API.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"mode=t2v\"\n }), \" is used for text-to-video, \", _jsx(_components.code, {\n children: \"mode=r2v\"\n }), \" for generation with reference images/reference materials, and \", _jsx(_components.code, {\n children: \"mode=edit\"\n }), \" for video editing.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Text can be placed in the \", _jsx(_components.code, {\n children: \"text\"\n }), \" item of \", _jsx(_components.code, {\n children: \"prompt\"\n }), \" or \", _jsx(_components.code, {\n children: \"content\"\n }), \"; images can be placed in \", _jsx(_components.code, {\n children: \"image_url / image_urls / reference_images / input_reference / content\"\n }), \"; videos can be placed in \", _jsx(_components.code, {\n children: \"video_urls / content\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"The duration field can use \", _jsx(_components.code, {\n children: \"duration\"\n }), \" or \", _jsx(_components.code, {\n children: \"seconds\"\n }), \", and will be automatically mapped to the 4 / 6 / 8 / 10 second options.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"MiniMax / Hailuo Invocation:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"minimax-h3\"\n }), \" can be invoked through this task API and supports text-to-video, image reference, and audio reference; text can be placed in the \", _jsx(_components.code, {\n children: \"prompt\"\n }), \" or \", _jsx(_components.code, {\n children: \"content\"\n }), \" text fields, and assets can be placed in fields such as \", _jsx(_components.code, {\n children: \"content\"\n }), \", \", _jsx(_components.code, {\n children: \"image_urls\"\n }), \", and \", _jsx(_components.code, {\n children: \"audio_urls\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"hailuo-2.3\"\n }), \" can be invoked through this task API. A first-frame image is required. It is recommended to pass the \", _jsx(_components.code, {\n children: \"image_url\"\n }), \" item of \", _jsx(_components.code, {\n children: \"role=first_frame\"\n }), \" in \", _jsx(_components.code, {\n children: \"content\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"minimax-h3\"\n }), \" commonly uses \", _jsx(_components.code, {\n children: \"duration=5~15\"\n }), \" and \", _jsx(_components.code, {\n children: \"resolution=1440p\"\n }), \"; \", _jsx(_components.code, {\n children: \"hailuo-2.3\"\n }), \" commonly uses \", _jsx(_components.code, {\n children: \"duration=6\"\n }), \" or \", _jsx(_components.code, {\n children: \"10\"\n }), \" and \", _jsx(_components.code, {\n children: \"resolution=768p\"\n }), \".\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Key fields in query results:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: _jsx(_components.code, {\n children: \"items[].status\"\n })\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"items[].content.video_url\"\n }), \" or \", _jsx(_components.code, {\n children: \"items[].video_url\"\n })]\n }), \"\\n\", _jsx(_components.li, {\n children: _jsx(_components.code, {\n children: \"items[].error\"\n })\n }), \"\\n\", _jsx(_components.li, {\n children: _jsx(_components.code, {\n children: \"items[].progress\"\n })\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Error fields: \", _jsx(_components.code, {\n children: \"error.code\"\n }), \", \", _jsx(_components.code, {\n children: \"error.message\"\n }), \".\"]\n }), \"\\n\", _jsx(CodeBlock, {\n numberOfLines: \"6\",\n language: \"json\",\n children: _jsx(_components.pre, {\n className: \"shiki shiki-themes github-light-default dark-plus\",\n style: {\n backgroundColor: \"#ffffff\",\n \"--shiki-dark-bg\": \"#0B0C0E\",\n color: \"#1f2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n language: \"json\",\n children: _jsxs(_components.code, {\n language: \"json\",\n numberOfLines: \"6\",\n children: [_jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"error\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"code\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"invalid_request_error\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"message\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"requires at least one image in `images`\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), \"\\n\", _jsx(_components.h2, {\n children: \"Kling 4.0\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Kling 4.0 calls: \", _jsx(_components.code, {\n children: \"kling-4.0\"\n }), \" (720p) and \", _jsx(_components.code, {\n children: \"kling-4.0-1080p\"\n }), \" both support the Seedance \", _jsx(_components.code, {\n children: \"content/duration/resolution/ratio/mode\"\n }), \" format, \", _jsx(_components.code, {\n children: \"contents/settings/options\"\n }), \", and the OpenAI video format; request bodies can be reused between the two unified video endpoints. The resolution must match the model name. Kling 4.0 can directly use the Seedance format fields content/duration/resolution/ratio/mode, or the OpenAI video format fields prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The legacy contents/settings/options envelope is retained only for compatibility. Available mode values are t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), and reference_material (image or video references). When mode is omitted and no explicit tool is provided, reference_material is used by default if reference material is present; otherwise, t2v is used by default. Reference modes use the standard reference image role and do not silently convert explicitly specified first and last frames into reference images; for first and last frames, explicitly select i2v or i2v_first_last and omit aspect-ratio parameters. Reference audio is not currently supported. settings.audio is available only in the all-in-one mode for reference images/reference material; omit the audio switch for t2v, i2v, and i2v_first_last.\"]\n }), \"\\n\", _jsx(_components.h2, {\n children: \"Vidu Q4\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Vidu Q4: \", _jsx(_components.code, {\n children: \"vidu-q4\"\n }), \" is fixed at 720p, and \", _jsx(_components.code, {\n children: \"vidu-q4-540p\"\n }), \" is fixed at 540p. Supports generating videos from 3 to 16 seconds. At least 1 image is required, with up to 15 reference images supported. Reference generation can include up to 3 MP3 audio clips, each 3 to 12 seconds long and up to 50 MB. Pure text-to-video, specified first and last frames, and reference videos are not supported. Multiple images are used as joint references and do not indicate first or last frame positions. Tasks can be created via \", _jsx(_components.code, {\n children: \"POST /v1/videos\"\n }), \", \", _jsx(_components.code, {\n children: \"POST /api/v3/contents/generations/tasks\"\n }), \", or the Vidu formats \", _jsx(_components.code, {\n children: \"POST /ent/v2/img2video\"\n }), \" and \", _jsx(_components.code, {\n children: \"POST /ent/v2/reference2video\"\n }), \". For the unified endpoint, \", _jsx(_components.code, {\n children: \"mode=reference_images\"\n }), \" is recommended; use \", _jsx(_components.code, {\n children: \"mode=reference_material\"\n }), \" when including audio. Reference audio can use \", _jsx(_components.code, {\n children: \"audio_urls\"\n }), \". The Seedance format can also use the \", _jsx(_components.code, {\n children: \"audio_url\"\n }), \" field of the standard \", _jsx(_components.code, {\n children: \"content\"\n }), \"; the \", _jsx(_components.code, {\n children: \"audio\"\n }), \" Boolean field controls audio generation and is used separately from the reference audio URL list. The resolution must match the model name.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\nfunction _missingMdxReference(id, component) {\n throw new Error(\"Expected \" + (component ? \"component\" : \"object\") + \" `\" + id + \"` to be defined: you likely forgot to import, pass, or provide it.\");\n}\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create video (Seedance)","openapi":"api-reference/en/openapi.json POST /api/v3/contents/generations/tasks","generated":true,"description":"This series supports OpenAI video generation formats (see the link [Video generation Sora compatible formats](/api-reference/en/video-generation-sora-compatible-format/create-video)).\n\nUsed to create video generation tasks and query status and results via task ID.\n\nCore fields for task creation:\n- `model`: Required. Model name.\n- `prompt`: Optional; if not provided, `content` must include a non-empty text item.\n- `content`: Optional, the Volcano Ark content array, mixing text, image, video, and audio materials.\n- `function_mode`: Optional. Commonly used for advanced modes such as Omni-Reference.\n\nCompatible input parameters:\n\nThe following fields are mainly used for compatibility with legacy clients and older protocols. For new integrations, please use the standard format in the “Request Example” on this page whenever possible: use the `content` array for text and reference materials, and use top-level `duration`, `ratio`, `resolution`, `fps`, and other fields for generation configuration.\n\n- `mode`:`t2v / i2v / i2v_first_last / reference_images / reference_material`\n- `image_url / image_urls / input_reference`\n- `end_image_url / last_image_url`\n- `video_urls / audio_urls`\n- `seconds / duration`\n- `aspect_ratio / ratio / size`\n- `quality / resolution`\n- `fps`\n- `generate_audio / watermark`\n\nCall details:\n- When using `mode=reference_material` or `function_mode=omni_reference`, it is recommended to pass text and reference materials via `content`.\n- `content` text items are written as `{ \"type\": \"text\", \"text\": \"测试文字\" }`.\n- `content` image, video, and audio material items use the `image_url`, `video_url`, and `audio_url` object formats respectively, for example `{ \"type\": \"image_url\", \"image_url\": { \"url\": \"https://example.com/ref.png\" }, \"role\": \"reference_image\", \"name\": \"1\" }`.\n- `role` can be used to identify the purpose of the material, and `name` can be referenced by name in prompts.\n- `ratio`, `duration`, `resolution`, and `fps` will affect the final generation configuration.\n\nSeedance 2.5 Mixed image, video, and audio reference example (the asset URLs are placeholders; replace them with actual accessible links when calling):\n\n```json\n{\n \"model\": \"sd-2-5\",\n \"ratio\": \"9:16\",\n \"fps\": 24,\n \"duration\": 10,\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"使用 @图片1 @图片2 @图片3 @音频1 参考@视频1 生成视频\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://demo1.png\"\n },\n \"role\": \"reference_image\",\n \"name\": \"图片1\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://demo2.png\"\n },\n \"role\": \"reference_image\",\n \"name\": \"图片2\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://demo3.png\"\n },\n \"role\": \"reference_image\",\n \"name\": \"图片3\"\n },\n {\n \"type\": \"video_url\",\n \"video_url\": {\n \"url\": \"https://video.mp4\"\n },\n \"role\": \"reference_video\",\n \"name\": \"视频1\"\n },\n {\n \"type\": \"audio_url\",\n \"audio_url\": {\n \"url\": \"https://audio.mp3\"\n },\n \"role\": \"reference_audio\",\n \"name\": \"音频1\"\n }\n ]\n}\n```\n\nGemini Omni invocation:\n- `gemini-omni` can also be invoked through this Seedance task API.\n- `mode=t2v` is used for text-to-video, `mode=r2v` for generation with reference images/reference materials, and `mode=edit` for video editing.\n- Text can be placed in the `text` item of `prompt` or `content`; images can be placed in `image_url / image_urls / reference_images / input_reference / content`; videos can be placed in `video_urls / content`.\n- The duration field can use `duration` or `seconds`, and will be automatically mapped to the 4 / 6 / 8 / 10 second options.\n\nMiniMax / Hailuo Invocation:\n- `minimax-h3` can be invoked through this task API and supports text-to-video, image reference, and audio reference; text can be placed in the `prompt` or `content` text fields, and assets can be placed in fields such as `content`, `image_urls`, and `audio_urls`.\n- `hailuo-2.3` can be invoked through this task API. A first-frame image is required. It is recommended to pass the `image_url` item of `role=first_frame` in `content`.\n- `minimax-h3` commonly uses `duration=5~15` and `resolution=1440p`; `hailuo-2.3` commonly uses `duration=6` or `10` and `resolution=768p`.\n\nKey fields in query results:\n- `items[].status`\n- `items[].content.video_url` or `items[].video_url`\n- `items[].error`\n- `items[].progress`\n\nError fields: `error.code`, `error.message`.\n\n```json\n{\n \"error\": {\n \"code\": \"invalid_request_error\",\n \"message\": \"requires at least one image in `images`\"\n }\n}\n```\n\n## Kling 4.0\n\nKling 4.0 calls: `kling-4.0` (720p) and `kling-4.0-1080p` both support the Seedance `content/duration/resolution/ratio/mode` format, `contents/settings/options`, and the OpenAI video format; request bodies can be reused between the two unified video endpoints. The resolution must match the model name. Kling 4.0 can directly use the Seedance format fields content/duration/resolution/ratio/mode, or the OpenAI video format fields prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The legacy contents/settings/options envelope is retained only for compatibility. Available mode values are t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), and reference_material (image or video references). When mode is omitted and no explicit tool is provided, reference_material is used by default if reference material is present; otherwise, t2v is used by default. Reference modes use the standard reference image role and do not silently convert explicitly specified first and last frames into reference images; for first and last frames, explicitly select i2v or i2v_first_last and omit aspect-ratio parameters. Reference audio is not currently supported. settings.audio is available only in the all-in-one mode for reference images/reference material; omit the audio switch for t2v, i2v, and i2v_first_last.\n\n## Vidu Q4\n\nVidu Q4: `vidu-q4` is fixed at 720p, and `vidu-q4-540p` is fixed at 540p. Supports generating videos from 3 to 16 seconds. At least 1 image is required, with up to 15 reference images supported. Reference generation can include up to 3 MP3 audio clips, each 3 to 12 seconds long and up to 50 MB. Pure text-to-video, specified first and last frames, and reference videos are not supported. Multiple images are used as joint references and do not indicate first or last frame positions. Tasks can be created via `POST /v1/videos`, `POST /api/v3/contents/generations/tasks`, or the Vidu formats `POST /ent/v2/img2video` and `POST /ent/v2/reference2video`. For the unified endpoint, `mode=reference_images` is recommended; use `mode=reference_material` when including audio. Reference audio can use `audio_urls`. The Seedance format can also use the `audio_url` field of the standard `content`; the `audio` Boolean field controls audio generation and is used separately from the reference audio URL list. The resolution must match the model name.","href":"/api-reference/en/video-generation-seedance/create-video-seedance"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create video (Seedance)","description":"This series supports OpenAI video generation formats (see the link [Video generation Sora compatible formats](/api-reference/en/video-generation-sora-compatible-format/create-video)).\n\nUsed to create video generation tasks and query status and results via task ID.\n\nCore fields for task creation:\n- `model`: Required. Model name.\n- `prompt`: Optional; if not provided, `content` must include a non-empty text item.\n- `content`: Optional, the Volcano Ark content array, mixing text, image, video, and audio materials.\n- `function_mode`: Optional. Commonly used for advanced modes such as Omni-Reference.\n\nCompatible input parameters:\n\nThe following fields are mainly used for compatibility with legacy clients and older protocols. For new integrations, please use the standard format in the “Request Example” on this page whenever possible: use the `content` array for text and reference materials, and use top-level `duration`, `ratio`, `resolution`, `fps`, and other fields for generation configuration.\n\n- `mode`:`t2v / i2v / i2v_first_last / reference_images / reference_material`\n- `image_url / image_urls / input_reference`\n- `end_image_url / last_image_url`\n- `video_urls / audio_urls`\n- `seconds / duration`\n- `aspect_ratio / ratio / size`\n- `quality / resolution`\n- `fps`\n- `generate_audio / watermark`\n\nCall details:\n- When using `mode=reference_material` or `function_mode=omni_reference`, it is recommended to pass text and reference materials via `content`.\n- `content` text items are written as `{ \"type\": \"text\", \"text\": \"测试文字\" }`.\n- `content` image, video, and audio material items use the `image_url`, `video_url`, and `audio_url` object formats respectively, for example `{ \"type\": \"image_url\", \"image_url\": { \"url\": \"https://example.com/ref.png\" }, \"role\": \"reference_image\", \"name\": \"1\" }`.\n- `role` can be used to identify the purpose of the material, and `name` can be referenced by name in prompts.\n- `ratio`, `duration`, `resolution`, and `fps` will affect the final generation configuration.\n\nSeedance 2.5 Mixed image, video, and audio reference example (the asset URLs are placeholders; replace them with actual accessible links when calling):\n\n```json\n{\n \"model\": \"sd-2-5\",\n \"ratio\": \"9:16\",\n \"fps\": 24,\n \"duration\": 10,\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"使用 @图片1 @图片2 @图片3 @音频1 参考@视频1 生成视频\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://demo1.png\"\n },\n \"role\": \"reference_image\",\n \"name\": \"图片1\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://demo2.png\"\n },\n \"role\": \"reference_image\",\n \"name\": \"图片2\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://demo3.png\"\n },\n \"role\": \"reference_image\",\n \"name\": \"图片3\"\n },\n {\n \"type\": \"video_url\",\n \"video_url\": {\n \"url\": \"https://video.mp4\"\n },\n \"role\": \"reference_video\",\n \"name\": \"视频1\"\n },\n {\n \"type\": \"audio_url\",\n \"audio_url\": {\n \"url\": \"https://audio.mp3\"\n },\n \"role\": \"reference_audio\",\n \"name\": \"音频1\"\n }\n ]\n}\n```\n\nGemini Omni invocation:\n- `gemini-omni` can also be invoked through this Seedance task API.\n- `mode=t2v` is used for text-to-video, `mode=r2v` for generation with reference images/reference materials, and `mode=edit` for video editing.\n- Text can be placed in the `text` item of `prompt` or `content`; images can be placed in `image_url / image_urls / reference_images / input_reference / content`; videos can be placed in `video_urls / content`.\n- The duration field can use `duration` or `seconds`, and will be automatically mapped to the 4 / 6 / 8 / 10 second options.\n\nMiniMax / Hailuo Invocation:\n- `minimax-h3` can be invoked through this task API and supports text-to-video, image reference, and audio reference; text can be placed in the `prompt` or `content` text fields, and assets can be placed in fields such as `content`, `image_urls`, and `audio_urls`.\n- `hailuo-2.3` can be invoked through this task API. A first-frame image is required. It is recommended to pass the `image_url` item of `role=first_frame` in `content`.\n- `minimax-h3` commonly uses `duration=5~15` and `resolution=1440p`; `hailuo-2.3` commonly uses `duration=6` or `10` and `resolution=768p`.\n\nKey fields in query results:\n- `items[].status`\n- `items[].content.video_url` or `items[].video_url`\n- `items[].error`\n- `items[].progress`\n\nError fields: `error.code`, `error.message`.\n\n```json\n{\n \"error\": {\n \"code\": \"invalid_request_error\",\n \"message\": \"requires at least one image in `images`\"\n }\n}\n```\n\n## Kling 4.0\n\nKling 4.0 calls: `kling-4.0` (720p) and `kling-4.0-1080p` both support the Seedance `content/duration/resolution/ratio/mode` format, `contents/settings/options`, and the OpenAI video format; request bodies can be reused between the two unified video endpoints. The resolution must match the model name. Kling 4.0 can directly use the Seedance format fields content/duration/resolution/ratio/mode, or the OpenAI video format fields prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The legacy contents/settings/options envelope is retained only for compatibility. Available mode values are t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), and reference_material (image or video references). When mode is omitted and no explicit tool is provided, reference_material is used by default if reference material is present; otherwise, t2v is used by default. Reference modes use the standard reference image role and do not silently convert explicitly specified first and last frames into reference images; for first and last frames, explicitly select i2v or i2v_first_last and omit aspect-ratio parameters. Reference audio is not currently supported. settings.audio is available only in the all-in-one mode for reference images/reference material; omit the audio switch for t2v, i2v, and i2v_first_last.\n\n## Vidu Q4\n\nVidu Q4: `vidu-q4` is fixed at 720p, and `vidu-q4-540p` is fixed at 540p. Supports generating videos from 3 to 16 seconds. At least 1 image is required, with up to 15 reference images supported. Reference generation can include up to 3 MP3 audio clips, each 3 to 12 seconds long and up to 50 MB. Pure text-to-video, specified first and last frames, and reference videos are not supported. Multiple images are used as joint references and do not indicate first or last frame positions. Tasks can be created via `POST /v1/videos`, `POST /api/v3/contents/generations/tasks`, or the Vidu formats `POST /ent/v2/img2video` and `POST /ent/v2/reference2video`. For the unified endpoint, `mode=reference_images` is recommended; use `mode=reference_material` when including audio. Reference audio can use `audio_urls`. The Seedance format can also use the `audio_url` field of the standard `content`; the `audio` Boolean field controls audio generation and is used separately from the reference audio URL list. The resolution must match the model name.","operationId":"create__seedance__task","tags":["Video generation Seedance"],"requestBody":"d0f65c12-d80e-424a-b453-dd8dc1e80352","responses":{"200":"599fcc02-ac53-4a99-9b41-b915d0f5cdef"},"security":["dc61a6a1-9eab-40d5-b978-61222e95a5cc"],"x-mint":{"href":"/api-reference/en/video-generation-seedance/create-video-seedance"},"method":"post","type":"path","servers":["96249d24-7648-4dcd-a630-a1a9cdfe7c23"],"path":"/api/v3/contents/generations/tasks","baseUrlOptions":["https://api.aiid.edu.kg"],"title":"Create video (Seedance)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["model"],"properties":{"model":{"type":"string","example":"doubao-seedance-2-0-260128","enum":["sd-2-5","doubao-seedance-1-0-lite-i2v-250428","doubao-seedance-1-0-lite-t2v-250428","doubao-seedance-1-0-pro-250528","doubao-seedance-1-0-pro-fast-251015","doubao-seedance-1-5-pro-251215","doubao-seedance-2-0-260128","doubao-seedance-2-0-fast-260128","minimax-h3","hailuo-2.3","gemini-omni","vidu-q4","vidu-q4-540p"],"description":"Required. Model name. You can pass the Seedance external model, `gemini-omni`, `minimax-h3`, or `hailuo-2.3`.","isRequired":true,"uniqueKey":"oneOf.0.model","typeLabel":"enum\u003cstring>"},"prompt":{"type":"string","description":"Optional; if not provided, `content` must include a non-empty `text` item as the video generation description.","example":"参考素材生成一段剧情短视频","uniqueKey":"oneOf.0.prompt","typeLabel":"string"},"content":{"type":"array","description":"Optional. The Volcano Ark content array, which interleaves text and media items in order. Text items use `{ \"type\": \"text\", \"text\": \"...\" }`; image, video, and audio items use `image_url`, `video_url`, and `audio_url` objects respectively, with `url` placed inside them. These can be used together with `role` (such as `reference_image`, `reference_video`, and `reference_audio`) and `name` for text references.","items":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["text","image_url","video_url","audio_url"],"description":"Content item type.","isRequired":true,"uniqueKey":"oneOf.0.content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"Text content, used only when type=text.","uniqueKey":"oneOf.0.content.items.[INDEX].text","typeLabel":"string"},"image_url":{"oneOf":[{"type":"string","description":"Image URL. Recommended object format: `{\"url\":\"https://...\"}`.","uniqueKey":"oneOf.0.content.items.[INDEX].image_url.oneOf.0","typeLabel":"string"},{"type":"object","description":"Image URL. Recommended object format: `{\"url\":\"https://...\"}`.","properties":{"url":{"type":"string","uniqueKey":"oneOf.0.content.items.[INDEX].image_url.oneOf.1.url","typeLabel":"string"}},"uniqueKey":"oneOf.0.content.items.[INDEX].image_url.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.0.content.items.[INDEX].image_url","typeLabel":"string | object"},"video_url":{"oneOf":[{"type":"string","description":"Video URL. Recommended object syntax: `{\"url\":\"https://...\"}`.","uniqueKey":"oneOf.0.content.items.[INDEX].video_url.oneOf.0","typeLabel":"string"},{"type":"object","description":"Video URL. Recommended object syntax: `{\"url\":\"https://...\"}`.","properties":{"url":{"type":"string","uniqueKey":"oneOf.0.content.items.[INDEX].video_url.oneOf.1.url","typeLabel":"string"}},"uniqueKey":"oneOf.0.content.items.[INDEX].video_url.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.0.content.items.[INDEX].video_url","typeLabel":"string | object"},"audio_url":{"oneOf":[{"type":"string","description":"Audio URL. Recommended object format: `{\"url\":\"https://...\"}`.","uniqueKey":"oneOf.0.content.items.[INDEX].audio_url.oneOf.0","typeLabel":"string"},{"type":"object","description":"Audio URL. Recommended object format: `{\"url\":\"https://...\"}`.","properties":{"url":{"type":"string","uniqueKey":"oneOf.0.content.items.[INDEX].audio_url.oneOf.1.url","typeLabel":"string"}},"uniqueKey":"oneOf.0.content.items.[INDEX].audio_url.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.0.content.items.[INDEX].audio_url","typeLabel":"string | object"},"role":{"type":"string","description":"Asset usage identifier. Common values include reference_image, reference_video, and reference_audio.","uniqueKey":"oneOf.0.content.items.[INDEX].role","typeLabel":"string"},"name":{"type":"string","description":"Asset name, can be referenced in text prompts or used to distinguish between multiple assets.","uniqueKey":"oneOf.0.content.items.[INDEX].name","typeLabel":"string"}},"uniqueKey":"oneOf.0.content.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.0.content","typeLabel":"object[]"},"function_mode":{"type":"string","description":"Optional. Advanced feature mode, such as `omni_reference` for all-in-one reference.","uniqueKey":"oneOf.0.function_mode","typeLabel":"string"},"mode":{"type":"string","description":"Optional. Compatibility mode fields, such as `t2v`, `i2v`, `i2v_first_last`, `reference_images`, and `reference_material`; `gemini-omni` supports `t2v`, `r2v`, and `edit`.","uniqueKey":"oneOf.0.mode","typeLabel":"string"},"image_url":{"type":"string","description":"Optional. URL of a single reference image.","uniqueKey":"oneOf.0.image_url","typeLabel":"string"},"image_urls":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.image_urls.items.[INDEX]","typeLabel":"string"},"description":"Optional. A list of URLs for multiple reference images.","uniqueKey":"oneOf.0.image_urls","typeLabel":"string[]"},"input_reference":{"type":"string","description":"Optional. Compatible with reference input fields.","uniqueKey":"oneOf.0.input_reference","typeLabel":"string"},"end_image_url":{"type":"string","description":"Optional. The URL of the last-frame reference image.","uniqueKey":"oneOf.0.end_image_url","typeLabel":"string"},"last_image_url":{"type":"string","description":"Optional. URL alias for the last frame reference image.","uniqueKey":"oneOf.0.last_image_url","typeLabel":"string"},"video_urls":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.video_urls.items.[INDEX]","typeLabel":"string"},"description":"Optional. List of reference video URLs.","uniqueKey":"oneOf.0.video_urls","typeLabel":"string[]"},"audio_urls":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.audio_urls.items.[INDEX]","typeLabel":"string"},"description":"Optional. List of reference audio URLs.","uniqueKey":"oneOf.0.audio_urls","typeLabel":"string[]"},"seconds":{"oneOf":[{"type":"number","description":"Optional. Video duration in seconds; compatible with `duration`.","uniqueKey":"oneOf.0.seconds.oneOf.0","typeLabel":"number"},{"type":"string","description":"Optional. Video duration in seconds; compatible with `duration`.","uniqueKey":"oneOf.0.seconds.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.0.seconds","typeLabel":"number | string"},"duration":{"oneOf":[{"type":"number","description":"Optional. Video duration in seconds; compatible with `seconds`.","uniqueKey":"oneOf.0.duration.oneOf.0","typeLabel":"number"},{"type":"string","description":"Optional. Video duration in seconds; compatible with `seconds`.","uniqueKey":"oneOf.0.duration.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.0.duration","typeLabel":"number | string"},"aspect_ratio":{"type":"string","description":"Optional. Aspect ratio, such as `16:9`.","uniqueKey":"oneOf.0.aspect_ratio","typeLabel":"string"},"ratio":{"type":"string","description":"Optional. Aspect ratio aliases, such as `16:9`.","uniqueKey":"oneOf.0.ratio","typeLabel":"string"},"size":{"type":"string","description":"Optional. Field for resolution or dimension compatibility.","uniqueKey":"oneOf.0.size","typeLabel":"string"},"quality":{"type":"string","description":"Optional. Generation quality configuration.","uniqueKey":"oneOf.0.quality","typeLabel":"string"},"resolution":{"type":"string","description":"Optional. The output resolution.","uniqueKey":"oneOf.0.resolution","typeLabel":"string"},"fps":{"type":"number","description":"Optional. Frame rate.","uniqueKey":"oneOf.0.fps","typeLabel":"number"},"generate_audio":{"type":"boolean","description":"Optional. Whether to generate audio.","uniqueKey":"oneOf.0.generate_audio","typeLabel":"boolean"},"watermark":{"type":"boolean","description":"Optional. Whether to add a watermark.","uniqueKey":"oneOf.0.watermark","typeLabel":"boolean"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","title":"Kling 4.0","required":["model"],"x-kling-4-request":true,"properties":{"model":{"type":"string","example":"kling-4.0","enum":["kling-4.0","kling-4.0-1080p"],"description":"Required. Model name. Accepts Seedance, Kling 4.0, `gemini-omni`, `minimax-h3`, or `hailuo-2.3` external models.","isRequired":true,"uniqueKey":"oneOf.1.model","typeLabel":"enum\u003cstring>"},"prompt":{"type":"string","description":"Optional; standard Seedance requests can provide text directly in a non-empty text item in content, or use the top-level prompt. The same applies to Kling 4.0; contents/settings/options are not required.","example":"参考素材生成一段剧情短视频","uniqueKey":"oneOf.1.prompt","typeLabel":"string"},"content":{"type":"array","description":"Optional. The Volcano Ark content array, which interleaves text and media items in order. Text items use `{ \"type\": \"text\", \"text\": \"...\" }`; image, video, and audio items use `image_url`, `video_url`, and `audio_url` objects respectively, with `url` placed inside them. These can be used together with `role` (such as `reference_image`, `reference_video`, and `reference_audio`) and `name` for text references.","items":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["text","image_url","video_url","audio_url"],"description":"Content item type.","isRequired":true,"uniqueKey":"oneOf.1.content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"Text content, used only when type=text.","uniqueKey":"oneOf.1.content.items.[INDEX].text","typeLabel":"string"},"image_url":{"oneOf":[{"type":"string","description":"Image URL. Recommended object format: `{\"url\":\"https://...\"}`.","uniqueKey":"oneOf.1.content.items.[INDEX].image_url.oneOf.0","typeLabel":"string"},{"type":"object","description":"Image URL. Recommended object format: `{\"url\":\"https://...\"}`.","properties":{"url":{"type":"string","uniqueKey":"oneOf.1.content.items.[INDEX].image_url.oneOf.1.url","typeLabel":"string"}},"uniqueKey":"oneOf.1.content.items.[INDEX].image_url.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.content.items.[INDEX].image_url","typeLabel":"string | object"},"video_url":{"oneOf":[{"type":"string","description":"Video URL. Recommended object syntax: `{\"url\":\"https://...\"}`.","uniqueKey":"oneOf.1.content.items.[INDEX].video_url.oneOf.0","typeLabel":"string"},{"type":"object","description":"Video URL. Recommended object syntax: `{\"url\":\"https://...\"}`.","properties":{"url":{"type":"string","uniqueKey":"oneOf.1.content.items.[INDEX].video_url.oneOf.1.url","typeLabel":"string"}},"uniqueKey":"oneOf.1.content.items.[INDEX].video_url.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.content.items.[INDEX].video_url","typeLabel":"string | object"},"audio_url":{"oneOf":[{"type":"string","description":"Audio URL. Recommended object format: `{\"url\":\"https://...\"}`.","uniqueKey":"oneOf.1.content.items.[INDEX].audio_url.oneOf.0","typeLabel":"string"},{"type":"object","description":"Audio URL. Recommended object format: `{\"url\":\"https://...\"}`.","properties":{"url":{"type":"string","uniqueKey":"oneOf.1.content.items.[INDEX].audio_url.oneOf.1.url","typeLabel":"string"}},"uniqueKey":"oneOf.1.content.items.[INDEX].audio_url.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.content.items.[INDEX].audio_url","typeLabel":"string | object"},"role":{"type":"string","description":"Asset usage identifier. Common values include reference_image, reference_video, and reference_audio.","uniqueKey":"oneOf.1.content.items.[INDEX].role","typeLabel":"string"},"name":{"type":"string","description":"Asset name, can be referenced in text prompts or used to distinguish between multiple assets.","uniqueKey":"oneOf.1.content.items.[INDEX].name","typeLabel":"string"}},"uniqueKey":"oneOf.1.content.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.content","typeLabel":"object[]"},"contents":{"type":"array","minItems":1,"description":"Kling 4.0 legacy envelope compatibility array. Not required for standard Seedance requests; use content directly.","items":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["prompt","reference_image","reference_video","first_frame","last_frame"],"isRequired":true,"uniqueKey":"oneOf.1.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text description when `type=prompt`.","uniqueKey":"oneOf.1.contents.items.[INDEX].text","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"Accessible URL of reference materials or the first/last frames.","uniqueKey":"oneOf.1.contents.items.[INDEX].url","typeLabel":"string\u003curi>"}},"uniqueKey":"oneOf.1.contents.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.contents","typeLabel":"object[]"},"settings":{"type":"object","description":"Legacy envelope compatibility settings; standard Seedance uses the top-level duration/resolution/ratio directly and does not need to be provided.","properties":{"duration":{"type":"integer","minimum":4,"maximum":30,"example":4,"uniqueKey":"oneOf.1.settings.duration","typeLabel":"integer"},"resolution":{"type":"string","enum":["720p","1080p"],"uniqueKey":"oneOf.1.settings.resolution","typeLabel":"enum\u003cstring>"},"aspect_ratio":{"type":"string","enum":["21:9","16:9","9:16","1:1"],"uniqueKey":"oneOf.1.settings.aspect_ratio","typeLabel":"enum\u003cstring>"},"audio":{"oneOf":[{"type":"boolean","description":"Only available in All-in-One mode for reference_images/reference_material. Omit for t2v, i2v, and i2v_first_last; this does not indicate support for reference audio.","uniqueKey":"oneOf.1.settings.audio.oneOf.0","typeLabel":"boolean"},{"type":"string","description":"Only available in All-in-One mode for reference_images/reference_material. Omit for t2v, i2v, and i2v_first_last; this does not indicate support for reference audio.","enum":["native","on","off","none"],"uniqueKey":"oneOf.1.settings.audio.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"oneOf.1.settings.audio","typeLabel":"boolean | enum\u003cstring>"}},"uniqueKey":"oneOf.1.settings","typeLabel":"object"},"options":{"type":"object","maxProperties":0,"description":"Legacy envelope compatibility field; not required for standard Seedance requests.","uniqueKey":"oneOf.1.options","typeLabel":"object"},"function_mode":{"type":"string","description":"Optional. Advanced feature mode, such as `omni_reference` for all-in-one reference.","uniqueKey":"oneOf.1.function_mode","typeLabel":"string"},"mode":{"type":"string","description":"Optional. Compatibility-mode fields, such as `t2v`, `i2v`, `i2v_first_last`, `reference_images`, and `reference_material`; `gemini-omni` supports `t2v`, `r2v`, and `edit`. Kling 4.0 can directly use the Seedance format `content/duration/resolution/ratio/mode`, or the OpenAI video format `prompt/seconds/size/input_reference`; neither requires additional `contents/settings/options`. The legacy `contents/settings/options` envelope is retained only for compatibility. Available `mode` values are `t2v` (text only), `i2v` (single first frame), `i2v_first_last` (first and last frames), `reference_images` (standard reference images), and `reference_material` (image or video references). When `mode` is omitted and no explicit tool is specified, it defaults to `reference_material` when reference material is present, or to `t2v` when no reference material is present. Reference modes use the standard reference-image role and do not silently convert explicitly specified first and last frames into reference images. For first and last frames, explicitly select `i2v` or `i2v_first_last` and omit aspect-ratio parameters. Reference audio is not currently supported. `settings.audio` is available only in the all-in-one mode for reference images/reference material; omit the audio switch for `t2v`, `i2v`, and `i2v_first_last`.","example":"reference_material","x-kling-modes":["t2v","i2v","i2v_first_last","reference_images","reference_material"],"uniqueKey":"oneOf.1.mode","typeLabel":"string"},"image_url":{"type":"string","description":"Optional. URL of a single reference image.","uniqueKey":"oneOf.1.image_url","typeLabel":"string"},"image_urls":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.image_urls.items.[INDEX]","typeLabel":"string"},"description":"Optional. A list of URLs for multiple reference images.","uniqueKey":"oneOf.1.image_urls","typeLabel":"string[]"},"input_reference":{"type":"string","description":"Optional. Compatible with reference input fields.","uniqueKey":"oneOf.1.input_reference","typeLabel":"string"},"end_image_url":{"type":"string","description":"Optional. The URL of the last-frame reference image.","uniqueKey":"oneOf.1.end_image_url","typeLabel":"string"},"last_image_url":{"type":"string","description":"Optional. URL alias for the last frame reference image.","uniqueKey":"oneOf.1.last_image_url","typeLabel":"string"},"video_urls":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.video_urls.items.[INDEX]","typeLabel":"string"},"description":"Optional. List of reference video URLs.","uniqueKey":"oneOf.1.video_urls","typeLabel":"string[]"},"audio_urls":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.audio_urls.items.[INDEX]","typeLabel":"string"},"description":"Optional. List of reference audio URLs.","uniqueKey":"oneOf.1.audio_urls","typeLabel":"string[]"},"seconds":{"oneOf":[{"type":"number","description":"Optional. Video duration in seconds; compatible with `duration`.","uniqueKey":"oneOf.1.seconds.oneOf.0","typeLabel":"number"},{"type":"string","description":"Optional. Video duration in seconds; compatible with `duration`.","uniqueKey":"oneOf.1.seconds.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.1.seconds","typeLabel":"number | string"},"duration":{"oneOf":[{"type":"number","description":"Optional. Video duration in seconds; compatible with `seconds`.","uniqueKey":"oneOf.1.duration.oneOf.0","typeLabel":"number"},{"type":"string","description":"Optional. Video duration in seconds; compatible with `seconds`.","uniqueKey":"oneOf.1.duration.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.1.duration","typeLabel":"number | string"},"aspect_ratio":{"type":"string","description":"Optional. Aspect ratio, such as `16:9`.","uniqueKey":"oneOf.1.aspect_ratio","typeLabel":"string"},"ratio":{"type":"string","description":"Optional. Aspect ratio aliases, such as `16:9`.","uniqueKey":"oneOf.1.ratio","typeLabel":"string"},"size":{"type":"string","description":"Optional. Field for resolution or dimension compatibility.","uniqueKey":"oneOf.1.size","typeLabel":"string"},"quality":{"type":"string","description":"Optional. Generation quality configuration.","uniqueKey":"oneOf.1.quality","typeLabel":"string"},"resolution":{"type":"string","description":"Optional. The output resolution.","uniqueKey":"oneOf.1.resolution","typeLabel":"string"},"fps":{"type":"number","description":"Optional. Frame rate.","uniqueKey":"oneOf.1.fps","typeLabel":"number"},"generate_audio":{"type":"boolean","description":"Optional. Whether to generate audio.","uniqueKey":"oneOf.1.generate_audio","typeLabel":"boolean"},"watermark":{"type":"boolean","description":"Optional. Whether to add a watermark.","uniqueKey":"oneOf.1.watermark","typeLabel":"boolean"}},"uniqueKey":"oneOf.1","typeLabel":"Kling 4.0 · object"}],"uniqueKey":"","typeLabel":"object | Kling 4.0 · object"},"examples":{"seedance_sd25_mixed_content":{"title":"seedance_sd25_mixed_content","value":{"model":"sd-2-5","ratio":"9:16","fps":24,"duration":10,"content":[{"type":"text","text":"使用 @图片1 @图片2 @图片3 @音频1 参考@视频1 生成视频"},{"type":"image_url","image_url":{"url":"https://demo1.png"},"role":"reference_image","name":"图片1"},{"type":"image_url","image_url":{"url":"https://demo2.png"},"role":"reference_image","name":"图片2"},{"type":"image_url","image_url":{"url":"https://demo3.png"},"role":"reference_image","name":"图片3"},{"type":"video_url","video_url":{"url":"https://video.mp4"},"role":"reference_video","name":"视频1"},{"type":"audio_url","audio_url":{"url":"https://audio.mp3"},"role":"reference_audio","name":"音频1"}]}},"seedance_tasks_reference_material":{"title":"seedance_tasks_reference_material","value":{"model":"doubao-seedance-1-0-lite-i2v-250428","mode":"reference_material","prompt":"测试文字","content":[{"type":"text","text":"测试文字"},{"type":"image_url","image_url":{"url":"https://imageproxy.zhongzhuan.chat/api/proxy/image/9979f1a754b3571d5e8bdcc397eedf53.png"},"role":"reference_image","name":"1"},{"type":"video_url","video_url":{"url":"https://imageproxy.zhongzhuan.chat/api/proxy/video/1979f1a754b3571d5e8bdcc397eedf53.mp4"},"role":"reference_video","name":"2"},{"type":"audio_url","audio_url":{"url":"https://imageproxy.zhongzhuan.chat/api/proxy/video/3979f1a754b3571d5e8bdcc397eedf53.mp3"},"role":"reference_audio","name":"3"}],"duration":5,"size":"1280x720"}},"minimax_h3_tasks_content":{"title":"minimax_h3_tasks_content","value":{"model":"minimax-h3","prompt":"A cinematic product video with smooth camera motion","content":[{"type":"text","text":"Use the product image as reference and match the rhythm of the audio."},{"type":"image_url","image_url":{"url":"https://example.com/product.jpg"},"role":"reference_image","name":"product"},{"type":"audio_url","audio_url":{"url":"https://example.com/music.mp3"},"role":"reference_audio","name":"music"}],"duration":8,"resolution":"1440p","ratio":"16:9","generate_audio":true}},"hailuo_2_3_tasks_first_frame":{"title":"hailuo_2_3_tasks_first_frame","value":{"model":"hailuo-2.3","prompt":"The camera slowly pushes in, natural motion and cinematic lighting.","content":[{"type":"text","text":"The camera slowly pushes in, natural motion and cinematic lighting."},{"type":"image_url","image_url":{"url":"https://example.com/first-frame.jpg"},"role":"first_frame","name":"first"}],"duration":10,"resolution":"768p","ratio":"16:9"}},"gemini_omni_seedance_t2v":{"title":"gemini_omni_seedance_t2v","value":{"model":"gemini-omni","mode":"t2v","prompt":"A cinematic product video with smooth camera motion","duration":8,"size":"1280x720"}},"gemini_omni_seedance_r2v":{"title":"gemini_omni_seedance_r2v","value":{"model":"gemini-omni","mode":"r2v","content":[{"type":"text","text":"Keep the product consistent and create a short ad video"},{"type":"image_url","image_url":{"url":"https://example.com/product.jpg"}}],"duration":8,"size":"1280x720"}},"gemini_omni_seedance_edit":{"title":"gemini_omni_seedance_edit","value":{"model":"gemini-omni","mode":"edit","content":[{"type":"text","text":"Change the outfit color while keeping the motion natural"},{"type":"video_url","video_url":{"url":"https://example.com/input.mp4"}},{"type":"image_url","image_url":{"url":"https://example.com/style.jpg"}}],"duration":8,"size":"1280x720"}},"kling_4_seedance_reference_material":{"title":"kling_4_seedance_reference_material","value":{"model":"kling-4.0","mode":"reference_material","duration":4,"resolution":"720p","content":[{"type":"text","text":"A cinematic product shot with natural motion"},{"type":"image_url","image_url":{"url":"https://example.com/product.jpg"},"role":"reference_image"}],"ratio":"16:9"}},"kling_4_seedance_t2v":{"title":"kling_4_seedance_t2v","value":{"model":"kling-4.0","mode":"t2v","duration":4,"resolution":"720p","content":[{"type":"text","text":"A cinematic product shot with natural motion"}],"ratio":"16:9"}},"kling_4_seedance_i2v":{"title":"kling_4_seedance_i2v","value":{"model":"kling-4.0","mode":"i2v","duration":4,"resolution":"720p","content":[{"type":"text","text":"A cinematic product shot with natural motion"},{"type":"image_url","image_url":{"url":"https://example.com/first-frame.jpg"},"role":"first_frame"}]}},"kling_4_seedance_i2v_first_last":{"title":"kling_4_seedance_i2v_first_last","value":{"model":"kling-4.0","mode":"i2v_first_last","duration":4,"resolution":"720p","content":[{"type":"text","text":"A cinematic product shot with natural motion"},{"type":"image_url","image_url":{"url":"https://example.com/first-frame.jpg"},"role":"first_frame"},{"type":"image_url","image_url":{"url":"https://example.com/last-frame.jpg"},"role":"last_frame"}]}},"kling_4_seedance_reference_images":{"title":"kling_4_seedance_reference_images","value":{"model":"kling-4.0","mode":"reference_images","duration":4,"resolution":"720p","content":[{"type":"text","text":"A cinematic product shot with natural motion"},{"type":"image_url","image_url":{"url":"https://example.com/product.jpg"},"role":"reference_image"}],"ratio":"16:9"}},"kling_4_seedance_reference_material_1080p":{"title":"kling_4_seedance_reference_material_1080p","value":{"model":"kling-4.0-1080p","mode":"reference_material","duration":4,"resolution":"1080p","content":[{"type":"text","text":"A cinematic product shot with natural motion"},{"type":"image_url","image_url":{"url":"https://example.com/product.jpg"},"role":"reference_image"}],"ratio":"16:9"}},"kling_4_seedance_t2v_1080p":{"title":"kling_4_seedance_t2v_1080p","value":{"model":"kling-4.0-1080p","mode":"t2v","duration":4,"resolution":"1080p","content":[{"type":"text","text":"A cinematic product shot with natural motion"}],"ratio":"16:9"}},"kling_4_seedance_i2v_1080p":{"title":"kling_4_seedance_i2v_1080p","value":{"model":"kling-4.0-1080p","mode":"i2v","duration":4,"resolution":"1080p","content":[{"type":"text","text":"A cinematic product shot with natural motion"},{"type":"image_url","image_url":{"url":"https://example.com/first-frame.jpg"},"role":"first_frame"}]}},"kling_4_seedance_i2v_first_last_1080p":{"title":"kling_4_seedance_i2v_first_last_1080p","value":{"model":"kling-4.0-1080p","mode":"i2v_first_last","duration":4,"resolution":"1080p","content":[{"type":"text","text":"A cinematic product shot with natural motion"},{"type":"image_url","image_url":{"url":"https://example.com/first-frame.jpg"},"role":"first_frame"},{"type":"image_url","image_url":{"url":"https://example.com/last-frame.jpg"},"role":"last_frame"}]}},"kling_4_seedance_reference_images_1080p":{"title":"kling_4_seedance_reference_images_1080p","value":{"model":"kling-4.0-1080p","mode":"reference_images","duration":4,"resolution":"1080p","content":[{"type":"text","text":"A cinematic product shot with natural motion"},{"type":"image_url","image_url":{"url":"https://example.com/product.jpg"},"role":"reference_image"}],"ratio":"16:9"}},"kling_4_ark_contents":{"title":"kling_4_ark_contents","value":{"model":"kling-4.0","mode":"reference_material","contents":[{"type":"prompt","text":"A cinematic product shot with natural motion"},{"type":"reference_image","url":"https://example.com/product.jpg"},{"type":"reference_video","url":"https://example.com/motion.mp4"}],"settings":{"duration":4,"resolution":"720p","aspect_ratio":"16:9"},"options":{}}},"kling_4_ark_contents_1080p":{"title":"kling_4_ark_contents_1080p","value":{"model":"kling-4.0-1080p","mode":"reference_material","contents":[{"type":"prompt","text":"A cinematic product shot with natural motion"},{"type":"reference_image","url":"https://example.com/product.jpg"},{"type":"reference_video","url":"https://example.com/motion.mp4"}],"settings":{"duration":4,"resolution":"1080p","aspect_ratio":"16:9"},"options":{}}},"vidu_q4_seedance_720p_reference":{"title":"vidu_q4_seedance_720p_reference","value":{"model":"vidu-q4","duration":3,"resolution":"720p","mode":"reference_material","content":[{"type":"text","text":"保持参考图中的主体与色彩,镜头缓慢推进,主体自然运动。"},{"type":"image_url","image_url":{"url":"https://example.com/reference-1.jpg"},"role":"reference_image"},{"type":"image_url","image_url":{"url":"https://example.com/reference-2.jpg"},"role":"reference_image"},{"type":"audio_url","audio_url":{"url":"https://example.com/reference-1.mp3"},"role":"reference_audio"},{"type":"audio_url","audio_url":{"url":"https://example.com/reference-2.mp3"},"role":"reference_audio"}]}},"vidu_q4_seedance_540p_reference":{"title":"vidu_q4_seedance_540p_reference","value":{"model":"vidu-q4-540p","duration":3,"resolution":"540p","mode":"reference_material","content":[{"type":"text","text":"保持参考图中的主体与色彩,镜头缓慢推进,主体自然运动。"},{"type":"image_url","image_url":{"url":"https://example.com/reference-1.jpg"},"role":"reference_image"},{"type":"image_url","image_url":{"url":"https://example.com/reference-2.jpg"},"role":"reference_image"},{"type":"audio_url","audio_url":{"url":"https://example.com/reference-1.mp3"},"role":"reference_audio"},{"type":"audio_url","audio_url":{"url":"https://example.com/reference-2.mp3"},"role":"reference_audio"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"599fcc02-ac53-4a99-9b41-b915d0f5cdef":{"description":"Task created successfully","content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","example":"task_xxx","description":"Task ID.","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"status":{"type":"string","description":"Task status.","enum":["queued","running","succeeded","failed"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","description":"Creation time (Unix seconds).","uniqueKey":"created_at","typeLabel":"string"},"items":{"type":"string","items":{"type":"object","properties":{"id":{"type":"string","description":"Task ID."},"status":{"type":"string","description":"Task status, commonly `queued`, `running`, `succeeded`, and `failed`."},"content":{"type":"object","properties":{"video_url":{"type":"string","description":"Video result URL."}}},"video_url":{"type":"string","description":"Video result URL."},"error":{"type":"string","description":"Error message returned when the request fails."},"progress":{"type":"string","description":"Task progress."}}},"uniqueKey":"\\items","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"task_xxx","status":"queued","created_at":"\u003cstring>","items":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"dc61a6a1-9eab-40d5-b978-61222e95a5cc":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Use Bearer Token authentication.\nFormat: `Authorization: Bearer sk-xxxxxx`","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"96249d24-7648-4dcd-a630-a1a9cdfe7c23":{"url":"https://api.aiid.edu.kg"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Use Bearer Token authentication.\nFormat: `Authorization: Bearer sk-xxxxxx`","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Use Bearer Token authentication.\nFormat: `Authorization: Bearer sk-xxxxxx`","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"api-reference/en/openapi.json"},"subdomain":"btc-de295b31","siteName":"OverseasAPI","title":"Create video (Seedance) - OverseasAPI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/en/video-generation-seedance/create-video-seedance","matchLevel":0},"cn":{"href":"/api-reference/cn/conventions","matchLevel":4},"zh-Hant":{"href":"/api-reference/zh-tw/conventions","matchLevel":4},"fr":{"href":"/api-reference/fr/conventions","matchLevel":4},"ja":{"href":"/api-reference/ja/conventions","matchLevel":4},"ru":{"href":"/api-reference/ru/conventions","matchLevel":4},"vi":{"href":"/api-reference/vi/conventions","matchLevel":4}}},"lastModified":"2026-10-24T16:04:50.542Z","originalFileLocation":"api-reference/en/video-generation-seedance/create-video-seedance.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"This series supports OpenAI video generation formats (see the link Video generation Sora compatible formats). Used to create video generation tasks and query status and results via task ID. Core fields for task creation: - model: Required. Model name. - prompt: Optional; if not provided, content must include a non-empty text item. - content: Optional, the Volcano Ark content array, mixing text, image, video, and audio materials. - function_mode: Optional. Commonly used for advanced modes such as Omni-Reference. Compatible input parameters: The following fields are mainly used for compatibility with legacy clients and older protocols. For new integrations, please use the standard format in the “Request Example” on this page whenever possible: use the content array for text and reference materials, and use top-level duration, ratio, resolution, fps, and other fields for generation configuration. - mode:t2v / i2v / i2v_first_last / reference_images / reference_material - image_url / image_urls / input_reference - end_image_url / last_image_url - video_urls / audio_urls - seconds / duration - aspect_ratio / ratio / size - quality / resolution - fps - generate_audio / watermark Call details: - When using mode=reference_material or function_mode=omni_reference, it is recommended to pass text and reference materials via content. - content text items are written as { \u0026quot;type\u0026quot;: \u0026quot;text\u0026quot;, \u0026quot;text\u0026quot;: \u0026quot;测试文字\u0026quot; }. - content image, video, and audio material items use the image_url, video_url, and audio_url object formats respectively, for example { \u0026quot;type\u0026quot;: \u0026quot;image_url\u0026quot;, \u0026quot;image_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://example.com/ref.png\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_image\u0026quot;, \u0026quot;name\u0026quot;: \u0026quot;1\u0026quot; }. - role can be used to identify the purpose of the material, and name can be referenced by name in prompts. - ratio, duration, resolution, and fps will affect the final generation configuration. Seedance 2.5 Mixed image, video, and audio reference example (the asset URLs are placeholders; replace them with actual accessible links when calling): json { \u0026quot;model\u0026quot;: \u0026quot;sd-2-5\u0026quot;, \u0026quot;ratio\u0026quot;: \u0026quot;9:16\u0026quot;, \u0026quot;fps\u0026quot;: 24, \u0026quot;duration\u0026quot;: 10, \u0026quot;content\u0026quot;: [ { \u0026quot;type\u0026quot;: \u0026quot;text\u0026quot;, \u0026quot;text\u0026quot;: \u0026quot;使用 @图片1 @图片2 @图片3 @音频1 参考@视频1 生成视频\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;image_url\u0026quot;, \u0026quot;image_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://demo1.png\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_image\u0026quot;, \u0026quot;name\u0026quot;: \u0026quot;图片1\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;image_url\u0026quot;, \u0026quot;image_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://demo2.png\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_image\u0026quot;, \u0026quot;name\u0026quot;: \u0026quot;图片2\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;image_url\u0026quot;, \u0026quot;image_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://demo3.png\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_image\u0026quot;, \u0026quot;name\u0026quot;: \u0026quot;图片3\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;video_url\u0026quot;, \u0026quot;video_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://video.mp4\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_video\u0026quot;, \u0026quot;name\u0026quot;: \u0026quot;视频1\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;audio_url\u0026quot;, \u0026quot;audio_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://audio.mp3\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_audio\u0026quot;, \u0026quot;name\u0026quot;: \u0026quot;音频1\u0026quot; } ] } Gemini Omni invocation: - gemini-omni can also be invoked through this Seedance task API. - mode=t2v is used for text-to-video, mode=r2v for generation with reference images/reference materials, and mode=edit for video editing. - Text can be placed in the text item of prompt or content; images can be placed in image_url / image_urls / reference_images / input_reference / content; videos can be placed in video_urls / content. - The duration field can use duration or seconds, and will be automatically mapped to the 4 / 6 / 8 / 10 second options. MiniMax / Hailuo Invocation: - minimax-h3 can be invoked through this task API and supports text-to-video, image reference, and audio reference; text can be placed in the prompt or content text fields, and assets can be placed in fields such as content, image_urls, and audio_urls. - hailuo-2.3 can be invoked through this task API. A first-frame image is required. It is recommended to pass the image_url item of role=first_frame in content. - minimax-h3 commonly uses duration=5~15 and resolution=1440p; hailuo-2.3 commonly uses duration=6 or 10 and resolution=768p. Key fields in query results: - items[].status - items[].content.video_url or items[].video_url - items[].error - items[].progress Error fields: error.code, error.message. ``json { \u0026quot;error\u0026quot;: { \u0026quot;code\u0026quot;: \u0026quot;invalid_request_error\u0026quot;, \u0026quot;message\u0026quot;: \u0026quot;requires at least one image in images\u0026quot; } } ` ## Kling 4.0 Kling 4.0 calls: kling-4.0 (720p) and kling-4.0-1080p both support the Seedance content/duration/resolution/ratio/mode format, contents/settings/options, and the OpenAI video format; request bodies can be reused between the two unified video endpoints. The resolution must match the model name. Kling 4.0 can directly use the Seedance format fields content/duration/resolution/ratio/mode, or the OpenAI video format fields prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The legacy contents/settings/options envelope is retained only for compatibility. Available mode values are t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), and reference_material (image or video references). When mode is omitted and no explicit tool is provided, reference_material is used by default if reference material is present; otherwise, t2v is used by default. Reference modes use the standard reference image role and do not silently convert explicitly specified first and last frames into reference images; for first and last frames, explicitly select i2v or i2v_first_last and omit aspect-ratio parameters. Reference audio is not currently supported. settings.audio is available only in the all-in-one mode for reference images/reference material; omit the audio switch for t2v, i2v, and i2v_first_last. ## Vidu Q4 Vidu Q4: vidu-q4 is fixed at 720p, and vidu-q4-540p is fixed at 540p. Supports generating videos from 3 to 16 seconds. At least 1 image is required, with up to 15 reference images supported. Reference generation can include up to 3 MP3 audio clips, each 3 to 12 seconds long and up to 50 MB. Pure text-to-video, specified first and last frames, and reference videos are not supported. Multiple images are used as joint references and do not indicate first or last frame positions. Tasks can be created via POST /v1/videos, POST /api/v3/contents/generations/tasks, or the Vidu formats POST /ent/v2/img2video and POST /ent/v2/reference2video. For the unified endpoint, mode=reference_images is recommended; use mode=reference_material when including audio. Reference audio can use audio_urls. The Seedance format can also use the audio_url field of the standard content; the audio` Boolean field controls audio generation and is used separately from the reference audio URL list. The resolution must match the model name.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OverseasAPI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/btc-de295b31/IplwZem2it_4bFJe/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/btc-de295b31/IplwZem2it_4bFJe/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/btc-de295b31/IplwZem2it_4bFJe/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/btc-de295b31/IplwZem2it_4bFJe/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/btc-de295b31/IplwZem2it_4bFJe/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/btc-de295b31/IplwZem2it_4bFJe/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/btc-de295b31/IplwZem2it_4bFJe/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/btc-de295b31/IplwZem2it_4bFJe/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/btc-de295b31/IplwZem2it_4bFJe/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create video (Seedance) - OverseasAPI\">\u003cmeta data-mint-head property=\"og:description\" content=\"This series supports OpenAI video generation formats (see the link Video generation Sora compatible formats). Used to create video generation tasks and query status and results via task ID. Core fields for task creation: - model: Required. Model name. - prompt: Optional; if not provided, content must include a non-empty text item. - content: Optional, the Volcano Ark content array, mixing text, image, video, and audio materials. - function_mode: Optional. Commonly used for advanced modes such as Omni-Reference. Compatible input parameters: The following fields are mainly used for compatibility with legacy clients and older protocols. For new integrations, please use the standard format in the “Request Example” on this page whenever possible: use the content array for text and reference materials, and use top-level duration, ratio, resolution, fps, and other fields for generation configuration. - mode:t2v / i2v / i2v_first_last / reference_images / reference_material - image_url / image_urls / input_reference - end_image_url / last_image_url - video_urls / audio_urls - seconds / duration - aspect_ratio / ratio / size - quality / resolution - fps - generate_audio / watermark Call details: - When using mode=reference_material or function_mode=omni_reference, it is recommended to pass text and reference materials via content. - content text items are written as { \u0026quot;type\u0026quot;: \u0026quot;text\u0026quot;, \u0026quot;text\u0026quot;: \u0026quot;测试文字\u0026quot; }. - content image, video, and audio material items use the image_url, video_url, and audio_url object formats respectively, for example { \u0026quot;type\u0026quot;: \u0026quot;image_url\u0026quot;, \u0026quot;image_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://example.com/ref.png\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_image\u0026quot;, \u0026quot;name\u0026quot;: \u0026quot;1\u0026quot; }. - role can be used to identify the purpose of the material, and name can be referenced by name in prompts. - ratio, duration, resolution, and fps will affect the final generation configuration. Seedance 2.5 Mixed image, video, and audio reference example (the asset URLs are placeholders; replace them with actual accessible links when calling): json { \u0026quot;model\u0026quot;: \u0026quot;sd-2-5\u0026quot;, \u0026quot;ratio\u0026quot;: \u0026quot;9:16\u0026quot;, \u0026quot;fps\u0026quot;: 24, \u0026quot;duration\u0026quot;: 10, \u0026quot;content\u0026quot;: [ { \u0026quot;type\u0026quot;: \u0026quot;text\u0026quot;, \u0026quot;text\u0026quot;: \u0026quot;使用 @图片1 @图片2 @图片3 @音频1 参考@视频1 生成视频\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;image_url\u0026quot;, \u0026quot;image_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://demo1.png\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_image\u0026quot;, \u0026quot;name\u0026quot;: \u0026quot;图片1\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;image_url\u0026quot;, \u0026quot;image_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://demo2.png\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_image\u0026quot;, \u0026quot;name\u0026quot;: \u0026quot;图片2\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;image_url\u0026quot;, \u0026quot;image_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://demo3.png\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_image\u0026quot;, \u0026quot;name\u0026quot;: \u0026quot;图片3\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;video_url\u0026quot;, \u0026quot;video_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://video.mp4\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_video\u0026quot;, \u0026quot;name\u0026quot;: \u0026quot;视频1\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;audio_url\u0026quot;, \u0026quot;audio_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://audio.mp3\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_audio\u0026quot;, \u0026quot;name\u0026quot;: \u0026quot;音频1\u0026quot; } ] } Gemini Omni invocation: - gemini-omni can also be invoked through this Seedance task API. - mode=t2v is used for text-to-video, mode=r2v for generation with reference images/reference materials, and mode=edit for video editing. - Text can be placed in the text item of prompt or content; images can be placed in image_url / image_urls / reference_images / input_reference / content; videos can be placed in video_urls / content. - The duration field can use duration or seconds, and will be automatically mapped to the 4 / 6 / 8 / 10 second options. MiniMax / Hailuo Invocation: - minimax-h3 can be invoked through this task API and supports text-to-video, image reference, and audio reference; text can be placed in the prompt or content text fields, and assets can be placed in fields such as content, image_urls, and audio_urls. - hailuo-2.3 can be invoked through this task API. A first-frame image is required. It is recommended to pass the image_url item of role=first_frame in content. - minimax-h3 commonly uses duration=5~15 and resolution=1440p; hailuo-2.3 commonly uses duration=6 or 10 and resolution=768p. Key fields in query results: - items[].status - items[].content.video_url or items[].video_url - items[].error - items[].progress Error fields: error.code, error.message. ``json { \u0026quot;error\u0026quot;: { \u0026quot;code\u0026quot;: \u0026quot;invalid_request_error\u0026quot;, \u0026quot;message\u0026quot;: \u0026quot;requires at least one image in images\u0026quot; } } ` ## Kling 4.0 Kling 4.0 calls: kling-4.0 (720p) and kling-4.0-1080p both support the Seedance content/duration/resolution/ratio/mode format, contents/settings/options, and the OpenAI video format; request bodies can be reused between the two unified video endpoints. The resolution must match the model name. Kling 4.0 can directly use the Seedance format fields content/duration/resolution/ratio/mode, or the OpenAI video format fields prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The legacy contents/settings/options envelope is retained only for compatibility. Available mode values are t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), and reference_material (image or video references). When mode is omitted and no explicit tool is provided, reference_material is used by default if reference material is present; otherwise, t2v is used by default. Reference modes use the standard reference image role and do not silently convert explicitly specified first and last frames into reference images; for first and last frames, explicitly select i2v or i2v_first_last and omit aspect-ratio parameters. Reference audio is not currently supported. settings.audio is available only in the all-in-one mode for reference images/reference material; omit the audio switch for t2v, i2v, and i2v_first_last. ## Vidu Q4 Vidu Q4: vidu-q4 is fixed at 720p, and vidu-q4-540p is fixed at 540p. Supports generating videos from 3 to 16 seconds. At least 1 image is required, with up to 15 reference images supported. Reference generation can include up to 3 MP3 audio clips, each 3 to 12 seconds long and up to 50 MB. Pure text-to-video, specified first and last frames, and reference videos are not supported. Multiple images are used as joint references and do not indicate first or last frame positions. Tasks can be created via POST /v1/videos, POST /api/v3/contents/generations/tasks, or the Vidu formats POST /ent/v2/img2video and POST /ent/v2/reference2video. For the unified endpoint, mode=reference_images is recommended; use mode=reference_material when including audio. Reference audio can use audio_urls. The Seedance format can also use the audio_url field of the standard content; the audio` Boolean field controls audio generation and is used separately from the reference audio URL list. The resolution must match the model name.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OverseasAPI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.aiid.edu.kg/api-reference/en/video-generation-seedance/create-video-seedance\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://btc-de295b31.mintlify.app/_mintlify/api/og/v2?division=Video+generation+Seedance\u0026amp;title=Create+video+%28Seedance%29\u0026amp;description=This+series+supports+OpenAI+video+generation+formats+%28see+the+link+%5BVideo+generation+Sora+compatible+formats%5D%28%2Fapi-reference%2Fen%2Fvideo-generation-sora-compatible\u0026amp;theme=4acb683881b01fff206da5f1\u0026amp;signature=03cd65d693f3dfa440a1553fba47afd982db7089951f736add2d0aa8868a1998\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create video (Seedance) - OverseasAPI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This series supports OpenAI video generation formats (see the link Video generation Sora compatible formats). Used to create video generation tasks and query status and results via task ID. Core fields for task creation: - model: Required. Model name. - prompt: Optional; if not provided, content must include a non-empty text item. - content: Optional, the Volcano Ark content array, mixing text, image, video, and audio materials. - function_mode: Optional. Commonly used for advanced modes such as Omni-Reference. Compatible input parameters: The following fields are mainly used for compatibility with legacy clients and older protocols. For new integrations, please use the standard format in the “Request Example” on this page whenever possible: use the content array for text and reference materials, and use top-level duration, ratio, resolution, fps, and other fields for generation configuration. - mode:t2v / i2v / i2v_first_last / reference_images / reference_material - image_url / image_urls / input_reference - end_image_url / last_image_url - video_urls / audio_urls - seconds / duration - aspect_ratio / ratio / size - quality / resolution - fps - generate_audio / watermark Call details: - When using mode=reference_material or function_mode=omni_reference, it is recommended to pass text and reference materials via content. - content text items are written as { \u0026quot;type\u0026quot;: \u0026quot;text\u0026quot;, \u0026quot;text\u0026quot;: \u0026quot;测试文字\u0026quot; }. - content image, video, and audio material items use the image_url, video_url, and audio_url object formats respectively, for example { \u0026quot;type\u0026quot;: \u0026quot;image_url\u0026quot;, \u0026quot;image_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://example.com/ref.png\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_image\u0026quot;, \u0026quot;name\u0026quot;: \u0026quot;1\u0026quot; }. - role can be used to identify the purpose of the material, and name can be referenced by name in prompts. - ratio, duration, resolution, and fps will affect the final generation configuration. Seedance 2.5 Mixed image, video, and audio reference example (the asset URLs are placeholders; replace them with actual accessible links when calling): json { \u0026quot;model\u0026quot;: \u0026quot;sd-2-5\u0026quot;, \u0026quot;ratio\u0026quot;: \u0026quot;9:16\u0026quot;, \u0026quot;fps\u0026quot;: 24, \u0026quot;duration\u0026quot;: 10, \u0026quot;content\u0026quot;: [ { \u0026quot;type\u0026quot;: \u0026quot;text\u0026quot;, \u0026quot;text\u0026quot;: \u0026quot;使用 @图片1 @图片2 @图片3 @音频1 参考@视频1 生成视频\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;image_url\u0026quot;, \u0026quot;image_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://demo1.png\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_image\u0026quot;, \u0026quot;name\u0026quot;: \u0026quot;图片1\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;image_url\u0026quot;, \u0026quot;image_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://demo2.png\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_image\u0026quot;, \u0026quot;name\u0026quot;: \u0026quot;图片2\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;image_url\u0026quot;, \u0026quot;image_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://demo3.png\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_image\u0026quot;, \u0026quot;name\u0026quot;: \u0026quot;图片3\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;video_url\u0026quot;, \u0026quot;video_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://video.mp4\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_video\u0026quot;, \u0026quot;name\u0026quot;: \u0026quot;视频1\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;audio_url\u0026quot;, \u0026quot;audio_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://audio.mp3\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_audio\u0026quot;, \u0026quot;name\u0026quot;: \u0026quot;音频1\u0026quot; } ] } Gemini Omni invocation: - gemini-omni can also be invoked through this Seedance task API. - mode=t2v is used for text-to-video, mode=r2v for generation with reference images/reference materials, and mode=edit for video editing. - Text can be placed in the text item of prompt or content; images can be placed in image_url / image_urls / reference_images / input_reference / content; videos can be placed in video_urls / content. - The duration field can use duration or seconds, and will be automatically mapped to the 4 / 6 / 8 / 10 second options. MiniMax / Hailuo Invocation: - minimax-h3 can be invoked through this task API and supports text-to-video, image reference, and audio reference; text can be placed in the prompt or content text fields, and assets can be placed in fields such as content, image_urls, and audio_urls. - hailuo-2.3 can be invoked through this task API. A first-frame image is required. It is recommended to pass the image_url item of role=first_frame in content. - minimax-h3 commonly uses duration=5~15 and resolution=1440p; hailuo-2.3 commonly uses duration=6 or 10 and resolution=768p. Key fields in query results: - items[].status - items[].content.video_url or items[].video_url - items[].error - items[].progress Error fields: error.code, error.message. ``json { \u0026quot;error\u0026quot;: { \u0026quot;code\u0026quot;: \u0026quot;invalid_request_error\u0026quot;, \u0026quot;message\u0026quot;: \u0026quot;requires at least one image in images\u0026quot; } } ` ## Kling 4.0 Kling 4.0 calls: kling-4.0 (720p) and kling-4.0-1080p both support the Seedance content/duration/resolution/ratio/mode format, contents/settings/options, and the OpenAI video format; request bodies can be reused between the two unified video endpoints. The resolution must match the model name. Kling 4.0 can directly use the Seedance format fields content/duration/resolution/ratio/mode, or the OpenAI video format fields prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The legacy contents/settings/options envelope is retained only for compatibility. Available mode values are t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), and reference_material (image or video references). When mode is omitted and no explicit tool is provided, reference_material is used by default if reference material is present; otherwise, t2v is used by default. Reference modes use the standard reference image role and do not silently convert explicitly specified first and last frames into reference images; for first and last frames, explicitly select i2v or i2v_first_last and omit aspect-ratio parameters. Reference audio is not currently supported. settings.audio is available only in the all-in-one mode for reference images/reference material; omit the audio switch for t2v, i2v, and i2v_first_last. ## Vidu Q4 Vidu Q4: vidu-q4 is fixed at 720p, and vidu-q4-540p is fixed at 540p. Supports generating videos from 3 to 16 seconds. At least 1 image is required, with up to 15 reference images supported. Reference generation can include up to 3 MP3 audio clips, each 3 to 12 seconds long and up to 50 MB. Pure text-to-video, specified first and last frames, and reference videos are not supported. Multiple images are used as joint references and do not indicate first or last frame positions. Tasks can be created via POST /v1/videos, POST /api/v3/contents/generations/tasks, or the Vidu formats POST /ent/v2/img2video and POST /ent/v2/reference2video. For the unified endpoint, mode=reference_images is recommended; use mode=reference_material when including audio. Reference audio can use audio_urls. The Seedance format can also use the audio_url field of the standard content; the audio` Boolean field controls audio generation and is used separately from the reference audio URL list. The resolution must match the model name.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://btc-de295b31.mintlify.app/_mintlify/api/og/v2?division=Video+generation+Seedance\u0026amp;title=Create+video+%28Seedance%29\u0026amp;description=This+series+supports+OpenAI+video+generation+formats+%28see+the+link+%5BVideo+generation+Sora+compatible+formats%5D%28%2Fapi-reference%2Fen%2Fvideo-generation-sora-compatible\u0026amp;theme=4acb683881b01fff206da5f1\u0026amp;signature=03cd65d693f3dfa440a1553fba47afd982db7089951f736add2d0aa8868a1998\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/btc-de295b31/IplwZem2it_4bFJe/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OverseasAPI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6d28d9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.aiid.edu.kg/api-reference/en/video-generation-seedance/create-video-seedance\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/en/video-generation-seedance/create-video-seedance.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.aiid.edu.kg/#organization\",\"name\":\"OverseasAPI\",\"url\":\"https://docs.aiid.edu.kg\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/btc-de295b31/dNi9LBWUBzALFywP/public/assets/logo.webp?fit=max\u0026auto=format\u0026n=dNi9LBWUBzALFywP\u0026q=85\u0026s=bac78dc112e5baf91eafeb0fffd5fd7d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.aiid.edu.kg#website\",\"name\":\"OverseasAPI\",\"url\":\"https://docs.aiid.edu.kg\",\"publisher\":{\"@id\":\"https://docs.aiid.edu.kg/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.aiid.edu.kg/api-reference/en/video-generation-seedance/create-video-seedance#webpage\",\"url\":\"https://docs.aiid.edu.kg/api-reference/en/video-generation-seedance/create-video-seedance\",\"name\":\"Create video (Seedance)\",\"description\":\"This series supports OpenAI video generation formats (see the link Video generation Sora compatible formats). Used to create video generation tasks and query status and results via task ID. Core fields for task creation: - model: Required. Model name. - prompt: Optional; if not provided, content must include a non-empty text item. - content: Optional, the Volcano Ark content array, mixing text, image, video, and audio materials. - function_mode: Optional. Commonly used for advanced modes such as Omni-Reference. Compatible input parameters: The following fields are mainly used for compatibility with legacy clients and older protocols. For new integrations, please use the standard format in the “Request Example” on this page whenever possible: use the content array for text and reference materials, and use top-level duration, ratio, resolution, fps, and other fields for generation configuration. - mode:t2v / i2v / i2v_first_last / reference_images / reference_material - image_url / image_urls / input_reference - end_image_url / last_image_url - video_urls / audio_urls - seconds / duration - aspect_ratio / ratio / size - quality / resolution - fps - generate_audio / watermark Call details: - When using mode=reference_material or function_mode=omni_reference, it is recommended to pass text and reference materials via content. - content text items are written as { \\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"测试文字\\\" }. - content image, video, and audio material items use the image_url, video_url, and audio_url object formats respectively, for example { \\\"type\\\": \\\"image_url\\\", \\\"image_url\\\": { \\\"url\\\": \\\"https://example.com/ref.png\\\" }, \\\"role\\\": \\\"reference_image\\\", \\\"name\\\": \\\"1\\\" }. - role can be used to identify the purpose of the material, and name can be referenced by name in prompts. - ratio, duration, resolution, and fps will affect the final generation configuration. Seedance 2.5 Mixed image, video, and audio reference example (the asset URLs are placeholders; replace them with actual accessible links when calling): json { \\\"model\\\": \\\"sd-2-5\\\", \\\"ratio\\\": \\\"9:16\\\", \\\"fps\\\": 24, \\\"duration\\\": 10, \\\"content\\\": [ { \\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"使用 @图片1 @图片2 @图片3 @音频1 参考@视频1 生成视频\\\" }, { \\\"type\\\": \\\"image_url\\\", \\\"image_url\\\": { \\\"url\\\": \\\"https://demo1.png\\\" }, \\\"role\\\": \\\"reference_image\\\", \\\"name\\\": \\\"图片1\\\" }, { \\\"type\\\": \\\"image_url\\\", \\\"image_url\\\": { \\\"url\\\": \\\"https://demo2.png\\\" }, \\\"role\\\": \\\"reference_image\\\", \\\"name\\\": \\\"图片2\\\" }, { \\\"type\\\": \\\"image_url\\\", \\\"image_url\\\": { \\\"url\\\": \\\"https://demo3.png\\\" }, \\\"role\\\": \\\"reference_image\\\", \\\"name\\\": \\\"图片3\\\" }, { \\\"type\\\": \\\"video_url\\\", \\\"video_url\\\": { \\\"url\\\": \\\"https://video.mp4\\\" }, \\\"role\\\": \\\"reference_video\\\", \\\"name\\\": \\\"视频1\\\" }, { \\\"type\\\": \\\"audio_url\\\", \\\"audio_url\\\": { \\\"url\\\": \\\"https://audio.mp3\\\" }, \\\"role\\\": \\\"reference_audio\\\", \\\"name\\\": \\\"音频1\\\" } ] } Gemini Omni invocation: - gemini-omni can also be invoked through this Seedance task API. - mode=t2v is used for text-to-video, mode=r2v for generation with reference images/reference materials, and mode=edit for video editing. - Text can be placed in the text item of prompt or content; images can be placed in image_url / image_urls / reference_images / input_reference / content; videos can be placed in video_urls / content. - The duration field can use duration or seconds, and will be automatically mapped to the 4 / 6 / 8 / 10 second options. MiniMax / Hailuo Invocation: - minimax-h3 can be invoked through this task API and supports text-to-video, image reference, and audio reference; text can be placed in the prompt or content text fields, and assets can be placed in fields such as content, image_urls, and audio_urls. - hailuo-2.3 can be invoked through this task API. A first-frame image is required. It is recommended to pass the image_url item of role=first_frame in content. - minimax-h3 commonly uses duration=5~15 and resolution=1440p; hailuo-2.3 commonly uses duration=6 or 10 and resolution=768p. Key fields in query results: - items[].status - items[].content.video_url or items[].video_url - items[].error - items[].progress Error fields: error.code, error.message. ``json { \\\"error\\\": { \\\"code\\\": \\\"invalid_request_error\\\", \\\"message\\\": \\\"requires at least one image in images\\\" } } ` ## Kling 4.0 Kling 4.0 calls: kling-4.0 (720p) and kling-4.0-1080p both support the Seedance content/duration/resolution/ratio/mode format, contents/settings/options, and the OpenAI video format; request bodies can be reused between the two unified video endpoints. The resolution must match the model name. Kling 4.0 can directly use the Seedance format fields content/duration/resolution/ratio/mode, or the OpenAI video format fields prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The legacy contents/settings/options envelope is retained only for compatibility. Available mode values are t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), and reference_material (image or video references). When mode is omitted and no explicit tool is provided, reference_material is used by default if reference material is present; otherwise, t2v is used by default. Reference modes use the standard reference image role and do not silently convert explicitly specified first and last frames into reference images; for first and last frames, explicitly select i2v or i2v_first_last and omit aspect-ratio parameters. Reference audio is not currently supported. settings.audio is available only in the all-in-one mode for reference images/reference material; omit the audio switch for t2v, i2v, and i2v_first_last. ## Vidu Q4 Vidu Q4: vidu-q4 is fixed at 720p, and vidu-q4-540p is fixed at 540p. Supports generating videos from 3 to 16 seconds. At least 1 image is required, with up to 15 reference images supported. Reference generation can include up to 3 MP3 audio clips, each 3 to 12 seconds long and up to 50 MB. Pure text-to-video, specified first and last frames, and reference videos are not supported. Multiple images are used as joint references and do not indicate first or last frame positions. Tasks can be created via POST /v1/videos, POST /api/v3/contents/generations/tasks, or the Vidu formats POST /ent/v2/img2video and POST /ent/v2/reference2video. For the unified endpoint, mode=reference_images is recommended; use mode=reference_material when including audio. Reference audio can use audio_urls. The Seedance format can also use the audio_url field of the standard content; the audio` Boolean field controls audio generation and is used separately from the reference audio URL list. The resolution must match the model name.\",\"dateModified\":\"2026-10-24T16:04:50.542Z\",\"isPartOf\":{\"@id\":\"https://docs.aiid.edu.kg#website\"},\"breadcrumb\":{\"@id\":\"https://docs.aiid.edu.kg/api-reference/en/video-generation-seedance/create-video-seedance#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.aiid.edu.kg/api-reference/en/video-generation-seedance/create-video-seedance#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"OverseasAPI\",\"item\":\"https://docs.aiid.edu.kg\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create video (Seedance)\",\"item\":\"https://docs.aiid.edu.kg/api-reference/en/video-generation-seedance/create-video-seedance\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.aiid.edu.kg/api-reference/en/video-generation-seedance/create-video-seedance#apireference\",\"headline\":\"Create video (Seedance)\",\"name\":\"Create video (Seedance)\",\"description\":\"This series supports OpenAI video generation formats (see the link Video generation Sora compatible formats). Used to create video generation tasks and query status and results via task ID. Core fields for task creation: - model: Required. Model name. - prompt: Optional; if not provided, content must include a non-empty text item. - content: Optional, the Volcano Ark content array, mixing text, image, video, and audio materials. - function_mode: Optional. Commonly used for advanced modes such as Omni-Reference. Compatible input parameters: The following fields are mainly used for compatibility with legacy clients and older protocols. For new integrations, please use the standard format in the “Request Example” on this page whenever possible: use the content array for text and reference materials, and use top-level duration, ratio, resolution, fps, and other fields for generation configuration. - mode:t2v / i2v / i2v_first_last / reference_images / reference_material - image_url / image_urls / input_reference - end_image_url / last_image_url - video_urls / audio_urls - seconds / duration - aspect_ratio / ratio / size - quality / resolution - fps - generate_audio / watermark Call details: - When using mode=reference_material or function_mode=omni_reference, it is recommended to pass text and reference materials via content. - content text items are written as { \\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"测试文字\\\" }. - content image, video, and audio material items use the image_url, video_url, and audio_url object formats respectively, for example { \\\"type\\\": \\\"image_url\\\", \\\"image_url\\\": { \\\"url\\\": \\\"https://example.com/ref.png\\\" }, \\\"role\\\": \\\"reference_image\\\", \\\"name\\\": \\\"1\\\" }. - role can be used to identify the purpose of the material, and name can be referenced by name in prompts. - ratio, duration, resolution, and fps will affect the final generation configuration. Seedance 2.5 Mixed image, video, and audio reference example (the asset URLs are placeholders; replace them with actual accessible links when calling): json { \\\"model\\\": \\\"sd-2-5\\\", \\\"ratio\\\": \\\"9:16\\\", \\\"fps\\\": 24, \\\"duration\\\": 10, \\\"content\\\": [ { \\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"使用 @图片1 @图片2 @图片3 @音频1 参考@视频1 生成视频\\\" }, { \\\"type\\\": \\\"image_url\\\", \\\"image_url\\\": { \\\"url\\\": \\\"https://demo1.png\\\" }, \\\"role\\\": \\\"reference_image\\\", \\\"name\\\": \\\"图片1\\\" }, { \\\"type\\\": \\\"image_url\\\", \\\"image_url\\\": { \\\"url\\\": \\\"https://demo2.png\\\" }, \\\"role\\\": \\\"reference_image\\\", \\\"name\\\": \\\"图片2\\\" }, { \\\"type\\\": \\\"image_url\\\", \\\"image_url\\\": { \\\"url\\\": \\\"https://demo3.png\\\" }, \\\"role\\\": \\\"reference_image\\\", \\\"name\\\": \\\"图片3\\\" }, { \\\"type\\\": \\\"video_url\\\", \\\"video_url\\\": { \\\"url\\\": \\\"https://video.mp4\\\" }, \\\"role\\\": \\\"reference_video\\\", \\\"name\\\": \\\"视频1\\\" }, { \\\"type\\\": \\\"audio_url\\\", \\\"audio_url\\\": { \\\"url\\\": \\\"https://audio.mp3\\\" }, \\\"role\\\": \\\"reference_audio\\\", \\\"name\\\": \\\"音频1\\\" } ] } Gemini Omni invocation: - gemini-omni can also be invoked through this Seedance task API. - mode=t2v is used for text-to-video, mode=r2v for generation with reference images/reference materials, and mode=edit for video editing. - Text can be placed in the text item of prompt or content; images can be placed in image_url / image_urls / reference_images / input_reference / content; videos can be placed in video_urls / content. - The duration field can use duration or seconds, and will be automatically mapped to the 4 / 6 / 8 / 10 second options. MiniMax / Hailuo Invocation: - minimax-h3 can be invoked through this task API and supports text-to-video, image reference, and audio reference; text can be placed in the prompt or content text fields, and assets can be placed in fields such as content, image_urls, and audio_urls. - hailuo-2.3 can be invoked through this task API. A first-frame image is required. It is recommended to pass the image_url item of role=first_frame in content. - minimax-h3 commonly uses duration=5~15 and resolution=1440p; hailuo-2.3 commonly uses duration=6 or 10 and resolution=768p. Key fields in query results: - items[].status - items[].content.video_url or items[].video_url - items[].error - items[].progress Error fields: error.code, error.message. ``json { \\\"error\\\": { \\\"code\\\": \\\"invalid_request_error\\\", \\\"message\\\": \\\"requires at least one image in images\\\" } } ` ## Kling 4.0 Kling 4.0 calls: kling-4.0 (720p) and kling-4.0-1080p both support the Seedance content/duration/resolution/ratio/mode format, contents/settings/options, and the OpenAI video format; request bodies can be reused between the two unified video endpoints. The resolution must match the model name. Kling 4.0 can directly use the Seedance format fields content/duration/resolution/ratio/mode, or the OpenAI video format fields prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The legacy contents/settings/options envelope is retained only for compatibility. Available mode values are t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), and reference_material (image or video references). When mode is omitted and no explicit tool is provided, reference_material is used by default if reference material is present; otherwise, t2v is used by default. Reference modes use the standard reference image role and do not silently convert explicitly specified first and last frames into reference images; for first and last frames, explicitly select i2v or i2v_first_last and omit aspect-ratio parameters. Reference audio is not currently supported. settings.audio is available only in the all-in-one mode for reference images/reference material; omit the audio switch for t2v, i2v, and i2v_first_last. ## Vidu Q4 Vidu Q4: vidu-q4 is fixed at 720p, and vidu-q4-540p is fixed at 540p. Supports generating videos from 3 to 16 seconds. At least 1 image is required, with up to 15 reference images supported. Reference generation can include up to 3 MP3 audio clips, each 3 to 12 seconds long and up to 50 MB. Pure text-to-video, specified first and last frames, and reference videos are not supported. Multiple images are used as joint references and do not indicate first or last frame positions. Tasks can be created via POST /v1/videos, POST /api/v3/contents/generations/tasks, or the Vidu formats POST /ent/v2/img2video and POST /ent/v2/reference2video. For the unified endpoint, mode=reference_images is recommended; use mode=reference_material when including audio. Reference audio can use audio_urls. The Seedance format can also use the audio_url field of the standard content; the audio` Boolean field controls audio generation and is used separately from the reference audio URL list. The resolution must match the model name.\",\"url\":\"https://docs.aiid.edu.kg/api-reference/en/video-generation-seedance/create-video-seedance\",\"mainEntityOfPage\":{\"@id\":\"https://docs.aiid.edu.kg/api-reference/en/video-generation-seedance/create-video-seedance#webpage\"},\"dateModified\":\"2026-10-24T16:04:50.542Z\",\"publisher\":{\"@id\":\"https://docs.aiid.edu.kg/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.aiid.edu.kg#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OverseasAPI\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"OverseasAPI","nav":{"global":null,"languages":[{"language":"en","footer":{"socials":{"telegram":"https://t.me/overseas_api"}},"navbar":{"links":[{"href":"mailto:support@aiid.edu.kg","label":"Support"},{"href":"https://aiid.edu.kg/pricing","label":"Pricing"}],"primary":{"type":"button","label":"Console","href":"https://aiid.edu.kg/console"}},"tabs":[{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Calling Conventions","href":"/api-reference/en/conventions"},{"title":"Quickstart","href":"/api-reference/en/quickstart"},{"title":"Online Debugging","href":"/api-reference/en/online-debug"},{"title":"AI-Generated Integration Code","href":"/api-reference/en/ai-codegen"}]},{"group":"Gemini Format for Image Generation","pages":[{"title":"Gemini Images (Nano Banana)","openapi":"api-reference/en/openapi.json POST /v1beta/models/{model}:generateContent","href":"/api-reference/en/image-generation-gemini-format/gemini-images-nano-banana"}]},{"group":"Image generationOpenAI DALL-E format","pages":[{"title":"Edit images (OpenAI Dall-E compatible)","openapi":"api-reference/en/openapi.json POST /v1/images/edits","href":"/api-reference/en/image-generation-openai-dall-e-format/edit-images-openai-dall-e-compatible"},{"title":"Generate images (compatible with OpenAI Dall-E)","openapi":"api-reference/en/openapi.json POST /v1/images/generations","href":"/api-reference/en/image-generation-openai-dall-e-format/generate-images-compatible-with-openai-dall-e"}]},{"group":"List models","pages":[{"title":"List models","openapi":"api-reference/en/openapi.json GET /v1/models","href":"/api-reference/en/list-models/list-models"},{"title":"Get Gemini Format","openapi":"api-reference/en/openapi.json GET /v1beta/models","href":"/api-reference/en/list-models/get-gemini-format"}]},{"group":"Music generation task format","pages":[{"title":"Query a music task by ID","openapi":"api-reference/en/openapi.json GET /suno/fetch/{task_id}","href":"/api-reference/en/music-generation-task-format/query-a-music-task-by-id"},{"title":"Create a music or sound generation task","openapi":"api-reference/en/openapi.json POST /suno/submit/music","href":"/api-reference/en/music-generation-task-format/create-a-music-or-sound-generation-task"}]},{"group":"OpenAI Format (Responses)","pages":[{"title":"Create response (OpenAI Responses API)","openapi":"api-reference/en/openapi.json POST /v1/responses","href":"/api-reference/en/openai-format-responses/create-response"},{"title":"Query responses (OpenAI Responses API)","openapi":"api-reference/en/openapi.json GET /v1/responses/{response_id}","href":"/api-reference/en/openai-format-responses/query-responses-openai-responses-api"}]},{"group":"OpenAI format (Chat)","pages":[{"title":"Create chat session","openapi":"api-reference/en/openapi.json POST /v1/chat/completions","href":"/api-reference/en/openai-format-chat/create-chat-session"}]},{"group":"Video generation Kling format","pages":[{"title":"Kling Image-to-Video","openapi":"api-reference/en/openapi.json POST /image-to-video/kling-4.0","href":"/api-reference/en/video-generation-kling-format/create-kling-image-to-video"},{"title":"Kling Text-to-Video","openapi":"api-reference/en/openapi.json POST /text-to-video/kling-4.0","href":"/api-reference/en/video-generation-kling-format/create-kling-text-to-video"},{"title":"Kling All-in-One Reference","openapi":"api-reference/en/openapi.json POST /omni-video/kling-4.0","href":"/api-reference/en/video-generation-kling-format/kling-all-in-one-reference"},{"title":"Batch Query Kling Tasks","openapi":"api-reference/en/openapi.json GET /tasks","href":"/api-reference/en/video-generation-kling-format/batch-query-kling-tasks"}]},{"group":"Video generation Omni and Veo formats","pages":[{"title":"Create video (Omni and Veo formats)","openapi":"api-reference/en/openapi.json POST /v1beta/models/{model}:predictLongRunning","href":"/api-reference/en/video-generation-omni-and-veo-formats/create-video-omni-and-veo-formats"},{"title":"Query tasks (Omni and Veo formats)","openapi":"api-reference/en/openapi.json GET /v1beta/{operation_name}","description":"This series supports OpenAI video generation formats (see the link [Video generation Sora compatible formats](/api-reference/en/video-generation-sora-compatible-format/create-video)).\n\nThis API topic page explains the query formats related to Omni and Veo, as well as the reserved status of the native query protocol for Veo.\n\nFor the current Veo series, please use the `/v1/videos` unified API for creation and queries.\n\nThe following `operation_name` query structure is retained for reserved protocol documentation only and does not currently support actual calls.\n\nNote: The endpoints supported by the `gemini-omni` model are the Sora compatible format `POST /v1/videos` or the Seedance format `POST /api/v3/contents/generations/tasks`; this page does not support Google native Veo `predictLongRunning` endpoints.","href":"/api-reference/en/video-generation-omni-and-veo-formats/query-tasks-omni-and-veo-formats"}]},{"group":"Video generation Seedance","pages":[{"title":"Create video (Seedance)","openapi":"api-reference/en/openapi.json POST /api/v3/contents/generations/tasks","href":"/api-reference/en/video-generation-seedance/create-video-seedance"},{"title":"Query task (Seedance)","openapi":"api-reference/en/openapi.json GET /api/v3/contents/generations/tasks/{task_id}","description":"This series supports OpenAI video generation formats (see the link [Video generation Sora compatible formats](/api-reference/en/video-generation-sora-compatible-format/create-video)).\n\nUsed to create video generation tasks and query status and results via task ID.\n\nCore fields for task creation:\n- `model`: Required. Model name.\n- `prompt`: Optional; if not provided, `content` must include a non-empty text item.\n- `content`: Optional, the Volcano Ark content array, mixing text, image, video, and audio materials.\n- `function_mode`: Optional. Commonly used for advanced modes such as Omni-Reference.\n\nCompatible input parameters:\n\nThe following fields are mainly used for compatibility with legacy clients and older protocols. For new integrations, please use the standard format in the “Request Example” on this page whenever possible: use the `content` array for text and reference materials, and use top-level `duration`, `ratio`, `resolution`, `fps`, and other fields for generation configuration.\n\n- `mode`:`t2v / i2v / i2v_first_last / reference_images / reference_material`\n- `image_url / image_urls / input_reference`\n- `end_image_url / last_image_url`\n- `video_urls / audio_urls`\n- `seconds / duration`\n- `aspect_ratio / ratio / size`\n- `quality / resolution`\n- `fps`\n- `generate_audio / watermark`\n\nCall details:\n- When using `mode=reference_material` or `function_mode=omni_reference`, it is recommended to pass text and reference materials via `content`.\n- `content` text items are written as `{ \"type\": \"text\", \"text\": \"测试文字\" }`.\n- `content` image, video, and audio material items use the `image_url`, `video_url`, and `audio_url` object formats respectively, for example `{ \"type\": \"image_url\", \"image_url\": { \"url\": \"https://example.com/ref.png\" }, \"role\": \"reference_image\", \"name\": \"1\" }`.\n- `role` can be used to identify the purpose of the material, and `name` can be referenced by name in prompts.\n- `ratio`, `duration`, `resolution`, and `fps` will affect the final generation configuration.\n\nSeedance 2.5 Mixed image, video, and audio reference example (the asset URLs are placeholders; replace them with actual accessible links when calling):\n\n```json\n{\n \"model\": \"sd-2-5\",\n \"ratio\": \"9:16\",\n \"fps\": 24,\n \"duration\": 10,\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"使用 @图片1 @图片2 @图片3 @音频1 参考@视频1 生成视频\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://demo1.png\"\n },\n \"role\": \"reference_image\",\n \"name\": \"图片1\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://demo2.png\"\n },\n \"role\": \"reference_image\",\n \"name\": \"图片2\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://demo3.png\"\n },\n \"role\": \"reference_image\",\n \"name\": \"图片3\"\n },\n {\n \"type\": \"video_url\",\n \"video_url\": {\n \"url\": \"https://video.mp4\"\n },\n \"role\": \"reference_video\",\n \"name\": \"视频1\"\n },\n {\n \"type\": \"audio_url\",\n \"audio_url\": {\n \"url\": \"https://audio.mp3\"\n },\n \"role\": \"reference_audio\",\n \"name\": \"音频1\"\n }\n ]\n}\n```\n\nGemini Omni invocation:\n- `gemini-omni` can also be invoked through this Seedance task API.\n- `mode=t2v` is used for text-to-video, `mode=r2v` for generation with reference images/reference materials, and `mode=edit` for video editing.\n- Text can be placed in the `text` item of `prompt` or `content`; images can be placed in `image_url / image_urls / reference_images / input_reference / content`; videos can be placed in `video_urls / content`.\n- The duration field can use `duration` or `seconds`, and will be automatically mapped to the 4 / 6 / 8 / 10 second options.\n\nMiniMax / Hailuo Invocation:\n- `minimax-h3` can be invoked through this task API and supports text-to-video, image reference, and audio reference; text can be placed in the `prompt` or `content` text fields, and assets can be placed in fields such as `content`, `image_urls`, and `audio_urls`.\n- `hailuo-2.3` can be invoked through this task API. A first-frame image is required. It is recommended to pass the `image_url` item of `role=first_frame` in `content`.\n- `minimax-h3` commonly uses `duration=5~15` and `resolution=1440p`; `hailuo-2.3` commonly uses `duration=6` or `10` and `resolution=768p`.\n\nKey fields in query results:\n- `items[].status`\n- `items[].content.video_url` or `items[].video_url`\n- `items[].error`\n- `items[].progress`\n\nError fields: `error.code`, `error.message`.\n\n```json\n{\n \"error\": {\n \"code\": \"invalid_request_error\",\n \"message\": \"requires at least one image in `images`\"\n }\n}\n```","href":"/api-reference/en/video-generation-seedance/get-task-seedance"}]},{"group":"Video generation Sora compatible formats","pages":[{"title":"Create video","openapi":"api-reference/en/openapi.json POST /v1/videos","href":"/api-reference/en/video-generation-sora-compatible-formats/create-video"},{"title":"Get video task status","openapi":"api-reference/en/openapi.json GET /v1/videos/{task_id}","href":"/api-reference/en/video-generation-sora-compatible-formats/get-video-task-status"},{"title":"Get video content","openapi":"api-reference/en/openapi.json GET /v1/videos/{task_id}/content","href":"/api-reference/en/video-generation-sora-compatible-formats/get-video-content"}]},{"group":"Video generation Vidu","pages":[{"title":"Create image-to-video (Vidu)","openapi":"api-reference/en/openapi.json POST /ent/v2/img2video","href":"/api-reference/en/video-generation-vidu/create-image-to-video-vidu"},{"title":"Create reference-generated video(Vidu)","openapi":"api-reference/en/openapi.json POST /ent/v2/reference2video","href":"/api-reference/en/video-generation-vidu/create-reference-generated-videovidu"},{"title":"Create a start-and-end frame video(Vidu)","openapi":"api-reference/en/openapi.json POST /ent/v2/start-end2video","href":"/api-reference/en/video-generation-vidu/create-a-start-and-end-frame-videovidu"},{"title":"Query tasks(Vidu)","openapi":"api-reference/en/openapi.json GET /ent/v2/tasks/{task_id}/creations","href":"/api-reference/en/video-generation-vidu/query-tasksvidu"},{"title":"Create text-to-video (Vidu)","openapi":"api-reference/en/openapi.json POST /ent/v2/text2video","href":"/api-reference/en/video-generation-vidu/create-text-to-video-vidu"}]},{"group":"Video generationHappyHorse and Wan","pages":[{"title":"Create video (HappyHorse and Wan)","openapi":"api-reference/en/openapi.json POST /api/v1/services/aigc/video-generation/video-synthesis","href":"/api-reference/en/video-generationhappyhorse-and-wan/create-video-happyhorse-and-wan"},{"title":"Query task(HappyHorse and Wan)","openapi":"api-reference/en/openapi.json GET /api/v1/tasks/{task_id}","href":"/api-reference/en/video-generationhappyhorse-and-wan/query-taskhappyhorse-and-wan"}]}]},{"tab":"Skills","pages":[{"title":"Skills","href":"/en/skills/overview"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/en/overview"}]}]},{"language":"cn","footer":{"socials":{"telegram":"https://t.me/overseas_api"}},"navbar":{"links":[{"href":"mailto:support@aiid.edu.kg","label":"支持"},{"href":"https://aiid.edu.kg/pricing","label":"价格"}],"primary":{"type":"button","label":"控制台","href":"https://aiid.edu.kg/console"}},"pages":[{"title":"cn","href":"/api-reference/cn/conventions"}]},{"language":"zh-Hant","footer":{"socials":{"telegram":"https://t.me/overseas_api"}},"navbar":{"links":[{"href":"mailto:support@aiid.edu.kg","label":"支援"},{"href":"https://aiid.edu.kg/pricing","label":"價格"}],"primary":{"type":"button","label":"控制台","href":"https://aiid.edu.kg/console"}},"pages":[{"title":"zh-Hant","href":"/api-reference/zh-tw/conventions"}]},{"language":"fr","footer":{"socials":{"telegram":"https://t.me/overseas_api"}},"navbar":{"links":[{"href":"mailto:support@aiid.edu.kg","label":"Support"},{"href":"https://aiid.edu.kg/pricing","label":"Tarifs"}],"primary":{"type":"button","label":"Console","href":"https://aiid.edu.kg/console"}},"pages":[{"title":"fr","href":"/api-reference/fr/conventions"}]},{"language":"ja","footer":{"socials":{"telegram":"https://t.me/overseas_api"}},"navbar":{"links":[{"href":"mailto:support@aiid.edu.kg","label":"サポート"},{"href":"https://aiid.edu.kg/pricing","label":"料金"}],"primary":{"type":"button","label":"コンソール","href":"https://aiid.edu.kg/console"}},"pages":[{"title":"ja","href":"/api-reference/ja/conventions"}]},{"language":"ru","footer":{"socials":{"telegram":"https://t.me/overseas_api"}},"navbar":{"links":[{"href":"mailto:support@aiid.edu.kg","label":"Поддержка"},{"href":"https://aiid.edu.kg/pricing","label":"Тарифы"}],"primary":{"type":"button","label":"Консоль","href":"https://aiid.edu.kg/console"}},"pages":[{"title":"ru","href":"/api-reference/ru/conventions"}]},{"language":"vi","footer":{"socials":{"telegram":"https://t.me/overseas_api"}},"navbar":{"links":[{"href":"mailto:support@aiid.edu.kg","label":"Hỗ trợ"},{"href":"https://aiid.edu.kg/pricing","label":"Bảng giá"}],"primary":{"type":"button","label":"Bảng điều khiển","href":"https://aiid.edu.kg/console"}},"pages":[{"title":"vi","href":"/api-reference/vi/conventions"}]}]},"basePath":"","title":"Create video (Seedance) - OverseasAPI","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}