This page documents the doubao-seedance-* video routes. Doubao is the route/product prefix; Seedance is the video model family. Use the complete model ID rather than exchanging prefixes.POST https://api.mixroute.ai/v1/video/generations
Keep model, prompt, and asset at the root. Put every provider field inside the single metadata object, including content, duration, ratio, resolution, and generate_audio.
For the separate text/chat route, see Dola-Seed-SC. This page covers video generation.
Model IDs
Version
MixRoute model ID
Seedance 2.5
doubao-seedance-2-5-260628
Seedance 2.0
doubao-seedance-2-0-260128
Seedance 2.0 Fast
doubao-seedance-2-0-fast-260128
Seedance 2.0 Mini
doubao-seedance-2-0-mini-260615
Model availability is account-specific. Use the complete ID shown in the Model Marketplace.Seedance 2.5 supports Draft mode. On MixRoute, the example uses doubao-seedance-2-5-260628-draft with metadata.draft=true and metadata.resolution="480p". This is a request-route distinction, not a separate model generation.
Top-Level Fields
Field
Type
Required
Description
model
string
Yes
Complete MixRoute model ID from the model table.
prompt
string
Yes
MixRoute video prompt. If metadata.content includes a text item, keep both texts consistent.
asset
boolean
Conditional
MixRoute media-processing switch, not a provider field. Keep it at the root; the text-only examples use false.
metadata
object
Yes
Container for the provider fields described below.
Generation Parameters
Field
Type
Required
Description
metadata.content
object[]
Yes
Video inputs: text, images, video, and supported audio references. Pure text generation requires a text item; text is optional in provider media-input combinations.
metadata.omni_reference_task_type
string
No
Seedance 2.5 only. Default auto; values: auto, reference, edit, extend. Explicit modes enable early task-type validation. A mismatch between the declared mode and the inferred intent can still fail asynchronously.
metadata.draft
boolean
No
Seedance 2.5 Draft mode control. The Draft route example uses true with resolution=480p; see Draft mode.
metadata.resolution
string
No
Output resolution tier. Supported values and defaults depend on the model version; see the version table. Values are case-sensitive.
Requested duration in seconds; see the version table. -1 selects the duration automatically on supported versions. Seedance 2.5 defaults to -1, and video editing requires -1.
metadata.generate_audio
boolean
No
Default true: generate synchronized mono audio, including speech, sound effects, or music. false produces a silent video.
metadata.watermark
boolean
No
Default false. true adds an AI-generated watermark in the lower-right corner; false omits it.
metadata.output_format
string
No
Seedance 2.5 only. Default mp4; values: mp4, mov. MP4 is intended for general playback; MOV preserves higher color precision for post-production and requires compatible playback software.
metadata.return_last_frame
boolean
No
Default false. true returns a watermark-free PNG of the final frame, with the same pixel dimensions as the generated video, in the task result.
metadata.callback_url
string
No
Task-status callback URL. The provider sends POST notifications with its task-query response structure. Statuses include queued, running, succeeded, failed, and expired.
metadata.execution_expires_after
integer
No
Range 3600-259200 seconds; default 172800 (48 hours), measured from task creation. A task that exceeds this threshold is terminated with status expired.
metadata.priority
integer
No
2.5 and 2.0 only. Range 0-9; default 0. Higher values move ahead of lower-priority queued tasks on the same endpoint. Equal priorities remain FIFO; running tasks are not interrupted. Not supported with flex.
metadata.safety_identifier
string
No
Stable, unique identifier for the end user, limited to 64 English characters. Use a hashed identifier instead of raw personal information.
metadata.tools
object[]
No
2.5 and 2.0 only. Each tool requires type; the supported value is web_search. The model decides whether to search. The query result exposes the search count in usage.tool_usage.web_search.
Version Limits
Version
Resolution
Default Resolution
Duration
Reference Limits (Images / Videos / Audio)
Seedance 2.5
480p / 720p / 1080p
720p
4-30 s / -1
30 / 10 / 10
Seedance 2.0
480p / 720p / 1080p / 4k
720p
4-15 s / -1
9 / 3 / 3
Seedance 2.0 Fast / Mini
480p / 720p
720p
4-15 s / -1
9 / 3 / 3
The nested content fields and media size/format constraints are defined in Seedance.
Scenario Constraints
First-frame, first/last-frame, and multimodal reference workflows are mutually exclusive. Do not mix frame roles with reference_* roles.
Seedance 2.5 requires ratio="adaptive" for first/last-frame input, editing, and extension. Editing requires at least one reference video lasting 4-30 seconds and duration=-1; extension requires a reference video. The optional omni_reference_task_type can explicitly select edit or extend instead of automatic classification.
Seedance 2.0 audio references require at least one image or video reference. Seedance 2.5 also supports audio-only reference input.
Examples
Set MIXROUTE_API_KEY before calling the API. Replace media placeholders with accessible inputs. Accepted requests create billable generation tasks; do not automatically resubmit after a submission timeout.
curl --request POST "https://api.mixroute.ai/v1/video/generations" \ --header "Authorization: Bearer $MIXROUTE_API_KEY" \ --header "Content-Type: application/json" \ --data '{ "model": "doubao-seedance-2-5-260628", "prompt": "A red cube slowly rotates on a white background. Static camera.", "asset": false, "metadata": { "content": [ { "type": "text", "text": "A red cube slowly rotates on a white background. Static camera." } ], "duration": 4, "ratio": "9:16", "resolution": "480p", "generate_audio": false }}'
Python
import jsonimport osimport requestspayload = json.loads(r'''{ "model": "doubao-seedance-2-5-260628", "prompt": "A red cube slowly rotates on a white background. Static camera.", "asset": false, "metadata": { "content": [ { "type": "text", "text": "A red cube slowly rotates on a white background. Static camera." } ], "duration": 4, "ratio": "9:16", "resolution": "480p", "generate_audio": false }}''')response = requests.post( "https://api.mixroute.ai/v1/video/generations", headers={"Authorization": "Bearer " + os.environ["MIXROUTE_API_KEY"]}, json=payload, timeout=120,)response.raise_for_status()result = response.json()print(result)
Task Results
Save the MixRoute task ID returned by submission and poll Query Video Task. A successful submission creates a task; read the result only after the task reaches a successful terminal state. Response envelopes and result locations vary by route.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MixRoute","colors":{"primary":"#7B1FA2","light":"#9C27B0","dark":"#7B1FA2"},"logo":{"light":"https://mintcdn.com/personal-a5418d9f/gmsYcyD3CEVDrHlx/logo/mixroute_logo_light.svg?fit=max\u0026auto=format\u0026n=gmsYcyD3CEVDrHlx\u0026q=85\u0026s=265a1a46d074895bd39b660678e01cd8","dark":"https://mintcdn.com/personal-a5418d9f/gmsYcyD3CEVDrHlx/logo/mixroute_logo_dark.svg?fit=max\u0026auto=format\u0026n=gmsYcyD3CEVDrHlx\u0026q=85\u0026s=98fd320a3e678bc64086c7d2f0dc84c1","href":"https://mixroute.ai/"},"favicon":"https://mintcdn.com/personal-a5418d9f/gmsYcyD3CEVDrHlx/mixroute.svg?fit=max\u0026auto=format\u0026n=gmsYcyD3CEVDrHlx\u0026q=85\u0026s=0f5f32b1b26993bc7cedaee3e45d2eb0","api":{"mdx":{"server":"https://api.mixroute.ai"}},"navbar":{"links":[],"primary":{"type":"button","label":"Get Started","href":"https://console.mixroute.ai"}},"footer":{"socials":{}},"seo":{"metatags":{"canonical":"https://mixroute.ai/docs"}},"integrations":{"gtm":{"tagId":"GTM-W54W5KHJ"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"introduction"},{"language":"zh-Hans","href":"zh-Hans/introduction"},{"language":"zh-Hant","href":"zh-Hant/introduction"},{"language":"ja","href":"ja/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"personal-a5418d9f","hasAudioNarration":false,"actualSubdomain":"personal-a5418d9f","customDomains":["mixroute.ai"],"gitSource":{"type":"github","owner":"cherish-cherry","repo":"mixroute-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":false},"entitlements":{},"buildId":"6afd8488edadaaf94a62d4d9","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"en","tag":"Home","count":263},{"language":"ja","tag":"ホーム","count":263},{"language":"zh-Hans","tag":"首页","count":263},{"language":"zh-Hant","tag":"首頁","count":263},{"language":"en","tag":"Model Introduction","count":245},{"language":"ja","tag":"モデル紹介","count":245},{"language":"zh-Hans","tag":"模型介绍","count":245},{"language":"zh-Hant","tag":"模型介紹","count":245},{"language":"en","tag":"OpenAI","count":58},{"language":"ja","tag":"OpenAI","count":58},{"language":"zh-Hans","tag":"OpenAI","count":58},{"language":"zh-Hant","tag":"OpenAI","count":58},{"language":"en","tag":"API Reference","count":44},{"language":"ja","tag":"APIリファレンス","count":44},{"language":"zh-Hans","tag":"API 手册","count":44},{"language":"zh-Hant","tag":"API 手冊","count":44},{"language":"en","tag":"Google","count":36},{"language":"ja","tag":"Google","count":36},{"language":"zh-Hans","tag":"Google","count":36},{"language":"zh-Hant","tag":"Google","count":36},{"language":"en","tag":"Alibaba","count":26},{"language":"ja","tag":"Alibaba","count":26},{"language":"zh-Hans","tag":"Alibaba","count":26},{"language":"zh-Hant","tag":"Alibaba","count":26},{"language":"en","tag":"Zhipu","count":24},{"language":"ja","tag":"Zhipu","count":24},{"language":"zh-Hans","tag":"Zhipu","count":24},{"language":"zh-Hant","tag":"Zhipu","count":24},{"language":"en","tag":"xAI","count":20},{"language":"ja","tag":"xAI","count":20},{"language":"zh-Hans","tag":"xAI","count":20},{"language":"zh-Hant","tag":"xAI","count":20},{"language":"en","tag":"Integrations","count":18},{"language":"ja","tag":"連携","count":18},{"language":"zh-Hans","tag":"开发工具 \u0026 平台","count":18},{"language":"zh-Hant","tag":"開發工具 \u0026 平台","count":18},{"language":"en","tag":"Anthropic","count":16},{"language":"ja","tag":"Anthropic","count":16},{"language":"zh-Hans","tag":"Anthropic","count":16},{"language":"zh-Hant","tag":"Anthropic","count":16}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"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":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"header img,#navbar img,[class*=\"logo\"] img,[class*=\"Logo\"] img,a[href=\"/\"] img,a[href=\"/cn\"] img,a[href=\"/en\"] img,a[href=\"/zh-Hant\"] img{max-height:32px!important;height:32px!important;width:auto!important}.card,[class*=\"Card\"]{position:relative!important;background-color:#f5f5f7!important;border:none!important;overflow:visible!important}.card::before,[class*=\"Card\"]::before{content:\"\";position:absolute;inset:-2px;border-radius:14px;z-index:-1;padding:2px;background:linear-gradient(135deg, #ff8a65 0%, #e91e63 35%, #9c27b0 70%, #673ab7 100%);-webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}html.dark .card,html.dark [class*=\"Card\"],.dark .card,.dark [class*=\"Card\"],[data-theme=\"dark\"] .card,[data-theme=\"dark\"] [class*=\"Card\"]{background-color:#2d2d2d!important;color:#e5e5e5}html.dark .card::before,html.dark [class*=\"Card\"]::before,.dark .card::before,.dark [class*=\"Card\"]::before,[data-theme=\"dark\"] .card::before,[data-theme=\"dark\"] [class*=\"Card\"]::before{background:linear-gradient(135deg, #ff9a56 0%, #ff6b9d 35%, #c44dff 70%, #6b7aff 100%)}html.dark .card a,html.dark [class*=\"Card\"] a,.dark .card a,.dark [class*=\"Card\"] a,[data-theme=\"dark\"] .card a,[data-theme=\"dark\"] [class*=\"Card\"] a{color:#a78bfa}html.dark #content img[src=\"https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.91.0/icons/openai.svg\"],html.dark #content img[src=\"https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.91.0/icons/grok.svg\"]{filter:invert(1)}"}],"page":{"pagePath":"api-reference/endpoint/doubao","slug":"/api-reference/endpoint/doubao","pageMetadata":{"title":"Doubao","sidebarTitle":"Doubao","description":"Doubao video generation parameters, supported values, input constraints, and request examples.","api":"POST /v1/video/generations","playground":"none","og:title":"Doubao API Reference - MixRoute","href":"/api-reference/endpoint/doubao"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Doubao video generation parameters, supported values, input constraints, and request examples.\"\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};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`This page documents the `,_jsx(_components.code,{children:`doubao-seedance-*`}),` video routes. Doubao is the route/product prefix; Seedance is the video model family. Use the complete model ID rather than exchanging prefixes.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`POST https://api.mixroute.ai/v1/video/generations`})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Keep `,_jsx(_components.code,{children:`model`}),`, `,_jsx(_components.code,{children:`prompt`}),`, and `,_jsx(_components.code,{children:`asset`}),` at the root. Put every provider field inside the single `,_jsx(_components.code,{children:`metadata`}),` object, including `,_jsx(_components.code,{children:`content`}),`, `,_jsx(_components.code,{children:`duration`}),`, `,_jsx(_components.code,{children:`ratio`}),`, `,_jsx(_components.code,{children:`resolution`}),`, and `,_jsx(_components.code,{children:`generate_audio`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`For the separate text/chat route, see `,_jsx(_components.a,{href:`/model-api/volcengine/dola-seed-sc`,children:`Dola-Seed-SC`}),`. This page covers video generation.`]}),`\n`,_jsx(Heading,{level:`2`,id:`model-ids`,children:`Model IDs`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Version`}),_jsx(_components.th,{children:`MixRoute model ID`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Seedance 2.5`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`doubao-seedance-2-5-260628`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Seedance 2.0`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`doubao-seedance-2-0-260128`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Seedance 2.0 Fast`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`doubao-seedance-2-0-fast-260128`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Seedance 2.0 Mini`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`doubao-seedance-2-0-mini-260615`})})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Model availability is account-specific. Use the complete ID shown in the `,_jsx(_components.a,{href:`https://console.mixroute.ai/models`,children:`Model Marketplace`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Seedance 2.5 supports `,_jsx(_components.a,{href:`/model-api/bytedance/doubao-seedance-2-5#draft-mode`,children:`Draft mode`}),`. On MixRoute, the example uses `,_jsx(_components.code,{children:`doubao-seedance-2-5-260628-draft`}),` with `,_jsx(_components.code,{children:`metadata.draft=true`}),` and `,_jsx(_components.code,{children:`metadata.resolution=\"480p\"`}),`. This is a request-route distinction, not a separate model generation.`]}),`\n`,_jsx(Heading,{level:`2`,id:`top-level-fields`,children:`Top-Level Fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`model`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Complete MixRoute model ID from the model table.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`prompt`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`MixRoute video prompt. If `,_jsx(_components.code,{children:`metadata.content`}),` includes a text item, keep both texts consistent.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`asset`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Conditional`}),_jsxs(_components.td,{children:[`MixRoute media-processing switch, not a provider field. Keep it at the root; the text-only examples use `,_jsx(_components.code,{children:`false`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Container for the provider fields described below.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`generation-parameters`,children:`Generation Parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata.content`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Video inputs: text, images, video, and supported audio references. Pure text generation requires a text item; text is optional in provider media-input combinations.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata.omni_reference_task_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Seedance 2.5 only. Default `,_jsx(_components.code,{children:`auto`}),`; values: `,_jsx(_components.code,{children:`auto`}),`, `,_jsx(_components.code,{children:`reference`}),`, `,_jsx(_components.code,{children:`edit`}),`, `,_jsx(_components.code,{children:`extend`}),`. Explicit modes enable early task-type validation. A mismatch between the declared mode and the inferred intent can still fail asynchronously.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata.draft`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Seedance 2.5 Draft mode control. The Draft route example uses true with resolution=480p; see `,_jsx(_components.a,{href:`/model-api/bytedance/doubao-seedance-2-5#draft-mode`,children:`Draft mode`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata.resolution`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Output resolution tier. Supported values and defaults depend on the model version; see the version table. Values are case-sensitive.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata.ratio`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Default `,_jsx(_components.code,{children:`adaptive`}),`. Values: `,_jsx(_components.code,{children:`16:9`}),`, `,_jsx(_components.code,{children:`4:3`}),`, `,_jsx(_components.code,{children:`1:1`}),`, `,_jsx(_components.code,{children:`3:4`}),`, `,_jsx(_components.code,{children:`9:16`}),`, `,_jsx(_components.code,{children:`21:9`}),`, `,_jsx(_components.code,{children:`adaptive`}),`. Scenario constraints are listed below.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata.duration`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Requested duration in seconds; see the version table. `,_jsx(_components.code,{children:`-1`}),` selects the duration automatically on supported versions. Seedance 2.5 defaults to `,_jsx(_components.code,{children:`-1`}),`, and video editing requires `,_jsx(_components.code,{children:`-1`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata.generate_audio`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Default `,_jsx(_components.code,{children:`true`}),`: generate synchronized mono audio, including speech, sound effects, or music. `,_jsx(_components.code,{children:`false`}),` produces a silent video.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata.watermark`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Default `,_jsx(_components.code,{children:`false`}),`. `,_jsx(_components.code,{children:`true`}),` adds an AI-generated watermark in the lower-right corner; `,_jsx(_components.code,{children:`false`}),` omits it.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata.output_format`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Seedance 2.5 only. Default `,_jsx(_components.code,{children:`mp4`}),`; values: `,_jsx(_components.code,{children:`mp4`}),`, `,_jsx(_components.code,{children:`mov`}),`. MP4 is intended for general playback; MOV preserves higher color precision for post-production and requires compatible playback software.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata.return_last_frame`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Default `,_jsx(_components.code,{children:`false`}),`. `,_jsx(_components.code,{children:`true`}),` returns a watermark-free PNG of the final frame, with the same pixel dimensions as the generated video, in the task result.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata.callback_url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Task-status callback URL. The provider sends POST notifications with its task-query response structure. Statuses include `,_jsx(_components.code,{children:`queued`}),`, `,_jsx(_components.code,{children:`running`}),`, `,_jsx(_components.code,{children:`succeeded`}),`, `,_jsx(_components.code,{children:`failed`}),`, and `,_jsx(_components.code,{children:`expired`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata.execution_expires_after`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Range 3600-259200 seconds; default 172800 (48 hours), measured from task creation. A task that exceeds this threshold is terminated with status `,_jsx(_components.code,{children:`expired`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata.priority`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`2.5 and 2.0 only. Range 0-9; default 0. Higher values move ahead of lower-priority queued tasks on the same endpoint. Equal priorities remain FIFO; running tasks are not interrupted. Not supported with `,_jsx(_components.code,{children:`flex`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata.safety_identifier`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Stable, unique identifier for the end user, limited to 64 English characters. Use a hashed identifier instead of raw personal information.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata.tools`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`2.5 and 2.0 only. Each tool requires `,_jsx(_components.code,{children:`type`}),`; the supported value is `,_jsx(_components.code,{children:`web_search`}),`. The model decides whether to search. The query result exposes the search count in `,_jsx(_components.code,{children:`usage.tool_usage.web_search`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`version-limits`,children:`Version Limits`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Version`}),_jsx(_components.th,{children:`Resolution`}),_jsx(_components.th,{children:`Default Resolution`}),_jsx(_components.th,{children:`Duration`}),_jsx(_components.th,{children:`Reference Limits (Images / Videos / Audio)`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Seedance 2.5`}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[_jsx(_components.code,{children:`480p`}),` / `,_jsx(_components.code,{children:`720p`}),` / `,_jsx(_components.code,{children:`1080p`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`720p`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`4-30 s / -1`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`30 / 10 / 10`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Seedance 2.0`}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[_jsx(_components.code,{children:`480p`}),` / `,_jsx(_components.code,{children:`720p`}),` / `,_jsx(_components.code,{children:`1080p`}),` / `,_jsx(_components.code,{children:`4k`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`720p`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`4-15 s / -1`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`9 / 3 / 3`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Seedance 2.0 Fast / Mini`}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[_jsx(_components.code,{children:`480p`}),` / `,_jsx(_components.code,{children:`720p`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`720p`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`4-15 s / -1`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`9 / 3 / 3`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`The nested content fields and media size/format constraints are defined in `,_jsx(_components.a,{href:`/api-reference/endpoint/seedance`,children:`Seedance`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`scenario-constraints`,children:`Scenario Constraints`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`First-frame, first/last-frame, and multimodal reference workflows are mutually exclusive. Do not mix frame roles with `,_jsx(_components.code,{children:`reference_*`}),` roles.`]}),`\n`,_jsxs(_components.li,{children:[`Seedance 2.5 requires `,_jsx(_components.code,{children:`ratio=\"adaptive\"`}),` for first/last-frame input, editing, and extension. Editing requires at least one reference video lasting 4-30 seconds and `,_jsx(_components.code,{children:`duration=-1`}),`; extension requires a reference video. The optional `,_jsx(_components.code,{children:`omni_reference_task_type`}),` can explicitly select `,_jsx(_components.code,{children:`edit`}),` or `,_jsx(_components.code,{children:`extend`}),` instead of automatic classification.`]}),`\n`,_jsx(_components.li,{children:`Seedance 2.0 audio references require at least one image or video reference. Seedance 2.5 also supports audio-only reference input.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsxs(_components.p,{children:[`Set `,_jsx(_components.code,{children:`MIXROUTE_API_KEY`}),` before calling the API. Replace media placeholders with accessible inputs. Accepted requests create billable generation tasks; do not automatically resubmit after a submission timeout.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.mixroute.ai/v1/video/generations\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$MIXROUTE_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"doubao-seedance-2-5-260628\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"A red cube slowly rotates on a white background. Static camera.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"asset\": false,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"metadata\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"content\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"text\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"text\": \"A red cube slowly rotates on a white background. Static camera.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration\": 4,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ratio\": \"9:16\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\": \"480p\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"generate_audio\": false`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`python`,children:`Python`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`32`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`32`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`payload `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` json.loads(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`r`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:`'''`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:` \"model\": \"doubao-seedance-2-5-260628\",`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:` \"prompt\": \"A red cube slowly rotates on a white background`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D16969`},children:`.`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:` Static camera`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D16969`},children:`.`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:`\",`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:` \"asset\": false,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:` \"metadata\": {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:` \"content\": `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#CE9178`},children:`[`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D16969`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D16969`},children:` \"type\": \"text\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D16969`},children:` \"text\": \"A red cube slowly rotates on a white background. Static camera.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D16969`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#CE9178`},children:` ]`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:` \"duration\": 4,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:` \"ratio\": \"9:16\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:` \"resolution\": \"480p\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:` \"generate_audio\": false`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:`}`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:`'''`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.mixroute.ai/v1/video/generations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer \"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MIXROUTE_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`payload,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` timeout`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`120`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response.raise_for_status()`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`result `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.json()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(result)`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`task-results`,children:`Task Results`}),`\n`,_jsxs(_components.p,{children:[`Save the MixRoute task ID returned by submission and poll `,_jsx(_components.a,{href:`/api-reference/endpoint/query-video-task`,children:`Query Video Task`}),`. A successful submission creates a task; read the result only after the task reaches a successful terminal state. Response envelopes and result locations vary by route.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Doubao","sidebarTitle":"Doubao","description":"Doubao video generation parameters, supported values, input constraints, and request examples.","api":"POST /v1/video/generations","playground":"none","og:title":"Doubao API Reference - MixRoute","href":"/api-reference/endpoint/doubao"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Model IDs","slug":"model-ids","depth":2,"children":[]},{"title":"Top-Level Fields","slug":"top-level-fields","depth":2,"children":[]},{"title":"Generation Parameters","slug":"generation-parameters","depth":2,"children":[]},{"title":"Version Limits","slug":"version-limits","depth":2,"children":[]},{"title":"Scenario Constraints","slug":"scenario-constraints","depth":2,"children":[]},{"title":"Examples","slug":"examples","depth":2,"children":[{"title":"Python","slug":"python","depth":3,"children":[]}]},{"title":"Task Results","slug":"task-results","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Doubao","path":"/v1/video/generations","servers":[{"url":"https://api.mixroute.ai"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"personal-a5418d9f","siteName":"MixRoute","title":"Doubao API Reference - MixRoute","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/endpoint/doubao","matchLevel":0},"zh-Hans":{"href":"/zh-Hans/api-reference/endpoint/doubao","matchLevel":1},"zh-Hant":{"href":"/zh-Hant/api-reference/endpoint/doubao","matchLevel":1},"ja":{"href":"/ja/api-reference/endpoint/doubao","matchLevel":1}}},"lastModified":"2026-11-16T03:01:26.940Z","originalFileLocation":"api-reference/endpoint/doubao.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=\"Doubao video generation parameters, supported values, input constraints, and request examples.\">\u003cmeta data-mint-head name=\"application-name\" content=\"MixRoute\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/personal-a5418d9f/dv2IYF4xw-oEMCIM/_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=\"/docs/mintlify-assets/_mintlify/favicons/personal-a5418d9f/dv2IYF4xw-oEMCIM/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/personal-a5418d9f/dv2IYF4xw-oEMCIM/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/personal-a5418d9f/dv2IYF4xw-oEMCIM/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/personal-a5418d9f/dv2IYF4xw-oEMCIM/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/personal-a5418d9f/dv2IYF4xw-oEMCIM/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/personal-a5418d9f/dv2IYF4xw-oEMCIM/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/personal-a5418d9f/dv2IYF4xw-oEMCIM/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/personal-a5418d9f/dv2IYF4xw-oEMCIM/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Doubao API Reference - MixRoute\">\u003cmeta data-mint-head property=\"og:description\" content=\"Doubao video generation parameters, supported values, input constraints, and request examples.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MixRoute\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://mixroute.ai/docs/api-reference/endpoint/doubao\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://personal-a5418d9f.mintlify.site/docs/_mintlify/api/og/v2?division=Video+Series\u0026amp;title=Doubao\u0026amp;description=Doubao+video+generation+parameters%2C+supported+values%2C+input+constraints%2C+and+request+examples.\u0026amp;theme=4006ee24882b0e4bcca4d898\u0026amp;signature=2d6f787a63bf73bf6961690b9d46b7492df3625dc07a2a23409da8b6f752d701\">\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=\"Doubao API Reference - MixRoute\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Doubao video generation parameters, supported values, input constraints, and request examples.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://personal-a5418d9f.mintlify.site/docs/_mintlify/api/og/v2?division=Video+Series\u0026amp;title=Doubao\u0026amp;description=Doubao+video+generation+parameters%2C+supported+values%2C+input+constraints%2C+and+request+examples.\u0026amp;theme=4006ee24882b0e4bcca4d898\u0026amp;signature=2d6f787a63bf73bf6961690b9d46b7492df3625dc07a2a23409da8b6f752d701\">\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=\"/docs/mintlify-assets/_mintlify/favicons/personal-a5418d9f/dv2IYF4xw-oEMCIM/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MixRoute\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7B1FA2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://mixroute.ai/docs/api-reference/endpoint/doubao\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/endpoint/doubao.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://mixroute.ai/docs/api-reference/endpoint/doubao\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://mixroute.ai/docs/zh-Hans/api-reference/endpoint/doubao\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hant\" href=\"https://mixroute.ai/docs/zh-Hant/api-reference/endpoint/doubao\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://mixroute.ai/docs/ja/api-reference/endpoint/doubao\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://mixroute.ai/docs/api-reference/endpoint/doubao\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://mixroute.ai/#organization\",\"name\":\"MixRoute\",\"url\":\"https://mixroute.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/personal-a5418d9f/gmsYcyD3CEVDrHlx/logo/mixroute_logo_light.svg?fit=max\u0026auto=format\u0026n=gmsYcyD3CEVDrHlx\u0026q=85\u0026s=265a1a46d074895bd39b660678e01cd8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://mixroute.ai/docs#website\",\"name\":\"MixRoute\",\"url\":\"https://mixroute.ai/docs\",\"publisher\":{\"@id\":\"https://mixroute.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://mixroute.ai/docs/api-reference/endpoint/doubao#webpage\",\"url\":\"https://mixroute.ai/docs/api-reference/endpoint/doubao\",\"name\":\"Doubao\",\"description\":\"Doubao video generation parameters, supported values, input constraints, and request examples.\",\"dateModified\":\"2026-11-16T03:01:26.940Z\",\"isPartOf\":{\"@id\":\"https://mixroute.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://mixroute.ai/docs/api-reference/endpoint/doubao#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://mixroute.ai/docs/api-reference/endpoint/doubao#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Video Series\",\"item\":\"https://mixroute.ai/docs/api-reference/endpoint/submit-video-task\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Doubao\",\"item\":\"https://mixroute.ai/docs/api-reference/endpoint/doubao\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://mixroute.ai/docs/api-reference/endpoint/doubao#apireference\",\"headline\":\"Doubao\",\"name\":\"Doubao\",\"description\":\"Doubao video generation parameters, supported values, input constraints, and request examples.\",\"url\":\"https://mixroute.ai/docs/api-reference/endpoint/doubao\",\"mainEntityOfPage\":{\"@id\":\"https://mixroute.ai/docs/api-reference/endpoint/doubao#webpage\"},\"dateModified\":\"2026-11-16T03:01:26.940Z\",\"publisher\":{\"@id\":\"https://mixroute.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://mixroute.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MixRoute\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"MixRoute\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/endpoint/doubao.md","siteName":"MixRoute","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Popular Models","pages":[{"title":"Popular Models","href":"/api-reference/models"}]},{"group":"OpenAI SDK Usage","pages":[{"title":"OpenAI SDK Usage","href":"/api-reference/openai-sdk"}]},{"group":"System API","icon":"server","pages":[{"title":"Authentication and Quota","sidebarTitle":"Authentication and Quota","icon":{"name":"shield-keyhole","library":"lucide"},"href":"/api-reference/system-api/authentication-and-quota"},{"title":"API Key Management","sidebarTitle":"API Key Management","icon":{"name":"key","library":"lucide"},"href":"/api-reference/system-api/api-key-management"},{"title":"Smart Routing API","sidebarTitle":"Smart Routing API","icon":{"name":"route","library":"lucide"},"href":"/api-reference/system-api/smart-routing"},{"title":"Billing and Auto-Recharge","sidebarTitle":"Billing and Auto-Recharge","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/wallet.svg","href":"/api-reference/system-api/billing-and-auto-recharge"},{"title":"User Logs \u0026 Usage Statistics","icon":{"name":"book-open","library":"lucide"},"api":"GET /api/log/self","hideApiMarker":true,"href":"/api-reference/endpoint/user-logs"}]},{"group":"Text Series","pages":[{"title":"Gemini Native (Text)","api":"POST /v1beta/models/{model}:generateContent","sidebarTitle":"Gemini Text","href":"/api-reference/endpoint/gemini-native"},{"title":"Chat Completions (OpenAI)","api":"POST /v1/chat/completions","sidebarTitle":"Chat Completions","href":"/api-reference/endpoint/chat-openai"},{"title":"Create Responses Request (OpenAI)","api":"POST /v1/responses","sidebarTitle":"Responses","href":"/api-reference/endpoint/responses-openai"},{"title":"Create Messages (Claude)","api":"POST /v1/messages","sidebarTitle":"Claude Messages","href":"/api-reference/endpoint/messages"},{"title":"Count Tokens (Claude)","api":"POST /v1/messages/count_tokens","sidebarTitle":"Claude Token Count","href":"/api-reference/endpoint/count-tokens"},{"title":"Document Reranking","sidebarTitle":"Rerank","api":"POST /v1/rerank","playground":"none","hidden":false,"href":"/api-reference/endpoint/rerank"}]},{"group":"Decision Models","icon":"list-check","pages":[{"title":"Jev Decisions","sidebarTitle":"Jev Decisions","api":"POST /typesafe/v1/systemone","playground":"none","href":"/api-reference/endpoint/jev"},{"title":"OpenAI Decisions API","sidebarTitle":"OpenAI Decisions","api":"POST /v1/decisions","playground":"none","href":"/api-reference/endpoint/decisions"},{"title":"Google Decisions API","sidebarTitle":"Google Decisions","api":"POST /v1beta/decisions","playground":"none","href":"/api-reference/endpoint/google-decisions"}]},{"group":"Embedding Series","pages":[{"title":"Text Embeddings","api":"POST /v1/embeddings","sidebarTitle":"Text Embeddings","href":"/api-reference/endpoint/embeddings"},{"title":"Gemini Text Embedding (embedContent)","api":"POST /v1/models/{model}:embedContent","sidebarTitle":"Gemini Embeddings","href":"/api-reference/endpoint/gemini-embed-content"}]},{"group":"Image Series","pages":[{"title":"Image API Overview","api":"POST /v1/images/generations","sidebarTitle":"Overview","hideApiMarker":true,"playground":"none","href":"/api-reference/endpoint/image-generation"},{"title":"Seedream 5.5","sidebarTitle":"Seedream 5.5","api":"POST /v1/images/generations","playground":"none","href":"/api-reference/endpoint/seedream"},{"title":"GPT Image","sidebarTitle":"GPT Image","api":"POST /v1/images/generations","playground":"none","href":"/api-reference/endpoint/gpt-image"},{"title":"GPT Image Editing","sidebarTitle":"GPT Image Editing","api":"POST /v1/images/edits","playground":"none","href":"/api-reference/endpoint/gpt-image-edit"},{"title":"Grok Imagine","sidebarTitle":"Grok Imagine","api":"POST /v1/images/generations","playground":"none","href":"/api-reference/endpoint/grok-imagine-image"},{"title":"Grok Imagine Editing","sidebarTitle":"Grok Imagine Editing","api":"POST /v1/images/edits","playground":"none","href":"/api-reference/endpoint/grok-imagine-edit"},{"title":"Qwen Image","sidebarTitle":"Qwen Image","api":"POST /v1/images/generations","playground":"none","href":"/api-reference/endpoint/qwen-image"},{"title":"Qwen Image Editing","sidebarTitle":"Qwen Image Editing","api":"POST /v1/images/generations","playground":"none","href":"/api-reference/endpoint/qwen-image-edit"},{"title":"Gemini Native (Image)","api":"POST /v1/models/{model}:generateContent","sidebarTitle":"Gemini Images","playground":"none","href":"/api-reference/endpoint/nano-banana"},{"title":"Gemini Native (Image, Streaming)","api":"POST /v1/models/{model}:streamGenerateContent","sidebarTitle":"Gemini Image Stream","playground":"none","href":"/api-reference/endpoint/nano-banana-stream"}]},{"group":"Video Series","pages":[{"title":"Video API Overview","api":"POST /v1/video/generations","sidebarTitle":"Overview","hideApiMarker":true,"href":"/api-reference/endpoint/submit-video-task"},{"title":"Seedance","sidebarTitle":"Seedance","description":"Seedance video generation parameters, supported values, input constraints, and request examples.","api":"POST /v1/video/generations","playground":"none","href":"/api-reference/endpoint/seedance"},{"title":"Doubao","sidebarTitle":"Doubao","api":"POST /v1/video/generations","playground":"none","href":"/api-reference/endpoint/doubao"},{"title":"Dreamina","sidebarTitle":"Dreamina","description":"Dreamina video generation parameters, supported values, input constraints, and request examples.","api":"POST /v1/video/generations","playground":"none","href":"/api-reference/endpoint/dreamina"},{"title":"Wan","sidebarTitle":"Wan","api":"POST /v1/video/generations","playground":"none","href":"/api-reference/endpoint/wan"},{"title":"Veo","api":"POST /v1/video/generations","sidebarTitle":"Veo","playground":"none","href":"/api-reference/endpoint/veo"},{"title":"MiniMax H3","sidebarTitle":"MiniMax H3","api":"POST /v1/video/generations","playground":"none","href":"/api-reference/endpoint/minimax-h3"},{"group":"Kling","icon":"film","pages":[{"title":"Kling Overview","sidebarTitle":"Overview","href":"/api-reference/endpoint/kling"},{"title":"Kling Text to Video","sidebarTitle":"Text to Video","api":"POST /kling/text-to-video/{model}","playground":"none","href":"/api-reference/endpoint/kling-text-to-video"},{"title":"Kling Image to Video","sidebarTitle":"Image to Video","api":"POST /kling/image-to-video/{model}","playground":"none","href":"/api-reference/endpoint/kling-image-to-video"},{"title":"Kling Omni Generation and Editing","sidebarTitle":"Omni Generation and Editing","api":"POST /kling/omni-video/{model}","playground":"none","href":"/api-reference/endpoint/kling-omni-video"},{"title":"Kling Motion Control","sidebarTitle":"Motion Control","api":"POST /kling/motion-control/{model}","playground":"none","href":"/api-reference/endpoint/kling-motion-control"},{"title":"Query Kling Task","sidebarTitle":"Query Kling Task","api":"GET /kling/tasks","playground":"none","href":"/api-reference/endpoint/kling-tasks"}]},{"title":"Query Video Task","api":"GET /v1/video/generations/{task_id}","href":"/api-reference/endpoint/query-video-task"},{"title":"Download Video","api":"GET /v1/video/generations/download","href":"/api-reference/endpoint/download-video"}]},{"group":"Others","pages":[{"title":"List Models","api":"GET /v1/models","href":"/api-reference/endpoint/list-models"},{"title":"Gemini Live","api":"WSS /v1beta/models/{model}/liveStream","hidden":true,"href":"/api-reference/endpoint/gemini-live"}]}]},{"tab":"Smart Routing","pages":[{"title":"Smart Routing","href":"/api-reference/smart-routing"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/lobehub"}]},{"tab":"FAQ","pages":[{"title":"FAQ","href":"/faq/model-changing"}]}]},{"language":"zh-Hans","pages":[{"title":"zh-Hans","href":"/zh-Hans/api-reference/endpoint/doubao"}]},{"language":"zh-Hant","pages":[{"title":"zh-Hant","href":"/zh-Hant/api-reference/endpoint/doubao"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/api-reference/endpoint/doubao"}]}]},"basePath":"","title":"Doubao API Reference - MixRoute","deploymentId":"dpl_J2QdBVuN65x4CCtpqPb371YPt4xi","buildId":"dpl_J2QdBVuN65x4CCtpqPb371YPt4xi","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-tiVafkWW.js","utils-CURQcKis.js","cloneDeep-D7WNbvHt.js","_Uint8Array-BY_XlfVz.js","isObject-FP1Yky1u.js","utils-CdFTKPRO.js","addUniqueKeysToSchema-BSfwE63N.js","snippetPresets-BHyg8yZ0.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-CQdVXSju.js","isEqual-ft5OxoSH.js","usePlaygroundInputsStore-BILH4rrw.js","shallow-DterCiSU.js","getApiPlaygroundDisplay-uFtORr6j.js","CodeSnippet-BeuhEvUS.js","CodeSnippets-laCoJsvn.js","Page-CTsmHnLF.js","getPastedJson-DOT1n5Lt.js","icon-COH-nmcZ.js","MethodPill-BbAWkCf6.js","DuplicateIcon-CpagiAFQ.js","createIcon-Bw2Dnowf.js","DynamicMarkdown-DzuINhDe.js","SectionHeading-B3H20qI6.js","axios-vUo_bRtp.js"]}