Note for users in mainland China: Please use https://toapis.cn as the API endpoint (Base URL). Replace https://toapis.com with https://toapis.cn in the examples in this document.
ByteDance Doubao video generation model 1.5 Pro version
Supports text-to-video generation
Supports first frame / last frame control
Does not support reference image mode
Supports audio generation (1.5 Pro exclusive feature)
Video content descriptionDescribe scenes, actions, and style in detail for better generation resultsExample: "Sunset at the beach, golden sunlight on the sea, waves gently hitting the sand"
Compatibility image URL array for first/last-frame image-to-video generationCompatibility rules:
1 image: treated as first_frame
2 images: treated as first_frame and last_frame
More than 2 images: only the first two are used
We recommend using image_with_roles to explicitly specify first and last framesExample: ["https://example.com/first.png", "https://example.com/last.png"]image_urls and image_with_roles cannot be used together
When a request includes images, some channels review them automatically before submitting generation. No extra parameter is needed; pass image URLs in the existing image fields.
An accepted request returns a video task immediately. When review is required, the task stays queued and generation is submitted only after all media in the request pass. First-time review can take several minutes; reusing the same URL for the same user and channel reuses the review result.
Each media preparation round lasts up to 20 minutes by default. Rejection or preparation timeout ends the task as failed; see error.message for the reason. Failed review incurs no video generation fee.
Images must be public HTTP(S) URLs; Base64 and local paths are not accepted. Keep images within 20 MB (some channels allow up to 30 MB). The model’s existing format limits still apply.
Channels that review media validate image URLs at submission: a URL with embedded credentials or longer than 2048 bytes returns HTTP 400 with error.codeinvalid_private_assets.
Media is identified by URL. Use a new URL after the file content changes.
Legacy asset:// references are retired and return HTTP 400.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ToAPIs Documentation","colors":{"primary":"#2563EB","light":"#3B82F6","dark":"#1D4ED8"},"logo":{"light":"https://mintcdn.com/dashlyai/a_NCjmRocEr6wT0r/logo/light.svg?fit=max\u0026auto=format\u0026n=a_NCjmRocEr6wT0r\u0026q=85\u0026s=3d58ff2776a33f0fb61c09a496c32cde","dark":"https://mintcdn.com/dashlyai/a_NCjmRocEr6wT0r/logo/dark.svg?fit=max\u0026auto=format\u0026n=a_NCjmRocEr6wT0r\u0026q=85\u0026s=a743e3732e358cf5ef51f6d0e20b83e2"},"favicon":"https://mintcdn.com/dashlyai/a_NCjmRocEr6wT0r/favicon.svg?fit=max\u0026auto=format\u0026n=a_NCjmRocEr6wT0r\u0026q=85\u0026s=8faf46e48cc405e456b8d27296c8dadd","navbar":{"links":[{"href":"https://x.com/toapisai","label":"X"},{"href":"https://discord.gg/hvnszCrJ73","label":"Discord"},{"href":"https://toapis.com/wechat","label":"WeChat"}],"primary":{"type":"button","label":"Dashboard","href":"https://toapis.com/dashboard"}},"footer":{"socials":{"x":"https://x.com/toapisai","github":"https://github.com/ToAPIs","linkedin":"https://linkedin.com/company/ToAPIs","discord":"https://discord.gg/hvnszCrJ73"}},"seo":{"paths":[{"path":"docs/cn","metatags":{"og:image":"https://docs.toapis.com/docs/assets/images/og-default.png","twitter:image":"https://docs.toapis.com/docs/assets/images/og-default.png"}},{"path":"docs/zh-Hant","metatags":{"og:image":"https://docs.toapis.com/docs/assets/images/og-default.png","twitter:image":"https://docs.toapis.com/docs/assets/images/og-default.png"}},{"path":"docs/ja","metatags":{"og:image":"https://docs.toapis.com/docs/assets/images/og-default.png","twitter:image":"https://docs.toapis.com/docs/assets/images/og-default.png"}},{"path":"docs/ko","metatags":{"og:image":"https://docs.toapis.com/docs/assets/images/og-default.png","twitter:image":"https://docs.toapis.com/docs/assets/images/og-default.png"}}]},"contextual":{"options":["copy","view"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"cn","href":"docs/cn/quickstart"},{"language":"zh-Hant","href":"docs/zh-Hant/quickstart"},{"language":"en","href":"docs/en"},{"language":"ja","href":"docs/ja"},{"language":"ko","href":"docs/ko"},{"language":"ru","href":"docs/ru"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dashlyai","hasAudioNarration":false,"actualSubdomain":"dashlyai","customDomains":["docs.toapis.com"],"gitSource":{"type":"github","owner":"blackai2025","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae43e69a2d7ca4670e02c57","collectionId":"0ab4cc3d-641a-4222-bb93-d8d778476369","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae43e69a2d7ca4670e02c57"},"entitlements":{},"buildId":"6ae43e69a2d7ca4670e02c57","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"en","tag":"API Reference","count":129},{"language":"cn","tag":"API 手册","count":128},{"language":"ru","tag":"Справочник API","count":110},{"language":"ja","tag":"APIリファレンス","count":109},{"language":"ko","tag":"API 참조","count":109},{"language":"zh-Hant","tag":"API 手冊","count":108},{"language":"cn","tag":"图像系列","count":45},{"language":"cn","tag":"视频系列","count":45},{"language":"en","tag":"Image API","count":45},{"language":"en","tag":"Video API","count":45},{"language":"ja","tag":"動画API","count":45},{"language":"ko","tag":"비디오 API","count":45},{"language":"ru","tag":"API видео","count":45},{"language":"zh-Hant","tag":"視頻系列","count":45},{"language":"ja","tag":"画像API","count":26},{"language":"ko","tag":"이미지 API","count":26},{"language":"ru","tag":"API изображений","count":26},{"language":"zh-Hant","tag":"圖像系列","count":26},{"language":"cn","tag":"Midjourney","count":19},{"language":"en","tag":"Midjourney","count":19},{"language":"cn","tag":"音乐系列","count":8},{"language":"cn","tag":"Suno 音乐","count":8},{"language":"cn","tag":"文本对话系列","count":8},{"language":"en","tag":"Music API","count":8},{"language":"en","tag":"Suno Music","count":8},{"language":"en","tag":"Chat API","count":8},{"language":"ja","tag":"音楽API","count":8},{"language":"ja","tag":"Suno 音楽","count":8},{"language":"ko","tag":"음악 API","count":8},{"language":"ko","tag":"Suno 음악","count":8},{"language":"ru","tag":"API музыки","count":8},{"language":"ru","tag":"Suno","count":8},{"language":"ru","tag":"API чата","count":8},{"language":"zh-Hant","tag":"音樂系列","count":8},{"language":"zh-Hant","tag":"Suno 音樂","count":8},{"language":"ja","tag":"チャットAPI","count":7},{"language":"ko","tag":"채팅 API","count":7},{"language":"zh-Hant","tag":"文本對話系列","count":7},{"language":"cn","tag":"快速上手","count":6},{"language":"en","tag":"Quick Start","count":6},{"language":"ja","tag":"クイックスタート","count":6},{"language":"ko","tag":"빠른 시작","count":6},{"language":"ru","tag":"Быстрый старт","count":6},{"language":"zh-Hant","tag":"快速上手","count":6},{"language":"cn","tag":"账户","count":5},{"language":"cn","tag":"任务管理","count":5},{"language":"en","tag":"Account","count":5},{"language":"en","tag":"Task Management","count":5},{"language":"ja","tag":"アカウント","count":5},{"language":"ja","tag":"タスク管理","count":5},{"language":"ko","tag":"계정","count":5},{"language":"ko","tag":"작업 관리","count":5},{"language":"ru","tag":"Аккаунт","count":5},{"language":"ru","tag":"Управление задачами","count":5},{"language":"zh-Hant","tag":"賬戶","count":5},{"language":"zh-Hant","tag":"任務管理","count":5},{"language":"ja","tag":"Grok Video","count":4},{"language":"ko","tag":"Grok Video","count":4},{"language":"ru","tag":"Grok Video","count":4},{"language":"zh-Hant","tag":"Grok Video","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"docs/en/api-reference/videos/doubao-seedance-1-5/generation","slug":"/docs/en/api-reference/videos/doubao-seedance-1-5/generation","pageMetadata":{"title":"Doubao SeeDance 1.5 Pro Video Generation","sidebarTitle":"doubao-seedance-1-5-pro","api":"POST https://toapis.com/v1/videos/generations","description":"Generate videos using ByteDance Doubao SeeDance 1.5 Pro model","href":"/docs/en/api-reference/videos/doubao-seedance-1-5/generation"},"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: \"Generate videos using ByteDance Doubao SeeDance 1.5 Pro model\"\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`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,ResponseField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Note for users in mainland China:`}),` Please use `,_jsx(_components.code,{children:`https://toapis.cn`}),` as the API endpoint (Base URL). Replace `,_jsx(_components.code,{children:`https://toapis.com`}),` with `,_jsx(_components.code,{children:`https://toapis.cn`}),` in the examples in this document.`]})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`ByteDance Doubao video generation model 1.5 Pro version`}),`\n`,_jsx(_components.li,{children:`Supports text-to-video generation`}),`\n`,_jsx(_components.li,{children:`Supports first frame / last frame control`}),`\n`,_jsx(_components.li,{children:`Does not support reference image mode`}),`\n`,_jsx(_components.li,{children:`Supports audio generation (1.5 Pro exclusive feature)`}),`\n`,_jsx(_components.li,{children:`Async task management, query results by task ID`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`authorizations`,children:`Authorizations`}),`\n`,_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:[_jsx(_components.p,{children:`All endpoints require Bearer Token authentication`}),_jsxs(_components.p,{children:[`Get your API Key from the `,_jsx(_components.a,{href:`https://toapis.com/console/token`,children:`API Key Management Page`})]}),_jsx(_components.p,{children:`Add to request header:`}),_jsx(CodeBlock,{numberOfLines:`2`,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:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authorization: Bearer YOUR_API_KEY`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsxs(ParamField,{body:`model`,type:`string`,default:`doubao-seedance-1-5-pro`,required:true,id:`param-model`,children:[_jsx(_components.p,{children:`Video generation model name`}),_jsx(_components.p,{children:`Available models:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`doubao-seedance-1-5-pro`}),` - 1.5 Pro version, supports audio generation and first/last frame control`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`prompt`,type:`string`,required:true,id:`param-prompt`,children:[_jsx(_components.p,{children:`Video content description`}),_jsx(_components.p,{children:`Describe scenes, actions, and style in detail for better generation results`}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"Sunset at the beach, golden sunlight on the sea, waves gently hitting the sand\"`})]})]}),`\n`,_jsxs(ParamField,{body:`duration`,type:`integer`,default:5,id:`param-duration`,children:[_jsx(_components.p,{children:`Video duration (seconds)`}),_jsxs(_components.p,{children:[`Supported range: `,_jsx(_components.code,{children:`4`}),` ~ `,_jsx(_components.code,{children:`12`}),` seconds`]}),_jsxs(_components.p,{children:[`Default: `,_jsx(_components.code,{children:`5`})]})]}),`\n`,_jsxs(ParamField,{body:`aspect_ratio`,type:`string`,default:`16:9`,id:`param-aspect-ratio`,children:[_jsx(_components.p,{children:`Video aspect ratio`}),_jsx(_components.p,{children:`Options:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`16:9`}),` - Landscape`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`9:16`}),` - Portrait`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`1:1`}),` - Square`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`4:3`}),` - Traditional ratio`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`3:4`}),` - Vertical traditional ratio`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`21:9`}),` - Ultra-wide`]}),`\n`]}),_jsxs(_components.p,{children:[`Default: `,_jsx(_components.code,{children:`16:9`})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`resolution-and-aspect-ratio-combinations`,children:`Resolution and Aspect Ratio Combinations`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Resolution`}),_jsx(_components.th,{children:`Supported Aspect Ratios`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`480p`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`16:9, 4:3, 1:1, 3:4, 9:16, 21:9`}),_jsx(_components.td,{children:`All supported`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`720p`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`16:9, 4:3, 1:1, 3:4, 9:16, 21:9`}),_jsx(_components.td,{children:`All supported (default)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1080p`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`16:9, 4:3, 1:1, 3:4, 9:16, 21:9`}),_jsx(_components.td,{children:`All supported`})]})]})]}),`\n`,_jsxs(ParamField,{body:`image_urls`,type:`string[]`,id:`param-image-urls`,children:[_jsx(_components.p,{children:`Compatibility image URL array for first/last-frame image-to-video generation`}),_jsx(_components.p,{children:`Compatibility rules:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`1 image: treated as `,_jsx(_components.code,{children:`first_frame`})]}),`\n`,_jsxs(_components.li,{children:[`2 images: treated as `,_jsx(_components.code,{children:`first_frame`}),` and `,_jsx(_components.code,{children:`last_frame`})]}),`\n`,_jsx(_components.li,{children:`More than 2 images: only the first two are used`}),`\n`]}),_jsxs(_components.p,{children:[`We recommend using `,_jsx(_components.code,{children:`image_with_roles`}),` to explicitly specify first and last frames`]}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`[\"https://example.com/first.png\", \"https://example.com/last.png\"]`})]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`image_urls`}),` and `,_jsx(_components.code,{children:`image_with_roles`}),` cannot be used together`]})]}),`\n`,_jsxs(ParamField,{body:`image_with_roles`,type:`array`,id:`param-image-with-roles`,children:[_jsx(_components.p,{children:`Image array with roles for explicit first/last-frame control`}),_jsxs(Expandable,{title:`Field Description`,children:[_jsx(ParamField,{body:`url`,type:`string`,required:true,id:`param-url`,children:_jsx(_components.p,{children:`Image URL`})}),_jsxs(ParamField,{body:`role`,type:`string`,required:true,id:`param-role`,children:[_jsx(_components.p,{children:`Image role`}),_jsx(_components.p,{children:`Options:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`first_frame`}),` - First frame image, used as the starting frame (only one supported)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`last_frame`}),` - Last frame image, used as the ending frame (only one supported)`]}),`\n`]})]})]}),_jsx(_components.p,{children:`Example:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},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/first.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"first_frame\"`}),_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},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/last.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"last_frame\"`}),_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(Warning,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`image_urls`}),` and `,_jsx(_components.code,{children:`image_with_roles`}),` cannot be used together`]}),`\n`,_jsx(_components.li,{children:`Only one first frame and one last frame are supported`}),`\n`,_jsxs(_components.li,{children:[`1.5 Pro does not support the `,_jsx(_components.code,{children:`reference_image`}),` role. Use Seedance 2.0 if you need reference image control`]}),`\n`]})})]}),`\n`,_jsxs(ParamField,{body:`metadata`,type:`object`,id:`param-metadata`,children:[_jsx(_components.p,{children:`Extended parameters`}),_jsxs(Expandable,{title:`Field Description`,children:[_jsxs(ParamField,{body:`resolution`,type:`string`,default:`720p`,id:`param-resolution`,children:[_jsx(_components.p,{children:`Video resolution`}),_jsx(_components.p,{children:`Options:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`480p`}),` - Standard definition`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`720p`}),` - High definition (default)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`1080p`}),` - Full HD`]}),`\n`]})]}),_jsxs(ParamField,{body:`seed`,type:`integer`,id:`param-seed`,children:[_jsx(_components.p,{children:`Seed integer for controlling generation randomness`}),_jsxs(_components.p,{children:[`Range: `,_jsx(_components.code,{children:`-1`}),` ~ `,_jsx(_components.code,{children:`2^32-1`})]}),_jsx(_components.p,{children:`The same seed can produce similar results, but exact output is not guaranteed`})]}),_jsxs(ParamField,{body:`audio`,type:`boolean`,default:false,id:`param-audio`,children:[_jsx(_components.p,{children:`Whether to generate audio`}),_jsxs(_components.p,{children:[`When set to `,_jsx(_components.code,{children:`true`}),`, the video will include AI-generated accompanying audio`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`1.5 Pro exclusive feature`})})]}),_jsxs(ParamField,{body:`camerafixed`,type:`boolean`,default:false,id:`param-camerafixed`,children:[_jsx(_components.p,{children:`Whether to keep the camera fixed`}),_jsxs(_components.p,{children:[`When set to `,_jsx(_components.code,{children:`true`}),`, the camera position remains fixed throughout the video`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`differences-from-1-0`,children:`Differences from 1.0`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Feature`}),_jsx(_components.th,{children:`1.0 fast/quality`}),_jsx(_components.th,{children:`1.5 Pro`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Default resolution`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1080p`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`720p`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Supported resolutions`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`480p/720p/1080p`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.strong,{children:`480p/720p/1080p`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Duration range`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2-12s`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.strong,{children:`4-12s`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Audio generation`}),_jsx(_components.td,{children:`Not supported`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Supported`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Image control mode`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`reference`}),` single reference image`]}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`first_frame`}),` / `,_jsx(_components.code,{children:`last_frame`}),` frame mode`]})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`asset-review`,children:`Asset review`}),`\n`,_jsx(_components.p,{children:`When a request includes images, some channels review them automatically before submitting generation. No extra parameter is needed; pass image URLs in the existing image fields.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`An accepted request returns a video task immediately. When review is required, the task stays `,_jsx(_components.code,{children:`queued`}),` and generation is submitted only after all media in the request pass. First-time review can take several minutes; reusing the same URL for the same user and channel reuses the review result.`]}),`\n`,_jsxs(_components.li,{children:[`Each media preparation round lasts up to 20 minutes by default. Rejection or preparation timeout ends the task as `,_jsx(_components.code,{children:`failed`}),`; see `,_jsx(_components.code,{children:`error.message`}),` for the reason. Failed review incurs no video generation fee.`]}),`\n`,_jsx(_components.li,{children:`Images must be public HTTP(S) URLs; Base64 and local paths are not accepted. Keep images within 20 MB (some channels allow up to 30 MB). The model’s existing format limits still apply.`}),`\n`,_jsxs(_components.li,{children:[`Channels that review media validate image URLs at submission: a URL with embedded credentials or longer than 2048 bytes returns HTTP 400 with `,_jsx(_components.code,{children:`error.code`}),` `,_jsx(_components.code,{children:`invalid_private_assets`}),`.`]}),`\n`,_jsx(_components.li,{children:`Media is identified by URL. Use a new URL after the file content changes.`}),`\n`,_jsxs(_components.li,{children:[`Legacy `,_jsx(_components.code,{children:`asset://`}),` references are retired and return HTTP 400.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Unique task identifier for status queries`})}),`\n`,_jsx(ResponseField,{name:`object`,type:`string`,id:`param-object`,children:_jsxs(_components.p,{children:[`Object type, always `,_jsx(_components.code,{children:`generation.task`})]})}),`\n`,_jsx(ResponseField,{name:`model`,type:`string`,id:`param-model-1`,children:_jsx(_components.p,{children:`Model name used`})}),`\n`,_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:[_jsx(_components.p,{children:`Task status`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`queued`}),` - Queued for processing`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`in_progress`}),` - Processing`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`completed`}),` - Successfully completed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`failed`}),` - Failed`]}),`\n`]})]}),`\n`,_jsx(ResponseField,{name:`progress`,type:`integer`,id:`param-progress`,children:_jsx(_components.p,{children:`Task progress percentage (0-100)`})}),`\n`,_jsx(ResponseField,{name:`created_at`,type:`integer`,id:`param-created-at`,children:_jsx(_components.p,{children:`Task creation timestamp (Unix timestamp)`})}),`\n`,_jsx(ResponseField,{name:`metadata`,type:`object`,id:`param-metadata-1`,children:_jsx(_components.p,{children:`Task metadata`})})]})}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 SeeDance 1.5 Pro Video Generation","sidebarTitle":"doubao-seedance-1-5-pro","api":"POST https://toapis.com/v1/videos/generations","description":"Generate videos using ByteDance Doubao SeeDance 1.5 Pro model","href":"/docs/en/api-reference/videos/doubao-seedance-1-5/generation"}}},"mdxSourceWithNoJs":{"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`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,RequestExample,ResponseExample,ResponseField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Note for users in mainland China:`}),` Please use `,_jsx(_components.code,{children:`https://toapis.cn`}),` as the API endpoint (Base URL). Replace `,_jsx(_components.code,{children:`https://toapis.com`}),` with `,_jsx(_components.code,{children:`https://toapis.cn`}),` in the examples in this document.`]})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`ByteDance Doubao video generation model 1.5 Pro version`}),`\n`,_jsx(_components.li,{children:`Supports text-to-video generation`}),`\n`,_jsx(_components.li,{children:`Supports first frame / last frame control`}),`\n`,_jsx(_components.li,{children:`Does not support reference image mode`}),`\n`,_jsx(_components.li,{children:`Supports audio generation (1.5 Pro exclusive feature)`}),`\n`,_jsx(_components.li,{children:`Async task management, query results by task ID`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`authorizations`,children:`Authorizations`}),`\n`,_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:[_jsx(_components.p,{children:`All endpoints require Bearer Token authentication`}),_jsxs(_components.p,{children:[`Get your API Key from the `,_jsx(_components.a,{href:`https://toapis.com/console/token`,children:`API Key Management Page`})]}),_jsx(_components.p,{children:`Add to request header:`}),_jsx(CodeBlock,{numberOfLines:`2`,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:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authorization: Bearer YOUR_API_KEY`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsxs(ParamField,{body:`model`,type:`string`,default:`doubao-seedance-1-5-pro`,required:true,id:`param-model`,children:[_jsx(_components.p,{children:`Video generation model name`}),_jsx(_components.p,{children:`Available models:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`doubao-seedance-1-5-pro`}),` - 1.5 Pro version, supports audio generation and first/last frame control`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`prompt`,type:`string`,required:true,id:`param-prompt`,children:[_jsx(_components.p,{children:`Video content description`}),_jsx(_components.p,{children:`Describe scenes, actions, and style in detail for better generation results`}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"Sunset at the beach, golden sunlight on the sea, waves gently hitting the sand\"`})]})]}),`\n`,_jsxs(ParamField,{body:`duration`,type:`integer`,default:5,id:`param-duration`,children:[_jsx(_components.p,{children:`Video duration (seconds)`}),_jsxs(_components.p,{children:[`Supported range: `,_jsx(_components.code,{children:`4`}),` ~ `,_jsx(_components.code,{children:`12`}),` seconds`]}),_jsxs(_components.p,{children:[`Default: `,_jsx(_components.code,{children:`5`})]})]}),`\n`,_jsxs(ParamField,{body:`aspect_ratio`,type:`string`,default:`16:9`,id:`param-aspect-ratio`,children:[_jsx(_components.p,{children:`Video aspect ratio`}),_jsx(_components.p,{children:`Options:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`16:9`}),` - Landscape`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`9:16`}),` - Portrait`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`1:1`}),` - Square`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`4:3`}),` - Traditional ratio`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`3:4`}),` - Vertical traditional ratio`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`21:9`}),` - Ultra-wide`]}),`\n`]}),_jsxs(_components.p,{children:[`Default: `,_jsx(_components.code,{children:`16:9`})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`resolution-and-aspect-ratio-combinations`,children:`Resolution and Aspect Ratio Combinations`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Resolution`}),_jsx(_components.th,{children:`Supported Aspect Ratios`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`480p`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`16:9, 4:3, 1:1, 3:4, 9:16, 21:9`}),_jsx(_components.td,{children:`All supported`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`720p`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`16:9, 4:3, 1:1, 3:4, 9:16, 21:9`}),_jsx(_components.td,{children:`All supported (default)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1080p`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`16:9, 4:3, 1:1, 3:4, 9:16, 21:9`}),_jsx(_components.td,{children:`All supported`})]})]})]}),`\n`,_jsxs(ParamField,{body:`image_urls`,type:`string[]`,id:`param-image-urls`,children:[_jsx(_components.p,{children:`Compatibility image URL array for first/last-frame image-to-video generation`}),_jsx(_components.p,{children:`Compatibility rules:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`1 image: treated as `,_jsx(_components.code,{children:`first_frame`})]}),`\n`,_jsxs(_components.li,{children:[`2 images: treated as `,_jsx(_components.code,{children:`first_frame`}),` and `,_jsx(_components.code,{children:`last_frame`})]}),`\n`,_jsx(_components.li,{children:`More than 2 images: only the first two are used`}),`\n`]}),_jsxs(_components.p,{children:[`We recommend using `,_jsx(_components.code,{children:`image_with_roles`}),` to explicitly specify first and last frames`]}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`[\"https://example.com/first.png\", \"https://example.com/last.png\"]`})]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`image_urls`}),` and `,_jsx(_components.code,{children:`image_with_roles`}),` cannot be used together`]})]}),`\n`,_jsxs(ParamField,{body:`image_with_roles`,type:`array`,id:`param-image-with-roles`,children:[_jsx(_components.p,{children:`Image array with roles for explicit first/last-frame control`}),_jsxs(Expandable,{title:`Field Description`,children:[_jsx(ParamField,{body:`url`,type:`string`,required:true,id:`param-url`,children:_jsx(_components.p,{children:`Image URL`})}),_jsxs(ParamField,{body:`role`,type:`string`,required:true,id:`param-role`,children:[_jsx(_components.p,{children:`Image role`}),_jsx(_components.p,{children:`Options:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`first_frame`}),` - First frame image, used as the starting frame (only one supported)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`last_frame`}),` - Last frame image, used as the ending frame (only one supported)`]}),`\n`]})]})]}),_jsx(_components.p,{children:`Example:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},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/first.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"first_frame\"`}),_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},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/last.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"last_frame\"`}),_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(Warning,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`image_urls`}),` and `,_jsx(_components.code,{children:`image_with_roles`}),` cannot be used together`]}),`\n`,_jsx(_components.li,{children:`Only one first frame and one last frame are supported`}),`\n`,_jsxs(_components.li,{children:[`1.5 Pro does not support the `,_jsx(_components.code,{children:`reference_image`}),` role. Use Seedance 2.0 if you need reference image control`]}),`\n`]})})]}),`\n`,_jsxs(ParamField,{body:`metadata`,type:`object`,id:`param-metadata`,children:[_jsx(_components.p,{children:`Extended parameters`}),_jsxs(Expandable,{title:`Field Description`,children:[_jsxs(ParamField,{body:`resolution`,type:`string`,default:`720p`,id:`param-resolution`,children:[_jsx(_components.p,{children:`Video resolution`}),_jsx(_components.p,{children:`Options:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`480p`}),` - Standard definition`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`720p`}),` - High definition (default)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`1080p`}),` - Full HD`]}),`\n`]})]}),_jsxs(ParamField,{body:`seed`,type:`integer`,id:`param-seed`,children:[_jsx(_components.p,{children:`Seed integer for controlling generation randomness`}),_jsxs(_components.p,{children:[`Range: `,_jsx(_components.code,{children:`-1`}),` ~ `,_jsx(_components.code,{children:`2^32-1`})]}),_jsx(_components.p,{children:`The same seed can produce similar results, but exact output is not guaranteed`})]}),_jsxs(ParamField,{body:`audio`,type:`boolean`,default:false,id:`param-audio`,children:[_jsx(_components.p,{children:`Whether to generate audio`}),_jsxs(_components.p,{children:[`When set to `,_jsx(_components.code,{children:`true`}),`, the video will include AI-generated accompanying audio`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`1.5 Pro exclusive feature`})})]}),_jsxs(ParamField,{body:`camerafixed`,type:`boolean`,default:false,id:`param-camerafixed`,children:[_jsx(_components.p,{children:`Whether to keep the camera fixed`}),_jsxs(_components.p,{children:[`When set to `,_jsx(_components.code,{children:`true`}),`, the camera position remains fixed throughout the video`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`differences-from-1-0`,children:`Differences from 1.0`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Feature`}),_jsx(_components.th,{children:`1.0 fast/quality`}),_jsx(_components.th,{children:`1.5 Pro`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Default resolution`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1080p`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`720p`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Supported resolutions`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`480p/720p/1080p`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.strong,{children:`480p/720p/1080p`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Duration range`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2-12s`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.strong,{children:`4-12s`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Audio generation`}),_jsx(_components.td,{children:`Not supported`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Supported`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Image control mode`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`reference`}),` single reference image`]}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`first_frame`}),` / `,_jsx(_components.code,{children:`last_frame`}),` frame mode`]})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`asset-review`,children:`Asset review`}),`\n`,_jsx(_components.p,{children:`When a request includes images, some channels review them automatically before submitting generation. No extra parameter is needed; pass image URLs in the existing image fields.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`An accepted request returns a video task immediately. When review is required, the task stays `,_jsx(_components.code,{children:`queued`}),` and generation is submitted only after all media in the request pass. First-time review can take several minutes; reusing the same URL for the same user and channel reuses the review result.`]}),`\n`,_jsxs(_components.li,{children:[`Each media preparation round lasts up to 20 minutes by default. Rejection or preparation timeout ends the task as `,_jsx(_components.code,{children:`failed`}),`; see `,_jsx(_components.code,{children:`error.message`}),` for the reason. Failed review incurs no video generation fee.`]}),`\n`,_jsx(_components.li,{children:`Images must be public HTTP(S) URLs; Base64 and local paths are not accepted. Keep images within 20 MB (some channels allow up to 30 MB). The model’s existing format limits still apply.`}),`\n`,_jsxs(_components.li,{children:[`Channels that review media validate image URLs at submission: a URL with embedded credentials or longer than 2048 bytes returns HTTP 400 with `,_jsx(_components.code,{children:`error.code`}),` `,_jsx(_components.code,{children:`invalid_private_assets`}),`.`]}),`\n`,_jsx(_components.li,{children:`Media is identified by URL. Use a new URL after the file content changes.`}),`\n`,_jsxs(_components.li,{children:[`Legacy `,_jsx(_components.code,{children:`asset://`}),` references are retired and return HTTP 400.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Unique task identifier for status queries`})}),`\n`,_jsx(ResponseField,{name:`object`,type:`string`,id:`param-object`,children:_jsxs(_components.p,{children:[`Object type, always `,_jsx(_components.code,{children:`generation.task`})]})}),`\n`,_jsx(ResponseField,{name:`model`,type:`string`,id:`param-model-1`,children:_jsx(_components.p,{children:`Model name used`})}),`\n`,_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:[_jsx(_components.p,{children:`Task status`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`queued`}),` - Queued for processing`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`in_progress`}),` - Processing`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`completed`}),` - Successfully completed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`failed`}),` - Failed`]}),`\n`]})]}),`\n`,_jsx(ResponseField,{name:`progress`,type:`integer`,id:`param-progress`,children:_jsx(_components.p,{children:`Task progress percentage (0-100)`})}),`\n`,_jsx(ResponseField,{name:`created_at`,type:`integer`,id:`param-created-at`,children:_jsx(_components.p,{children:`Task creation timestamp (Unix timestamp)`})}),`\n`,_jsx(ResponseField,{name:`metadata`,type:`object`,id:`param-metadata-1`,children:_jsx(_components.p,{children:`Task metadata`})}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL (Text-to-Video with Audio)`,numberOfLines:`14`,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:`14`,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:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://toapis.com/v1/videos/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 \u003ctoken>'`}),_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-1-5-pro\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"Sunset at the beach, golden sunlight on the sea, waves gently hitting the sand\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration\": 5,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"aspect_ratio\": \"16:9\",`})}),`\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:` \"resolution\": \"720p\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"audio\": true`})}),`\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(CodeBlock,{filename:`cURL (First-Frame Image-to-Video)`,numberOfLines:`15`,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:`15`,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:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://toapis.com/v1/videos/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 \u003ctoken>'`}),_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-1-5-pro\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"A cat chasing a snake through the grass while the camera tracks the motion\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"image_with_roles\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"url\": \"https://example.com/first.png\", \"role\": \"first_frame\"}`})}),`\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:` \"metadata\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\": \"720p\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"audio\": true`})}),`\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(CodeBlock,{filename:`cURL (First + Last Frame Image-to-Video)`,numberOfLines:`18`,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:`18`,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:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://toapis.com/v1/videos/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 \u003ctoken>'`}),_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-1-5-pro\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"A girl spins beneath cherry blossoms and slowly comes to a stop at the end\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"image_with_roles\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"url\": \"https://example.com/first.png\", \"role\": \"first_frame\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"url\": \"https://example.com/last.png\", \"role\": \"last_frame\"}`})}),`\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\": 5,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"aspect_ratio\": \"9:16\",`})}),`\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:` \"resolution\": \"720p\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"audio\": true`})}),`\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(CodeBlock,{filename:`Python`,numberOfLines:`23`,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:`23`,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:`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://toapis.com/v1/videos/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:`{`})]}),`\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-ToAPIs-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:`#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:`{`})]}),`\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:`\"doubao-seedance-1-5-pro\"`}),_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:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Sunset at the beach, golden sunlight on the sea, waves gently hitting the sand\"`}),_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:` \"aspect_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:` \"metadata\"`}),_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:` \"audio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`})]}),`\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`,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:`task `}),_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:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Task ID: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`task[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'id'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\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:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Status: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`task[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'status'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`21`,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:`21`,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://toapis.com/v1/videos/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-ToAPIs-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:` 'doubao-seedance-1-5-pro'`}),_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:` prompt:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Sunset at the beach, golden sunlight on the sea, waves gently hitting the sand'`}),_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:` aspect_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:` metadata:`}),_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:` audio:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`})]}),`\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`,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:` task`}),_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`Task ID: \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`task`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:`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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`Status: \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`task`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`9`,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:`9`,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:`\"task_vid_xyz789ghi012\"`}),_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:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"generation.task\"`}),_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:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"doubao-seedance-1-5-pro\"`}),_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:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"queued\"`}),_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:` \"progress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_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:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1703884800`}),_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:` \"metadata\"`}),_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`]})})})})]})}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 SeeDance 1.5 Pro Video Generation","sidebarTitle":"doubao-seedance-1-5-pro","api":"POST https://toapis.com/v1/videos/generations","description":"Generate videos using ByteDance Doubao SeeDance 1.5 Pro model","href":"/docs/en/api-reference/videos/doubao-seedance-1-5/generation"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Authorizations","slug":"authorizations","depth":2,"children":[]},{"title":"Body","slug":"body","depth":2,"children":[]},{"title":"Resolution and Aspect Ratio Combinations","slug":"resolution-and-aspect-ratio-combinations","depth":2,"children":[]},{"title":"Differences from 1.0","slug":"differences-from-1-0","depth":2,"children":[]},{"title":"Asset review","slug":"asset-review","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL (Text-to-Video with Audio)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"14\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://toapis.com/v1/videos/generations\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer \u0026#x3C;token>'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"model\": \"doubao-seedance-1-5-pro\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"prompt\": \"Sunset at the beach, golden sunlight on the sea, waves gently hitting the sand\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"duration\": 5,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"aspect_ratio\": \"16:9\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"metadata\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"resolution\": \"720p\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"audio\": true\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"cURL (First-Frame Image-to-Video)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"15\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://toapis.com/v1/videos/generations\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer \u0026#x3C;token>'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"model\": \"doubao-seedance-1-5-pro\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"prompt\": \"A cat chasing a snake through the grass while the camera tracks the motion\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"image_with_roles\": [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> {\"url\": \"https://example.com/first.png\", \"role\": \"first_frame\"}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"metadata\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"resolution\": \"720p\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"audio\": true\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"cURL (First + Last Frame Image-to-Video)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"18\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://toapis.com/v1/videos/generations\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer \u0026#x3C;token>'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"model\": \"doubao-seedance-1-5-pro\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"prompt\": \"A girl spins beneath cherry blossoms and slowly comes to a stop at the end\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"image_with_roles\": [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> {\"url\": \"https://example.com/first.png\", \"role\": \"first_frame\"},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> {\"url\": \"https://example.com/last.png\", \"role\": \"last_frame\"}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"duration\": 5,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"aspect_ratio\": \"9:16\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"metadata\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"resolution\": \"720p\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"audio\": true\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"23\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">response \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests.post(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://toapis.com/v1/videos/generations\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> headers\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bearer your-ToAPIs-key\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"application/json\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> json\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"doubao-seedance-1-5-pro\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"prompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Sunset at the beach, golden sunlight on the sea, waves gently hitting the sand\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"duration\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">5\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"aspect_ratio\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"16:9\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"metadata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"resolution\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"720p\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"audio\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">True\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">task \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> response.json()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">print\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">f\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Task ID: \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">{\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">task[\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'id'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">]\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">print\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">f\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Status: \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">{\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">task[\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'status'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">]\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"JavaScript","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"21\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> response\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> fetch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'https://toapis.com/v1/videos/generations'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> method:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'POST'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> headers:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Bearer your-ToAPIs-key'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'application/json'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> body:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> JSON\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">stringify\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> model:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'doubao-seedance-1-5-pro'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> prompt:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Sunset at the beach, golden sunlight on the sea, waves gently hitting the sand'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> duration:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"> 5\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> aspect_ratio:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '16:9'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> metadata:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> resolution:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '720p'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> audio:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> true\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> })\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> task\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">log\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">`Task ID: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">${\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">task\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">id\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">`\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">log\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">`Status: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">${\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">task\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">status\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">`\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"task_vid_xyz789ghi012\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"object\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"generation.task\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"doubao-seedance-1-5-pro\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"queued\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"progress\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1703884800\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"metadata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Doubao SeeDance 1.5 Pro Video Generation","path":"/v1/videos/generations","servers":[{"url":"https://toapis.com"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{"Authorization":{"schema":[{"type":"string","description":"All endpoints require Bearer Token authentication Get your API Key from the API Key Management Page Add to request header:","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"model":[{"type":"string","description":"Video generation model name Available models: `doubao-seedance-1-5-pro` - 1.5 Pro version, supports audio generation and first/last frame control","required":true}],"prompt":[{"type":"string","description":"Video content description Describe scenes, actions, and style in detail for better generation results Example: `\"Sunset at the beach, golden sunlight on the sea, waves gently hitting the sand\"`","required":true}],"duration":[{"type":"integer","description":"Video duration (seconds) Supported range: `4` ~ `12` seconds Default: `5`"}],"aspect_ratio":[{"type":"string","description":"Video aspect ratio Options: `16:9` - Landscape `9:16` - Portrait `1:1` - Square `4:3` - Traditional ratio `3:4` - Vertical traditional ratio `21:9` - Ultra-wide Default: `16:9`"}],"image_urls":[{"type":"array","items":[{"type":"string"}],"description":"Compatibility image URL array for first/last-frame image-to-video generation Compatibility rules: 1 image: treated as `first_frame` 2 images: treated as `first_frame` and `last_frame` More than 2 images: only the first two are used We recommend using `image_with_roles` to explicitly specify first and last frames Example: `[\"https://example.com/first.png\", \"https://example.com/last.png\"]` `image_urls` and `image_with_roles` cannot be used together"}],"image_with_roles":[{"type":"array","items":[{"type":"object","properties":{"url":[{"type":"string","description":"Image URL","required":true}],"role":[{"type":"string","description":"Image role Options: `first_frame` - First frame image, used as the starting frame (only one supported) `last_frame` - Last frame image, used as the ending frame (only one supported)","required":true}]}}],"description":"Image array with roles for explicit first/last-frame control Example:"}],"metadata":[{"type":"object","properties":{"resolution":[{"type":"string","description":"Video resolution Options: `480p` - Standard definition `720p` - High definition (default) `1080p` - Full HD"}],"seed":[{"type":"integer","description":"Seed integer for controlling generation randomness Range: `-1` ~ `2^32-1` The same seed can produce similar results, but exact output is not guaranteed"}],"audio":[{"type":"boolean","description":"Whether to generate audio When set to `true` , the video will include AI-generated accompanying audio 1.5 Pro exclusive feature"}],"camerafixed":[{"type":"boolean","description":"Whether to keep the camera fixed When set to `true` , the camera position remains fixed throughout the video"}]},"description":"Extended parameters"}]}}],"examples":{"example":{"value":{"model":"\u003cstring>","prompt":"\u003cstring>","duration":123,"aspect_ratio":"\u003cstring>","image_urls":["\u003cstring>"],"image_with_roles":[{"url":"\u003cstring>","role":"\u003cstring>"}],"metadata":{"resolution":"\u003cstring>","seed":123,"audio":true,"camerafixed":true}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"id":[{"type":"string","description":"Unique task identifier for status queries"}],"object":[{"type":"string","description":"Object type, always `generation.task`"}],"model":[{"type":"string","description":"Model name used"}],"status":[{"type":"string","description":"Task status `queued` - Queued for processing `in_progress` - Processing `completed` - Successfully completed `failed` - Failed"}],"progress":[{"type":"integer","description":"Task progress percentage (0-100)"}],"created_at":[{"type":"integer","description":"Task creation timestamp (Unix timestamp)"}],"metadata":[{"type":"object","properties":{},"description":"Task metadata"}]}}],"examples":{"example":{"value":{"id":"\u003cstring>","object":"\u003cstring>","model":"\u003cstring>","status":"\u003cstring>","progress":123,"created_at":123,"metadata":{}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"dashlyai","siteName":"ToAPIs Documentation","title":"Doubao SeeDance 1.5 Pro Video Generation - ToAPIs Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"cn":{"href":"/docs/cn/api-reference/videos/doubao-seedance-1-5/generation","matchLevel":1},"zh-Hant":{"href":"/docs/zh-Hant/api-reference/videos/doubao-seedance-1-5/generation","matchLevel":1},"en":{"href":"/docs/en/api-reference/videos/doubao-seedance-1-5/generation","matchLevel":0},"ja":{"href":"/docs/ja/api-reference/videos/doubao-seedance-1-5/generation","matchLevel":1},"ko":{"href":"/docs/ko/api-reference/videos/doubao-seedance-1-5/generation","matchLevel":1},"ru":{"href":"/docs/ru/api-reference/videos/doubao-seedance-1-5/generation","matchLevel":1}}},"lastModified":"2026-10-24T12:13:33.951Z","originalFileLocation":"docs/en/api-reference/videos/doubao-seedance-1-5/generation.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=\"Generate videos using ByteDance Doubao SeeDance 1.5 Pro model\">\u003cmeta data-mint-head name=\"application-name\" content=\"ToAPIs Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dashlyai/hXpIH8Ru6pZfB7RW/_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/dashlyai/hXpIH8Ru6pZfB7RW/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dashlyai/hXpIH8Ru6pZfB7RW/_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/dashlyai/hXpIH8Ru6pZfB7RW/_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/dashlyai/hXpIH8Ru6pZfB7RW/_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/dashlyai/hXpIH8Ru6pZfB7RW/_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/dashlyai/hXpIH8Ru6pZfB7RW/_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/dashlyai/hXpIH8Ru6pZfB7RW/_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/dashlyai/hXpIH8Ru6pZfB7RW/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Doubao SeeDance 1.5 Pro Video Generation - ToAPIs Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate videos using ByteDance Doubao SeeDance 1.5 Pro model\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ToAPIs Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.toapis.com/docs/en/api-reference/videos/doubao-seedance-1-5/generation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dashlyai.mintlify.app/_mintlify/api/og/v2?division=doubao-seedance-1-5-pro\u0026amp;title=Doubao+SeeDance+1.5+Pro+Video+Generation\u0026amp;description=Generate+videos+using+ByteDance+Doubao+SeeDance+1.5+Pro+model\u0026amp;theme=05a42d799ed79e408e323a53\u0026amp;signature=c94bec2b0b4bf01432b971e12634a872424d98883ae15baaa9096ff603e884bd\">\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 SeeDance 1.5 Pro Video Generation - ToAPIs Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate videos using ByteDance Doubao SeeDance 1.5 Pro model\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dashlyai.mintlify.app/_mintlify/api/og/v2?division=doubao-seedance-1-5-pro\u0026amp;title=Doubao+SeeDance+1.5+Pro+Video+Generation\u0026amp;description=Generate+videos+using+ByteDance+Doubao+SeeDance+1.5+Pro+model\u0026amp;theme=05a42d799ed79e408e323a53\u0026amp;signature=c94bec2b0b4bf01432b971e12634a872424d98883ae15baaa9096ff603e884bd\">\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/dashlyai/hXpIH8Ru6pZfB7RW/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ToAPIs Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563EB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.toapis.com/docs/en/api-reference/videos/doubao-seedance-1-5/generation\">\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/videos/doubao-seedance-1-5/generation.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.toapis.com/docs/en/api-reference/videos/doubao-seedance-1-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.toapis.com/docs/cn/api-reference/videos/doubao-seedance-1-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hant\" href=\"https://docs.toapis.com/docs/zh-Hant/api-reference/videos/doubao-seedance-1-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.toapis.com/docs/ja/api-reference/videos/doubao-seedance-1-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.toapis.com/docs/ko/api-reference/videos/doubao-seedance-1-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.toapis.com/docs/ru/api-reference/videos/doubao-seedance-1-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.toapis.com/docs/cn/api-reference/videos/doubao-seedance-1-5/generation\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.toapis.com/#organization\",\"name\":\"ToAPIs Documentation\",\"url\":\"https://docs.toapis.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dashlyai/a_NCjmRocEr6wT0r/logo/light.svg?fit=max\u0026auto=format\u0026n=a_NCjmRocEr6wT0r\u0026q=85\u0026s=3d58ff2776a33f0fb61c09a496c32cde\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.toapis.com#website\",\"name\":\"ToAPIs Documentation\",\"url\":\"https://docs.toapis.com\",\"publisher\":{\"@id\":\"https://docs.toapis.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.toapis.com/docs/en/api-reference/videos/doubao-seedance-1-5/generation#webpage\",\"url\":\"https://docs.toapis.com/docs/en/api-reference/videos/doubao-seedance-1-5/generation\",\"name\":\"Doubao SeeDance 1.5 Pro Video Generation\",\"description\":\"Generate videos using ByteDance Doubao SeeDance 1.5 Pro model\",\"dateModified\":\"2026-10-24T12:13:33.951Z\",\"isPartOf\":{\"@id\":\"https://docs.toapis.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.toapis.com/docs/en/api-reference/videos/doubao-seedance-1-5/generation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.toapis.com/docs/en/api-reference/videos/doubao-seedance-1-5/generation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Video API\",\"item\":\"https://docs.toapis.com/docs/en/api-reference/videos/doubao-seedance/generation\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Doubao SeeDance 1.5 Pro Video Generation\",\"item\":\"https://docs.toapis.com/docs/en/api-reference/videos/doubao-seedance-1-5/generation\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.toapis.com/docs/en/api-reference/videos/doubao-seedance-1-5/generation#apireference\",\"headline\":\"Doubao SeeDance 1.5 Pro Video Generation\",\"name\":\"Doubao SeeDance 1.5 Pro Video Generation\",\"description\":\"Generate videos using ByteDance Doubao SeeDance 1.5 Pro model\",\"url\":\"https://docs.toapis.com/docs/en/api-reference/videos/doubao-seedance-1-5/generation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.toapis.com/docs/en/api-reference/videos/doubao-seedance-1-5/generation#webpage\"},\"dateModified\":\"2026-10-24T12:13:33.951Z\",\"publisher\":{\"@id\":\"https://docs.toapis.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.toapis.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ToAPIs Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"ToAPIs Documentation","nav":{"global":null,"languages":[{"language":"cn","pages":[{"title":"cn","href":"/docs/cn/api-reference/videos/doubao-seedance-1-5/generation"}]},{"language":"zh-Hant","pages":[{"title":"zh-Hant","href":"/docs/zh-Hant/api-reference/videos/doubao-seedance-1-5/generation"}]},{"language":"en","tabs":[{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Manual","sidebarTitle":"API Manual","href":"/docs/en"}]},{"group":"Quick Start","pages":[{"title":"Quick Start","sidebarTitle":"Guides","href":"/docs/en/quickstart"},{"title":"Claude Code Setup Guide","sidebarTitle":"Claude Code","href":"/docs/en/integrations/claude-code"},{"title":"Codex Setup Guide","sidebarTitle":"Codex","href":"/docs/en/integrations/codex"},{"title":"Using ToAPIs with OpenClaw","sidebarTitle":"OpenClaw","href":"/docs/en/integrations/openclaw"},{"title":"Cherry Studio Setup Guide","sidebarTitle":"Cherry Studio","href":"/docs/en/integrations/cherry-studio"},{"title":"Integrations","sidebarTitle":"Integrations","href":"/docs/en/integrations/chatbox"}]},{"group":"Model Catalog","pages":[{"title":"Public Model Catalog","sidebarTitle":"Model Catalog","href":"/docs/en/api-reference/models"}]},{"group":"Chat API","pages":[{"title":"Supported Text Models","sidebarTitle":"Model List","href":"/docs/en/api-reference/chat/models"},{"title":"List Models","sidebarTitle":"List Models","api":"GET https://toapis.com/v1/models","href":"/docs/en/api-reference/chat/list-models"},{"group":"GPT-5 Series","pages":[{"title":"GPT-5.4 Chat","sidebarTitle":"gpt-5.4","api":"POST https://toapis.com/v1/chat/completions","href":"/docs/en/api-reference/chat/gpt-5.4/chat"},{"title":"GPT-5.5 Chat","sidebarTitle":"gpt-5.5","api":"POST https://toapis.com/v1/chat/completions","href":"/docs/en/api-reference/chat/gpt-5.5/chat"},{"title":"GPT-5.6 Family Chat","sidebarTitle":"gpt-5.6 family","api":"POST https://toapis.com/v1/chat/completions","href":"/docs/en/api-reference/chat/gpt-5.6/chat"}]},{"group":"OpenAI Format","pages":[{"title":"Chat Completions","sidebarTitle":"Chat Completions API","api":"POST https://toapis.com/v1/chat/completions","href":"/docs/en/api-reference/chat/chat"}]},{"group":"Anthropic Format","pages":[{"title":"Anthropic Messages API","sidebarTitle":"POST /v1/messages","api":"POST https://toapis.com/v1/messages","href":"/docs/en/api-reference/chat/messages"}]},{"group":"Responses Format","pages":[{"title":"Responses API","sidebarTitle":"Responses API","api":"POST https://toapis.com/v1/responses","href":"/docs/en/api-reference/chat/responses"}]}]},{"group":"Image API","pages":[{"group":"Gemini-3-Pro-Image-preview (Nano banana2)","pages":[{"title":"Gemini-3-Pro Image Generation","sidebarTitle":"Gemini-3-Pro-Image","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/gemini-3-pro-image/generation"}]},{"group":"Gemini-3-Pro-Image VIP","pages":[{"title":"Gemini 3 Pro Image VIP Image Generation","sidebarTitle":"VIP","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/gemini-3-pro-image-vip/generation"}]},{"group":"Gemini Nano Banana 2.1","pages":[{"title":"Gemini Nano Banana 2.1 Image Generation","sidebarTitle":"Image Generation","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/gemini-nano-banana-2.1/generation"},{"title":"Gemini Nano Banana 2.1 Official Image Generation","sidebarTitle":"Official","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/gemini-nano-banana-2.1-official/generation"}]},{"group":"Gemini-3.1-Flash-Image-preview (Nano banana2)","pages":[{"title":"Gemini-3.1-Flash Image Generation","sidebarTitle":"Gemini-3.1-Flash-Image","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/gemini-3.1-flash/generation"}]},{"group":"Gemini-3.1-Flash-Image VIP","pages":[{"title":"Gemini 3.1 Flash Image VIP Image Generation","sidebarTitle":"VIP","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/gemini-3.1-flash-vip/generation"}]},{"group":"Gemini-2.5-Flash-Image-preview (Nano banana)","pages":[{"title":"Gemini-2.5-Flash Image Generation","sidebarTitle":"Gemini-2.5-Flash-Image","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/gemini-2.5-flash/generation"}]},{"group":"Gemini-3-Pro-Image Official / Nano Banana Pro","pages":[{"title":"Gemini 3 Pro Image Official Image Generation","sidebarTitle":"Official","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/gemini-3-pro-image-official/generation"}]},{"group":"gemini-3.1-flash-image-official","pages":[{"title":"Gemini-3.1-Flash Official Image Generation","sidebarTitle":"Gemini-3.1-Flash-Image Official","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/gemini-3.1-flash-official/generation"}]},{"group":"Gemini-2.5-Flash-Image Official","pages":[{"title":"Gemini-2.5-Flash Official Image Generation","sidebarTitle":"Gemini-2.5-Flash-Image Official","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/gemini-2.5-flash-official/generation"}]},{"group":"GPT-4o-image","pages":[{"title":"GPT-4o Image Generation","sidebarTitle":"GPT-4o-image","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/gpt-4o/generation"}]},{"group":"GPT-Image-2","pages":[{"title":"GPT-Image-2 Image Generation","sidebarTitle":"gpt-image-2","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/gpt-image-2/generation"},{"title":"GPT-Image-2 Official Channel Image Generation","sidebarTitle":"gpt-image-2-official","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/gpt-image-2/official"}]},{"group":"GPT-Image-2.5","pages":[{"title":"GPT-Image-2.5 Image Generation","sidebarTitle":"GPT-Image-2.5","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/gpt-image-2.5/generation"},{"title":"GPT-Image-2.5 VIP Image Generation and Editing","sidebarTitle":"GPT-Image-2.5 VIP","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/gpt-image-2.5-vip/generation"},{"title":"GPT-Image-2.5 Official Image Generation","sidebarTitle":"GPT-Image-2.5 Official","api":"POST https://api.toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/gpt-image-2.5-official/generation"}]},{"group":"GPT-Image-2-VIP","pages":[{"title":"GPT-Image-2-VIP Image Generation","sidebarTitle":"gpt-image-2-vip","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/gpt-image-2-vip/generation"}]},{"group":"Qwen Image 3.0","pages":[{"title":"Qwen Image 3.0 Image Generation","sidebarTitle":"Qwen Image 3.0 / Pro","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/qwen-image-3.0/generation"}]},{"group":"Flux Kontext","pages":[{"title":"Flux Kontext Image Generation","sidebarTitle":"Flux Kontext","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/flux-kontext/generation"}]},{"group":"Flux 2.0","pages":[{"title":"Flux 2.0 Image Generation","sidebarTitle":"Flux 2.0","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/flux-2/generation"}]},{"group":"Seedream-4.0","pages":[{"title":"Seedream-4.0 Image Generation","sidebarTitle":"Seedream-4.0","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/seedream-4.0/generation"}]},{"group":"Seedream-4.5","pages":[{"title":"Seedream-4.5 Image Generation","sidebarTitle":"Seedream-4.5","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/seedream-4.5/generation"}]},{"group":"Seedream-5.0","pages":[{"title":"Seedream-5.0 Image Generation","sidebarTitle":"Seedream-5.0","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/seedream-5.0/generation"}]},{"group":"Seedream-5.0-Pro","pages":[{"title":"Seedream-5.0-Pro Image Generation","sidebarTitle":"Seedream-5.0-Pro","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/seedream-5.0-pro/generation"}]},{"group":"Grok Image","pages":[{"title":"Grok Image Generation","sidebarTitle":"Grok Image","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/grok-image/generation"}]},{"group":"Vidu Image","pages":[{"title":"Vidu Image Generation","sidebarTitle":"Vidu Image","api":"POST https://toapis.com/v1/images/generations","href":"/docs/en/api-reference/images/vidu-image/generation"}]},{"group":"Midjourney","pages":[{"title":"Midjourney API","sidebarTitle":"Overview","api":"POST https://toapis.com/v1/midjourney/generations","href":"/docs/en/api-reference/images/midjourney/generation"},{"title":"Midjourney Imagine","api":"POST https://toapis.com/v1/midjourney/generations/imagine","href":"/docs/en/api-reference/images/midjourney/imagine"},{"title":"Midjourney Blend","api":"POST https://toapis.com/v1/midjourney/generations/blend","href":"/docs/en/api-reference/images/midjourney/blend"},{"title":"Midjourney Describe","api":"POST https://toapis.com/v1/midjourney/generations/describe","href":"/docs/en/api-reference/images/midjourney/describe"},{"title":"Midjourney Edits","api":"POST https://toapis.com/v1/midjourney/generations/edits","href":"/docs/en/api-reference/images/midjourney/edits"},{"title":"Midjourney Upscale","api":"POST https://toapis.com/v1/midjourney/generations/upscale","href":"/docs/en/api-reference/images/midjourney/upscale"},{"title":"Midjourney Variation","api":"POST https://toapis.com/v1/midjourney/generations/variation","href":"/docs/en/api-reference/images/midjourney/variation"},{"title":"Midjourney High Variation","api":"POST https://toapis.com/v1/midjourney/generations/high-variation","href":"/docs/en/api-reference/images/midjourney/high-variation"},{"title":"Midjourney Low Variation","api":"POST https://toapis.com/v1/midjourney/generations/low-variation","href":"/docs/en/api-reference/images/midjourney/low-variation"},{"title":"Midjourney Reroll","api":"POST https://toapis.com/v1/midjourney/generations/reroll","href":"/docs/en/api-reference/images/midjourney/reroll"},{"title":"Midjourney Zoom","api":"POST https://toapis.com/v1/midjourney/generations/zoom","href":"/docs/en/api-reference/images/midjourney/zoom"},{"title":"Midjourney Pan","api":"POST https://toapis.com/v1/midjourney/generations/pan","href":"/docs/en/api-reference/images/midjourney/pan"},{"title":"Midjourney Inpaint","api":"POST https://toapis.com/v1/midjourney/generations/inpaint","href":"/docs/en/api-reference/images/midjourney/inpaint"},{"title":"Midjourney Modal","api":"POST https://toapis.com/v1/midjourney/generations/modal","href":"/docs/en/api-reference/images/midjourney/modal"},{"title":"Midjourney Video","api":"POST https://toapis.com/v1/midjourney/generations/video","href":"/docs/en/api-reference/images/midjourney/video"},{"title":"Midjourney Remix","api":"POST https://toapis.com/v1/midjourney/generations/remix-strong","href":"/docs/en/api-reference/images/midjourney/remix"},{"title":"Query a Midjourney Task","sidebarTitle":"Query Tasks","api":"GET https://toapis.com/v1/midjourney/{task_id}","href":"/docs/en/api-reference/images/midjourney/query"},{"title":"Midjourney Best Practices","sidebarTitle":"Best Practices","href":"/docs/en/api-reference/images/midjourney/best-practices"},{"title":"Midjourney Workflow","sidebarTitle":"Workflow","href":"/docs/en/api-reference/images/midjourney/workflow"}]}]},{"group":"Video API","pages":[{"group":"doubao-seedance-1-0-pro","pages":[{"title":"Doubao SeeDance Video Generation","sidebarTitle":"doubao-seedance","api":"POST https://toapis.com/v1/videos/generations","description":"Generate videos using ByteDance Doubao SeeDance model","href":"/docs/en/api-reference/videos/doubao-seedance/generation"}]},{"group":"doubao-seedance-1-5-pro","pages":[{"title":"Doubao SeeDance 1.5 Pro Video Generation","sidebarTitle":"doubao-seedance-1-5-pro","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/doubao-seedance-1-5/generation"}]},{"group":"Seedance Price Lookup","pages":[{"title":"Volcano Ark Video Generation Model Price Lookup","sidebarTitle":"Seedance Price Lookup","description":"Seedance model prices and minimum token limits","href":"/docs/en/api-reference/videos/seedance/pricing"}]},{"group":"seedance-2","pages":[{"title":"seedance-2 Video Generation","sidebarTitle":"seedance-2","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/seedance-2/generation"}]},{"group":"seedance-2-5","pages":[{"title":"Seedance 2.5 Video Generation","sidebarTitle":"Seedance 2.5","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/seedance-2-5/generation"},{"title":"Seedance 2.5 Draft Mode","sidebarTitle":"Draft Mode","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/seedance-2-5/draft"}]},{"group":"seedance-ext","pages":[{"title":"seedance-2.5-ext Video Generation","sidebarTitle":"seedance-2.5-ext","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/seedance-2-5-ext/generation"},{"title":"seedance-2-ext Video Generation","sidebarTitle":"seedance-2-ext","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/seedance-2-ext/generation"},{"title":"seedance-2-fast-ext Video Generation","sidebarTitle":"seedance-2-fast-ext","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/seedance-2-fast-ext/generation"}]},{"group":"HappyHorse","pages":[{"title":"HappyHorse 1.1 Video Generation","sidebarTitle":"happyhorse-1.1","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/happyhorse/generation"}]},{"group":"Sora2","pages":[{"title":"Sora2 VVIP Video Generation","sidebarTitle":"Sora2 VVIP","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/sora2/generation"},{"title":"Sora2 Create Character","sidebarTitle":"Create Character","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/sora2/create-persona"},{"title":"Sora2 Query Character Status","sidebarTitle":"Query Character Status","api":"GET https://toapis.com/v1/characters_tasks/{task_id}","href":"/docs/en/api-reference/videos/sora2/get-personas"},{"title":"Sora2 Video Remix","sidebarTitle":"Video Remix","api":"POST https://toapis.com/v1/videos/{video_id}/remix","href":"/docs/en/api-reference/videos/sora2/remix"}]},{"group":"Sora 2 Official (Azure)","pages":[{"title":"Azure Sora 2 Video Generation","sidebarTitle":"Sora 2 Official","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/sora-2-official/generation"},{"title":"Azure Sora 2 Remix","sidebarTitle":"Remix","api":"POST https://toapis.com/v1/videos/{video_id}/remix","href":"/docs/en/api-reference/videos/sora-2-official/remix"}]},{"group":"Veo3","pages":[{"title":"Veo3 Video Generation","sidebarTitle":"Veo3","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/veo3/generation"}]},{"group":"Gemini Omni Flash","pages":[{"title":"Gemini Omni Flash Video Generation","sidebarTitle":"Gemini Omni Flash","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/gemini-omni-flash/generation"},{"title":"Gemini Omni 1.1 Standard","sidebarTitle":"Omni 1.1 Standard","api":"POST https://toapis.com/v1/videos","href":"/docs/en/api-reference/videos/gemini-omni-flash/generation-1-1"},{"title":"Gemini Omni 1.1 VIP","sidebarTitle":"Omni 1.1 VIP","api":"POST https://toapis.com/v1/videos","href":"/docs/en/api-reference/videos/gemini-omni-flash/generation-1-1-vip"}]},{"group":"Gemini Omni Official","pages":[{"title":"Gemini Omni Flash Video Generation","sidebarTitle":"Gemini Omni Flash Preview Official","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/gemini-omni-flash-preview-official/generation"},{"title":"Gemini Omni 1.1 Video Generation and Editing","sidebarTitle":"Gemini Omni 1.1 Flash Preview Official","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/gemini-omni-1.1-flash-preview-official/generation"}]},{"group":"Veo3 Official (including Veo3.1 Lite)","pages":[{"title":"Veo3 Official Video Generation","sidebarTitle":"Veo3 Official","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/veo3-official/generation"}]},{"group":"MiniMax-Hailuo-02","pages":[{"title":"MiniMax-Hailuo-02 Video Generation","sidebarTitle":"MiniMax-Hailuo-02","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/minimax-hailuo/generation"}]},{"group":"Wan 3.0","pages":[{"title":"Wan 3.0 All-in-One Video Generation","sidebarTitle":"Wan 3.0","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/wan3.0/generation"}]},{"group":"Wan2.6","pages":[{"title":"Wan2.6 Video Generation","sidebarTitle":"Wan2.6","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/wan2.6/generation"},{"title":"Wan2.6 Flash Video Generation","sidebarTitle":"Wan2.6 Flash","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/wan2.6-flash/generation"}]},{"group":"Kling v2.6","pages":[{"title":"Kling v2.6 Video Generation","sidebarTitle":"Kling v2.6","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/kling-2-6/generation"}]},{"group":"Kling v3","pages":[{"title":"Kling v3 Video Generation","sidebarTitle":"Kling v3","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/kling-v3/generation"}]},{"group":"kling-3.0-turbo","pages":[{"title":"kling-3.0-turbo Video Generation","sidebarTitle":"kling-3.0-turbo","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/kling-3.0-turbo/generation"}]},{"group":"Kling v3 Omni","pages":[{"title":"Kling v3 Omni Video Generation","sidebarTitle":"Kling v3 Omni","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/kling-v3-omni/generation"}]},{"group":"Kling v4","pages":[{"title":"Kling v4 Video Generation","sidebarTitle":"Kling v4","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/kling-4.0/generation"}]},{"group":"Kling Video O1","pages":[{"title":"Kling Video O1 Video Generation","sidebarTitle":"Kling Video O1","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/kling-video-o1/generation"}]},{"group":"MiniMax-Hailuo-2.3","pages":[{"title":"MiniMax-Hailuo-2.3 Video Generation","sidebarTitle":"MiniMax-Hailuo-2.3","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/minimax-hailuo-2.3/generation"}]},{"group":"MiniMax-H3","pages":[{"title":"MiniMax Hailuo H3 Video Generation","sidebarTitle":"MiniMax-H3","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/minimax-h3/generation"}]},{"group":"Vidu Q3","pages":[{"title":"Vidu Q3 Video Generation","sidebarTitle":"Vidu Q3","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/viduq3/generation"},{"title":"Vidu Q3 Video Generation","sidebarTitle":"Vidu Q3 (Multi-Model)","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/vidu-ali/generation"}]},{"group":"Vidu Q4 Preview","pages":[{"title":"Vidu Q4 Preview Video Generation","sidebarTitle":"Vidu Q4 Preview","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/viduq4-preview/generation"}]},{"group":"Grok Video","pages":[{"title":"Grok Video 1.5 Generation","sidebarTitle":"Grok Video 1.5","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/grok-video-1.5/generation"},{"title":"Grok Video Generation","sidebarTitle":"Grok Video","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/grok-video/generation"},{"title":"Grok Video Remix","sidebarTitle":"Video Remix","api":"POST https://toapis.com/v1/videos/{video_id}/remix","href":"/docs/en/api-reference/videos/grok-video/remix"},{"title":"Grok Video Extend","sidebarTitle":"Video Extend","api":"POST https://toapis.com/v1/videos/{video_id}/extend","href":"/docs/en/api-reference/videos/grok-video/extend"}]},{"group":"Grok Imagine Video (Official)","pages":[{"title":"Grok Imagine Video Generation (Official)","sidebarTitle":"Grok Imagine Video","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/grok-imagine-video-official/generation"},{"title":"Grok Imagine Video Extend (Official)","sidebarTitle":"Video Extend","api":"POST https://toapis.com/v1/videos/{video_id}/extend","href":"/docs/en/api-reference/videos/grok-imagine-video-official/extend"},{"title":"Grok Imagine Video 1.5 Generation (Official)","sidebarTitle":"Grok Imagine Video 1.5","api":"POST https://toapis.com/v1/videos/generations","href":"/docs/en/api-reference/videos/grok-imagine-video-1.5-official/generation"}]}]},{"group":"Music API","pages":[{"group":"Suno Music","pages":[{"title":"Suno Music","sidebarTitle":"Overview \u0026 Pricing","href":"/docs/en/api-reference/audios/suno/overview"},{"title":"Music Generation","sidebarTitle":"Generation","api":"POST https://toapis.com/v1/music/generations/generation","href":"/docs/en/api-reference/audios/suno/generation"},{"title":"Extend \u0026 Upload","sidebarTitle":"Extend \u0026 Upload","api":"POST https://toapis.com/v1/music/generations/extend","href":"/docs/en/api-reference/audios/suno/upload-extend"},{"title":"Edit \u0026 Transform","sidebarTitle":"Edit \u0026 Transform","api":"POST https://toapis.com/v1/music/generations/crop","href":"/docs/en/api-reference/audios/suno/edit"},{"title":"Stems \u0026 Add Tracks","sidebarTitle":"Stems \u0026 Tracks","api":"POST https://toapis.com/v1/music/generations/stems","href":"/docs/en/api-reference/audios/suno/stems"},{"title":"Lyrics / Inspo / Sounds / Tags","sidebarTitle":"Auxiliary Generation","api":"POST https://toapis.com/v1/music/generations/lyrics","href":"/docs/en/api-reference/audios/suno/create-extras"},{"title":"Analysis \u0026 Export","sidebarTitle":"Analysis \u0026 Export","api":"POST https://toapis.com/v1/music/generations/midi","href":"/docs/en/api-reference/audios/suno/analysis"},{"title":"Asset Operations","sidebarTitle":"Assets","api":"POST https://toapis.com/v1/music/generations/persona","href":"/docs/en/api-reference/audios/suno/assets"}]}]},{"group":"Task Management","pages":[{"title":"Get Image Task Status","sidebarTitle":"Get Image Task Status","api":"GET https://toapis.com/v1/images/generations/{task_id}","href":"/docs/en/api-reference/tasks/image-status"},{"title":"Get Video Task Status","sidebarTitle":"Get Video Task Status","api":"GET https://toapis.com/v1/videos/generations/{task_id}","href":"/docs/en/api-reference/tasks/video-status"},{"title":"Task Webhooks","href":"/docs/en/api-reference/webhooks/task-webhooks"},{"title":"Async task rate limits","href":"/docs/en/api-reference/rate-limits/async-tasks"},{"group":"Get Music Task Status","pages":[{"title":"Get Music Task Status","sidebarTitle":"Get Music Task Status","api":"GET https://toapis.com/v1/music/tasks/{task_id}","href":"/docs/en/api-reference/tasks/music-status"}]}]},{"group":"File Uploads","pages":[{"title":"Upload Image","sidebarTitle":"Upload Image","api":"POST https://toapis.com/v1/uploads/images","href":"/docs/en/api-reference/uploads/images"},{"title":"Upload Video","sidebarTitle":"Upload Video","api":"POST https://toapis.com/v1/uploads/videos","href":"/docs/en/api-reference/uploads/videos"},{"title":"Upload Audio","sidebarTitle":"Upload Audio","api":"POST https://toapis.com/v1/uploads/audios","href":"/docs/en/api-reference/uploads/audios"}]},{"group":"Account","pages":[{"title":"Query Token Balance","sidebarTitle":"Query Token Balance","api":"GET https://toapis.com/v1/balance","href":"/docs/en/api-reference/account/token-balance"},{"title":"Query Token Usage","sidebarTitle":"Query Token Usage","api":"GET https://toapis.com/api/usage/tokens/requests","href":"/docs/en/api-reference/account/token-usage"},{"title":"Query User Balance","sidebarTitle":"Query User Balance","api":"GET https://toapis.com/v1/user/balance","href":"/docs/en/api-reference/account/user-balance"},{"title":"Pricing and Actual Charges","sidebarTitle":"Pricing and Actual Charges","api":"GET https://toapis.com/v1/pricing","href":"/docs/en/api-reference/account/pricing"},{"title":"Create API Token","sidebarTitle":"Create Token","api":"POST https://toapis.com/v1/tokens","href":"/docs/en/api-reference/account/create-token"}]},{"group":"FAQs","pages":[{"title":"FAQs","sidebarTitle":"FAQs","href":"/docs/en/faqs"},{"title":"Error reference","href":"/docs/en/api-reference/errors"}]}]}]},{"language":"ja","pages":[{"title":"ja","href":"/docs/ja/api-reference/videos/doubao-seedance-1-5/generation"}]},{"language":"ko","pages":[{"title":"ko","href":"/docs/ko/api-reference/videos/doubao-seedance-1-5/generation"}]},{"language":"ru","pages":[{"title":"ru","href":"/docs/ru/api-reference/videos/doubao-seedance-1-5/generation"}]}]},"basePath":"","title":"Doubao SeeDance 1.5 Pro Video Generation - ToAPIs Documentation","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js"]}