This endpoint is fully compatible with the official Seedance protocol, so you can reuse the parameter structure from the official documentation. model must be a platform model identifier, which the gateway rewrites to the channel model name after routing. callback_url is overridden and injected by the gateway with a signed default callback address.
The content element list supports five types: text, image, video, audio, and draft task
Supports first frame / last frame / reference images (1-9 for the 2.0 series) / reference video / reference audio
Supports synchronized audio via generate_audio (Seedance 2.0 series and 1.5 Pro only)
Supports online/offline inference via service_tier and task timeout via execution_expires_after
Supports draft mode draft (1.5 Pro only), last frame return return_last_frame, and task priority priority (2.0 only)
Supports video editing (2.5 only), edit the visuals or audio of the original video, adding, deleting, or modifying objects in the video, or redrawing or repairing part of the frame.
Supports Video extension (2.5 only), Extend the original video forward or backward.
Result callback URL (the upstream POSTs notifications on task status changes; when the gateway has a callback configured, it overrides and injects a signed default address)
Whether to return the last frame image of the generated video (PNG, same resolution as the video, no watermark), default false;
can be used as the first frame of the next task to quickly generate multiple consecutive video segments
Service tier: default online inference (default) / flex offline inference (50% of the online price);
the Seedance 2.0 series only supports online inference and does not support this parameter
Task timeout threshold (seconds), counted from created_at, range [3600, 259200], default 172800 (48 hours);
the task is automatically terminated and marked as expired after timeout
Whether to generate audio synchronized with the visuals (voice/sound effects/background music), default true;
only supported by the Seedance 2.0 series and 1.5 Pro
Unique end-user identifier (for platform security audit, English only, max 64 characters;
it is recommended to pass a hash of the username/user ID/email to avoid leaking privacy)
Generated video resolution: 480p / 720p / 1080p / 4k;
the Seedance 2.0 series and 1.5 Pro default to 720p, 1.0 Pro / Pro Fast default to 1080p;
1080p is not supported by 2.0 Fast / 2.0 Mini, 4k is only supported by Seedance 2.0
Generated video frame count (choose either duration or frames, frames takes precedence), used to generate fractional-second durations;
only supported by Seedance 1.0 Pro / Pro Fast (not supported by the 2.0 series and 1.5 Pro),
range [29, 289] and must satisfy 25 + 4n (frame rate 24, frames = seconds x 24)
Whether to enable draft mode (480p preview video at a lower cost for quick validation), default false;
only supported by Seedance 1.5 Pro; draft mode does not support last frame return or offline inference
Task execution priority 0-9, higher values queue earlier, default 0;
only supported by Seedance 2.0, only affects the queue order of the same Endpoint, not supported for offline inference (flex)
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"HaiRoute Doc","description":"HaiRoute API documentation for LLM models and services","colors":{"primary":"#D27387","light":"#E7A0AF","dark":"#D27387"},"logo":{"light":"https://mintcdn.com/hai-token/DFzuPoXOzfYgcv_p/images/logo/light.svg?fit=max\u0026auto=format\u0026n=DFzuPoXOzfYgcv_p\u0026q=85\u0026s=3670802ebfcfac683e0d91aa182cee09","dark":"https://mintcdn.com/hai-token/DFzuPoXOzfYgcv_p/images/logo/dark.svg?fit=max\u0026auto=format\u0026n=DFzuPoXOzfYgcv_p\u0026q=85\u0026s=ea139cf27edec66b2432346ea9f459b8","href":"https://hairoute.ai"},"favicon":"https://mintcdn.com/hai-token/roChSmiiQuAOXxeY/images/logo/favicon.svg?fit=max\u0026auto=format\u0026n=roChSmiiQuAOXxeY\u0026q=85\u0026s=4c89c3d880a270256186776f71530da0","api":{"playground":{"display":"interactive","proxy":true}},"appearance":{"default":"light"},"navbar":{},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/haipay-global","github":"https://github.com/HaipayGroup"}},"search":{"prompt":"Search HaiRoute docs..."},"seo":{"metatags":{"og:site_name":"HaiRoute Documentation","og:image":"https://hairoute.ai/og-default.png","twitter:card":"summary_large_image","twitter:site":"@HaiRoute_official","canonical":"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"zh","navbar":{"links":[{"href":"https://hairoute.ai/zh","label":"首页"},{"href":"https://hairoute.ai/zh/models","label":"模型"},{"href":"https://hairoute.ai/zh/enterprise","label":"企业"},{"href":"/docs/zh/quickstart/integration-guide","label":"文档"}]},"href":"docs/zh/quickstart/integration-guide"},{"language":"en","navbar":{"links":[{"href":"https://hairoute.ai/en","label":"Home"},{"href":"https://hairoute.ai/en/models","label":"Model"},{"href":"https://hairoute.ai/en/enterprise","label":"Enterprise"},{"href":"/docs/en/quickstart/integration-guide","label":"Docs"}]},"href":"docs/en/quickstart/integration-guide"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"hai-token","hasAudioNarration":false,"actualSubdomain":"hai-token","customDomains":["docs.hairoute.ai"],"gitSource":{"type":"github","owner":"haipaygroup","repo":"haitokendocs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ab3b6107bc26a37a1a129f1","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"en","tag":"API documentation","count":17},{"language":"en","tag":"AI model interface","count":17},{"language":"zh","tag":"API文档","count":17},{"language":"zh","tag":"AI模型接口","count":17},{"language":"en","tag":"AI tool integration","count":11},{"language":"zh","tag":"AI工具接入","count":11},{"language":"en","tag":"Video","count":9},{"language":"zh","tag":"视频","count":9},{"language":"en","tag":"Images","count":4},{"language":"zh","tag":"图片","count":4},{"language":"en","tag":"Chat","count":3},{"language":"zh","tag":"聊天","count":3},{"language":"en","tag":"Other","count":2},{"language":"en","tag":"Quick start","count":2},{"language":"zh","tag":"其它","count":2},{"language":"zh","tag":"快速开始","count":2},{"language":"en","tag":"Models","count":1},{"language":"zh","tag":"模型","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"html:not(.dark) #background-color{background-color:#FAF9F5}html:not(.dark) body{color:#1B0B09}html:not(.dark) #page-title{color:#1B0B09}html.dark #background-color{background-color:#17100E}html:not(.dark) [class*=\"from-background-light\"][class*=\"top-0\"]{background-image:linear-gradient(to bottom, #FAF9F5 0%, rgba(250, 249, 245, 0) 100%)!important}html.dark [class*=\"from-background-dark\"][class*=\"top-0\"]{background-image:linear-gradient(to bottom, #17100E 0%, rgba(23, 16, 14, 0) 100%)!important}"}],"page":{"pagePath":"docs/en/api-reference/video/seedance","slug":"/docs/en/api-reference/video/seedance","pageMetadata":{"title":"Seedance Video Generation","description":"Video generation API compatible with the official Seedance protocol, supporting text-to-video, image-to-video, reference media, and synchronized audio","openapi":"en/api-reference/video/seedance/openapi.json POST /v1/seedance/video/generations","href":"/docs/en/api-reference/video/seedance"},"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: \"Video generation API compatible with the official Seedance protocol, supporting text-to-video, image-to-video, reference media, and synchronized audio\"\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,CodeGroup,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`This endpoint is fully compatible with the official Seedance protocol, so you can reuse the parameter structure from the official documentation. `,_jsx(_components.code,{children:`model`}),` must be a platform model identifier, which the gateway rewrites to the channel model name after routing. `,_jsx(_components.code,{children:`callback_url`}),` is overridden and injected by the gateway with a signed default callback address.`]}),`\n`,_jsx(Heading,{level:`2`,id:`features`,children:`Features`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.code,{children:`content`}),` element list supports five types: text, image, video, audio, and draft task`]}),`\n`,_jsx(_components.li,{children:`Supports first frame / last frame / reference images (1-9 for the 2.0 series) / reference video / reference audio`}),`\n`,_jsxs(_components.li,{children:[`Supports synchronized audio via `,_jsx(_components.code,{children:`generate_audio`}),` (Seedance 2.0 series and 1.5 Pro only)`]}),`\n`,_jsxs(_components.li,{children:[`Supports online/offline inference via `,_jsx(_components.code,{children:`service_tier`}),` and task timeout via `,_jsx(_components.code,{children:`execution_expires_after`})]}),`\n`,_jsxs(_components.li,{children:[`Supports draft mode `,_jsx(_components.code,{children:`draft`}),` (1.5 Pro only), last frame return `,_jsx(_components.code,{children:`return_last_frame`}),`, and task priority `,_jsx(_components.code,{children:`priority`}),` (2.0 only)`]}),`\n`,_jsx(_components.li,{children:`Supports video editing (2.5 only), edit the visuals or audio of the original video, adding, deleting, or modifying objects in the video, or redrawing or repairing part of the frame.`}),`\n`,_jsx(_components.li,{children:`Supports Video extension (2.5 only), Extend the original video forward or backward.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`Include the `,_jsx(_components.code,{children:`Authorization`}),` header in the format `,_jsx(_components.code,{children:`Bearer YOUR_API_KEY`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`supported-video-models`,children:`Supported Video Models`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Model Identifier`}),_jsx(_components.th,{children:`Model Type`}),_jsx(_components.th,{children:`Model Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`seedance-2.5`}),_jsx(_components.td,{children:`Reference Video`}),_jsx(_components.td,{children:`seedance 2.5 is a next-generation video creation model with major improvements in long-form storytelling, multimodal referencing, and editing`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`seedance-2.0`}),_jsx(_components.td,{children:`Reference Video`}),_jsx(_components.td,{children:`seedance 2.0 core video generation model`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`seedance-2.0-mini`}),_jsx(_components.td,{children:`Reference Video`}),_jsx(_components.td,{children:`new generation high-cost-benefit video generation model`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`seedance-2.0-fast`}),_jsx(_components.td,{children:`Reference Video`}),_jsx(_components.td,{children:`inherited the core functions and advantages of seedance-2.0, faster speed`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`quick-example`,children:`Quick example`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Python`,numberOfLines:`26`,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:`26`,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:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`url `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.hairoute.ai/v1/seedance/video/generations\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,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 YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`})]}),`\n`,_jsx(_components.span,{className:`line`,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:`data `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedance-2.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"content\"`}),_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:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A golden retriever runs along the beach at sunset, camera slowly tracking\"`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"image_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"image_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/images/dog.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"first_frame\"`})]}),`\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:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"720p\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ratio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"16:9\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"generate_audio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"watermark\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`False`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\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(url, `}),_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:`data, `}),_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:`headers)`})]}),`\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:`(response.json())`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`26`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`26`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.hairoute.ai/v1/seedance/video/generations'`}),_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\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'POST'`}),_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\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`})]}),`\n`,_jsx(_components.span,{className:`line`,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\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_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\":`#9CDCFE`},children:` model:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'seedance-2.0'`}),_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\":`#9CDCFE`},children:` content:`}),_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:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'text'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`text:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'A golden retriever runs along the beach at sunset, camera slowly tracking'`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'image_url'`}),_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\":`#9CDCFE`},children:` image_url:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`url:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://example.com/images/dog.png'`}),_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\":`#9CDCFE`},children:` role:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'first_frame'`})]}),`\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:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` duration:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 5`}),_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\":`#9CDCFE`},children:` resolution:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '720p'`}),_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\":`#9CDCFE`},children:` ratio:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '16:9'`}),_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\":`#9CDCFE`},children:` generate_audio:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_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\":`#9CDCFE`},children:` watermark:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`})]}),`\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:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_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\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`20`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl -X POST 'https://api.hairoute.ai/v1/seedance/video/generations' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` -H 'Authorization: Bearer YOUR_API_KEY' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` -H 'Content-Type: application/json' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` -d '{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"model\": \"seedance-2.0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"content\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` {\"type\": \"text\", \"text\": \"A golden retriever runs along the beach at sunset, camera slowly tracking\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"type\": \"image_url\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"image_url\": {\"url\": \"https://example.com/images/dog.png\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"role\": \"first_frame\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"duration\": 5,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"resolution\": \"720p\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"ratio\": \"16:9\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"generate_audio\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"watermark\": false`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }'`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),`\n`,_jsx(_components.p,{children:`A successful creation returns the task ID:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cgt-20260730120000-a1b2c3\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`See `,_jsx(_components.a,{href:`/docs/en/api-reference/video/seedance-status`,children:`Query Seedance video task`}),` to retrieve generation results`]}),`\n`,_jsxs(_components.li,{children:[`See `,_jsx(_components.a,{href:`/docs/en/api-reference/video/generation`,children:`Video generation`}),` for the unified protocol`]}),`\n`,_jsxs(_components.li,{children:[`See the `,_jsx(_components.a,{href:`/docs/en/api-reference/video/wan`,children:`Wan protocol`}),` for native Alibaba Wan parameters`]}),`\n`,_jsxs(_components.li,{children:[`See the `,_jsx(_components.a,{href:`/docs/en/api-reference/models/list-models`,children:`model list`}),` for available video models`]}),`\n`]})]})}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":"Seedance Video Generation","description":"Video generation API compatible with the official Seedance protocol, supporting text-to-video, image-to-video, reference media, and synchronized audio","openapi":"en/api-reference/video/seedance/openapi.json POST /v1/seedance/video/generations","href":"/docs/en/api-reference/video/seedance"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Features","slug":"features","depth":2,"children":[]},{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Supported Video Models","slug":"supported-video-models","depth":2,"children":[]},{"title":"Quick example","slug":"quick-example","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/hai-token/d18a3efa7e831bd2/custom.js"],"openApiReferenceData":{"operation":{"summary":"Create video generation task (seedance compatible protocol)","deprecated":false,"description":"Video generation API compatible with the official Seedance protocol, supporting text-to-video, image-to-video, reference media, and synchronized audio","tags":[],"parameters":["4099bbb7-1868-4720-884a-df4b3191a4d0","4227705f-3ea4-4692-9ebc-4f8253440d01"],"requestBody":"3efa9270-25d6-4c21-b86e-1bf4fc20d531","responses":{"200":"1097e4d9-45bb-41d7-b05d-58cf61223af8"},"security":[],"method":"post","type":"path","servers":[],"path":"/v1/seedance/video/generations","baseUrlOptions":[],"title":"Create video generation task (seedance compatible protocol)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"4099bbb7-1868-4720-884a-df4b3191a4d0":{"name":"Authorization","in":"header","description":"API Key token (Bearer sk-xxx)","required":true,"example":"Bearer ","schema":{"type":"string","isRequired":true,"description":"API Key token (Bearer sk-xxx)","uniqueKey":"","typeLabel":"string"}},"4227705f-3ea4-4692-9ebc-4f8253440d01":{"name":"Content-Type","in":"header","description":"","example":"application/json","schema":{"type":"string","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","description":"Platform model identifier (e.g. seedance-2.0), rewritten to the channel model name by the gateway after routing","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"callback_url":{"type":"string","description":"Result callback URL (the upstream POSTs notifications on task status changes; when the gateway has a callback configured, it overrides and injects a signed default address)","uniqueKey":"callback_url","typeLabel":"string"},"return_last_frame":{"type":"boolean","description":"Whether to return the last frame image of the generated video (PNG, same resolution as the video, no watermark), default false;\ncan be used as the first frame of the next task to quickly generate multiple consecutive video segments","uniqueKey":"return_last_frame","typeLabel":"boolean"},"service_tier":{"type":"string","description":"Service tier: default online inference (default) / flex offline inference (50% of the online price);\nthe Seedance 2.0 series only supports online inference and does not support this parameter","uniqueKey":"service_tier","typeLabel":"string"},"execution_expires_after":{"type":"integer","description":"Task timeout threshold (seconds), counted from created_at, range [3600, 259200], default 172800 (48 hours);\nthe task is automatically terminated and marked as expired after timeout","uniqueKey":"execution_expires_after","typeLabel":"integer"},"camera_fixed":{"type":"boolean","description":"Whether to fix the camera, default false; not supported in reference image scenarios and the Seedance 2.0 series","uniqueKey":"camera_fixed","typeLabel":"boolean"},"generate_audio":{"type":"boolean","description":"Whether to generate audio synchronized with the visuals (voice/sound effects/background music), default true;\nonly supported by the Seedance 2.0 series and 1.5 Pro","uniqueKey":"generate_audio","typeLabel":"boolean"},"safety_identifier":{"type":"string","description":"Unique end-user identifier (for platform security audit, English only, max 64 characters;\nit is recommended to pass a hash of the username/user ID/email to avoid leaking privacy)","uniqueKey":"safety_identifier","typeLabel":"string"},"content":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"Element type: text / image_url / video_url / audio_url / draft_task","isRequired":true,"uniqueKey":"content.items.[INDEX].type","typeLabel":"string"},"image_url":{"type":"object","properties":{"url":{"type":"string","description":"Public media URL / base64 data URI (base64 is stored to OBS by the gateway and replaced) / asset://\u003cASSET_ID>","isRequired":true,"uniqueKey":"content.items.[INDEX].image_url.url","typeLabel":"string"}},"required":["url"],"description":"Image input (type=image_url, url supports public URL / base64 data URI / asset://\u003cASSET_ID>)","uniqueKey":"content.items.[INDEX].image_url","typeLabel":"object"},"video_url":{"type":"object","properties":{"url":{"type":"string","description":"Public media URL / base64 data URI (base64 is stored to OBS by the gateway and replaced) / asset://\u003cASSET_ID>","isRequired":true,"uniqueKey":"content.items.[INDEX].video_url.url","typeLabel":"string"}},"required":["url"],"description":"Video input (type=video_url, only supported by the Seedance 2.0 series; url supports public URL / asset://\u003cASSET_ID>)","uniqueKey":"content.items.[INDEX].video_url","typeLabel":"object"},"audio_url":{"type":"object","properties":{"url":{"type":"string","description":"Public media URL / base64 data URI (base64 is stored to OBS by the gateway and replaced) / asset://\u003cASSET_ID>","isRequired":true,"uniqueKey":"content.items.[INDEX].audio_url.url","typeLabel":"string"}},"required":["url"],"description":"Audio input (type=audio_url, only supported by the Seedance 2.0 series; audio cannot be provided alone,\nat least 1 reference video or image is required)","uniqueKey":"content.items.[INDEX].audio_url","typeLabel":"object"},"draft_task":{"type":"object","properties":{"id":{"type":"string","description":"Draft task ID (ModelArk automatically reuses the draft task's model / text / image_url /\ngenerate_audio / seed / ratio / duration / camera_fixed inputs to generate the final video)","isRequired":true,"uniqueKey":"content.items.[INDEX].draft_task.id","typeLabel":"string"}},"required":["id"],"description":"Draft task input (type=draft_task, only supported by Seedance 1.5 Pro;\nreuses the draft task's inputs to generate the final video)","uniqueKey":"content.items.[INDEX].draft_task","typeLabel":"object"},"text":{"type":"string","description":"Text prompt (type=text, recommended within 1000 words)","uniqueKey":"content.items.[INDEX].text","typeLabel":"string"},"role":{"type":"string","description":"Position/purpose of the media element (conditionally required): first_frame / last_frame /\nreference_image (1-9 images for the 2.0 series) / reference_video / reference_audio","uniqueKey":"content.items.[INDEX].role","typeLabel":"string"}},"required":["type"],"description":"Content element","uniqueKey":"content.items.[INDEX]","typeLabel":"object"},"description":"Content element list (text prompt / image / video / audio / draft task ID)","uniqueKey":"content","typeLabel":"object[]"},"resolution":{"type":"string","description":"Generated video resolution: 480p / 720p / 1080p / 4k;\nthe Seedance 2.0 series and 1.5 Pro default to 720p, 1.0 Pro / Pro Fast default to 1080p;\n1080p is not supported by 2.0 Fast / 2.0 Mini, 4k is only supported by Seedance 2.0","uniqueKey":"resolution","typeLabel":"string"},"ratio":{"type":"string","description":"Generated video aspect ratio: 16:9 / 4:3 / 1:1 / 3:4 / 9:16 / 21:9 / adaptive (intelligently selected based on the input)","uniqueKey":"ratio","typeLabel":"string"},"duration":{"type":"integer","description":"Generated video duration (integer seconds); choose either duration or frames, frames takes precedence, default 5;\nSeedance 1.0 Pro / Pro Fast: [2, 12]; 1.5 Pro: [4, 12] or -1 (model intelligently selects the duration);\nSeedance 2.0 series: [4, 15] or -1","uniqueKey":"duration","typeLabel":"integer"},"frames":{"type":"integer","description":"Generated video frame count (choose either duration or frames, frames takes precedence), used to generate fractional-second durations;\nonly supported by Seedance 1.0 Pro / Pro Fast (not supported by the 2.0 series and 1.5 Pro),\nrange [29, 289] and must satisfy 25 + 4n (frame rate 24, frames = seconds x 24)","uniqueKey":"frames","typeLabel":"integer"},"seed":{"type":"integer","description":"Random seed, range [-1, 2^32-1], default -1 (random); not supported by the Seedance 2.0 series","format":"int64","uniqueKey":"seed","typeLabel":"integer\u003cint64>"},"watermark":{"type":"boolean","description":"Whether the generated video carries an \"AI Generated\" watermark, default false","uniqueKey":"watermark","typeLabel":"boolean"},"draft":{"type":"boolean","description":"Whether to enable draft mode (480p preview video at a lower cost for quick validation), default false;\nonly supported by Seedance 1.5 Pro; draft mode does not support last frame return or offline inference","uniqueKey":"draft","typeLabel":"boolean"},"priority":{"type":"integer","description":"Task execution priority 0-9, higher values queue earlier, default 0;\nonly supported by Seedance 2.0, only affects the queue order of the same Endpoint, not supported for offline inference (flex)","uniqueKey":"priority","typeLabel":"integer"}},"required":["model"],"description":"","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"model":"\u003cstring>","callback_url":"\u003cstring>","return_last_frame":true,"service_tier":"\u003cstring>","execution_expires_after":123,"camera_fixed":true,"generate_audio":true,"safety_identifier":"\u003cstring>","content":[{"type":"\u003cstring>","text":"\u003cstring>","role":"\u003cstring>"}],"resolution":"\u003cstring>","ratio":"\u003cstring>","duration":123,"frames":123,"seed":123,"watermark":true,"draft":true,"priority":123}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"1097e4d9-45bb-41d7-b05d-58cf61223af8":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Task ID","uniqueKey":"id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>"}}},"exampleType":"generated"}},"headers":{},"exampleType":"generated"}},"security":{},"servers":{}},"originalFileLocation":"docs/en/api-reference/video/seedance/openapi.json"},"subdomain":"hai-token","siteName":"HaiRoute Doc","title":"Seedance Video Generation - HaiRoute Doc","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"zh":{"href":"/docs/zh/api-reference/video/seedance","matchLevel":1},"en":{"href":"/docs/en/api-reference/video/seedance","matchLevel":0}}},"lastModified":"2026-09-10T12:00:04.102Z","originalFileLocation":"docs/en/api-reference/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=\"light\"}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=\"Video generation API compatible with the official Seedance protocol, supporting text-to-video, image-to-video, reference media, and synchronized audio\">\u003cmeta data-mint-head name=\"application-name\" content=\"HaiRoute Doc\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hai-token/ojcWBNnkbICDtPOo/_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/hai-token/ojcWBNnkbICDtPOo/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hai-token/ojcWBNnkbICDtPOo/_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/hai-token/ojcWBNnkbICDtPOo/_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/hai-token/ojcWBNnkbICDtPOo/_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/hai-token/ojcWBNnkbICDtPOo/_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/hai-token/ojcWBNnkbICDtPOo/_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/hai-token/ojcWBNnkbICDtPOo/_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/hai-token/ojcWBNnkbICDtPOo/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Seedance Video Generation - HaiRoute Doc\">\u003cmeta data-mint-head property=\"og:description\" content=\"Video generation API compatible with the official Seedance protocol, supporting text-to-video, image-to-video, reference media, and synchronized audio\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"HaiRoute Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide/docs/en/api-reference/video/seedance\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://hairoute.ai/og-default.png\">\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=\"Seedance Video Generation - HaiRoute Doc\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Video generation API compatible with the official Seedance protocol, supporting text-to-video, image-to-video, reference media, and synchronized audio\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hairoute.ai/og-default.png\">\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/hai-token/ojcWBNnkbICDtPOo/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"HaiRoute Doc\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#D27387\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide/docs/en/api-reference/video/seedance\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/en/api-reference/video/seedance.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide/docs/en/api-reference/video/seedance\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide/docs/zh/api-reference/video/seedance\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide/docs/zh/api-reference/video/seedance\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.hairoute.ai/#organization\",\"name\":\"HaiRoute Doc\",\"url\":\"https://docs.hairoute.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/hai-token/DFzuPoXOzfYgcv_p/images/logo/light.svg?fit=max\u0026auto=format\u0026n=DFzuPoXOzfYgcv_p\u0026q=85\u0026s=3670802ebfcfac683e0d91aa182cee09\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide#website\",\"name\":\"HaiRoute Doc\",\"url\":\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide\",\"publisher\":{\"@id\":\"https://docs.hairoute.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide/docs/en/api-reference/video/seedance#webpage\",\"url\":\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide/docs/en/api-reference/video/seedance\",\"name\":\"Seedance Video Generation\",\"description\":\"Video generation API compatible with the official Seedance protocol, supporting text-to-video, image-to-video, reference media, and synchronized audio\",\"dateModified\":\"2026-09-10T12:00:04.102Z\",\"isPartOf\":{\"@id\":\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide#website\"},\"breadcrumb\":{\"@id\":\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide/docs/en/api-reference/video/seedance#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide/docs/en/api-reference/video/seedance#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API documentation\",\"item\":\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide/docs/en/api-reference/chat/openai-format\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AI model interface\",\"item\":\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide/docs/en/api-reference/chat/openai-format\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Video\",\"item\":\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide/docs/en/api-reference/video/generation\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Seedance Video Generation\",\"item\":\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide/docs/en/api-reference/video/seedance\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide/docs/en/api-reference/video/seedance#apireference\",\"headline\":\"Seedance Video Generation\",\"name\":\"Seedance Video Generation\",\"description\":\"Video generation API compatible with the official Seedance protocol, supporting text-to-video, image-to-video, reference media, and synchronized audio\",\"url\":\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide/docs/en/api-reference/video/seedance\",\"mainEntityOfPage\":{\"@id\":\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide/docs/en/api-reference/video/seedance#webpage\"},\"image\":\"https://hairoute.ai/og-default.png\",\"dateModified\":\"2026-09-10T12:00:04.102Z\",\"publisher\":{\"@id\":\"https://docs.hairoute.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.hairoute.ai/docs/zh/quickstart/integration-guide#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"HaiRoute Doc\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"HaiRoute Doc","nav":{"global":null,"languages":[{"language":"zh","navbar":{"links":[{"href":"https://hairoute.ai/zh","label":"首页"},{"href":"https://hairoute.ai/zh/models","label":"模型"},{"href":"https://hairoute.ai/zh/enterprise","label":"企业"},{"href":"/docs/zh/quickstart/integration-guide","label":"文档"}]},"pages":[{"title":"zh","href":"/docs/zh/api-reference/video/seedance"}]},{"language":"en","navbar":{"links":[{"href":"https://hairoute.ai/en","label":"Home"},{"href":"https://hairoute.ai/en/models","label":"Model"},{"href":"https://hairoute.ai/en/enterprise","label":"Enterprise"},{"href":"/docs/en/quickstart/integration-guide","label":"Docs"}]},"groups":[{"group":"Quick start","pages":[{"title":"Integration guide","href":"/docs/en/quickstart/integration-guide"},{"title":"Get API Key","href":"/docs/en/quickstart/get-api-key"}]},{"group":"API documentation","pages":[{"group":"AI model interface","pages":[{"group":"Chat","pages":[{"title":"OpenAI format","openapi":"en/api-reference/chat/openai/openapi.json POST /v1/chat/completions","href":"/docs/en/api-reference/chat/openai-format"},{"title":"Claude format","openapi":"en/api-reference/chat/claude/openapi.json POST /v1/messages","href":"/docs/en/api-reference/chat/claude-format"},{"title":"Responses format","openapi":"en/api-reference/chat/responses/responses-openapi.json POST /v1/responses","href":"/docs/en/api-reference/chat/responses-format"}]},{"group":"Models","pages":[{"title":"Model list","openapi":"en/api-reference/models/openapi.json GET /v1/models","href":"/docs/en/api-reference/models/list-models"}]},{"group":"Images","pages":[{"title":"OpenAI image generation","openapi":"en/api-reference/images/openai/generation/openapi.json POST /v1/images/generations","href":"/docs/en/api-reference/images/openai/generation"},{"title":"OpenAI image edit","openapi":"en/api-reference/images/openai/edit/openapi.json POST /v1/images/edits","href":"/docs/en/api-reference/images/openai/edit"},{"title":"Seedream image generation","openapi":"en/api-reference/images/seedream/generation/openapi.json POST /v1/images/generations","href":"/docs/en/api-reference/images/seedream/generation"},{"title":"Gemini native image generation","openapi":"en/api-reference/images/gemini/generation/openapi.json POST /v1/models/{model}:generateContent","href":"/docs/en/api-reference/images/gemini/generation"}]},{"group":"Video","pages":[{"title":"Common video generation","openapi":"en/api-reference/video/generation/openapi.json POST /v1/video/generations","href":"/docs/en/api-reference/video/generation"},{"title":"Query video generation task","description":"Query the status and result of a common video generation task","openapi":"en/api-reference/video/generation/openapi.json GET /v1/video/generations/{taskId}","href":"/docs/en/api-reference/video/generation-status"},{"title":"Seedance Video Generation","openapi":"en/api-reference/video/seedance/openapi.json POST /v1/seedance/video/generations","href":"/docs/en/api-reference/video/seedance"},{"title":"Seedance query video task","description":"Query the status and result of a Seedance-compatible video task","openapi":"en/api-reference/video/seedance/openapi.json GET /v1/seedance/video/generations/{taskId}","href":"/docs/en/api-reference/video/seedance-status"},{"title":"Wan 2.7 Video Generation","openapi":"en/api-reference/video/wan/openapi.json POST /v1/alibaba/video/generations","href":"/docs/en/api-reference/video/wan"},{"title":"Wan 3.0 Video Generation","openapi":"en/api-reference/video/wan3/openapi.json POST /v1/alibaba/video/generations","href":"/docs/en/api-reference/video/wan3"},{"title":"Wan query video task","openapi":"en/api-reference/video/wan/openapi.json GET /v1/alibaba/video/generations/{taskId}","href":"/docs/en/api-reference/video/wan-status"},{"title":"HappyHorse Video Generation","openapi":"en/api-reference/video/happyHorse/openapi.json POST /v1/alibaba/video/generations","href":"/docs/en/api-reference/video/happyHorse"},{"title":"HappyHorse query video task","openapi":"en/api-reference/video/happyHorse/openapi.json GET /v1/alibaba/video/generations/{taskId}","href":"/docs/en/api-reference/video/happy-horse-status"}]}]}]},{"group":"AI tool integration","pages":[{"title":"Claude Code","href":"/docs/en/tools/claude-code"},{"title":"CodeX/ChatGPT","href":"/docs/en/tools/codex"},{"title":"Copilot","href":"/docs/en/tools/copilot"},{"title":"Cursor","href":"/docs/en/tools/cursor"},{"title":"DeepChat","href":"/docs/en/tools/deepchat"},{"title":"Open Code","href":"/docs/en/tools/open-code"},{"title":"OpenClaw","href":"/docs/en/tools/openclaw"},{"title":"Trae Work","href":"/docs/en/tools/trae-work"},{"title":"VS Code","href":"/docs/en/tools/vscode"},{"title":"WorkBuddy","href":"/docs/en/tools/workbuddy"},{"title":"ZCode","href":"/docs/en/tools/zcode"}]},{"group":"Other","pages":[{"title":"Rate Limits","href":"/docs/en/others/rate-limits"},{"title":"VPN and proxy connectivity","href":"/docs/en/others/vpn-proxy"}]}]}]},"basePath":"","title":"Seedance Video Generation - HaiRoute Doc","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CBsVopKK.js","utils-DZAk68jJ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D32AYZrP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D_A5_cny.js","snippetPresets-xNRfS9th.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BIB25-tq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CydJ4w4j.js","shallow-CYPBeQSG.js","getApiPlaygroundDisplay-A5xJVBOu.js","CodeSnippet-BVRTgi3m.js","CodeSnippets-DjD6BSlt.js","Page-Dr40SSJq.js","getPastedJson-D4V4JyrR.js","icon-uhcnG22T.js","MethodPill-CM-ZQdGH.js","DuplicateIcon-B_WnOiNf.js","createIcon-CJsb8utt.js","DynamicMarkdown-D-2HDKEp.js","SectionHeading-KP5xmMgQ.js","axios-vUo_bRtp.js","Markdown-D_k0dg6k.js","clsx-DK3K4Z1S.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DE3EVdvd.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fN9H9n9g.js"]}