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.
Asynchronous processing mode, returns a task ID for subsequent status queries
Direct connection to Google Vertex AI, supporting all native Veo parameters
Supports text-to-video, image-to-video, and keyframe interpolation generation modes
Generated video links are valid for 24 hours, please save them promptly
Important Change: For better performance and cost control, we no longer support passing base64 image data directly in image_urls. Please use the Upload Image endpoint to upload images first, then use the returned URL in this API.
First frame reference image for image-to-video generation. The video will begin from this image. Only the first URL in the array is used.⚠️ Only URL format is supported (base64 is no longer supported)
Publicly accessible image URLs (http:// or https://)
image_urls and metadata.referenceImagescannot be used together. If both are provided, image_urls (first frame) takes priority and referenceImages will be ignored.
Last frame image URL for keyframe interpolation video generationMust be used together with image_urls (first frame) to generate a transition video from the first frame to the last frame. Has no effect without image_urls.
Style/asset reference image URL array. The video will incorporate the visual style and elements from these images (they are NOT used as the starting frame).Limit: maximum 3 images⚠️ Cannot be used together with image_urls — these are mutually exclusive in the Veo API. Use image_urls if you need first-frame control.
{"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.4043","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"docs/en/api-reference/videos/veo3-official/generation","slug":"/docs/en/api-reference/videos/veo3-official/generation","pageMetadata":{"title":"Veo3 Official Video Generation","sidebarTitle":"Veo3 Official","api":"POST https://toapis.com/v1/videos/generations","description":"Generate high-quality videos using Google Veo3 official direct-connect models, with advanced features like audio generation and keyframe control","href":"/docs/en/api-reference/videos/veo3-official/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 high-quality videos using Google Veo3 official direct-connect models, with advanced features like audio generation and keyframe control\"\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`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,ResponseField,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(!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:`Asynchronous processing mode, returns a task ID for subsequent status queries`}),`\n`,_jsx(_components.li,{children:`Direct connection to Google Vertex AI, supporting all native Veo parameters`}),`\n`,_jsx(_components.li,{children:`Supports text-to-video, image-to-video, and keyframe interpolation generation modes`}),`\n`,_jsx(_components.li,{children:`Generated video links are valid for 24 hours, please save them promptly`}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Important Change`}),`: For better performance and cost control, we no longer support passing base64 image data directly in `,_jsx(_components.code,{children:`image_urls`}),`. Please use the `,_jsx(_components.a,{href:`/docs/en/api-reference/uploads/images`,children:`Upload Image endpoint`}),` to upload images first, then use the returned URL in this API.`]})}),`\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 API Key: Visit the `,_jsx(_components.a,{href:`https://toapis.com/console/token`,children:`API Key Management page`}),` to obtain your API Key`]}),_jsx(_components.p,{children:`Add to request headers:`}),_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:`Veo3.1-quality-official`,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:`Veo3.1-quality-official`}),` - High-quality generation model, ideal for final production`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Veo3.1-fast-official`}),` - Fast generation model, ideal for quick previews and iteration`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Veo3.1-lite-official`}),` - Lite 720p\nExample: `,_jsx(_components.code,{children:`\"Veo3.1-quality-official\"`})]}),`\n`]})]}),`\n`,_jsx(ParamField,{body:`prompt`,type:`string`,required:true,id:`param-prompt`,children:_jsx(_components.p,{children:`Text description for video generation`})}),`\n`,_jsxs(ParamField,{body:`duration`,type:`integer`,id:`param-duration`,children:[_jsx(_components.p,{children:`Video duration in seconds`}),_jsx(_components.p,{children:`Supported values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`4`}),` - 4 seconds`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`6`}),` - 6 seconds`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`8`}),` - 8 seconds (default)`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`size`,type:`string`,id:`param-size`,children:[_jsx(_components.p,{children:`Video aspect ratio`}),_jsx(_components.p,{children:`Supported formats:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`16:9`}),` (landscape, default)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`9:16`}),` (portrait)`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`resolution`,type:`string`,id:`param-resolution`,children:[_jsx(_components.p,{children:`Video resolution`}),_jsx(_components.p,{children:`Supported values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`720p`}),` (default)`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`1080p`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`4k`}),` (preview)`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`image_urls`,type:`string[]`,id:`param-image-urls`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`First frame reference image`}),` for image-to-video generation. The video will begin from this image. Only the first URL in the array is used.`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`⚠️ Only URL format is supported (base64 is no longer supported)`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Publicly accessible image URLs (http:// or https://)`}),`\n`,_jsxs(_components.li,{children:[`Use the `,_jsx(_components.a,{href:`/docs/en/api-reference/uploads/images`,children:`Upload Image endpoint`}),` to upload local images and get URLs`]}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Limits:`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Maximum file size: 10MB`}),`\n`,_jsx(_components.li,{children:`Supported formats: .jpeg, .jpg, .png, .webp`}),`\n`]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`image_urls`}),` and `,_jsx(_components.code,{children:`metadata.referenceImages`}),` `,_jsx(_components.strong,{children:`cannot be used together`}),`. If both are provided, `,_jsx(_components.code,{children:`image_urls`}),` (first frame) takes priority and `,_jsx(_components.code,{children:`referenceImages`}),` will be ignored.`]})})]}),`\n`,_jsxs(ParamField,{body:`metadata`,type:`object`,id:`param-metadata`,children:[_jsx(_components.p,{children:`Veo3 Official specific extension parameters`}),_jsxs(Expandable,{title:`Show metadata fields`,children:[_jsxs(ParamField,{body:`generateAudio`,type:`boolean`,id:`param-generate-audio`,children:[_jsxs(_components.p,{children:[`Whether to generate audio. Default: `,_jsx(_components.code,{children:`false`})]}),_jsx(_components.p,{children:`When enabled, the video will include AI-generated sound effects and ambient audio`})]}),_jsxs(ParamField,{body:`negativePrompt`,type:`string`,id:`param-negative-prompt`,children:[_jsx(_components.p,{children:`Negative prompt describing content you don’t want in the video`}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"blurry, low quality, distorted\"`})]})]}),_jsxs(ParamField,{body:`personGeneration`,type:`string`,id:`param-person-generation`,children:[_jsx(_components.p,{children:`Person generation safety setting`}),_jsx(_components.p,{children:`Supported values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`allow_adult`}),` - Allow generating adult people`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`dont_allow`}),` - Don’t allow generating people`]}),`\n`]})]}),_jsxs(ParamField,{body:`lastFrame`,type:`string`,id:`param-last-frame`,children:[_jsx(_components.p,{children:`Last frame image URL for keyframe interpolation video generation`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Must`}),` be used together with `,_jsx(_components.code,{children:`image_urls`}),` (first frame) to generate a transition video from the first frame to the last frame. Has no effect without `,_jsx(_components.code,{children:`image_urls`}),`.`]})]}),_jsxs(ParamField,{body:`referenceImages`,type:`string[]`,id:`param-reference-images`,children:[_jsx(_components.p,{children:`Style/asset reference image URL array. The video will incorporate the visual style and elements from these images (they are NOT used as the starting frame).`}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Limit: maximum 3 images`})}),_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`⚠️ Cannot be used together with `,_jsx(_components.code,{children:`image_urls`})]}),` — these are mutually exclusive in the Veo API. Use `,_jsx(_components.code,{children:`image_urls`}),` if you need first-frame control.`]})]}),_jsxs(ParamField,{body:`compressionQuality`,type:`string`,id:`param-compression-quality`,children:[_jsx(_components.p,{children:`Video compression quality`}),_jsx(_components.p,{children:`Supported values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`optimized`}),` (default) - Optimized compression`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`lossless`}),` - Lossless compression`]}),`\n`]})]}),_jsxs(ParamField,{body:`resizeMode`,type:`string`,id:`param-resize-mode`,children:[_jsx(_components.p,{children:`Image resize mode for image-to-video generation`}),_jsx(_components.p,{children:`Supported values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`pad`}),` - Pad mode, preserves original aspect ratio`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`crop`}),` - Crop mode, fills the frame`]}),`\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 querying task status`})}),`\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":"Veo3 Official Video Generation","sidebarTitle":"Veo3 Official","api":"POST https://toapis.com/v1/videos/generations","description":"Generate high-quality videos using Google Veo3 official direct-connect models, with advanced features like audio generation and keyframe control","href":"/docs/en/api-reference/videos/veo3-official/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`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,RequestExample,ResponseExample,ResponseField,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(!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:`Asynchronous processing mode, returns a task ID for subsequent status queries`}),`\n`,_jsx(_components.li,{children:`Direct connection to Google Vertex AI, supporting all native Veo parameters`}),`\n`,_jsx(_components.li,{children:`Supports text-to-video, image-to-video, and keyframe interpolation generation modes`}),`\n`,_jsx(_components.li,{children:`Generated video links are valid for 24 hours, please save them promptly`}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Important Change`}),`: For better performance and cost control, we no longer support passing base64 image data directly in `,_jsx(_components.code,{children:`image_urls`}),`. Please use the `,_jsx(_components.a,{href:`/docs/en/api-reference/uploads/images`,children:`Upload Image endpoint`}),` to upload images first, then use the returned URL in this API.`]})}),`\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 API Key: Visit the `,_jsx(_components.a,{href:`https://toapis.com/console/token`,children:`API Key Management page`}),` to obtain your API Key`]}),_jsx(_components.p,{children:`Add to request headers:`}),_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:`Veo3.1-quality-official`,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:`Veo3.1-quality-official`}),` - High-quality generation model, ideal for final production`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Veo3.1-fast-official`}),` - Fast generation model, ideal for quick previews and iteration`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Veo3.1-lite-official`}),` - Lite 720p\nExample: `,_jsx(_components.code,{children:`\"Veo3.1-quality-official\"`})]}),`\n`]})]}),`\n`,_jsx(ParamField,{body:`prompt`,type:`string`,required:true,id:`param-prompt`,children:_jsx(_components.p,{children:`Text description for video generation`})}),`\n`,_jsxs(ParamField,{body:`duration`,type:`integer`,id:`param-duration`,children:[_jsx(_components.p,{children:`Video duration in seconds`}),_jsx(_components.p,{children:`Supported values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`4`}),` - 4 seconds`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`6`}),` - 6 seconds`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`8`}),` - 8 seconds (default)`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`size`,type:`string`,id:`param-size`,children:[_jsx(_components.p,{children:`Video aspect ratio`}),_jsx(_components.p,{children:`Supported formats:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`16:9`}),` (landscape, default)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`9:16`}),` (portrait)`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`resolution`,type:`string`,id:`param-resolution`,children:[_jsx(_components.p,{children:`Video resolution`}),_jsx(_components.p,{children:`Supported values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`720p`}),` (default)`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`1080p`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`4k`}),` (preview)`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`image_urls`,type:`string[]`,id:`param-image-urls`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`First frame reference image`}),` for image-to-video generation. The video will begin from this image. Only the first URL in the array is used.`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`⚠️ Only URL format is supported (base64 is no longer supported)`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Publicly accessible image URLs (http:// or https://)`}),`\n`,_jsxs(_components.li,{children:[`Use the `,_jsx(_components.a,{href:`/docs/en/api-reference/uploads/images`,children:`Upload Image endpoint`}),` to upload local images and get URLs`]}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Limits:`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Maximum file size: 10MB`}),`\n`,_jsx(_components.li,{children:`Supported formats: .jpeg, .jpg, .png, .webp`}),`\n`]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`image_urls`}),` and `,_jsx(_components.code,{children:`metadata.referenceImages`}),` `,_jsx(_components.strong,{children:`cannot be used together`}),`. If both are provided, `,_jsx(_components.code,{children:`image_urls`}),` (first frame) takes priority and `,_jsx(_components.code,{children:`referenceImages`}),` will be ignored.`]})})]}),`\n`,_jsxs(ParamField,{body:`metadata`,type:`object`,id:`param-metadata`,children:[_jsx(_components.p,{children:`Veo3 Official specific extension parameters`}),_jsxs(Expandable,{title:`Show metadata fields`,children:[_jsxs(ParamField,{body:`generateAudio`,type:`boolean`,id:`param-generate-audio`,children:[_jsxs(_components.p,{children:[`Whether to generate audio. Default: `,_jsx(_components.code,{children:`false`})]}),_jsx(_components.p,{children:`When enabled, the video will include AI-generated sound effects and ambient audio`})]}),_jsxs(ParamField,{body:`negativePrompt`,type:`string`,id:`param-negative-prompt`,children:[_jsx(_components.p,{children:`Negative prompt describing content you don’t want in the video`}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"blurry, low quality, distorted\"`})]})]}),_jsxs(ParamField,{body:`personGeneration`,type:`string`,id:`param-person-generation`,children:[_jsx(_components.p,{children:`Person generation safety setting`}),_jsx(_components.p,{children:`Supported values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`allow_adult`}),` - Allow generating adult people`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`dont_allow`}),` - Don’t allow generating people`]}),`\n`]})]}),_jsxs(ParamField,{body:`lastFrame`,type:`string`,id:`param-last-frame`,children:[_jsx(_components.p,{children:`Last frame image URL for keyframe interpolation video generation`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Must`}),` be used together with `,_jsx(_components.code,{children:`image_urls`}),` (first frame) to generate a transition video from the first frame to the last frame. Has no effect without `,_jsx(_components.code,{children:`image_urls`}),`.`]})]}),_jsxs(ParamField,{body:`referenceImages`,type:`string[]`,id:`param-reference-images`,children:[_jsx(_components.p,{children:`Style/asset reference image URL array. The video will incorporate the visual style and elements from these images (they are NOT used as the starting frame).`}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Limit: maximum 3 images`})}),_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`⚠️ Cannot be used together with `,_jsx(_components.code,{children:`image_urls`})]}),` — these are mutually exclusive in the Veo API. Use `,_jsx(_components.code,{children:`image_urls`}),` if you need first-frame control.`]})]}),_jsxs(ParamField,{body:`compressionQuality`,type:`string`,id:`param-compression-quality`,children:[_jsx(_components.p,{children:`Video compression quality`}),_jsx(_components.p,{children:`Supported values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`optimized`}),` (default) - Optimized compression`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`lossless`}),` - Lossless compression`]}),`\n`]})]}),_jsxs(ParamField,{body:`resizeMode`,type:`string`,id:`param-resize-mode`,children:[_jsx(_components.p,{children:`Image resize mode for image-to-video generation`}),_jsx(_components.p,{children:`Supported values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`pad`}),` - Pad mode, preserves original aspect ratio`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`crop`}),` - Crop mode, fills the frame`]}),`\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 querying task status`})}),`\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`,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\": \"Veo3.1-quality-official\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"A dolphin leaping through crystal blue ocean waters, splashing water droplets, sunlight glistening on the surface\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration\": 8,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"size\": \"16:9\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\": \"1080p\",`})}),`\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:` \"generateAudio\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"negativePrompt\": \"blurry, low quality\"`})}),`\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:`24`,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:`24`,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:`\"Veo3.1-quality-official\"`}),_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:`\"A dolphin leaping through crystal blue ocean waters, splashing water droplets, sunlight glistening on the surface\"`}),_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:`8`}),_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:` \"size\"`}),_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:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1080p\"`}),_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:` \"generateAudio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"negativePrompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"blurry, low quality\"`})]}),`\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:`22`,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:`22`,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:` 'Veo3.1-quality-official'`}),_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:` 'A dolphin leaping through crystal blue ocean waters, splashing water droplets, sunlight glistening on the surface'`}),_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:` 8`}),_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:` size:`}),_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:` resolution:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '1080p'`}),_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:` generateAudio:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` negativePrompt:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'blurry, low quality'`})]}),`\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:`\"video_01K8SGYNNNVBQTXNR4MM964S7K\"`}),_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:`\"Veo3.1-quality-official\"`}),_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:`1768380224`}),_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":"Veo3 Official Video Generation","sidebarTitle":"Veo3 Official","api":"POST https://toapis.com/v1/videos/generations","description":"Generate high-quality videos using Google Veo3 official direct-connect models, with advanced features like audio generation and keyframe control","href":"/docs/en/api-reference/videos/veo3-official/generation"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Authorizations","slug":"authorizations","depth":2,"children":[]},{"title":"Body","slug":"body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","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\": \"Veo3.1-quality-official\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"prompt\": \"A dolphin leaping through crystal blue ocean waters, splashing water droplets, sunlight glistening on the surface\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"duration\": 8,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"size\": \"16:9\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"resolution\": \"1080p\",\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\"> \"generateAudio\": true,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"negativePrompt\": \"blurry, low quality\"\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=\"24\">\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\">\"Veo3.1-quality-official\"\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\">\"A dolphin leaping through crystal blue ocean waters, splashing water droplets, sunlight glistening on the surface\"\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\">8\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"size\"\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\"> \"resolution\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1080p\"\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\"> \"generateAudio\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">True\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"negativePrompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"blurry, low quality\"\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=\"22\">\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\"> 'Veo3.1-quality-official'\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\"> 'A dolphin leaping through crystal blue ocean waters, splashing water droplets, sunlight glistening on the surface'\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\"> 8\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> size:\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\"> resolution:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '1080p'\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\"> generateAudio:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> negativePrompt:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'blurry, low quality'\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\">\"video_01K8SGYNNNVBQTXNR4MM964S7K\"\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\">\"Veo3.1-quality-official\"\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\">1768380224\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":"Veo3 Official 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 API Key: Visit the API Key Management page to obtain your API Key Add to request headers:","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"model":[{"type":"string","description":"Video generation model name Available models: `Veo3.1-quality-official` - High-quality generation model, ideal for final production `Veo3.1-fast-official` - Fast generation model, ideal for quick previews and iteration `Veo3.1-lite-official` - Lite 720p Example: `\"Veo3.1-quality-official\"`","required":true}],"prompt":[{"type":"string","description":"Text description for video generation","required":true}],"duration":[{"type":"integer","description":"Video duration in seconds Supported values: `4` - 4 seconds `6` - 6 seconds `8` - 8 seconds (default)"}],"size":[{"type":"string","description":"Video aspect ratio Supported formats: `16:9` (landscape, default) `9:16` (portrait)"}],"resolution":[{"type":"string","description":"Video resolution Supported values: `720p` (default) `1080p` `4k` (preview)"}],"image_urls":[{"type":"array","items":[{"type":"string"}],"description":"First frame reference image for image-to-video generation. The video will begin from this image. Only the first URL in the array is used. ⚠️ Only URL format is supported (base64 is no longer supported) Publicly accessible image URLs (http:// or https://) Use the Upload Image endpoint to upload local images and get URLs Limits: Maximum file size: 10MB Supported formats: .jpeg, .jpg, .png, .webp"}],"metadata":[{"type":"object","properties":{"generateAudio":[{"type":"boolean","description":"Whether to generate audio. Default: `false` When enabled, the video will include AI-generated sound effects and ambient audio"}],"negativePrompt":[{"type":"string","description":"Negative prompt describing content you don’t want in the video Example: `\"blurry, low quality, distorted\"`"}],"personGeneration":[{"type":"string","description":"Person generation safety setting Supported values: `allow_adult` - Allow generating adult people `dont_allow` - Don’t allow generating people"}],"lastFrame":[{"type":"string","description":"Last frame image URL for keyframe interpolation video generation Must be used together with `image_urls` (first frame) to generate a transition video from the first frame to the last frame. Has no effect without `image_urls` ."}],"referenceImages":[{"type":"array","items":[{"type":"string"}],"description":"Style/asset reference image URL array. The video will incorporate the visual style and elements from these images (they are NOT used as the starting frame). Limit: maximum 3 images ⚠️ Cannot be used together with `image_urls` — these are mutually exclusive in the Veo API. Use `image_urls` if you need first-frame control."}],"compressionQuality":[{"type":"string","description":"Video compression quality Supported values: `optimized` (default) - Optimized compression `lossless` - Lossless compression"}],"resizeMode":[{"type":"string","description":"Image resize mode for image-to-video generation Supported values: `pad` - Pad mode, preserves original aspect ratio `crop` - Crop mode, fills the frame"}]},"description":"Veo3 Official specific extension parameters"}]}}],"examples":{"example":{"value":{"model":"\u003cstring>","prompt":"\u003cstring>","duration":123,"size":"\u003cstring>","resolution":"\u003cstring>","image_urls":["\u003cstring>"],"metadata":{"generateAudio":true,"negativePrompt":"\u003cstring>","personGeneration":"\u003cstring>","lastFrame":"\u003cstring>","referenceImages":["\u003cstring>"],"compressionQuality":"\u003cstring>","resizeMode":"\u003cstring>"}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"id":[{"type":"string","description":"Unique task identifier for querying task status"}],"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":"Veo3 Official Video Generation - ToAPIs Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"cn":{"href":"/docs/cn/api-reference/videos/veo3-official/generation","matchLevel":1},"zh-Hant":{"href":"/docs/zh-Hant/api-reference/videos/veo3-official/generation","matchLevel":1},"en":{"href":"/docs/en/api-reference/videos/veo3-official/generation","matchLevel":0},"ja":{"href":"/docs/ja/api-reference/videos/veo3-official/generation","matchLevel":1},"ko":{"href":"/docs/ko/api-reference/videos/veo3-official/generation","matchLevel":1},"ru":{"href":"/docs/ru/api-reference/videos/veo3-official/generation","matchLevel":1}}},"lastModified":"2026-09-24T11:19:16.961Z","originalFileLocation":"docs/en/api-reference/videos/veo3-official/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 high-quality videos using Google Veo3 official direct-connect models, with advanced features like audio generation and keyframe control\">\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=\"Veo3 Official Video Generation - ToAPIs Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate high-quality videos using Google Veo3 official direct-connect models, with advanced features like audio generation and keyframe control\">\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/veo3-official/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=Veo3+Official+%28including+Veo3.1+Lite%29\u0026amp;title=Veo3+Official+Video+Generation\u0026amp;description=Generate+high-quality+videos+using+Google+Veo3+official+direct-connect+models%2C+with+advanced+features+like+audio+generation+and+keyframe+control\u0026amp;theme=05a42d799ed79e408e323a53\u0026amp;signature=e840bb23d5caafa83fbc4cce1a59e6274b881b4cd5d70e6342a66a936ce79a1f\">\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=\"Veo3 Official Video Generation - ToAPIs Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate high-quality videos using Google Veo3 official direct-connect models, with advanced features like audio generation and keyframe control\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dashlyai.mintlify.app/_mintlify/api/og/v2?division=Veo3+Official+%28including+Veo3.1+Lite%29\u0026amp;title=Veo3+Official+Video+Generation\u0026amp;description=Generate+high-quality+videos+using+Google+Veo3+official+direct-connect+models%2C+with+advanced+features+like+audio+generation+and+keyframe+control\u0026amp;theme=05a42d799ed79e408e323a53\u0026amp;signature=e840bb23d5caafa83fbc4cce1a59e6274b881b4cd5d70e6342a66a936ce79a1f\">\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/veo3-official/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/veo3-official/generation.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.toapis.com/docs/en/api-reference/videos/veo3-official/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.toapis.com/docs/cn/api-reference/videos/veo3-official/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hant\" href=\"https://docs.toapis.com/docs/zh-Hant/api-reference/videos/veo3-official/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.toapis.com/docs/ja/api-reference/videos/veo3-official/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.toapis.com/docs/ko/api-reference/videos/veo3-official/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.toapis.com/docs/ru/api-reference/videos/veo3-official/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.toapis.com/docs/cn/api-reference/videos/veo3-official/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/veo3-official/generation#webpage\",\"url\":\"https://docs.toapis.com/docs/en/api-reference/videos/veo3-official/generation\",\"name\":\"Veo3 Official Video Generation\",\"description\":\"Generate high-quality videos using Google Veo3 official direct-connect models, with advanced features like audio generation and keyframe control\",\"dateModified\":\"2026-09-24T11:19:16.961Z\",\"isPartOf\":{\"@id\":\"https://docs.toapis.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.toapis.com/docs/en/api-reference/videos/veo3-official/generation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.toapis.com/docs/en/api-reference/videos/veo3-official/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\":\"Veo3 Official Video Generation\",\"item\":\"https://docs.toapis.com/docs/en/api-reference/videos/veo3-official/generation\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.toapis.com/docs/en/api-reference/videos/veo3-official/generation#apireference\",\"headline\":\"Veo3 Official Video Generation\",\"name\":\"Veo3 Official Video Generation\",\"description\":\"Generate high-quality videos using Google Veo3 official direct-connect models, with advanced features like audio generation and keyframe control\",\"url\":\"https://docs.toapis.com/docs/en/api-reference/videos/veo3-official/generation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.toapis.com/docs/en/api-reference/videos/veo3-official/generation#webpage\"},\"dateModified\":\"2026-09-24T11:19:16.961Z\",\"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/veo3-official/generation"}]},{"language":"zh-Hant","pages":[{"title":"zh-Hant","href":"/docs/zh-Hant/api-reference/videos/veo3-official/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","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","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","description":"Generate, edit or extend 3-10 second videos with official Gemini Omni 1.1 Flash Preview at four resolutions","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","description":"Generate videos using MiniMax Hailuo 02 model, supporting text-to-video, image-to-video, and first-last-frame generation","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/veo3-official/generation"}]},{"language":"ko","pages":[{"title":"ko","href":"/docs/ko/api-reference/videos/veo3-official/generation"}]},{"language":"ru","pages":[{"title":"ru","href":"/docs/ru/api-reference/videos/veo3-official/generation"}]}]},"basePath":"","title":"Veo3 Official Video Generation - ToAPIs Documentation","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js"]}