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.
Kling 4.0 requests: 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; the two unified video endpoints can reuse the same request body. The resolution must match the model name. Kling 4.0 can use either the Seedance format with content/duration/resolution/ratio/mode, or the OpenAI video format with prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The mode can be t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), or reference_material (all-purpose reference materials; audio requires a route that supports this capability). If mode is omitted and no explicit tool is specified, reference_material is used by default when reference materials are provided; otherwise, t2v is used. Reference modes treat inputs as standard reference images and do not silently reinterpret explicitly provided first and last frames as reference images. For first and last frames, explicitly select i2v or i2v_first_last and omit the aspect ratio parameter. Kling 4.0 generates audio and video together by default. All-purpose reference mode supports public audio URLs: use audio_urls with /v1/videos, and the audio_url item in content with Seedance; a route that supports audio materials is required. The three native dedicated endpoints currently do not accept reference audio fields.
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.
Magi-2 1080p
magi-2-1080p supports both the OpenAI /v1/videos and Ark /api/v3/contents/generations/tasks formats. Query each format using the corresponding path’s GET /{task_id}. Resolution is fixed at 1080p, with a generation duration of 4–30 seconds. Supported aspect ratios are 16:9, 9:16, 1:1, 4:3, 3:4, and 21:9; 1:1 output is 1440×1440. Reference mode supports up to 10 images, 5 video clips, and 5 audio clips, for a total of 20 assets. Each video and audio clip must be 2–30 seconds long. The combined duration of all videos must not exceed 30 seconds, and the combined duration of all audio must not exceed 30 seconds. The size limit is 30 MB for images, 200 MB for videos, and 15 MB for audio. First-and-last-frame mode cannot be combined with other image, video, or audio references. Prompts can use <<<image_1>>>, <<<video_1>>>, and <<<audio_1>>> to reference assets in the order they were provided for each type. There is currently no separate entry point for the official sand.ai format.
Use Bearer Token authentication.
Format: Authorization: Bearer sk-xxxxxx
Body
application/json
model
enum<string>
required
Required. The model name. Supported external models include Seedance, Kling 4.0, Vidu Q4, gemini-omni, minimax-h3, and hailuo-2.3.
Available options:
kling-4.0,
kling-4.0-1080p,
vidu-q4,
vidu-q4-540p,
magi-2-1080p,
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,
sd-2-5-4k,
sd-2-5-flash,
sd-2-5-flash-480p,
minimax-h3,
hailuo-2.3,
wan-3.0-prime,
wan-3.0-prime-1080p,
happyhorse-1.1,
happyhorse-1.1-1080p,
gemini-omni
Example:
"doubao-seedance-2-0-260128"
prompt
string
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:
"参考素材生成一段剧情短视频"
content
object[]
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.
Asset usage identifier. Common values include reference_image, reference_video, and reference_audio.
content.name
string
Asset name, can be referenced in text prompts or used to distinguish between multiple assets.
contents
object[]
Kling 4.0 legacy envelope compatibility array. Not required for standard Seedance requests; use content directly.
Minimum array length: 1
Hide child attributes
contents.type
enum<string>
required
Available options:
prompt,
reference_image,
reference_video,
first_frame,
last_frame
contents.text
string
The text description when type=prompt.
contents.url
string<uri>
Accessible URL of reference materials or the first/last frames.
settings
object
Legacy envelope compatibility settings; standard Seedance uses the top-level duration/resolution/ratio directly and does not need to be provided.
Hide child attributes
settings.duration
integer
Required range: 4 <= x <= 30
Example:
4
settings.resolution
enum<string>
Available options:
720p,
1080p
settings.aspect_ratio
enum<string>
Available options:
21:9,
16:9,
9:16,
1:1
options
object
Legacy envelope compatibility field; not required for standard Seedance requests.
function_mode
string
Optional. Advanced feature mode, such as omni_reference for all-in-one reference.
mode
string
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 use the Seedance format directly: content/duration/resolution/ratio/mode, or the OpenAI video format: prompt/seconds/size/input_reference. Neither requires additional contents/settings/options. The mode can be t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), or reference_material (all-purpose reference materials; audio requires a route that supports this capability). If mode is omitted and no tool is explicitly specified, reference_material is the default when reference materials are provided; t2v is the default when none are provided. Reference modes use the standard reference-image role and do not silently reinterpret explicitly specified first and last frames as reference images. For first and last frames, explicitly select i2v or i2v_first_last, and omit the aspect-ratio parameter. Kling 4.0 generates audio and video together by default. All-purpose reference mode supports publicly accessible audio URLs: use audio_urls with /v1/videos, and the audio_url item in content with Seedance. A route that supports audio materials is required. The three native dedicated endpoints do not currently accept reference-audio fields.
Example:
"reference_material"
image_url
string
Optional. URL of a single reference image.
image_urls
string[]
Optional. A list of URLs for multiple reference images.
input_reference
string
Optional. Compatible with reference input fields.
end_image_url
string
Optional. The URL of the last-frame reference image.
last_image_url
string
Optional. URL alias for the last frame reference image.
video_urls
string[]
Optional. List of reference video URLs.
audio_urls
string<uri>[]
Optional. List of reference audio URLs.
seconds
numberstring
Optional. Video duration in seconds; compatible with duration.
duration
numberstring
Optional. Video duration in seconds; compatible with seconds.
aspect_ratio
string
Optional. Aspect ratio, such as 16:9.
ratio
string
Optional. Aspect ratio aliases, such as 16:9.
size
string
Optional. Field for resolution or dimension compatibility.
quality
string
Optional. Generation quality configuration.
resolution
string
Optional. The output resolution.
fps
number
Optional. Frame rate.
generate_audio
boolean
Optional. Whether to generate audio.
watermark
boolean
Optional. Whether to add a watermark.
Response
200 - application/json
Task created successfully
id
string
required
Task ID.
Example:
"task_xxx"
status
enum<string>
Task status.
Available options:
queued,
running,
succeeded,
failed
created_at
string
Creation time (Unix seconds).
items
string
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"NewAPIs","description":"NewAPIs API documentation","colors":{"primary":"#6d28d9","light":"#f5f3ff","dark":"#2e1065"},"logo":{"light":"https://mintcdn.com/kxx/tvEBYKW9jCEn__pG/public/assets/logo.webp?fit=max\u0026auto=format\u0026n=tvEBYKW9jCEn__pG\u0026q=85\u0026s=8d30279d53dca1ddb9765ec06ca39d39","dark":"https://mintcdn.com/kxx/tvEBYKW9jCEn__pG/public/assets/logo.webp?fit=max\u0026auto=format\u0026n=tvEBYKW9jCEn__pG\u0026q=85\u0026s=8d30279d53dca1ddb9765ec06ca39d39"},"favicon":{"light":"https://mintcdn.com/kxx/tvEBYKW9jCEn__pG/public/assets/logo.webp?fit=max\u0026auto=format\u0026n=tvEBYKW9jCEn__pG\u0026q=85\u0026s=8d30279d53dca1ddb9765ec06ca39d39","dark":"https://mintcdn.com/kxx/tvEBYKW9jCEn__pG/public/assets/logo.webp?fit=max\u0026auto=format\u0026n=tvEBYKW9jCEn__pG\u0026q=85\u0026s=8d30279d53dca1ddb9765ec06ca39d39"},"api":{"params":{"expanded":"all"}},"seo":{"metatags":{"canonical":"https://docs.newapi.si"}},"contextual":{"options":["copy"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"cn","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"支持"},{"href":"https://www.newapi.si/pricing","label":"价格"}],"primary":{"type":"button","label":"控制台","href":"https://www.newapi.si/dashboard/overview"}},"href":"api-reference/cn/conventions"},{"language":"en","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"Support"},{"href":"https://www.newapi.si/pricing","label":"Pricing"}],"primary":{"type":"button","label":"Console","href":"https://www.newapi.si/dashboard/overview"}},"href":"api-reference/en/conventions"},{"language":"zh-Hant","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"支援"},{"href":"https://www.newapi.si/pricing","label":"價格"}],"primary":{"type":"button","label":"控制台","href":"https://www.newapi.si/dashboard/overview"}},"href":"api-reference/zh-tw/conventions"},{"language":"fr","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"Support"},{"href":"https://www.newapi.si/pricing","label":"Tarifs"}],"primary":{"type":"button","label":"Console","href":"https://www.newapi.si/dashboard/overview"}},"href":"api-reference/fr/conventions"},{"language":"ja","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"サポート"},{"href":"https://www.newapi.si/pricing","label":"料金"}],"primary":{"type":"button","label":"コンソール","href":"https://www.newapi.si/dashboard/overview"}},"href":"api-reference/ja/conventions"},{"language":"ru","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"Поддержка"},{"href":"https://www.newapi.si/pricing","label":"Тарифы"}],"primary":{"type":"button","label":"Консоль","href":"https://www.newapi.si/dashboard/overview"}},"href":"api-reference/ru/conventions"},{"language":"vi","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"Hỗ trợ"},{"href":"https://www.newapi.si/pricing","label":"Bảng giá"}],"primary":{"type":"button","label":"Bảng điều khiển","href":"https://www.newapi.si/dashboard/overview"}},"href":"api-reference/vi/conventions"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kxx","hasAudioNarration":false,"actualSubdomain":"kxx","customDomains":["docs.newapi.si"],"gitSource":{"type":"github","owner":"btcfoxman","repo":"newapi-si-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b11009524fa6e44b829b62f"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b111340e71f374a14b7ba2c","clientVersion":"0.0.4448","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":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"rbac-expansion","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":"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":"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":"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":"turbopuffer-dual-write","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":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html{font-size:15px}#content-area,#body-content,.mdx-content,.api-section,.request-example,.response-example,#api-playground-input{font-size:0.9rem}.api-section pre,.request-example pre,.response-example pre,code{font-size:0.85em}.api-section h1,.api-section h2,.api-section h3,#page-title{letter-spacing:-0.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\n Kling 4.0 requests: `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; the two unified video endpoints can reuse the same request body. The resolution must match the model name. Kling 4.0 can use either the Seedance format with content/duration/resolution/ratio/mode, or the OpenAI video format with prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The mode can be t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), or reference_material (all-purpose reference materials; audio requires a route that supports this capability). If mode is omitted and no explicit tool is specified, reference_material is used by default when reference materials are provided; otherwise, t2v is used. Reference modes treat inputs as standard reference images and do not silently reinterpret explicitly provided first and last frames as reference images. For first and last frames, explicitly select i2v or i2v_first_last and omit the aspect ratio parameter. Kling 4.0 generates audio and video together by default. All-purpose reference mode supports public audio URLs: use audio_urls with /v1/videos, and the audio_url item in content with Seedance; a route that supports audio materials is required. The three native dedicated endpoints currently do not accept reference audio fields.\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.\n\n### Magi-2 1080p\n\n`magi-2-1080p` supports both the OpenAI `/v1/videos` and Ark `/api/v3/contents/generations/tasks` formats. Query each format using the corresponding path's `GET /{task_id}`. Resolution is fixed at 1080p, with a generation duration of 4–30 seconds. Supported aspect ratios are 16:9, 9:16, 1:1, 4:3, 3:4, and 21:9; 1:1 output is 1440×1440. Reference mode supports up to 10 images, 5 video clips, and 5 audio clips, for a total of 20 assets. Each video and audio clip must be 2–30 seconds long. The combined duration of all videos must not exceed 30 seconds, and the combined duration of all audio must not exceed 30 seconds. The size limit is 30 MB for images, 200 MB for videos, and 15 MB for audio. First-and-last-frame mode cannot be combined with other image, video, or audio references. Prompts can use `\u003c\u003c\u003cimage_1>>>`, `\u003c\u003c\u003cvideo_1>>>`, and `\u003c\u003c\u003caudio_1>>>` to reference assets in the order they were provided for each type. There is currently no separate entry point for the official sand.ai format.\n\n```json\n{\n \"model\": \"magi-2-1080p\",\n \"duration\": 4,\n \"resolution\": \"1080p\",\n \"ratio\": \"1:1\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"以 \u003c\u003c\u003cimage_1>>> 的彩色积木为主体,参考 \u003c\u003c\u003cvideo_1>>> 的缓慢转动及 \u003c\u003c\u003caudio_1>>> 的轻柔节奏。\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://example.com/blocks.png\"\n },\n \"role\": \"reference_image\"\n },\n {\n \"type\": \"video_url\",\n \"video_url\": {\n \"url\": \"https://example.com/rotation.mp4\"\n },\n \"role\": \"reference_video\"\n },\n {\n \"type\": \"audio_url\",\n \"audio_url\": {\n \"url\": \"https://example.com/rhythm.wav\"\n },\n \"role\": \"reference_audio\"\n }\n ]\n}\n```\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/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 h3: \"h3\",\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\", _jsxs(_components.p, {\n children: [\"Kling 4.0 requests: \", _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; the two unified video endpoints can reuse the same request body. The resolution must match the model name. Kling 4.0 can use either the Seedance format with content/duration/resolution/ratio/mode, or the OpenAI video format with prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The mode can be t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), or reference_material (all-purpose reference materials; audio requires a route that supports this capability). If mode is omitted and no explicit tool is specified, reference_material is used by default when reference materials are provided; otherwise, t2v is used. Reference modes treat inputs as standard reference images and do not silently reinterpret explicitly provided first and last frames as reference images. For first and last frames, explicitly select i2v or i2v_first_last and omit the aspect ratio parameter. Kling 4.0 generates audio and video together by default. All-purpose reference mode supports public audio URLs: use audio_urls with /v1/videos, and the audio_url item in content with Seedance; a route that supports audio materials is required. The three native dedicated endpoints currently do not accept reference audio fields.\"]\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\", _jsx(_components.h3, {\n children: \"Magi-2 1080p\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.code, {\n children: \"magi-2-1080p\"\n }), \" supports both the OpenAI \", _jsx(_components.code, {\n children: \"/v1/videos\"\n }), \" and Ark \", _jsx(_components.code, {\n children: \"/api/v3/contents/generations/tasks\"\n }), \" formats. Query each format using the corresponding path’s \", _jsx(_components.code, {\n children: \"GET /{task_id}\"\n }), \". Resolution is fixed at 1080p, with a generation duration of 4–30 seconds. Supported aspect ratios are 16:9, 9:16, 1:1, 4:3, 3:4, and 21:9; 1:1 output is 1440×1440. Reference mode supports up to 10 images, 5 video clips, and 5 audio clips, for a total of 20 assets. Each video and audio clip must be 2–30 seconds long. The combined duration of all videos must not exceed 30 seconds, and the combined duration of all audio must not exceed 30 seconds. The size limit is 30 MB for images, 200 MB for videos, and 15 MB for audio. First-and-last-frame mode cannot be combined with other image, video, or audio references. Prompts can use \", _jsx(_components.code, {\n children: \"\u003c\u003c\u003cimage_1>>>\"\n }), \", \", _jsx(_components.code, {\n children: \"\u003c\u003c\u003cvideo_1>>>\"\n }), \", and \", _jsx(_components.code, {\n children: \"\u003c\u003c\u003caudio_1>>>\"\n }), \" to reference assets in the order they were provided for each type. There is currently no separate entry point for the official sand.ai format.\"]\n }), \"\\n\", _jsx(CodeBlock, {\n numberOfLines: \"33\",\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: \"33\",\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: \"\\\"magi-2-1080p\\\"\"\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: \"4\"\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: \" \\\"resolution\\\"\"\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: \"\\\"1080p\\\"\"\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: \"\\\"1:1\\\"\"\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: \"\\\"以 \u003c\u003c\u003cimage_1>>> 的彩色积木为主体,参考 \u003c\u003c\u003cvideo_1>>> 的缓慢转动及 \u003c\u003c\u003caudio_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://example.com/blocks.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 })]\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://example.com/rotation.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 })]\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://example.com/rhythm.wav\\\"\"\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 })]\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: \"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 });\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\n Kling 4.0 requests: `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; the two unified video endpoints can reuse the same request body. The resolution must match the model name. Kling 4.0 can use either the Seedance format with content/duration/resolution/ratio/mode, or the OpenAI video format with prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The mode can be t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), or reference_material (all-purpose reference materials; audio requires a route that supports this capability). If mode is omitted and no explicit tool is specified, reference_material is used by default when reference materials are provided; otherwise, t2v is used. Reference modes treat inputs as standard reference images and do not silently reinterpret explicitly provided first and last frames as reference images. For first and last frames, explicitly select i2v or i2v_first_last and omit the aspect ratio parameter. Kling 4.0 generates audio and video together by default. All-purpose reference mode supports public audio URLs: use audio_urls with /v1/videos, and the audio_url item in content with Seedance; a route that supports audio materials is required. The three native dedicated endpoints currently do not accept reference audio fields.\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.\n\n### Magi-2 1080p\n\n`magi-2-1080p` supports both the OpenAI `/v1/videos` and Ark `/api/v3/contents/generations/tasks` formats. Query each format using the corresponding path's `GET /{task_id}`. Resolution is fixed at 1080p, with a generation duration of 4–30 seconds. Supported aspect ratios are 16:9, 9:16, 1:1, 4:3, 3:4, and 21:9; 1:1 output is 1440×1440. Reference mode supports up to 10 images, 5 video clips, and 5 audio clips, for a total of 20 assets. Each video and audio clip must be 2–30 seconds long. The combined duration of all videos must not exceed 30 seconds, and the combined duration of all audio must not exceed 30 seconds. The size limit is 30 MB for images, 200 MB for videos, and 15 MB for audio. First-and-last-frame mode cannot be combined with other image, video, or audio references. Prompts can use `\u003c\u003c\u003cimage_1>>>`, `\u003c\u003c\u003cvideo_1>>>`, and `\u003c\u003c\u003caudio_1>>>` to reference assets in the order they were provided for each type. There is currently no separate entry point for the official sand.ai format.\n\n```json\n{\n \"model\": \"magi-2-1080p\",\n \"duration\": 4,\n \"resolution\": \"1080p\",\n \"ratio\": \"1:1\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"以 \u003c\u003c\u003cimage_1>>> 的彩色积木为主体,参考 \u003c\u003c\u003cvideo_1>>> 的缓慢转动及 \u003c\u003c\u003caudio_1>>> 的轻柔节奏。\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://example.com/blocks.png\"\n },\n \"role\": \"reference_image\"\n },\n {\n \"type\": \"video_url\",\n \"video_url\": {\n \"url\": \"https://example.com/rotation.mp4\"\n },\n \"role\": \"reference_video\"\n },\n {\n \"type\": \"audio_url\",\n \"audio_url\": {\n \"url\": \"https://example.com/rhythm.wav\"\n },\n \"role\": \"reference_audio\"\n }\n ]\n}\n```\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/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\n Kling 4.0 requests: `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; the two unified video endpoints can reuse the same request body. The resolution must match the model name. Kling 4.0 can use either the Seedance format with content/duration/resolution/ratio/mode, or the OpenAI video format with prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The mode can be t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), or reference_material (all-purpose reference materials; audio requires a route that supports this capability). If mode is omitted and no explicit tool is specified, reference_material is used by default when reference materials are provided; otherwise, t2v is used. Reference modes treat inputs as standard reference images and do not silently reinterpret explicitly provided first and last frames as reference images. For first and last frames, explicitly select i2v or i2v_first_last and omit the aspect ratio parameter. Kling 4.0 generates audio and video together by default. All-purpose reference mode supports public audio URLs: use audio_urls with /v1/videos, and the audio_url item in content with Seedance; a route that supports audio materials is required. The three native dedicated endpoints currently do not accept reference audio fields.\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.\n\n### Magi-2 1080p\n\n`magi-2-1080p` supports both the OpenAI `/v1/videos` and Ark `/api/v3/contents/generations/tasks` formats. Query each format using the corresponding path's `GET /{task_id}`. Resolution is fixed at 1080p, with a generation duration of 4–30 seconds. Supported aspect ratios are 16:9, 9:16, 1:1, 4:3, 3:4, and 21:9; 1:1 output is 1440×1440. Reference mode supports up to 10 images, 5 video clips, and 5 audio clips, for a total of 20 assets. Each video and audio clip must be 2–30 seconds long. The combined duration of all videos must not exceed 30 seconds, and the combined duration of all audio must not exceed 30 seconds. The size limit is 30 MB for images, 200 MB for videos, and 15 MB for audio. First-and-last-frame mode cannot be combined with other image, video, or audio references. Prompts can use `\u003c\u003c\u003cimage_1>>>`, `\u003c\u003c\u003cvideo_1>>>`, and `\u003c\u003c\u003caudio_1>>>` to reference assets in the order they were provided for each type. There is currently no separate entry point for the official sand.ai format.\n\n```json\n{\n \"model\": \"magi-2-1080p\",\n \"duration\": 4,\n \"resolution\": \"1080p\",\n \"ratio\": \"1:1\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"以 \u003c\u003c\u003cimage_1>>> 的彩色积木为主体,参考 \u003c\u003c\u003cvideo_1>>> 的缓慢转动及 \u003c\u003c\u003caudio_1>>> 的轻柔节奏。\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://example.com/blocks.png\"\n },\n \"role\": \"reference_image\"\n },\n {\n \"type\": \"video_url\",\n \"video_url\": {\n \"url\": \"https://example.com/rotation.mp4\"\n },\n \"role\": \"reference_video\"\n },\n {\n \"type\": \"audio_url\",\n \"audio_url\": {\n \"url\": \"https://example.com/rhythm.wav\"\n },\n \"role\": \"reference_audio\"\n }\n ]\n}\n```\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```","operationId":"create__seedance__task","tags":["Video generation Seedance"],"requestBody":"fa81b49e-2123-4cd7-af5d-0c503dc57e53","responses":{"200":"511aa450-ea10-4df6-8383-f19c1fd5cd9e"},"security":["127925bf-1ca6-4524-824f-0be9cf51d10d"],"x-mint":{"href":"/api-reference/en/video-generation-seedance/create-video-seedance"},"method":"post","type":"path","servers":["ce0163a5-2338-4d4a-ac30-9d41d737d83d"],"path":"/api/v3/contents/generations/tasks","baseUrlOptions":["https://api.newapi.si"],"title":"Create video (Seedance)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["model"],"properties":{"model":{"type":"string","example":"doubao-seedance-2-0-260128","enum":["kling-4.0","kling-4.0-1080p","vidu-q4","vidu-q4-540p","magi-2-1080p","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","sd-2-5-4k","sd-2-5-flash","sd-2-5-flash-480p","minimax-h3","hailuo-2.3","wan-3.0-prime","wan-3.0-prime-1080p","happyhorse-1.1","happyhorse-1.1-1080p","gemini-omni"],"description":"Required. The model name. Supported external models include Seedance, Kling 4.0, Vidu Q4, `gemini-omni`, `minimax-h3`, and `hailuo-2.3`.","isRequired":true,"uniqueKey":"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":"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":"content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"Text content, used only when type=text.","uniqueKey":"content.items.[INDEX].text","typeLabel":"string"},"image_url":{"oneOf":[{"type":"string","description":"Image URL. Recommended object format: `{\"url\":\"https://...\"}`.","uniqueKey":"content.items.[INDEX].image_url.oneOf.0","typeLabel":"string"},{"type":"object","description":"Image URL. Recommended object format: `{\"url\":\"https://...\"}`.","properties":{"url":{"type":"string","uniqueKey":"content.items.[INDEX].image_url.oneOf.1.url","typeLabel":"string"}},"uniqueKey":"content.items.[INDEX].image_url.oneOf.1","typeLabel":"object"}],"uniqueKey":"content.items.[INDEX].image_url","typeLabel":"string | object"},"video_url":{"oneOf":[{"type":"string","description":"Video URL. Recommended object syntax: `{\"url\":\"https://...\"}`.","uniqueKey":"content.items.[INDEX].video_url.oneOf.0","typeLabel":"string"},{"type":"object","description":"Video URL. Recommended object syntax: `{\"url\":\"https://...\"}`.","properties":{"url":{"type":"string","uniqueKey":"content.items.[INDEX].video_url.oneOf.1.url","typeLabel":"string"}},"uniqueKey":"content.items.[INDEX].video_url.oneOf.1","typeLabel":"object"}],"uniqueKey":"content.items.[INDEX].video_url","typeLabel":"string | object"},"audio_url":{"oneOf":[{"type":"string","description":"Audio URL. Recommended object format: `{\"url\":\"https://...\"}`.","uniqueKey":"content.items.[INDEX].audio_url.oneOf.0","typeLabel":"string"},{"type":"object","description":"Audio URL. Recommended object format: `{\"url\":\"https://...\"}`.","properties":{"url":{"type":"string","uniqueKey":"content.items.[INDEX].audio_url.oneOf.1.url","typeLabel":"string"}},"uniqueKey":"content.items.[INDEX].audio_url.oneOf.1","typeLabel":"object"}],"uniqueKey":"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":"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":"content.items.[INDEX].name","typeLabel":"string"}},"uniqueKey":"content.items.[INDEX]","typeLabel":"object"},"uniqueKey":"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":"contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text description when `type=prompt`.","uniqueKey":"contents.items.[INDEX].text","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"Accessible URL of reference materials or the first/last frames.","uniqueKey":"contents.items.[INDEX].url","typeLabel":"string\u003curi>"}},"uniqueKey":"contents.items.[INDEX]","typeLabel":"object"},"uniqueKey":"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":"settings.duration","typeLabel":"integer"},"resolution":{"type":"string","enum":["720p","1080p"],"uniqueKey":"settings.resolution","typeLabel":"enum\u003cstring>"},"aspect_ratio":{"type":"string","enum":["21:9","16:9","9:16","1:1"],"uniqueKey":"settings.aspect_ratio","typeLabel":"enum\u003cstring>"}},"uniqueKey":"settings","typeLabel":"object"},"options":{"type":"object","maxProperties":0,"description":"Legacy envelope compatibility field; not required for standard Seedance requests.","uniqueKey":"options","typeLabel":"object"},"function_mode":{"type":"string","description":"Optional. Advanced feature mode, such as `omni_reference` for all-in-one reference.","uniqueKey":"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 use the Seedance format directly: content/duration/resolution/ratio/mode, or the OpenAI video format: prompt/seconds/size/input_reference. Neither requires additional contents/settings/options. The mode can be t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), or reference_material (all-purpose reference materials; audio requires a route that supports this capability). If mode is omitted and no tool is explicitly specified, reference_material is the default when reference materials are provided; t2v is the default when none are provided. Reference modes use the standard reference-image role and do not silently reinterpret explicitly specified first and last frames as reference images. For first and last frames, explicitly select i2v or i2v_first_last, and omit the aspect-ratio parameter. Kling 4.0 generates audio and video together by default. All-purpose reference mode supports publicly accessible audio URLs: use audio_urls with /v1/videos, and the audio_url item in content with Seedance. A route that supports audio materials is required. The three native dedicated endpoints do not currently accept reference-audio fields.","example":"reference_material","x-kling-modes":["t2v","i2v","i2v_first_last","reference_images","reference_material"],"uniqueKey":"mode","typeLabel":"string"},"image_url":{"type":"string","description":"Optional. URL of a single reference image.","uniqueKey":"image_url","typeLabel":"string"},"image_urls":{"type":"array","items":{"type":"string","uniqueKey":"image_urls.items.[INDEX]","typeLabel":"string"},"description":"Optional. A list of URLs for multiple reference images.","uniqueKey":"image_urls","typeLabel":"string[]"},"input_reference":{"type":"string","description":"Optional. Compatible with reference input fields.","uniqueKey":"input_reference","typeLabel":"string"},"end_image_url":{"type":"string","description":"Optional. The URL of the last-frame reference image.","uniqueKey":"end_image_url","typeLabel":"string"},"last_image_url":{"type":"string","description":"Optional. URL alias for the last frame reference image.","uniqueKey":"last_image_url","typeLabel":"string"},"video_urls":{"type":"array","items":{"type":"string","uniqueKey":"video_urls.items.[INDEX]","typeLabel":"string"},"description":"Optional. List of reference video URLs.","uniqueKey":"video_urls","typeLabel":"string[]"},"audio_urls":{"type":"array","items":{"type":"string","format":"uri","uniqueKey":"audio_urls.items.[INDEX]","typeLabel":"string\u003curi>"},"description":"Optional. List of reference audio URLs.","uniqueKey":"audio_urls","typeLabel":"string\u003curi>[]"},"seconds":{"oneOf":[{"type":"number","description":"Optional. Video duration in seconds; compatible with `duration`.","uniqueKey":"seconds.oneOf.0","typeLabel":"number"},{"type":"string","description":"Optional. Video duration in seconds; compatible with `duration`.","uniqueKey":"seconds.oneOf.1","typeLabel":"string"}],"uniqueKey":"seconds","typeLabel":"number | string"},"duration":{"oneOf":[{"type":"number","description":"Optional. Video duration in seconds; compatible with `seconds`.","uniqueKey":"duration.oneOf.0","typeLabel":"number"},{"type":"string","description":"Optional. Video duration in seconds; compatible with `seconds`.","uniqueKey":"duration.oneOf.1","typeLabel":"string"}],"uniqueKey":"duration","typeLabel":"number | string"},"aspect_ratio":{"type":"string","description":"Optional. Aspect ratio, such as `16:9`.","uniqueKey":"aspect_ratio","typeLabel":"string"},"ratio":{"type":"string","description":"Optional. Aspect ratio aliases, such as `16:9`.","uniqueKey":"ratio","typeLabel":"string"},"size":{"type":"string","description":"Optional. Field for resolution or dimension compatibility.","uniqueKey":"size","typeLabel":"string"},"quality":{"type":"string","description":"Optional. Generation quality configuration.","uniqueKey":"quality","typeLabel":"string"},"resolution":{"type":"string","description":"Optional. The output resolution.","uniqueKey":"resolution","typeLabel":"string"},"fps":{"type":"number","description":"Optional. Frame rate.","uniqueKey":"fps","typeLabel":"number"},"generate_audio":{"type":"boolean","description":"Optional. Whether to generate audio.","uniqueKey":"generate_audio","typeLabel":"boolean"},"watermark":{"type":"boolean","description":"Optional. Whether to add a watermark.","uniqueKey":"watermark","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"kling_4_seedance_reference_material":{"title":"kling_4_seedance_reference_material","summary":"Kling 4.0 720p Seedance · Default reference asset","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","summary":"Kling 4.0 720p Seedance · Plain text","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","summary":"Kling 4.0 720p Seedance · First-Frame Image-to-Video","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","summary":"Kling 4.0 720p Seedance · First and Last Frames","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","summary":"Kling 4.0 720p Seedance · Reference image","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","summary":"Kling 4.0 1080p Seedance · Default asset reference","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","summary":"Kling 4.0 1080p Seedance · Plain Text","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","summary":"Kling 4.0 1080p Seedance · First-Frame Image-to-Video","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","summary":"Kling 4.0 1080p Seedance · First and Last Frames","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","summary":"Kling 4.0 1080p Seedance · Reference image","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","summary":"Kling 4.0 720p Reference Generation (Legacy Envelope Compatible)","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_reference_audio":{"title":"kling_4_reference_audio","summary":"Kling 4.0 720p All-in-One Reference Audio URL","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"},{"type":"audio_url","audio_url":{"url":"https://example.com/reference.mp3"},"role":"reference_audio"}],"ratio":"16:9"}},"kling_4_ark_contents_1080p":{"title":"kling_4_ark_contents_1080p","summary":"Kling 4.0 1080p Reference Generation (Legacy Envelope Compatible)","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":{}}},"kling_4_reference_audio_1080p":{"title":"kling_4_reference_audio_1080p","summary":"Kling 4.0 1080p All-in-One Reference Audio URL","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"},{"type":"audio_url","audio_url":{"url":"https://example.com/reference.mp3"},"role":"reference_audio"}],"ratio":"16:9"}},"vidu_q4_seedance_720p_reference":{"title":"vidu_q4_seedance_720p_reference","summary":"Vidu Q4 720p Multi-Image / Audio 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","summary":"Vidu Q4 540p Multi-Image / Audio 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"}]}},"magi_2_1080p_seedance":{"title":"magi_2_1080p_seedance","summary":"Magi-2 1080p Image/Video/Audio Reference","value":{"model":"magi-2-1080p","duration":4,"resolution":"1080p","ratio":"1:1","content":[{"type":"text","text":"以 \u003c\u003c\u003cimage_1>>> 的彩色积木为主体,参考 \u003c\u003c\u003cvideo_1>>> 的缓慢转动及 \u003c\u003c\u003caudio_1>>> 的轻柔节奏。"},{"type":"image_url","image_url":{"url":"https://example.com/blocks.png"},"role":"reference_image"},{"type":"video_url","video_url":{"url":"https://example.com/rotation.mp4"},"role":"reference_video"},{"type":"audio_url","audio_url":{"url":"https://example.com/rhythm.wav"},"role":"reference_audio"}]}},"seedance_sd25_mixed_content":{"title":"seedance_sd25_mixed_content","summary":"Seedance 2.5 Mixed Image/Video/Audio Reference","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","summary":"Seedance content task","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","summary":"MiniMax H3 content task","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","summary":"Hailuo 2.3 First-frame image-to-video","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"}},"canvas_ark_tier":{"title":"canvas_ark_tier","summary":"Fixed-resolution video task","value":{"model":"wan-3.0-prime","content":[{"type":"text","text":"Gentle waves rolling onto a beach."}],"duration":5,"ratio":"16:9"}},"gemini_omni_seedance_t2v":{"title":"gemini_omni_seedance_t2v","summary":"Gemini Omni 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","summary":"Gemini Omni 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","summary":"Gemini Omni 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"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"511aa450-ea10-4df6-8383-f19c1fd5cd9e":{"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":{"127925bf-1ca6-4524-824f-0be9cf51d10d":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Use Bearer Token authentication.\nFormat: `Authorization: Bearer sk-xxxxxx`","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"ce0163a5-2338-4d4a-ac30-9d41d737d83d":{"url":"https://api.newapi.si"}},"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":"kxx","siteName":"NewAPIs","title":"Create video (Seedance) - NewAPIs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"cn":{"href":"/api-reference/cn/conventions","matchLevel":4},"en":{"href":"/api-reference/en/video-generation-seedance/create-video-seedance","matchLevel":0},"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-12-03T06:59:25.181Z","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. Kling 4.0 requests: 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; the two unified video endpoints can reuse the same request body. The resolution must match the model name. Kling 4.0 can use either the Seedance format with content/duration/resolution/ratio/mode, or the OpenAI video format with prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The mode can be t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), or reference_material (all-purpose reference materials; audio requires a route that supports this capability). If mode is omitted and no explicit tool is specified, reference_material is used by default when reference materials are provided; otherwise, t2v is used. Reference modes treat inputs as standard reference images and do not silently reinterpret explicitly provided first and last frames as reference images. For first and last frames, explicitly select i2v or i2v_first_last and omit the aspect ratio parameter. Kling 4.0 generates audio and video together by default. All-purpose reference mode supports public audio URLs: use audio_urls with /v1/videos, and the audio_url item in content with Seedance; a route that supports audio materials is required. The three native dedicated endpoints currently do not accept reference audio fields. 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. ### Magi-2 1080p magi-2-1080p supports both the OpenAI /v1/videos and Ark /api/v3/contents/generations/tasks formats. Query each format using the corresponding path\u0026#x27;s GET /{task_id}. Resolution is fixed at 1080p, with a generation duration of 4–30 seconds. Supported aspect ratios are 16:9, 9:16, 1:1, 4:3, 3:4, and 21:9; 1:1 output is 1440×1440. Reference mode supports up to 10 images, 5 video clips, and 5 audio clips, for a total of 20 assets. Each video and audio clip must be 2–30 seconds long. The combined duration of all videos must not exceed 30 seconds, and the combined duration of all audio must not exceed 30 seconds. The size limit is 30 MB for images, 200 MB for videos, and 15 MB for audio. First-and-last-frame mode cannot be combined with other image, video, or audio references. Prompts can use \u0026lt;\u0026lt;\u0026gt;\u0026gt;, \u0026lt;\u0026lt;\u0026gt;\u0026gt;, and \u0026lt;\u0026lt;\u0026gt;\u0026gt; to reference assets in the order they were provided for each type. There is currently no separate entry point for the official sand.ai format. json { \u0026quot;model\u0026quot;: \u0026quot;magi-2-1080p\u0026quot;, \u0026quot;duration\u0026quot;: 4, \u0026quot;resolution\u0026quot;: \u0026quot;1080p\u0026quot;, \u0026quot;ratio\u0026quot;: \u0026quot;1:1\u0026quot;, \u0026quot;content\u0026quot;: [ { \u0026quot;type\u0026quot;: \u0026quot;text\u0026quot;, \u0026quot;text\u0026quot;: \u0026quot;以 \u0026lt;\u0026lt;\u0026gt;\u0026gt; 的彩色积木为主体,参考 \u0026lt;\u0026lt;\u0026gt;\u0026gt; 的缓慢转动及 \u0026lt;\u0026lt;\u0026gt;\u0026gt; 的轻柔节奏。\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;image_url\u0026quot;, \u0026quot;image_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://example.com/blocks.png\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_image\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;video_url\u0026quot;, \u0026quot;video_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://example.com/rotation.mp4\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_video\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;audio_url\u0026quot;, \u0026quot;audio_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://example.com/rhythm.wav\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_audio\u0026quot; } ] } 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; } } ``\">\u003cmeta data-mint-head name=\"application-name\" content=\"NewAPIs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kxx/DXXD4kRXFD8j4qVt/_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/kxx/DXXD4kRXFD8j4qVt/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kxx/DXXD4kRXFD8j4qVt/_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/kxx/DXXD4kRXFD8j4qVt/_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/kxx/DXXD4kRXFD8j4qVt/_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/kxx/DXXD4kRXFD8j4qVt/_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/kxx/DXXD4kRXFD8j4qVt/_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/kxx/DXXD4kRXFD8j4qVt/_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/kxx/DXXD4kRXFD8j4qVt/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create video (Seedance) - NewAPIs\">\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. Kling 4.0 requests: 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; the two unified video endpoints can reuse the same request body. The resolution must match the model name. Kling 4.0 can use either the Seedance format with content/duration/resolution/ratio/mode, or the OpenAI video format with prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The mode can be t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), or reference_material (all-purpose reference materials; audio requires a route that supports this capability). If mode is omitted and no explicit tool is specified, reference_material is used by default when reference materials are provided; otherwise, t2v is used. Reference modes treat inputs as standard reference images and do not silently reinterpret explicitly provided first and last frames as reference images. For first and last frames, explicitly select i2v or i2v_first_last and omit the aspect ratio parameter. Kling 4.0 generates audio and video together by default. All-purpose reference mode supports public audio URLs: use audio_urls with /v1/videos, and the audio_url item in content with Seedance; a route that supports audio materials is required. The three native dedicated endpoints currently do not accept reference audio fields. 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. ### Magi-2 1080p magi-2-1080p supports both the OpenAI /v1/videos and Ark /api/v3/contents/generations/tasks formats. Query each format using the corresponding path\u0026#x27;s GET /{task_id}. Resolution is fixed at 1080p, with a generation duration of 4–30 seconds. Supported aspect ratios are 16:9, 9:16, 1:1, 4:3, 3:4, and 21:9; 1:1 output is 1440×1440. Reference mode supports up to 10 images, 5 video clips, and 5 audio clips, for a total of 20 assets. Each video and audio clip must be 2–30 seconds long. The combined duration of all videos must not exceed 30 seconds, and the combined duration of all audio must not exceed 30 seconds. The size limit is 30 MB for images, 200 MB for videos, and 15 MB for audio. First-and-last-frame mode cannot be combined with other image, video, or audio references. Prompts can use \u0026lt;\u0026lt;\u0026gt;\u0026gt;, \u0026lt;\u0026lt;\u0026gt;\u0026gt;, and \u0026lt;\u0026lt;\u0026gt;\u0026gt; to reference assets in the order they were provided for each type. There is currently no separate entry point for the official sand.ai format. json { \u0026quot;model\u0026quot;: \u0026quot;magi-2-1080p\u0026quot;, \u0026quot;duration\u0026quot;: 4, \u0026quot;resolution\u0026quot;: \u0026quot;1080p\u0026quot;, \u0026quot;ratio\u0026quot;: \u0026quot;1:1\u0026quot;, \u0026quot;content\u0026quot;: [ { \u0026quot;type\u0026quot;: \u0026quot;text\u0026quot;, \u0026quot;text\u0026quot;: \u0026quot;以 \u0026lt;\u0026lt;\u0026gt;\u0026gt; 的彩色积木为主体,参考 \u0026lt;\u0026lt;\u0026gt;\u0026gt; 的缓慢转动及 \u0026lt;\u0026lt;\u0026gt;\u0026gt; 的轻柔节奏。\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;image_url\u0026quot;, \u0026quot;image_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://example.com/blocks.png\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_image\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;video_url\u0026quot;, \u0026quot;video_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://example.com/rotation.mp4\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_video\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;audio_url\u0026quot;, \u0026quot;audio_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://example.com/rhythm.wav\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_audio\u0026quot; } ] } 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; } } ``\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"NewAPIs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.newapi.si/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://kxx.mintlify.site/_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=4dfd4e267cb656e9f9f9f259\u0026amp;signature=e4307c6e0f719163b875ba57004ebaf47f050181a31ac044602422ee8289e9a3\">\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) - NewAPIs\">\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. Kling 4.0 requests: 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; the two unified video endpoints can reuse the same request body. The resolution must match the model name. Kling 4.0 can use either the Seedance format with content/duration/resolution/ratio/mode, or the OpenAI video format with prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The mode can be t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), or reference_material (all-purpose reference materials; audio requires a route that supports this capability). If mode is omitted and no explicit tool is specified, reference_material is used by default when reference materials are provided; otherwise, t2v is used. Reference modes treat inputs as standard reference images and do not silently reinterpret explicitly provided first and last frames as reference images. For first and last frames, explicitly select i2v or i2v_first_last and omit the aspect ratio parameter. Kling 4.0 generates audio and video together by default. All-purpose reference mode supports public audio URLs: use audio_urls with /v1/videos, and the audio_url item in content with Seedance; a route that supports audio materials is required. The three native dedicated endpoints currently do not accept reference audio fields. 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. ### Magi-2 1080p magi-2-1080p supports both the OpenAI /v1/videos and Ark /api/v3/contents/generations/tasks formats. Query each format using the corresponding path\u0026#x27;s GET /{task_id}. Resolution is fixed at 1080p, with a generation duration of 4–30 seconds. Supported aspect ratios are 16:9, 9:16, 1:1, 4:3, 3:4, and 21:9; 1:1 output is 1440×1440. Reference mode supports up to 10 images, 5 video clips, and 5 audio clips, for a total of 20 assets. Each video and audio clip must be 2–30 seconds long. The combined duration of all videos must not exceed 30 seconds, and the combined duration of all audio must not exceed 30 seconds. The size limit is 30 MB for images, 200 MB for videos, and 15 MB for audio. First-and-last-frame mode cannot be combined with other image, video, or audio references. Prompts can use \u0026lt;\u0026lt;\u0026gt;\u0026gt;, \u0026lt;\u0026lt;\u0026gt;\u0026gt;, and \u0026lt;\u0026lt;\u0026gt;\u0026gt; to reference assets in the order they were provided for each type. There is currently no separate entry point for the official sand.ai format. json { \u0026quot;model\u0026quot;: \u0026quot;magi-2-1080p\u0026quot;, \u0026quot;duration\u0026quot;: 4, \u0026quot;resolution\u0026quot;: \u0026quot;1080p\u0026quot;, \u0026quot;ratio\u0026quot;: \u0026quot;1:1\u0026quot;, \u0026quot;content\u0026quot;: [ { \u0026quot;type\u0026quot;: \u0026quot;text\u0026quot;, \u0026quot;text\u0026quot;: \u0026quot;以 \u0026lt;\u0026lt;\u0026gt;\u0026gt; 的彩色积木为主体,参考 \u0026lt;\u0026lt;\u0026gt;\u0026gt; 的缓慢转动及 \u0026lt;\u0026lt;\u0026gt;\u0026gt; 的轻柔节奏。\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;image_url\u0026quot;, \u0026quot;image_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://example.com/blocks.png\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_image\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;video_url\u0026quot;, \u0026quot;video_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://example.com/rotation.mp4\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_video\u0026quot; }, { \u0026quot;type\u0026quot;: \u0026quot;audio_url\u0026quot;, \u0026quot;audio_url\u0026quot;: { \u0026quot;url\u0026quot;: \u0026quot;https://example.com/rhythm.wav\u0026quot; }, \u0026quot;role\u0026quot;: \u0026quot;reference_audio\u0026quot; } ] } 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; } } ``\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://kxx.mintlify.site/_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=4dfd4e267cb656e9f9f9f259\u0026amp;signature=e4307c6e0f719163b875ba57004ebaf47f050181a31ac044602422ee8289e9a3\">\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/kxx/DXXD4kRXFD8j4qVt/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"NewAPIs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6d28d9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.newapi.si/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.newapi.si/#organization\",\"name\":\"NewAPIs\",\"url\":\"https://docs.newapi.si\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/kxx/tvEBYKW9jCEn__pG/public/assets/logo.webp?fit=max\u0026auto=format\u0026n=tvEBYKW9jCEn__pG\u0026q=85\u0026s=8d30279d53dca1ddb9765ec06ca39d39\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.newapi.si#website\",\"name\":\"NewAPIs\",\"url\":\"https://docs.newapi.si\",\"publisher\":{\"@id\":\"https://docs.newapi.si/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.newapi.si/api-reference/en/video-generation-seedance/create-video-seedance#webpage\",\"url\":\"https://docs.newapi.si/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. Kling 4.0 requests: 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; the two unified video endpoints can reuse the same request body. The resolution must match the model name. Kling 4.0 can use either the Seedance format with content/duration/resolution/ratio/mode, or the OpenAI video format with prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The mode can be t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), or reference_material (all-purpose reference materials; audio requires a route that supports this capability). If mode is omitted and no explicit tool is specified, reference_material is used by default when reference materials are provided; otherwise, t2v is used. Reference modes treat inputs as standard reference images and do not silently reinterpret explicitly provided first and last frames as reference images. For first and last frames, explicitly select i2v or i2v_first_last and omit the aspect ratio parameter. Kling 4.0 generates audio and video together by default. All-purpose reference mode supports public audio URLs: use audio_urls with /v1/videos, and the audio_url item in content with Seedance; a route that supports audio materials is required. The three native dedicated endpoints currently do not accept reference audio fields. 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. ### Magi-2 1080p magi-2-1080p supports both the OpenAI /v1/videos and Ark /api/v3/contents/generations/tasks formats. Query each format using the corresponding path's GET /{task_id}. Resolution is fixed at 1080p, with a generation duration of 4–30 seconds. Supported aspect ratios are 16:9, 9:16, 1:1, 4:3, 3:4, and 21:9; 1:1 output is 1440×1440. Reference mode supports up to 10 images, 5 video clips, and 5 audio clips, for a total of 20 assets. Each video and audio clip must be 2–30 seconds long. The combined duration of all videos must not exceed 30 seconds, and the combined duration of all audio must not exceed 30 seconds. The size limit is 30 MB for images, 200 MB for videos, and 15 MB for audio. First-and-last-frame mode cannot be combined with other image, video, or audio references. Prompts can use \\u003c\\u003c>>, \\u003c\\u003c>>, and \\u003c\\u003c>> to reference assets in the order they were provided for each type. There is currently no separate entry point for the official sand.ai format. json { \\\"model\\\": \\\"magi-2-1080p\\\", \\\"duration\\\": 4, \\\"resolution\\\": \\\"1080p\\\", \\\"ratio\\\": \\\"1:1\\\", \\\"content\\\": [ { \\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"以 \\u003c\\u003c>> 的彩色积木为主体,参考 \\u003c\\u003c>> 的缓慢转动及 \\u003c\\u003c>> 的轻柔节奏。\\\" }, { \\\"type\\\": \\\"image_url\\\", \\\"image_url\\\": { \\\"url\\\": \\\"https://example.com/blocks.png\\\" }, \\\"role\\\": \\\"reference_image\\\" }, { \\\"type\\\": \\\"video_url\\\", \\\"video_url\\\": { \\\"url\\\": \\\"https://example.com/rotation.mp4\\\" }, \\\"role\\\": \\\"reference_video\\\" }, { \\\"type\\\": \\\"audio_url\\\", \\\"audio_url\\\": { \\\"url\\\": \\\"https://example.com/rhythm.wav\\\" }, \\\"role\\\": \\\"reference_audio\\\" } ] } 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\\\" } } ``\",\"dateModified\":\"2026-12-03T06:59:25.181Z\",\"isPartOf\":{\"@id\":\"https://docs.newapi.si#website\"},\"breadcrumb\":{\"@id\":\"https://docs.newapi.si/api-reference/en/video-generation-seedance/create-video-seedance#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.newapi.si/api-reference/en/video-generation-seedance/create-video-seedance#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"NewAPIs\",\"item\":\"https://docs.newapi.si\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create video (Seedance)\",\"item\":\"https://docs.newapi.si/api-reference/en/video-generation-seedance/create-video-seedance\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.newapi.si/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. Kling 4.0 requests: 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; the two unified video endpoints can reuse the same request body. The resolution must match the model name. Kling 4.0 can use either the Seedance format with content/duration/resolution/ratio/mode, or the OpenAI video format with prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The mode can be t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), or reference_material (all-purpose reference materials; audio requires a route that supports this capability). If mode is omitted and no explicit tool is specified, reference_material is used by default when reference materials are provided; otherwise, t2v is used. Reference modes treat inputs as standard reference images and do not silently reinterpret explicitly provided first and last frames as reference images. For first and last frames, explicitly select i2v or i2v_first_last and omit the aspect ratio parameter. Kling 4.0 generates audio and video together by default. All-purpose reference mode supports public audio URLs: use audio_urls with /v1/videos, and the audio_url item in content with Seedance; a route that supports audio materials is required. The three native dedicated endpoints currently do not accept reference audio fields. 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. ### Magi-2 1080p magi-2-1080p supports both the OpenAI /v1/videos and Ark /api/v3/contents/generations/tasks formats. Query each format using the corresponding path's GET /{task_id}. Resolution is fixed at 1080p, with a generation duration of 4–30 seconds. Supported aspect ratios are 16:9, 9:16, 1:1, 4:3, 3:4, and 21:9; 1:1 output is 1440×1440. Reference mode supports up to 10 images, 5 video clips, and 5 audio clips, for a total of 20 assets. Each video and audio clip must be 2–30 seconds long. The combined duration of all videos must not exceed 30 seconds, and the combined duration of all audio must not exceed 30 seconds. The size limit is 30 MB for images, 200 MB for videos, and 15 MB for audio. First-and-last-frame mode cannot be combined with other image, video, or audio references. Prompts can use \\u003c\\u003c>>, \\u003c\\u003c>>, and \\u003c\\u003c>> to reference assets in the order they were provided for each type. There is currently no separate entry point for the official sand.ai format. json { \\\"model\\\": \\\"magi-2-1080p\\\", \\\"duration\\\": 4, \\\"resolution\\\": \\\"1080p\\\", \\\"ratio\\\": \\\"1:1\\\", \\\"content\\\": [ { \\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"以 \\u003c\\u003c>> 的彩色积木为主体,参考 \\u003c\\u003c>> 的缓慢转动及 \\u003c\\u003c>> 的轻柔节奏。\\\" }, { \\\"type\\\": \\\"image_url\\\", \\\"image_url\\\": { \\\"url\\\": \\\"https://example.com/blocks.png\\\" }, \\\"role\\\": \\\"reference_image\\\" }, { \\\"type\\\": \\\"video_url\\\", \\\"video_url\\\": { \\\"url\\\": \\\"https://example.com/rotation.mp4\\\" }, \\\"role\\\": \\\"reference_video\\\" }, { \\\"type\\\": \\\"audio_url\\\", \\\"audio_url\\\": { \\\"url\\\": \\\"https://example.com/rhythm.wav\\\" }, \\\"role\\\": \\\"reference_audio\\\" } ] } 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\\\" } } ``\",\"url\":\"https://docs.newapi.si/api-reference/en/video-generation-seedance/create-video-seedance\",\"mainEntityOfPage\":{\"@id\":\"https://docs.newapi.si/api-reference/en/video-generation-seedance/create-video-seedance#webpage\"},\"dateModified\":\"2026-12-03T06:59:25.181Z\",\"publisher\":{\"@id\":\"https://docs.newapi.si/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.newapi.si#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"NewAPIs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"NewAPIs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/en/video-generation-seedance/create-video-seedance.md","siteName":"NewAPIs","nav":{"global":null,"languages":[{"language":"cn","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"支持"},{"href":"https://www.newapi.si/pricing","label":"价格"}],"primary":{"type":"button","label":"控制台","href":"https://www.newapi.si/dashboard/overview"}},"pages":[{"title":"cn","href":"/api-reference/cn/conventions"}]},{"language":"en","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"Support"},{"href":"https://www.newapi.si/pricing","label":"Pricing"}],"primary":{"type":"button","label":"Console","href":"https://www.newapi.si/dashboard/overview"}},"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 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"},{"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"}]},{"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\n Kling 4.0 requests: `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; the two unified video endpoints can reuse the same request body. The resolution must match the model name. Kling 4.0 can use either the Seedance format with content/duration/resolution/ratio/mode, or the OpenAI video format with prompt/seconds/size/input_reference; neither requires additional contents/settings/options. The mode can be t2v (text only), i2v (single first frame), i2v_first_last (first and last frames), reference_images (standard reference images), or reference_material (all-purpose reference materials; audio requires a route that supports this capability). If mode is omitted and no explicit tool is specified, reference_material is used by default when reference materials are provided; otherwise, t2v is used. Reference modes treat inputs as standard reference images and do not silently reinterpret explicitly provided first and last frames as reference images. For first and last frames, explicitly select i2v or i2v_first_last and omit the aspect ratio parameter. Kling 4.0 generates audio and video together by default. All-purpose reference mode supports public audio URLs: use audio_urls with /v1/videos, and the audio_url item in content with Seedance; a route that supports audio materials is required. The three native dedicated endpoints currently do not accept reference audio fields.\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.\n\n### Magi-2 1080p\n\n`magi-2-1080p` supports both the OpenAI `/v1/videos` and Ark `/api/v3/contents/generations/tasks` formats. Query each format using the corresponding path's `GET /{task_id}`. Resolution is fixed at 1080p, with a generation duration of 4–30 seconds. Supported aspect ratios are 16:9, 9:16, 1:1, 4:3, 3:4, and 21:9; 1:1 output is 1440×1440. Reference mode supports up to 10 images, 5 video clips, and 5 audio clips, for a total of 20 assets. Each video and audio clip must be 2–30 seconds long. The combined duration of all videos must not exceed 30 seconds, and the combined duration of all audio must not exceed 30 seconds. The size limit is 30 MB for images, 200 MB for videos, and 15 MB for audio. First-and-last-frame mode cannot be combined with other image, video, or audio references. Prompts can use `\u003c\u003c\u003cimage_1>>>`, `\u003c\u003c\u003cvideo_1>>>`, and `\u003c\u003c\u003caudio_1>>>` to reference assets in the order they were provided for each type. There is currently no separate entry point for the official sand.ai format.\n\n```json\n{\n \"model\": \"magi-2-1080p\",\n \"duration\": 4,\n \"resolution\": \"1080p\",\n \"ratio\": \"1:1\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"以 \u003c\u003c\u003cimage_1>>> 的彩色积木为主体,参考 \u003c\u003c\u003cvideo_1>>> 的缓慢转动及 \u003c\u003c\u003caudio_1>>> 的轻柔节奏。\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": {\n \"url\": \"https://example.com/blocks.png\"\n },\n \"role\": \"reference_image\"\n },\n {\n \"type\": \"video_url\",\n \"video_url\": {\n \"url\": \"https://example.com/rotation.mp4\"\n },\n \"role\": \"reference_video\"\n },\n {\n \"type\": \"audio_url\",\n \"audio_url\": {\n \"url\": \"https://example.com/rhythm.wav\"\n },\n \"role\": \"reference_audio\"\n }\n ]\n}\n```\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":"zh-Hant","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"支援"},{"href":"https://www.newapi.si/pricing","label":"價格"}],"primary":{"type":"button","label":"控制台","href":"https://www.newapi.si/dashboard/overview"}},"pages":[{"title":"zh-Hant","href":"/api-reference/zh-tw/conventions"}]},{"language":"fr","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"Support"},{"href":"https://www.newapi.si/pricing","label":"Tarifs"}],"primary":{"type":"button","label":"Console","href":"https://www.newapi.si/dashboard/overview"}},"pages":[{"title":"fr","href":"/api-reference/fr/conventions"}]},{"language":"ja","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"サポート"},{"href":"https://www.newapi.si/pricing","label":"料金"}],"primary":{"type":"button","label":"コンソール","href":"https://www.newapi.si/dashboard/overview"}},"pages":[{"title":"ja","href":"/api-reference/ja/conventions"}]},{"language":"ru","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"Поддержка"},{"href":"https://www.newapi.si/pricing","label":"Тарифы"}],"primary":{"type":"button","label":"Консоль","href":"https://www.newapi.si/dashboard/overview"}},"pages":[{"title":"ru","href":"/api-reference/ru/conventions"}]},{"language":"vi","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"Hỗ trợ"},{"href":"https://www.newapi.si/pricing","label":"Bảng giá"}],"primary":{"type":"button","label":"Bảng điều khiển","href":"https://www.newapi.si/dashboard/overview"}},"pages":[{"title":"vi","href":"/api-reference/vi/conventions"}]}]},"basePath":"","title":"Create video (Seedance) - NewAPIs","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BD9G1WMi.js","snippetPresets-Bcqr8I2u.js","utils-BrYn4XiY.js","style-to-object-BY3JEAdk.js","utils-CYrCnchl.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CNFO66BS.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BneVo7uA.js","_Uint8Array-n4RvRzp3.js","isObject-FP1Yky1u.js","ApiExamples-C1YMsTjy.js","usePlaygroundInputsStore-DayW4kZ9.js","shallow-DDCzdKmR.js","isEqual-CBVoazy8.js","CodeSnippets-CWandYY5.js","CodeSnippet-grFP6YU_.js","use-playground-group-access-BBqHUxQK.js","Page-DBPN_x5x.js","api-description-markdown-1J-AA_Kv.js","DynamicMarkdown-Dgh_e4rL.js","SectionHeading-BP6Np9Uh.js","MethodPill-4k_Ty_Xv.js","getPastedJson-CWUNKLcr.js","Check2Icon-Cs4FQb2J.js","axios-CsQoIw0U.js","Markdown-CR8c2fXT.js","AssistantPageLink-BBR7elHb.js","dist-DjFwSv8l.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}