Authentication: This endpoint accepts either a Bearer API key or a SIGN-IN-WITH-X header for x402 wallet-based authentication. The legacy X-Sign-In-With-X header is also accepted during migration. When using x402, a 402 Payment Required response indicates insufficient balance and includes top-up instructions.
{
"code": "PAYLOAD_TOO_LARGE",
"error": "File exceeds the maximum allowed size of 25 MB."
}
{
"error": "<string>",
"suggested_prompt": "A cinematic instrumental track inspired by stormy weather and dramatic tension."
}
{
"error": "<string>"
}
Chame /video/quote para obter uma estimativa de preço e depois faça polling em /video/retrieve com o queue_id retornado até concluir.Alguns modelos também retornam uma download_url para o vídeo finalizado. Verifique se ela está presente na resposta; se estiver ausente, obtenha o vídeo por meio de /video/retrieve. A download_url é uma URL de entrega de curta duração (algumas tentativas são aceitáveis caso um download caia); veja o guia de Geração de Vídeo para detalhes e para o DELETE opcional para privacidade.
Para os modelos seedance-2-0-*-basic e seedance-2-5-*-basic (text-to-video, image-to-video, reference-to-video, além das variantes -fast-* do Seedance 2.0), veja o Guia do Seedance 2.0 & 2.5 para o modelo de quatro workflows (Reference / Edit / Extend / Stitch), valores aspect_ratio / duration correspondentes à origem, bitrate_mode configurável pelo usuário, limites multimodais específicos por família, política de mídia da API pública e detalhes de preço.
Os modelos públicos do Seedance não utilizam atestação de consentimento (consents.seedance / needs_consent). Mídia com pessoas detectáveis pode ser rejeitada upstream. Use o app Venice ou o Studio para o conjunto completo de recursos do Seedance. Veja o guia do Seedance para detalhes.
Para o modelo topaz-video-upscale, use upscale_factor (1, 2 ou 4) em vez de resolution e forneça uma video_url. Duração e FPS são detectados automaticamente a partir do arquivo de vídeo. Veja o Guia de Upscaling de Vídeo para detalhes e exemplos completos.
The duration of the video to generate. Available options vary by model. For Seedance 2.5 reference-to-video edit jobs, -1 or auto matches output length to the source clip (requires reference_video_urls on queue, or reference_video_total_duration on quote; source must be 4–30s).
The prompt to use for video generation. Required for most models; optional for H3 Max Multi-Angle. The maximum length varies by model (default 2500 characters, up to 32000 for some models).
Required string length: 1 - 32000
Exemplo:
"Commerce being conducted in the city of Venice, Italy."
The aspect ratio of the video. Available options vary by model. Some models do not support aspect_ratio. For Seedance 2.x reference-to-video edit/extend, adaptive or auto matches output aspect ratio to the source clip (requires reference_video_urls on queue, or reference_video_total_duration on quote).
Optional Seedance 2.5 reference-to-video task-type hint forwarded to BytePlus (auto | reference | edit | extend). Aliases editing→edit and extension→extend are accepted on the queue API. Pre-guides classification to reduce async TaskTypeConstraint errors. The prompt must still match the chosen type. When omitted, Venice infers from the prompt if reference_video_urls are present. Not supported on other models.
For enhancement models only. Target FPS for frame interpolation (16-120). Doubles the price on upscaling endpoints when ≥48; scales linearly on interpolation. Omit to keep the source frame rate.
For enhancement models only (frame interpolation). Slow-motion factor: 2 makes the output twice as long at the target FPS, up to 8x. Multiplies the billed duration.
For H3 Max Multi-Angle only. 2–12 camera keyframes with strictly increasing normalized time (0–1), azimuth in degrees (signed; total absolute travel at most 32 turns), elevation in degrees (−90 to 90), and positive distance relative to the initial camera (1 = unchanged). Omit to leave the camera path to the model. Requires image_url; aspect ratio follows that image.
How strongly the input image guides an image-to-video generation, from 0 to 1. Supported on models that declare image strength. Omitted values use the provider default (1). Does not change the quoted price.
For models with reference video support (e.g. Seedance 2.0 R2V), up to 10 reference video URLs (role: "reference_video") used to inherit subject motion, camera movement, and overall style. Per-clip 2–15 s, .mp4 or .mov, ≤50 MB; aggregate duration ≤15 s. Each must be a URL or data URL.
For models with reference audio support (e.g. Seedance 2.0 R2V), up to 10 reference audio URLs (role: "reference_audio") used as donors for vocal timbre, narration, or sound effects. Per-clip 2–15 s, .wav or .mp3; aggregate duration ≤15 s. Must be paired with at least one reference image or reference video — audio-only Reference workflows are rejected at validation. Each must be a URL or data URL.
For models with document / webpage Omni-Reference (Wan 3.0), up to 1 URL. Document files and public webpage URLs are fetched by Venice and forwarded as type: "file" (≤100 MB). Each must be a URL or data URL.
For models with advanced element support (e.g., Kling O3 R2V). Up to 4 elements defining characters/objects. Reference in prompt as @Element1, @Element2, etc.
For keyframe-driven models. Up to 10 keyframe images pinned to frame positions in the generated 24 fps video. Each frame_index must be unique and no greater than duration × 24.
Pre-signed URL to download the completed video. Only present for VPS-backed models. When provided, the retrieve endpoint returns JSON status only (no video stream). Fetch this URL after status is COMPLETED to get the video/mp4 file. Valid for 24 hours.
{
"code": "PAYLOAD_TOO_LARGE",
"error": "File exceeds the maximum allowed size of 25 MB."
}
{
"error": "<string>",
"suggested_prompt": "A cinematic instrumental track inspired by stormy weather and dramatic tension."
}
{
"error": "<string>"
}
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Venice API Docs","colors":{"primary":"#125DA3","light":"#125DA3","dark":"#125DA3"},"logo":{"light":"https://mintcdn.com/veniceai/gFXvp87w4B810n0Y/logo/light.svg?fit=max\u0026auto=format\u0026n=gFXvp87w4B810n0Y\u0026q=85\u0026s=121558c3bff1e4e012fcd34bdc50555c","dark":"https://mintcdn.com/veniceai/0vNwudF9KfvWPUSs/logo/dark.svg?fit=max\u0026auto=format\u0026n=0vNwudF9KfvWPUSs\u0026q=85\u0026s=79383337fb486ba06afb95cb7d0b4bf7","href":"https://venice.ai/?utm_source=venice-api-documentation"},"favicon":"https://mintcdn.com/veniceai/wJjdz14nrhedln0s/favicon.png?fit=max\u0026auto=format\u0026n=wJjdz14nrhedln0s\u0026q=85\u0026s=171a8dd0d43182f3b386c25e13152d92","api":{"openapi":"swagger.yaml","playground":{"proxy":false},"mdx":{"auth":{"method":"bearer"},"server":"https://api.venice.ai/api/v1"}},"navbar":{"links":[],"primary":{"type":"button","label":"Try Venice","href":"https://venice.ai/chat?utm_source=venice-api-documentation"}},"footer":{"socials":{"x":"https://x.com/AskVenice","discord":"https://discord.gg/askvenice","github":"https://github.com/veniceai","linkedin":"https://www.linkedin.com/company/venice-ai"}},"seo":{"metatags":{"og:site_name":"Venice API Docs","og:locale":"en_US","og:logo":"/logo/light.svg","article:publisher":"Venice AI","twitter:site":"@AskVenice"},"indexing":"navigable"},"icons":{"library":"tabler"},"styling":{"codeblocks":"system","latex":true},"integrations":{"gtm":{"tagId":"GTM-KFP6HX49"},"plausible":{"domain":"docs.venice.ai"}},"navigation":{"languages":[{"language":"en","default":true,"href":"overview/about-venice"},{"language":"pt-BR","href":"pt-BR/overview/about-venice"},{"language":"ar","href":"ar/overview/about-venice"},{"language":"it","href":"it/overview/about-venice"},{"language":"de","href":"de/overview/about-venice"},{"language":"es","href":"es/overview/about-venice"},{"language":"fr","href":"fr/overview/about-venice"},{"language":"zh","href":"zh/overview/about-venice"},{"language":"ko","href":"ko/overview/about-venice"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"veniceai","hasAudioNarration":false,"actualSubdomain":"veniceai","customDomains":["docs.venice.ai"],"gitSource":{"type":"github","owner":"veniceai","repo":"api-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aeb5f1fb21018c2553e9b10","collectionId":"db812bb8-6444-4a3d-ab80-1fc926c74977","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aeb5f1fb21018c2553e9b10"},"feedback":{"edits":true,"issues":true,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeb5f1fb21018c2553e9b10","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"en","tag":"Docs","count":80},{"language":"ar","tag":"التوثيق","count":80},{"language":"de","tag":"Dokumentation","count":80},{"language":"es","tag":"Documentación","count":80},{"language":"fr","tag":"Documentation","count":80},{"language":"it","tag":"Documentazione","count":80},{"language":"ko","tag":"문서","count":80},{"language":"pt-BR","tag":"Documentação","count":80},{"language":"zh","tag":"文档","count":80},{"language":"en","tag":"API Reference","count":58},{"language":"en","tag":"Venice APIs","count":58},{"language":"ar","tag":"مرجع الـ API","count":58},{"language":"ar","tag":"Venice APIs","count":58},{"language":"de","tag":"API-Referenz","count":58},{"language":"de","tag":"Venice APIs","count":58},{"language":"es","tag":"Referencia de la API","count":58},{"language":"es","tag":"Venice APIs","count":58},{"language":"fr","tag":"Référence de l'API","count":58},{"language":"fr","tag":"Venice APIs","count":58},{"language":"it","tag":"Riferimento API","count":58},{"language":"it","tag":"Venice APIs","count":58},{"language":"ko","tag":"API 레퍼런스","count":58},{"language":"ko","tag":"Venice APIs","count":58},{"language":"pt-BR","tag":"Referência da API","count":58},{"language":"pt-BR","tag":"Venice APIs","count":58},{"language":"zh","tag":"API 参考","count":58},{"language":"zh","tag":"Venice APIs","count":58},{"language":"en","tag":"Audio","count":18},{"language":"en","tag":"Learn","count":18},{"language":"ar","tag":"الصوت","count":18},{"language":"ar","tag":"تعلّم","count":18},{"language":"de","tag":"Audio","count":18},{"language":"de","tag":"Lernen","count":18},{"language":"es","tag":"Audio","count":18},{"language":"es","tag":"Aprender","count":18},{"language":"fr","tag":"Audio","count":18},{"language":"fr","tag":"Apprendre","count":18},{"language":"it","tag":"Audio","count":18},{"language":"it","tag":"Impara","count":18},{"language":"ko","tag":"오디오","count":18},{"language":"ko","tag":"학습","count":18},{"language":"pt-BR","tag":"Áudio","count":18},{"language":"pt-BR","tag":"Aprender","count":18},{"language":"zh","tag":"音频","count":18},{"language":"zh","tag":"学习","count":18},{"language":"it","tag":"Immagini","count":12},{"language":"ko","tag":"이미지","count":12},{"language":"zh","tag":"图像","count":12},{"language":"en","tag":"Models","count":11},{"language":"en","tag":"Text \u0026 Chat","count":11},{"language":"ar","tag":"النماذج","count":11},{"language":"ar","tag":"النص والدردشة","count":11},{"language":"de","tag":"Modelle","count":11},{"language":"de","tag":"Text \u0026 Chat","count":11},{"language":"es","tag":"Modelos","count":11},{"language":"es","tag":"Texto y chat","count":11},{"language":"fr","tag":"Modèles","count":11},{"language":"fr","tag":"Texte et chat","count":11},{"language":"it","tag":"Modelli","count":11},{"language":"it","tag":"Testo e chat","count":11},{"language":"ko","tag":"모델","count":11},{"language":"ko","tag":"텍스트 및 채팅","count":11},{"language":"pt-BR","tag":"Modelos","count":11},{"language":"pt-BR","tag":"Texto e chat","count":11},{"language":"zh","tag":"模型","count":11},{"language":"zh","tag":"文本与聊天","count":11},{"language":"en","tag":"Agents \u0026 Integrations","count":10},{"language":"ar","tag":"الوكلاء والتكاملات","count":10},{"language":"de","tag":"Agenten \u0026 Integrationen","count":10},{"language":"es","tag":"Agentes e integraciones","count":10},{"language":"fr","tag":"Agents et intégrations","count":10},{"language":"it","tag":"Agenti e integrazioni","count":10},{"language":"ko","tag":"에이전트 및 통합","count":10},{"language":"pt-BR","tag":"Agentes e integrações","count":10},{"language":"zh","tag":"智能体与集成","count":10},{"language":"en","tag":"Video","count":9},{"language":"ar","tag":"الفيديو","count":9},{"language":"de","tag":"Video","count":9},{"language":"es","tag":"Vídeo","count":9},{"language":"fr","tag":"Vidéo","count":9},{"language":"it","tag":"Video","count":9},{"language":"ko","tag":"비디오","count":9},{"language":"pt-BR","tag":"Vídeo","count":9},{"language":"zh","tag":"视频","count":9},{"language":"en","tag":"Coding Tools","count":8},{"language":"ar","tag":"أدوات البرمجة","count":8},{"language":"de","tag":"Coding-Tools","count":8},{"language":"es","tag":"Herramientas de código","count":8},{"language":"fr","tag":"Outils de code","count":8},{"language":"pt-BR","tag":"Ferramentas de código","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/veniceai/7e50b8754e176672/style.css"}],"page":{"pagePath":"pt-BR/api-reference/endpoint/video/queue","slug":"/pt-BR/api-reference/endpoint/video/queue","pageMetadata":{"title":"Enfileirar Geração de Vídeo","openapi":"POST /video/queue","og:title":"Video Queue | Documentação da API Venice","og:description":"Documentação da API de fila de geração de vídeo da Venice.","description":"Queue a new video generation request.\n\n**Authentication:** This endpoint accepts either a Bearer API key or a `SIGN-IN-WITH-X` header for x402 wallet-based authentication. The legacy `X-Sign-In-With-X` header is also accepted during migration. When using x402, a `402 Payment Required` response indicates insufficient balance and includes top-up instructions.","href":"/pt-BR/api-reference/endpoint/video/queue"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Queue a new video generation request.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Authentication:\"\n }), \" This endpoint accepts either a Bearer API key or a \", _jsx(_components.code, {\n children: \"SIGN-IN-WITH-X\"\n }), \" header for x402 wallet-based authentication. The legacy \", _jsx(_components.code, {\n children: \"X-Sign-In-With-X\"\n }), \" header is also accepted during migration. When using x402, a \", _jsx(_components.code, {\n children: \"402 Payment Required\"\n }), \" response indicates insufficient balance and includes top-up instructions.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\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`,hr:`hr`,p:`p`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Chame `,_jsx(_components.code,{children:`/video/quote`}),` para obter uma estimativa de preço e depois faça polling em `,_jsx(_components.code,{children:`/video/retrieve`}),` com o `,_jsx(_components.code,{children:`queue_id`}),` retornado até concluir.`]}),`\n`,_jsxs(_components.p,{children:[`Alguns modelos também retornam uma `,_jsx(_components.code,{children:`download_url`}),` para o vídeo finalizado. Verifique se ela está presente na resposta; se estiver ausente, obtenha o vídeo por meio de `,_jsx(_components.code,{children:`/video/retrieve`}),`. A `,_jsx(_components.code,{children:`download_url`}),` é uma URL de entrega de curta duração (algumas tentativas são aceitáveis caso um download caia); veja o `,_jsx(_components.a,{href:`/pt-BR/guides/media/video-generation#links-de-download-privados`,children:`guia de Geração de Vídeo`}),` para detalhes e para o `,_jsx(_components.code,{children:`DELETE`}),` opcional para privacidade.`]}),`\n`,_jsx(Heading,{level:`3`,id:`seedance-2-0-\u0026-2-5`,children:`Seedance 2.0 \u0026 2.5`}),`\n`,_jsxs(_components.p,{children:[`Para os modelos `,_jsx(_components.code,{children:`seedance-2-0-*-basic`}),` e `,_jsx(_components.code,{children:`seedance-2-5-*-basic`}),` (text-to-video, image-to-video, reference-to-video, além das variantes `,_jsx(_components.code,{children:`-fast-*`}),` do Seedance 2.0), veja o `,_jsx(_components.a,{href:`/guides/media/seedance-2-0`,children:`Guia do Seedance 2.0 \u0026 2.5`}),` para o modelo de quatro workflows (Reference / Edit / Extend / Stitch), valores `,_jsx(_components.code,{children:`aspect_ratio`}),` / `,_jsx(_components.code,{children:`duration`}),` correspondentes à origem, `,_jsx(_components.code,{children:`bitrate_mode`}),` configurável pelo usuário, limites multimodais específicos por família, política de mídia da API pública e detalhes de preço.`]}),`\n`,_jsx(Heading,{level:`3`,id:`política-de-mídia-pública-do-seedance`,children:`Política de mídia pública do Seedance`}),`\n`,_jsxs(_components.p,{children:[`Os modelos públicos do Seedance não utilizam atestação de consentimento (`,_jsx(_components.code,{children:`consents.seedance`}),` / `,_jsx(_components.code,{children:`needs_consent`}),`). Mídia com pessoas detectáveis pode ser rejeitada upstream. Use o app Venice ou o Studio para o conjunto completo de recursos do Seedance. Veja o `,_jsx(_components.a,{href:`/guides/media/seedance-2-0`,children:`guia do Seedance`}),` para detalhes.`]}),`\n`,_jsx(Heading,{level:`3`,id:`upscaling-de-vídeo`,children:`Upscaling de vídeo`}),`\n`,_jsxs(_components.p,{children:[`Para o modelo `,_jsx(_components.code,{children:`topaz-video-upscale`}),`, use `,_jsx(_components.code,{children:`upscale_factor`}),` (1, 2 ou 4) em vez de `,_jsx(_components.code,{children:`resolution`}),` e forneça uma `,_jsx(_components.code,{children:`video_url`}),`. Duração e FPS são detectados automaticamente a partir do arquivo de vídeo. Veja o `,_jsx(_components.a,{href:`/guides/media/video-upscaling`,children:`Guia de Upscaling de Vídeo`}),` para detalhes e exemplos completos.`]}),`\n`,_jsx(_components.hr,{})]})}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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Enfileirar Geração de Vídeo","openapi":"POST /video/queue","og:title":"Video Queue | Documentação da API Venice","og:description":"Documentação da API de fila de geração de vídeo da Venice.","description":"Queue a new video generation request.\n\n**Authentication:** This endpoint accepts either a Bearer API key or a `SIGN-IN-WITH-X` header for x402 wallet-based authentication. The legacy `X-Sign-In-With-X` header is also accepted during migration. When using x402, a `402 Payment Required` response indicates insufficient balance and includes top-up instructions.","href":"/pt-BR/api-reference/endpoint/video/queue"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Seedance 2.0 \u0026 2.5","slug":"seedance-2-0-\u0026-2-5","depth":3,"children":[]},{"title":"Política de mídia pública do Seedance","slug":"política-de-mídia-pública-do-seedance","depth":3,"children":[]},{"title":"Upscaling de vídeo","slug":"upscaling-de-vídeo","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/veniceai/e2ef95b7f404dd19/model-search.js"],"openApiReferenceData":{"operation":{"description":"Queue a new video generation request.\n\n**Authentication:** This endpoint accepts either a Bearer API key or a `SIGN-IN-WITH-X` header for x402 wallet-based authentication. The legacy `X-Sign-In-With-X` header is also accepted during migration. When using x402, a `402 Payment Required` response indicates insufficient balance and includes top-up instructions.","operationId":"queueVideo","security":["6c559445-e186-4bd9-bdda-5196322ce514","32900dc4-e78b-4707-b51e-03cfb3a6ba3a"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001","max":"10.00"},"protocols":[{"x402":{}}]},"summary":"/api/v1/video/queue","tags":["Video"],"requestBody":"dddcdffd-59f3-40d4-96a6-6a03c4f7bbfd","responses":{"200":"4bf73974-55ba-4b66-84f3-a358c0c2df7c","400":"2b33c3a2-56a9-4c94-a4bd-60e11aa976f1","401":"e0b4914c-33dd-4824-a192-c911f54c2dbc","402":"6dcd12be-b4d4-4025-a57d-6633b6422243","403":"35e156e6-7cb4-4941-91af-73f8a880e5ce","409":"957985bf-2465-4a82-be31-9654290332af","413":"b8f6d935-2734-4e7d-9a2d-af3624835906","422":"b2bdca26-58ff-4f2b-bc38-897af0b0a80d","500":"0160a30e-1fdd-44cc-9687-453b1d1208ed"},"method":"post","type":"path","servers":["5f1831bd-248c-480f-8517-5351929f450f"],"path":"/video/queue","baseUrlOptions":["https://api.venice.ai/api/v1"],"title":"/api/v1/video/queue","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","description":"The model to use for video generation.","example":"seedance-2-0-text-to-video-basic","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"duration":{"type":"string","enum":["1s","2s","3s","4s","5s","6s","7s","8s","9s","10s","11s","12s","13s","14s","15s","16s","17s","18s","19s","20s","21s","22s","23s","24s","25s","26s","27s","28s","29s","30s","-1","1 gen","auto","Auto"],"description":"The duration of the video to generate. Available options vary by model. For Seedance 2.5 reference-to-video edit jobs, `-1` or `auto` matches output length to the source clip (requires reference_video_urls on queue, or reference_video_total_duration on quote; source must be 4–30s).","example":"10s","isRequired":true,"uniqueKey":"duration","typeLabel":"enum\u003cstring>"},"consents":{"type":"object","properties":{"seedance":{"type":"object","properties":{"confirmed_terms_and_privacy":{"type":"boolean","enum":[true],"description":"Confirms acceptance of the current provider policy text returned in the needs_consent response.","example":true,"isRequired":true,"uniqueKey":"consents.seedance.confirmed_terms_and_privacy","typeLabel":"enum\u003cboolean>"},"confirmed_legal_right":{"type":"boolean","enum":[true],"description":"Confirms the API user has the legal right to use the submitted media.","example":true,"isRequired":true,"uniqueKey":"consents.seedance.confirmed_legal_right","typeLabel":"enum\u003cboolean>"},"confirmed_screening_acknowledged":{"type":"boolean","enum":[true],"description":"Acknowledges that submitted media may be screened before processing.","example":true,"isRequired":true,"uniqueKey":"consents.seedance.confirmed_screening_acknowledged","typeLabel":"enum\u003cboolean>"}},"required":["confirmed_terms_and_privacy","confirmed_legal_right","confirmed_screening_acknowledged"],"uniqueKey":"consents.seedance","typeLabel":"object"}},"description":"Optional provider-specific consent attestations. Required only for models that return a needs_consent response.","uniqueKey":"consents","typeLabel":"object"},"prompt":{"type":"string","minLength":1,"maxLength":32000,"description":"The prompt to use for video generation. Required for most models; optional for H3 Max Multi-Angle. The maximum length varies by model (default 2500 characters, up to 32000 for some models).","example":"Commerce being conducted in the city of Venice, Italy.","uniqueKey":"prompt","typeLabel":"string"},"negative_prompt":{"type":"string","maxLength":32000,"description":"Optional negative prompt. The maximum length varies by model (default 2500 characters, up to 32000 for some models).","example":"low resolution, error, worst quality, low quality, defects","uniqueKey":"negative_prompt","typeLabel":"string"},"aspect_ratio":{"type":"string","enum":["1:1","2:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","9:21","16:9","21:9","adaptive","auto"],"description":"The aspect ratio of the video. Available options vary by model. Some models do not support aspect_ratio. For Seedance 2.x reference-to-video edit/extend, `adaptive` or `auto` matches output aspect ratio to the source clip (requires reference_video_urls on queue, or reference_video_total_duration on quote).","example":"16:9","uniqueKey":"aspect_ratio","typeLabel":"enum\u003cstring>"},"omni_reference_task_type":{"type":"string","enum":["auto","reference","edit","extend"],"description":"Optional Seedance 2.5 reference-to-video task-type hint forwarded to BytePlus (`auto` | `reference` | `edit` | `extend`). Aliases `editing`→`edit` and `extension`→`extend` are accepted on the queue API. Pre-guides classification to reduce async TaskTypeConstraint errors. The prompt must still match the chosen type. When omitted, Venice infers from the prompt if reference_video_urls are present. Not supported on other models.","example":"edit","uniqueKey":"omni_reference_task_type","typeLabel":"enum\u003cstring>"},"resolution":{"type":"string","enum":["256p","360p","480p","540p","580p","720p","768p","1080p","1440p","2160p","2k","4k","1x","2x","4x","2K","480P","768P","1080P","true_1080p"],"description":"The resolution of the video. Available options vary by model. Some models do not support resolution. Use upscale_factor for upscale models.","example":"720p","uniqueKey":"resolution","typeLabel":"enum\u003cstring>"},"upscale_factor":{"type":"integer","description":"For upscale models only. 1 = quality enhancement, 2 = double resolution (default), 4 = quadruple.","enum":[1,2,4],"default":2,"example":2,"uniqueKey":"upscale_factor","typeLabel":"enum\u003cinteger>"},"enhancement_model":{"type":"string","description":"For enhancement models only. The provider-side enhancement model. Available values are listed per model in GET /models constraints.topaz.models.","example":"Proteus","uniqueKey":"enhancement_model","typeLabel":"string"},"target_fps":{"type":"integer","description":"For enhancement models only. Target FPS for frame interpolation (16-120). Doubles the price on upscaling endpoints when ≥48; scales linearly on interpolation. Omit to keep the source frame rate.","example":60,"uniqueKey":"target_fps","typeLabel":"integer"},"softness":{"type":"number","minimum":1,"maximum":5,"description":"For enhancement models only. Softness level (1-5, sharpest to softest).","example":3,"uniqueKey":"softness","typeLabel":"number"},"creativity":{"type":"number","minimum":0,"maximum":1,"description":"For enhancement models only. How much new detail the model invents (0.0-1.0).","example":0.5,"uniqueKey":"creativity","typeLabel":"number"},"realism":{"type":"number","minimum":0,"maximum":1,"description":"For enhancement models only. Bias generated detail toward photorealism (0.0-1.0).","example":0.5,"uniqueKey":"realism","typeLabel":"number"},"sharp":{"type":"number","minimum":0,"maximum":1,"description":"For enhancement models only. Output sharpness (0.0 softens, 0.5 neutral, 1.0 strong).","example":0.5,"uniqueKey":"sharp","typeLabel":"number"},"compression":{"type":"number","minimum":0,"maximum":1,"description":"For enhancement models only. Compression artifact removal level (0.0-1.0).","example":0.5,"uniqueKey":"compression","typeLabel":"number"},"noise":{"type":"number","minimum":0,"maximum":1,"description":"For enhancement models only. Noise reduction level (0.0-1.0).","example":0.5,"uniqueKey":"noise","typeLabel":"number"},"halo":{"type":"number","minimum":0,"maximum":1,"description":"For enhancement models only. Halo reduction level (0.0-1.0).","example":0.5,"uniqueKey":"halo","typeLabel":"number"},"grain":{"type":"number","minimum":0,"maximum":0.1,"description":"For enhancement models only. Film grain amount (0.0-0.1).","example":0,"uniqueKey":"grain","typeLabel":"number"},"recover_detail":{"type":"number","minimum":0,"maximum":1,"description":"For enhancement models only. Recover original detail level (0.0-1.0).","example":0.5,"uniqueKey":"recover_detail","typeLabel":"number"},"h264_output":{"type":"boolean","description":"For enhancement models only. Output H.264 instead of the default H.265.","example":false,"uniqueKey":"h264_output","typeLabel":"boolean"},"output_format":{"type":"string","enum":["mp4","prores"],"description":"For enhancement models only (SDR-to-HDR). Output container: mp4 (10-bit H265 HDR10) or prores (10-bit ProRes).","example":"mp4","uniqueKey":"output_format","typeLabel":"enum\u003cstring>"},"slowdown_factor":{"type":"integer","description":"For enhancement models only (frame interpolation). Slow-motion factor: 2 makes the output twice as long at the target FPS, up to 8x. Multiplies the billed duration.","enum":[1,2,4,8],"example":1,"uniqueKey":"slowdown_factor","typeLabel":"enum\u003cinteger>"},"audio":{"type":"boolean","default":true,"description":"For models which support audio generation and configuration. Defaults to true.","example":true,"uniqueKey":"audio","typeLabel":"boolean"},"camera_trajectory":{"type":"array","items":{"type":"object","properties":{"time":{"type":"number","minimum":0,"maximum":1,"isRequired":true,"uniqueKey":"camera_trajectory.items.[INDEX].time","typeLabel":"number"},"azimuth":{"type":"number","isRequired":true,"uniqueKey":"camera_trajectory.items.[INDEX].azimuth","typeLabel":"number"},"elevation":{"type":"number","minimum":-90,"maximum":90,"isRequired":true,"uniqueKey":"camera_trajectory.items.[INDEX].elevation","typeLabel":"number"},"distance":{"type":"number","minimum":0,"exclusiveMinimum":true,"isRequired":true,"uniqueKey":"camera_trajectory.items.[INDEX].distance","typeLabel":"number"}},"required":["time","azimuth","elevation","distance"],"additionalProperties":false,"uniqueKey":"camera_trajectory.items.[INDEX]","typeLabel":"object"},"minItems":2,"maxItems":12,"description":"For H3 Max Multi-Angle only. 2–12 camera keyframes with strictly increasing normalized time (0–1), azimuth in degrees (signed; total absolute travel at most 32 turns), elevation in degrees (−90 to 90), and positive distance relative to the initial camera (1 = unchanged). Omit to leave the camera path to the model. Requires image_url; aspect ratio follows that image.","example":[{"time":0,"azimuth":0,"elevation":0,"distance":1},{"time":1,"azimuth":45,"elevation":10,"distance":1}],"uniqueKey":"camera_trajectory","typeLabel":"object[]"},"image_url":{"type":"string","description":"For image-to-video models, the reference image. Must be a URL (http/https) or a data URL (data:image/...).","example":"data:image/png;base64,iVBORw0K...","uniqueKey":"image_url","typeLabel":"string"},"end_image_url":{"type":"string","description":"For models that support end images or transitions, the end frame image. Must be a URL or data URL.","example":"data:image/png;base64,iVBORw0K...","uniqueKey":"end_image_url","typeLabel":"string"},"image_strength":{"type":"number","minimum":0,"maximum":1,"description":"How strongly the input image guides an image-to-video generation, from 0 to 1. Supported on models that declare image strength. Omitted values use the provider default (1). Does not change the quoted price.","example":1,"uniqueKey":"image_strength","typeLabel":"number"},"audio_url":{"type":"string","description":"For models that support audio input, background music. Must be a URL or data URL. Supported: WAV, MP3. Max: 30s, 15MB.","example":"data:audio/mpeg;base64,SUQzBAA...","uniqueKey":"audio_url","typeLabel":"string"},"video_url":{"type":"string","description":"For models that support video input (video-to-video, upscale). Must be a URL or data URL. Supported: MP4, MOV, WebM.","example":"data:video/mp4;base64,AAAAFGZ0eXA...","uniqueKey":"video_url","typeLabel":"string"},"reference_image_urls":{"type":"array","items":{"type":"string","uniqueKey":"reference_image_urls.items.[INDEX]","typeLabel":"string"},"maxItems":30,"description":"For models with reference image support, up to 30 images for character/style consistency. Each must be a URL or data URL.","example":["data:image/png;base64,iVBORw0K..."],"uniqueKey":"reference_image_urls","typeLabel":"string[]"},"reference_video_urls":{"type":"array","items":{"type":"string","uniqueKey":"reference_video_urls.items.[INDEX]","typeLabel":"string"},"maxItems":10,"description":"For models with reference video support (e.g. Seedance 2.0 R2V), up to 10 reference video URLs (`role: \"reference_video\"`) used to inherit subject motion, camera movement, and overall style. Per-clip 2–15 s, .mp4 or .mov, ≤50 MB; aggregate duration ≤15 s. Each must be a URL or data URL.","example":["https://example.com/reference-clip.mp4"],"uniqueKey":"reference_video_urls","typeLabel":"string[]"},"reference_audio_urls":{"type":"array","items":{"type":"string","uniqueKey":"reference_audio_urls.items.[INDEX]","typeLabel":"string"},"maxItems":10,"description":"For models with reference audio support (e.g. Seedance 2.0 R2V), up to 10 reference audio URLs (`role: \"reference_audio\"`) used as donors for vocal timbre, narration, or sound effects. Per-clip 2–15 s, .wav or .mp3; aggregate duration ≤15 s. Must be paired with at least one reference image or reference video — audio-only Reference workflows are rejected at validation. Each must be a URL or data URL.","example":["data:audio/mpeg;base64,SUQzBAAAAAA..."],"uniqueKey":"reference_audio_urls","typeLabel":"string[]"},"reference_document_urls":{"type":"array","items":{"type":"string","uniqueKey":"reference_document_urls.items.[INDEX]","typeLabel":"string"},"maxItems":1,"description":"For models with document / webpage Omni-Reference (Wan 3.0), up to 1 URL. Document files and public webpage URLs are fetched by Venice and forwarded as `type: \"file\"` (≤100 MB). Each must be a URL or data URL.","example":["https://example.com/brief.pdf"],"uniqueKey":"reference_document_urls","typeLabel":"string[]"},"elements":{"type":"array","items":{"type":"object","properties":{"frontal_image_url":{"type":"string","uniqueKey":"elements.items.[INDEX].frontal_image_url","typeLabel":"string"},"reference_image_urls":{"type":"array","items":{"type":"string","uniqueKey":"elements.items.[INDEX].reference_image_urls.items.[INDEX]","typeLabel":"string"},"maxItems":3,"uniqueKey":"elements.items.[INDEX].reference_image_urls","typeLabel":"string[]"},"video_url":{"type":"string","uniqueKey":"elements.items.[INDEX].video_url","typeLabel":"string"}},"uniqueKey":"elements.items.[INDEX]","typeLabel":"object"},"maxItems":4,"description":"For models with advanced element support (e.g., Kling O3 R2V). Up to 4 elements defining characters/objects. Reference in prompt as @Element1, @Element2, etc.","example":[{"frontal_image_url":"data:image/png;base64,iVBORw0K...","reference_image_urls":["data:image/png;base64,iVBORw0K..."]}],"uniqueKey":"elements","typeLabel":"object[]"},"scene_image_urls":{"type":"array","items":{"type":"string","uniqueKey":"scene_image_urls.items.[INDEX]","typeLabel":"string"},"maxItems":4,"description":"For models with advanced element support. Up to 4 scene reference images. Reference in prompt as @Image1, @Image2, etc.","example":["data:image/png;base64,iVBORw0K..."],"uniqueKey":"scene_image_urls","typeLabel":"string[]"},"keyframes":{"type":"array","items":{"type":"object","properties":{"image_url":{"type":"string","isRequired":true,"uniqueKey":"keyframes.items.[INDEX].image_url","typeLabel":"string"},"frame_index":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"keyframes.items.[INDEX].frame_index","typeLabel":"integer"}},"required":["image_url","frame_index"],"uniqueKey":"keyframes.items.[INDEX]","typeLabel":"object"},"maxItems":10,"description":"For keyframe-driven models. Up to 10 keyframe images pinned to frame positions in the generated 24 fps video. Each frame_index must be unique and no greater than duration × 24.","example":[{"image_url":"data:image/png;base64,iVBORw0K...","frame_index":0},{"image_url":"data:image/png;base64,iVBORw0K...","frame_index":120}],"uniqueKey":"keyframes","typeLabel":"object[]"}},"required":["model","duration"],"description":"Request body for video generation. Available fields and valid values vary by model.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"model":"seedance-2-0-text-to-video-basic","duration":"10s","consents":{},"prompt":"Commerce being conducted in the city of Venice, Italy.","negative_prompt":"low resolution, error, worst quality, low quality, defects","aspect_ratio":"16:9","omni_reference_task_type":"edit","resolution":"720p","upscale_factor":2,"enhancement_model":"Proteus","target_fps":60,"softness":3,"creativity":0.5,"realism":0.5,"sharp":0.5,"compression":0.5,"noise":0.5,"halo":0.5,"grain":0,"recover_detail":0.5,"h264_output":false,"output_format":"mp4","slowdown_factor":1,"audio":true,"camera_trajectory":[{"time":0,"azimuth":0,"elevation":0,"distance":1},{"time":1,"azimuth":45,"elevation":10,"distance":1}],"image_url":"data:image/png;base64,iVBORw0K...","end_image_url":"data:image/png;base64,iVBORw0K...","image_strength":1,"audio_url":"data:audio/mpeg;base64,SUQzBAA...","video_url":"data:video/mp4;base64,AAAAFGZ0eXA...","reference_image_urls":["data:image/png;base64,iVBORw0K..."],"reference_video_urls":["https://example.com/reference-clip.mp4"],"reference_audio_urls":["data:audio/mpeg;base64,SUQzBAAAAAA..."],"reference_document_urls":["https://example.com/brief.pdf"],"elements":[{"frontal_image_url":"data:image/png;base64,iVBORw0K...","reference_image_urls":["data:image/png;base64,iVBORw0K..."]}],"scene_image_urls":["data:image/png;base64,iVBORw0K..."],"keyframes":[{"image_url":"data:image/png;base64,iVBORw0K...","frame_index":0},{"image_url":"data:image/png;base64,iVBORw0K...","frame_index":120}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"4bf73974-55ba-4b66-84f3-a358c0c2df7c":{"description":"Video generation request queued successfully","headers":{"X-Balance-Remaining":{"description":"Remaining x402 credit balance in USD after this request (only present for x402 auth).","required":false,"schema":{"type":"string","example":"4.230000"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","description":"The ID of the model used for video generation.","example":"video-model-123","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"queue_id":{"type":"string","description":"The ID of the video generation request.","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"queue_id","typeLabel":"string"},"download_url":{"type":"string","description":"Pre-signed URL to download the completed video. Only present for VPS-backed models. When provided, the retrieve endpoint returns JSON status only (no video stream). Fetch this URL after status is COMPLETED to get the video/mp4 file. Valid for 24 hours.","uniqueKey":"download_url","typeLabel":"string"}},"required":["model","queue_id"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"model":"video-model-123","queue_id":"123e4567-e89b-12d3-a456-426614174000","download_url":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"2b33c3a2-56a9-4c94-a4bd-60e11aa976f1":{"description":"Invalid request parameters","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"A description of the error","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"details":{"type":"object","properties":{},"description":"Details about the incorrect input","example":{"_errors":[],"field":{"_errors":["Field is required"]}},"uniqueKey":"details","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","details":{"_errors":[],"field":{"_errors":["Field is required"]}}}}},"exampleType":"generated"}},"exampleType":"generated"},"e0b4914c-33dd-4824-a192-c911f54c2dbc":{"description":"- Authentication failed\n- This model is only available to Pro users","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"A description of the error","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"6dcd12be-b4d4-4025-a57d-6633b6422243":{"description":"Payment or balance required. Response varies by authentication state:\n\n**API Key users:** Standard error response with `INSUFFICIENT_BALANCE` code. Top up your Venice balance at venice.ai.\n\n**Unauthenticated x402 discovery:** Structured x402 response with `x402Version`, `resource`, `accepts`, and `extensions[\"sign-in-with-x\"]`. The `accepts` array advertises Base and Solana payment requirements.\n\n**Authenticated x402 wallet users with insufficient credit:** Structured response with `PAYMENT_REQUIRED` code containing:\n- `topUpInstructions`: Step-by-step guide to top up via x402 protocol\n- `supportedTokens` / `supportedChains`: Accepted payment methods\n- `siwxChallenge`: Fresh Sign-In-With-X challenge metadata\n\nThe `PAYMENT-REQUIRED` header also contains a base64-encoded x402 protocol object with the payment requirements for programmatic discovery.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON with x402 payment requirements. Present on x402 middleware 402 responses. Decode to choose and sign one accepted payment requirement programmatically.","required":false,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"A description of the error","isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"Returned when an inference request has no API key or wallet authentication. The JSON body includes x402 discovery requirements and authentication options.","required":["x402Version","resource","accepts","authOptions"],"properties":{"x402Version":{"type":"number","description":"x402 protocol version.","example":2,"isRequired":true,"uniqueKey":"oneOf.1.x402Version","typeLabel":"number"},"resource":{"type":"object","properties":{"url":{"type":"string","description":"Protected resource URL.","example":"https://api.venice.ai/api/v1/chat/completions","isRequired":true,"uniqueKey":"oneOf.1.resource.url","typeLabel":"string"},"description":{"type":"string","description":"Human-readable resource description.","example":"Venice API","isRequired":true,"uniqueKey":"oneOf.1.resource.description","typeLabel":"string"},"mimeType":{"type":"string","description":"Resource MIME type.","example":"application/json","isRequired":true,"uniqueKey":"oneOf.1.resource.mimeType","typeLabel":"string"}},"required":["url","description","mimeType"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.resource","typeLabel":"object"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","enum":["exact"],"description":"x402 payment scheme.","example":"exact","isRequired":true,"uniqueKey":"oneOf.1.accepts.items.[INDEX].scheme","typeLabel":"enum\u003cstring>"},"network":{"type":"string","description":"Payment network for this requirement.","example":"solana","isRequired":true,"uniqueKey":"oneOf.1.accepts.items.[INDEX].network","typeLabel":"string"},"asset":{"type":"string","description":"USDC token address or mint for the selected network.","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","isRequired":true,"uniqueKey":"oneOf.1.accepts.items.[INDEX].asset","typeLabel":"string"},"amount":{"type":"string","description":"Required payment amount in base units (USDC has 6 decimals).","example":"10000000","isRequired":true,"uniqueKey":"oneOf.1.accepts.items.[INDEX].amount","typeLabel":"string"},"payTo":{"type":"string","description":"Receiver wallet address for the selected network.","example":"8qUL23aSj7mDWdoLMXGHFvnVCT9wd7jXcysiekroADEL","isRequired":true,"uniqueKey":"oneOf.1.accepts.items.[INDEX].payTo","typeLabel":"string"},"maxTimeoutSeconds":{"type":"number","description":"Maximum time allowed for payment settlement.","example":300,"isRequired":true,"uniqueKey":"oneOf.1.accepts.items.[INDEX].maxTimeoutSeconds","typeLabel":"number"},"extra":{"type":"object","properties":{},"description":"Network-specific x402 metadata. Solana requirements include a feePayer.","example":{"name":"USD Coin","version":"2","feePayer":"BFK9TLC3edb13K6v4YyH3DwPb5DSUpkWvb7XnqCL9b4F"},"isRequired":true,"uniqueKey":"oneOf.1.accepts.items.[INDEX].extra","typeLabel":"object"}},"required":["scheme","network","asset","amount","payTo","maxTimeoutSeconds","extra"],"additionalProperties":false,"uniqueKey":"oneOf.1.accepts.items.[INDEX]","typeLabel":"object"},"description":"Protocol payment requirements. Clients should choose one entry, such as Base or Solana, and sign exactly that requirement.","isRequired":true,"uniqueKey":"oneOf.1.accepts","typeLabel":"object[]"},"authOptions":{"type":"object","properties":{"apiKey":{"type":"object","properties":{"header":{"type":"string","description":"API key authentication header format.","example":"Authorization: Bearer YOUR_API_KEY","isRequired":true,"uniqueKey":"oneOf.1.authOptions.apiKey.header","typeLabel":"string"},"getKey":{"type":"string","description":"Where to create or manage API keys.","example":"https://venice.ai/settings/api","isRequired":true,"uniqueKey":"oneOf.1.authOptions.apiKey.getKey","typeLabel":"string"},"docs":{"type":"string","description":"API key documentation URL.","example":"https://docs.venice.ai/api-reference","isRequired":true,"uniqueKey":"oneOf.1.authOptions.apiKey.docs","typeLabel":"string"}},"required":["header","getKey","docs"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.authOptions.apiKey","typeLabel":"object"},"x402Wallet":{"type":"object","properties":{"header":{"type":"string","description":"Header used for Sign-In-With-X wallet authentication.","example":"SIGN-IN-WITH-X","isRequired":true,"uniqueKey":"oneOf.1.authOptions.x402Wallet.header","typeLabel":"string"},"legacyHeader":{"type":"string","description":"Legacy Sign-In-With-X header accepted during migration.","example":"X-Sign-In-With-X","isRequired":true,"uniqueKey":"oneOf.1.authOptions.x402Wallet.legacyHeader","typeLabel":"string"},"topUp":{"type":"string","description":"Endpoint used to discover and submit x402 top-up payments.","example":"POST /api/v1/x402/top-up","isRequired":true,"uniqueKey":"oneOf.1.authOptions.x402Wallet.topUp","typeLabel":"string"},"docs":{"type":"string","description":"x402 top-up API documentation URL.","example":"https://docs.venice.ai/api-reference/endpoint/x402/top-up","isRequired":true,"uniqueKey":"oneOf.1.authOptions.x402Wallet.docs","typeLabel":"string"}},"required":["header","legacyHeader","topUp","docs"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.authOptions.x402Wallet","typeLabel":"object"}},"required":["apiKey","x402Wallet"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.authOptions","typeLabel":"object"},"error":{"type":"string","description":"Human-readable payment requirement message.","example":"Payment required","uniqueKey":"oneOf.1.error","typeLabel":"string"},"extensions":{"type":"object","properties":{},"description":"Protocol extensions. Inference 402 responses include `sign-in-with-x` with a SIWX challenge for wallet-credit authentication.","uniqueKey":"oneOf.1.extensions","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["error","code","reason","suggestedTopUpUsd","minimumTopUpUsd","supportedTokens","supportedChains","topUpInstructions","siwxChallenge"],"properties":{"error":{"type":"string","enum":["Payment required"],"description":"Error message indicating payment is required.","isRequired":true,"uniqueKey":"oneOf.2.error","typeLabel":"enum\u003cstring>"},"code":{"type":"string","enum":["PAYMENT_REQUIRED"],"description":"Machine-readable error code.","isRequired":true,"uniqueKey":"oneOf.2.code","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["insufficient_balance"],"description":"Reason the x402-authenticated request could not proceed.","isRequired":true,"uniqueKey":"oneOf.2.reason","typeLabel":"enum\u003cstring>"},"suggestedTopUpUsd":{"type":"number","description":"Suggested amount to top up in USD.","example":10,"isRequired":true,"uniqueKey":"oneOf.2.suggestedTopUpUsd","typeLabel":"number"},"minimumTopUpUsd":{"type":"number","description":"Minimum allowed top-up amount in USD.","example":5,"isRequired":true,"uniqueKey":"oneOf.2.minimumTopUpUsd","typeLabel":"number"},"supportedTokens":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.2.supportedTokens.items.[INDEX]","typeLabel":"string"},"description":"List of supported token symbols for payment.","example":["USDC"],"isRequired":true,"uniqueKey":"oneOf.2.supportedTokens","typeLabel":"string[]"},"supportedChains":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.2.supportedChains.items.[INDEX]","typeLabel":"string"},"description":"List of supported top-up rails.","example":["base","solana"],"isRequired":true,"uniqueKey":"oneOf.2.supportedChains","typeLabel":"string[]"},"topUpInstructions":{"type":"object","properties":{"step1":{"type":"string","description":"First step: get payment requirements.","example":"POST /api/v1/x402/top-up with no payment header to get payment requirements","isRequired":true,"uniqueKey":"oneOf.2.topUpInstructions.step1","typeLabel":"string"},"step2":{"type":"string","description":"Second step: sign the payment.","example":"Choose a payment option from accepts and sign a USDC transfer authorization using the x402 SDK (createPaymentHeader)","isRequired":true,"uniqueKey":"oneOf.2.topUpInstructions.step2","typeLabel":"string"},"step3":{"type":"string","description":"Third step: submit the payment.","example":"POST /api/v1/x402/top-up with the signed PAYMENT-SIGNATURE header","isRequired":true,"uniqueKey":"oneOf.2.topUpInstructions.step3","typeLabel":"string"},"receiverWallet":{"type":"string","description":"Legacy Base receiver wallet address. Prefer the selected accepts entry from /x402/top-up for network-specific payTo values.","example":"\u003cRECEIVER_WALLET_ADDRESS>","isRequired":true,"uniqueKey":"oneOf.2.topUpInstructions.receiverWallet","typeLabel":"string"},"tokenAddress":{"type":"string","description":"Legacy Base USDC token address. Prefer the selected accepts entry from /x402/top-up for network-specific assets.","example":"\u003cUSDC_TOKEN_ADDRESS>","isRequired":true,"uniqueKey":"oneOf.2.topUpInstructions.tokenAddress","typeLabel":"string"},"tokenDecimals":{"type":"number","description":"Token decimal places.","example":6,"isRequired":true,"uniqueKey":"oneOf.2.topUpInstructions.tokenDecimals","typeLabel":"number"},"network":{"type":"string","description":"Legacy Base target network. Prefer the selected accepts entry from /x402/top-up for network-specific values.","example":"eip155:8453","isRequired":true,"uniqueKey":"oneOf.2.topUpInstructions.network","typeLabel":"string"},"minimumAmountUsd":{"type":"number","description":"Minimum top-up amount in USD.","example":5,"isRequired":true,"uniqueKey":"oneOf.2.topUpInstructions.minimumAmountUsd","typeLabel":"number"}},"required":["step1","step2","step3","receiverWallet","tokenAddress","tokenDecimals","network","minimumAmountUsd"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.topUpInstructions","typeLabel":"object"},"siwxChallenge":{"type":"object","properties":{"info":{"type":"object","properties":{"domain":{"type":"string","description":"Domain for the SIWX challenge.","example":"api.venice.ai","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.info.domain","typeLabel":"string"},"uri":{"type":"string","description":"Resource URI for the challenge.","example":"https://api.venice.ai/api/v1/chat/completions","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.info.uri","typeLabel":"string"},"version":{"type":"string","description":"SIWX version.","example":"1","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.info.version","typeLabel":"string"},"nonce":{"type":"string","description":"Unique nonce for replay protection.","example":"{{nonce}}","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.info.nonce","typeLabel":"string"},"issuedAt":{"type":"string","description":"ISO timestamp when the challenge was issued.","example":"2026-04-09T12:00:00.000Z","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.info.issuedAt","typeLabel":"string"},"expirationTime":{"type":"string","description":"ISO timestamp when the challenge expires.","example":"2026-04-09T12:05:00.000Z","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.info.expirationTime","typeLabel":"string"},"statement":{"type":"string","description":"Human-readable statement for the signature.","example":"Sign in to Venice AI","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.info.statement","typeLabel":"string"}},"required":["domain","uri","version","nonce","issuedAt","expirationTime","statement"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.info","typeLabel":"object"},"supportedChains":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"string","description":"Supported chain identity.","example":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.supportedChains.items.[INDEX].chainId","typeLabel":"string"},"type":{"type":"string","enum":["eip191","eip1271","ed25519"],"description":"Signature type accepted for this chain.","example":"ed25519","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.supportedChains.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"required":["chainId","type"],"additionalProperties":false,"uniqueKey":"oneOf.2.siwxChallenge.supportedChains.items.[INDEX]","typeLabel":"object"},"description":"Supported SIWX chains and signature types.","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.supportedChains","typeLabel":"object[]"}},"required":["info","supportedChains"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge","typeLabel":"object"},"message":{"type":"string","description":"Human-readable context about the payment requirement.","example":"Insufficient x402 balance","uniqueKey":"oneOf.2.message","typeLabel":"string"},"currentBalanceUsd":{"type":"number","description":"Current x402 credit balance for the wallet.","example":0.01,"uniqueKey":"oneOf.2.currentBalanceUsd","typeLabel":"number"},"minimumBalanceUsd":{"type":"number","description":"Minimum x402 credit balance required before the request can run.","example":0.1,"uniqueKey":"oneOf.2.minimumBalanceUsd","typeLabel":"number"},"description":{"type":"string","description":"Protected resource description.","example":"Venice API","uniqueKey":"oneOf.2.description","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"35e156e6-7cb4-4941-91af-73f8a880e5ce":{"description":"The specified model is unavailable in your region. Use of Tor, VPNs, proxies, or other means to circumvent this restriction is a violation of our Terms of Service.\n\nThis API key is restricted to configured IP addresses, and this request's source IP is not allowed","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"A description of the error","isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"string","enum":["This API key is restricted to configured IP addresses, and this request's source IP is not allowed"],"description":"A description of the error","example":"This API key is restricted to configured IP addresses, and this request's source IP is not allowed","isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"957985bf-2465-4a82-be31-9654290332af":{"description":"Additional consent is required before this request can be queued for some models","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["needs_consent"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"consent_flow":{"type":"string","enum":["seedance"],"isRequired":true,"uniqueKey":"consent_flow","typeLabel":"enum\u003cstring>"},"face_media_roles":{"type":"array","items":{"type":"string","enum":["image","end_image","reference_image","video","reference_video"],"uniqueKey":"face_media_roles.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"face_media_roles","typeLabel":"enum\u003cstring>[]"},"consent":{"type":"object","properties":{"consent_version":{"type":"string","isRequired":true,"uniqueKey":"consent.consent_version","typeLabel":"string"},"policy_text":{"type":"string","isRequired":true,"uniqueKey":"consent.policy_text","typeLabel":"string"}},"required":["consent_version","policy_text"],"additionalProperties":false,"isRequired":true,"uniqueKey":"consent","typeLabel":"object"},"docs_url":{"type":"string","isRequired":true,"uniqueKey":"docs_url","typeLabel":"string"}},"required":["error","consent_flow","face_media_roles","consent","docs_url"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"needs_consent","message":"\u003cstring>"},"consent_flow":"seedance","face_media_roles":["image"],"consent":{"consent_version":"\u003cstring>","policy_text":"\u003cstring>"},"docs_url":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"b8f6d935-2734-4e7d-9a2d-af3624835906":{"description":"The request payload is too large. Please reduce the size of your request.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["PAYLOAD_TOO_LARGE"],"description":"Machine-readable error code.","example":"PAYLOAD_TOO_LARGE","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"error":{"type":"string","description":"A description of the error","example":"File exceeds the maximum allowed size of 25 MB.","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["code","error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"PAYLOAD_TOO_LARGE","error":"File exceeds the maximum allowed size of 25 MB."}}},"exampleType":"generated"}},"exampleType":"generated"},"b2bdca26-58ff-4f2b-bc38-897af0b0a80d":{"description":"Your prompt violates the content policy of Venice.ai or the model provider","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"A description of the error","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"suggested_prompt":{"type":"string","description":"An optional provider-suggested replacement prompt that complies with content policy.","example":"A cinematic instrumental track inspired by stormy weather and dramatic tension.","uniqueKey":"suggested_prompt","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","suggested_prompt":"A cinematic instrumental track inspired by stormy weather and dramatic tension."}}},"exampleType":"generated"}},"exampleType":"generated"},"0160a30e-1fdd-44cc-9687-453b1d1208ed":{"description":"Inference processing failed","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"A description of the error","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"6c559445-e186-4bd9-bdda-5196322ce514":{"BearerAuth":{"bearerFormat":"JWT","scheme":"bearer","type":"http","scopes":[],"schemeName":"BearerAuth"}},"32900dc4-e78b-4707-b51e-03cfb3a6ba3a":{"siwx":{"description":"Wallet-based authentication using the x402 protocol (Sign-In-With-X). Supports EVM SIWE signatures on Base and Ed25519 signatures on Solana mainnet.\n\n**Header format:** Base64-encoded JSON object with the following fields:\n- `address` — EVM or Solana wallet address\n- `message` — Signed SIWX message. EVM wallets use EIP-4361 SIWE; Solana wallets use the Solana SIWX message format.\n- `signature` — Signature of the message, signed by the wallet's private key. EVM signatures are hex; Solana signatures may be base58 or base64.\n- `timestamp` — Unix timestamp in milliseconds\n- `chainId` — Chain identity. Use `8453`, `\"8453\"`, or `\"eip155:8453\"` for Base; use `\"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp\"` for Solana.\n- `type` — Optional signature type. Use `\"ed25519\"` for Solana. Omitted means EVM/EIP-191 for backward compatibility.\n\n**EVM SIWE message fields:**\n- `domain`: `api.venice.ai`\n- `uri`: `https://api.venice.ai`\n- `version`: `\"1\"`\n- `chainId`: `8453`\n- `nonce`: Random 16-character hex string\n- `issuedAt` / `expirationTime`: ISO timestamps (recommended TTL: 10 minutes)\n- `statement`: `\"Sign in to Venice API\"`\n\n**Example (TypeScript):**\n```\nimport { Wallet } from 'ethers'\nimport { SiweMessage } from 'siwe'\n\nconst wallet = new Wallet(PRIVATE_KEY)\nconst msg = new SiweMessage({ domain: 'api.venice.ai', address: wallet.address, statement: 'Sign in to Venice API', uri: 'https://api.venice.ai', version: '1', chainId: 8453, nonce: crypto.randomUUID().replace(/-/g, '').slice(0, 16), issuedAt: new Date().toISOString(), expirationTime: new Date(Date.now() + 600000).toISOString() })\nconst signature = await wallet.signMessage(msg.prepareMessage())\nconst header = btoa(JSON.stringify({ address: wallet.address, message: msg.prepareMessage(), signature, timestamp: Date.now(), chainId: 8453 }))\n// Set header: SIGN-IN-WITH-X: \u003cheader>\n```\n\n**Solana message fields:** The signed message starts with `\u003cdomain> wants you to sign in with your Solana account:`, followed by the wallet address and the standard `URI`, `Version`, `Chain ID`, `Nonce`, `Issued At`, and optional `Expiration Time` fields. Use `type: \"ed25519\"` and `chainId: \"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp\"` in the encoded JSON payload.\n\n**SDK:** `npm install venice-x402-client` provides `VeniceClient` and `createAuthFetch` which handle this automatically.\n\n**Billing:** x402 users pay from a prepaid USDC credit balance. Top up via `POST /x402/top-up`. When balance is insufficient, endpoints return `402` with structured top-up instructions.","in":"header","name":"SIGN-IN-WITH-X","type":"apiKey","scopes":[],"schemeName":"siwx"}}},"servers":{"5f1831bd-248c-480f-8517-5351929f450f":{"url":"https://api.venice.ai/api/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"bearerFormat":"JWT","scheme":"bearer","type":"http","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"},{"schemes":[{"scheme":{"description":"Wallet-based authentication using the x402 protocol (Sign-In-With-X). Supports EVM SIWE signatures on Base and Ed25519 signatures on Solana mainnet.\n\n**Header format:** Base64-encoded JSON object with the following fields:\n- `address` — EVM or Solana wallet address\n- `message` — Signed SIWX message. EVM wallets use EIP-4361 SIWE; Solana wallets use the Solana SIWX message format.\n- `signature` — Signature of the message, signed by the wallet's private key. EVM signatures are hex; Solana signatures may be base58 or base64.\n- `timestamp` — Unix timestamp in milliseconds\n- `chainId` — Chain identity. Use `8453`, `\"8453\"`, or `\"eip155:8453\"` for Base; use `\"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp\"` for Solana.\n- `type` — Optional signature type. Use `\"ed25519\"` for Solana. Omitted means EVM/EIP-191 for backward compatibility.\n\n**EVM SIWE message fields:**\n- `domain`: `api.venice.ai`\n- `uri`: `https://api.venice.ai`\n- `version`: `\"1\"`\n- `chainId`: `8453`\n- `nonce`: Random 16-character hex string\n- `issuedAt` / `expirationTime`: ISO timestamps (recommended TTL: 10 minutes)\n- `statement`: `\"Sign in to Venice API\"`\n\n**Example (TypeScript):**\n```\nimport { Wallet } from 'ethers'\nimport { SiweMessage } from 'siwe'\n\nconst wallet = new Wallet(PRIVATE_KEY)\nconst msg = new SiweMessage({ domain: 'api.venice.ai', address: wallet.address, statement: 'Sign in to Venice API', uri: 'https://api.venice.ai', version: '1', chainId: 8453, nonce: crypto.randomUUID().replace(/-/g, '').slice(0, 16), issuedAt: new Date().toISOString(), expirationTime: new Date(Date.now() + 600000).toISOString() })\nconst signature = await wallet.signMessage(msg.prepareMessage())\nconst header = btoa(JSON.stringify({ address: wallet.address, message: msg.prepareMessage(), signature, timestamp: Date.now(), chainId: 8453 }))\n// Set header: SIGN-IN-WITH-X: \u003cheader>\n```\n\n**Solana message fields:** The signed message starts with `\u003cdomain> wants you to sign in with your Solana account:`, followed by the wallet address and the standard `URI`, `Version`, `Chain ID`, `Nonce`, `Issued At`, and optional `Expiration Time` fields. Use `type: \"ed25519\"` and `chainId: \"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp\"` in the encoded JSON payload.\n\n**SDK:** `npm install venice-x402-client` provides `VeniceClient` and `createAuthFetch` which handle this automatically.\n\n**Billing:** x402 users pay from a prepaid USDC credit balance. Top up via `POST /x402/top-up`. When balance is insufficient, endpoints return `402` with structured top-up instructions.","in":"header","name":"SIGN-IN-WITH-X","type":"apiKey","scopes":[],"schemeName":"siwx"},"schema":{"title":"SIGN-IN-WITH-X","type":"string","description":"Wallet-based authentication using the x402 protocol (Sign-In-With-X). Supports EVM SIWE signatures on Base and Ed25519 signatures on Solana mainnet.\n\n**Header format:** Base64-encoded JSON object with the following fields:\n- `address` — EVM or Solana wallet address\n- `message` — Signed SIWX message. EVM wallets use EIP-4361 SIWE; Solana wallets use the Solana SIWX message format.\n- `signature` — Signature of the message, signed by the wallet's private key. EVM signatures are hex; Solana signatures may be base58 or base64.\n- `timestamp` — Unix timestamp in milliseconds\n- `chainId` — Chain identity. Use `8453`, `\"8453\"`, or `\"eip155:8453\"` for Base; use `\"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp\"` for Solana.\n- `type` — Optional signature type. Use `\"ed25519\"` for Solana. Omitted means EVM/EIP-191 for backward compatibility.\n\n**EVM SIWE message fields:**\n- `domain`: `api.venice.ai`\n- `uri`: `https://api.venice.ai`\n- `version`: `\"1\"`\n- `chainId`: `8453`\n- `nonce`: Random 16-character hex string\n- `issuedAt` / `expirationTime`: ISO timestamps (recommended TTL: 10 minutes)\n- `statement`: `\"Sign in to Venice API\"`\n\n**Example (TypeScript):**\n```\nimport { Wallet } from 'ethers'\nimport { SiweMessage } from 'siwe'\n\nconst wallet = new Wallet(PRIVATE_KEY)\nconst msg = new SiweMessage({ domain: 'api.venice.ai', address: wallet.address, statement: 'Sign in to Venice API', uri: 'https://api.venice.ai', version: '1', chainId: 8453, nonce: crypto.randomUUID().replace(/-/g, '').slice(0, 16), issuedAt: new Date().toISOString(), expirationTime: new Date(Date.now() + 600000).toISOString() })\nconst signature = await wallet.signMessage(msg.prepareMessage())\nconst header = btoa(JSON.stringify({ address: wallet.address, message: msg.prepareMessage(), signature, timestamp: Date.now(), chainId: 8453 }))\n// Set header: SIGN-IN-WITH-X: \u003cheader>\n```\n\n**Solana message fields:** The signed message starts with `\u003cdomain> wants you to sign in with your Solana account:`, followed by the wallet address and the standard `URI`, `Version`, `Chain ID`, `Nonce`, `Issued At`, and optional `Expiration Time` fields. Use `type: \"ed25519\"` and `chainId: \"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp\"` in the encoded JSON payload.\n\n**SDK:** `npm install venice-x402-client` provides `VeniceClient` and `createAuthFetch` which handle this automatically.\n\n**Billing:** x402 users pay from a prepaid USDC credit balance. Top up via `POST /x402/top-up`. When balance is insufficient, endpoints return `402` with structured top-up instructions.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"siwx","name":"SIGN-IN-WITH-X"}],"title":"siwx"}]},"originalFileLocation":"swagger.yaml"},"subdomain":"veniceai","siteName":"Venice API Docs","title":"Video Queue | Documentação da API Venice","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/endpoint/video/queue","matchLevel":1},"pt-BR":{"href":"/pt-BR/api-reference/endpoint/video/queue","matchLevel":0},"ar":{"href":"/ar/api-reference/endpoint/video/queue","matchLevel":1},"it":{"href":"/it/api-reference/endpoint/video/queue","matchLevel":1},"de":{"href":"/de/api-reference/endpoint/video/queue","matchLevel":1},"es":{"href":"/es/api-reference/endpoint/video/queue","matchLevel":1},"fr":{"href":"/fr/api-reference/endpoint/video/queue","matchLevel":1},"zh":{"href":"/zh/api-reference/endpoint/video/queue","matchLevel":1},"ko":{"href":"/ko/api-reference/endpoint/video/queue","matchLevel":1}}},"lastModified":"2026-10-20T21:31:44.980Z","originalFileLocation":"pt-BR/api-reference/endpoint/video/queue.mdx","locale":"pt-BR"},"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=\"Queue a new video generation request. Authentication: This endpoint accepts either a Bearer API key or a SIGN-IN-WITH-X header for x402 wallet-based authentication. The legacy X-Sign-In-With-X header is also accepted during migration. When using x402, a 402 Payment Required response indicates insufficient balance and includes top-up instructions.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Venice API Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/veniceai/bx2bxRtmLEf0wvnq/_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/veniceai/bx2bxRtmLEf0wvnq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/veniceai/bx2bxRtmLEf0wvnq/_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/veniceai/bx2bxRtmLEf0wvnq/_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/veniceai/bx2bxRtmLEf0wvnq/_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/veniceai/bx2bxRtmLEf0wvnq/_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/veniceai/bx2bxRtmLEf0wvnq/_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/veniceai/bx2bxRtmLEf0wvnq/_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/veniceai/bx2bxRtmLEf0wvnq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Video Queue | Documentação da API Venice\">\u003cmeta data-mint-head property=\"og:description\" content=\"Documentação da API de fila de geração de vídeo da Venice.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Venice API Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.venice.ai/pt-BR/api-reference/endpoint/video/queue\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://veniceai.mintlify.app/_mintlify/api/og/v2?division=V%C3%ADdeo\u0026amp;title=Enfileirar+Gera%C3%A7%C3%A3o+de+V%C3%ADdeo\u0026amp;description=Queue+a+new+video+generation+request.%0A%0A**Authentication%3A**+This+endpoint+accepts+either+a+Bearer+API+key+or+a+%60SIGN-IN-WITH-X%60+header+for+x402+wallet-based+auth\u0026amp;theme=508d743c1f2720564c9062e7\u0026amp;signature=893fa7257c82c3bbb60ec10ff9435cfc5ad4d6862c44a5c0a7a1b7a6a3bbf5c8\">\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=\"Video Queue | Documentação da API Venice\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Documentação da API de fila de geração de vídeo da Venice.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://veniceai.mintlify.app/_mintlify/api/og/v2?division=V%C3%ADdeo\u0026amp;title=Enfileirar+Gera%C3%A7%C3%A3o+de+V%C3%ADdeo\u0026amp;description=Queue+a+new+video+generation+request.%0A%0A**Authentication%3A**+This+endpoint+accepts+either+a+Bearer+API+key+or+a+%60SIGN-IN-WITH-X%60+header+for+x402+wallet-based+auth\u0026amp;theme=508d743c1f2720564c9062e7\u0026amp;signature=893fa7257c82c3bbb60ec10ff9435cfc5ad4d6862c44a5c0a7a1b7a6a3bbf5c8\">\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/veniceai/bx2bxRtmLEf0wvnq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Venice API Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#125DA3\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"og:logo\" content=\"/logo/light.svg\">\u003cmeta data-mint-head name=\"article:publisher\" content=\"Venice AI\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.venice.ai/pt-BR/api-reference/endpoint/video/queue\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/pt-BR/api-reference/endpoint/video/queue.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.venice.ai/pt-BR/api-reference/endpoint/video/queue\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.venice.ai/api-reference/endpoint/video/queue\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ar\" href=\"https://docs.venice.ai/ar/api-reference/endpoint/video/queue\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"it\" href=\"https://docs.venice.ai/it/api-reference/endpoint/video/queue\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.venice.ai/de/api-reference/endpoint/video/queue\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.venice.ai/es/api-reference/endpoint/video/queue\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.venice.ai/fr/api-reference/endpoint/video/queue\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.venice.ai/zh/api-reference/endpoint/video/queue\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.venice.ai/ko/api-reference/endpoint/video/queue\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.venice.ai/api-reference/endpoint/video/queue\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.venice.ai/#organization\",\"name\":\"Venice API Docs\",\"url\":\"https://docs.venice.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/veniceai/gFXvp87w4B810n0Y/logo/light.svg?fit=max\u0026auto=format\u0026n=gFXvp87w4B810n0Y\u0026q=85\u0026s=121558c3bff1e4e012fcd34bdc50555c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.venice.ai#website\",\"name\":\"Venice API Docs\",\"url\":\"https://docs.venice.ai\",\"publisher\":{\"@id\":\"https://docs.venice.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.venice.ai/pt-BR/api-reference/endpoint/video/queue#webpage\",\"url\":\"https://docs.venice.ai/pt-BR/api-reference/endpoint/video/queue\",\"name\":\"Enfileirar Geração de Vídeo\",\"description\":\"Queue a new video generation request. Authentication: This endpoint accepts either a Bearer API key or a SIGN-IN-WITH-X header for x402 wallet-based authentication. The legacy X-Sign-In-With-X header is also accepted during migration. When using x402, a 402 Payment Required response indicates insufficient balance and includes top-up instructions.\",\"dateModified\":\"2026-10-20T21:31:44.980Z\",\"isPartOf\":{\"@id\":\"https://docs.venice.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.venice.ai/pt-BR/api-reference/endpoint/video/queue#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.venice.ai/pt-BR/api-reference/endpoint/video/queue#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Venice APIs\",\"item\":\"https://docs.venice.ai/pt-BR/api-reference/api-spec\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Enfileirar Geração de Vídeo\",\"item\":\"https://docs.venice.ai/pt-BR/api-reference/endpoint/video/queue\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.venice.ai/pt-BR/api-reference/endpoint/video/queue#apireference\",\"headline\":\"Enfileirar Geração de Vídeo\",\"name\":\"Enfileirar Geração de Vídeo\",\"description\":\"Queue a new video generation request. Authentication: This endpoint accepts either a Bearer API key or a SIGN-IN-WITH-X header for x402 wallet-based authentication. The legacy X-Sign-In-With-X header is also accepted during migration. When using x402, a 402 Payment Required response indicates insufficient balance and includes top-up instructions.\",\"url\":\"https://docs.venice.ai/pt-BR/api-reference/endpoint/video/queue\",\"mainEntityOfPage\":{\"@id\":\"https://docs.venice.ai/pt-BR/api-reference/endpoint/video/queue#webpage\"},\"dateModified\":\"2026-10-20T21:31:44.980Z\",\"publisher\":{\"@id\":\"https://docs.venice.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.venice.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Venice API Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Venice API Docs","nav":{"global":null,"languages":[{"language":"en","default":true,"pages":[{"title":"en","href":"/api-reference/endpoint/video/queue"}]},{"language":"pt-BR","tabs":[{"tab":"Documentação","icon":"book","pages":[{"title":"Documentação","href":"/pt-BR/overview/about-venice"}]},{"tab":"Modelos","icon":"box","pages":[{"title":"Modelos","href":"/pt-BR/models/overview"}]},{"tab":"Aprender","icon":"layout-grid","pages":[{"title":"Aprender","href":"/pt-BR/learn"}]},{"tab":"Referência da API","icon":"code","groups":[{"group":"Venice APIs","pages":[{"title":"Introdução","href":"/pt-BR/api-reference/api-spec"},{"title":"Limites de taxa","href":"/pt-BR/api-reference/rate-limiting"},{"title":"Códigos de erro","href":"/pt-BR/api-reference/error-codes"},{"group":"Chat","expanded":false,"pages":[{"title":"Chat Completions","openapi":"POST /chat/completions","href":"/pt-BR/api-reference/endpoint/chat/completions"},{"title":"Responses","openapi":"POST /responses","href":"/pt-BR/api-reference/endpoint/responses/create"},{"title":"Sufixo de recursos do modelo","href":"/pt-BR/api-reference/endpoint/chat/model_feature_suffix"},{"title":"Criar decisões","openapi":"POST /decisions","href":"/pt-BR/api-reference/endpoint/decisions/create"},{"title":"Compatibilidade com System One","openapi":"POST /systemone","href":"/pt-BR/api-reference/endpoint/decisions/systemone"}]},{"group":"Imagens","expanded":false,"pages":[{"title":"Gerar imagens","openapi":"POST /image/generate","href":"/pt-BR/api-reference/endpoint/image/generate"},{"title":"Upscale e enhance","openapi":"POST /image/upscale","href":"/pt-BR/api-reference/endpoint/image/upscale"},{"title":"Editar (também conhecido como inpaint)","openapi":"POST /image/edit","href":"/pt-BR/api-reference/endpoint/image/edit"},{"title":"Edição múltipla de imagem","openapi":"POST /image/multi-edit","href":"/pt-BR/api-reference/endpoint/image/multi-edit"},{"title":"Remover plano de fundo","openapi":"POST /image/background-remove","href":"/pt-BR/api-reference/endpoint/image/background-remove"},{"title":"Estilos de imagem","openapi":"GET /image/styles","href":"/pt-BR/api-reference/endpoint/image/styles"},{"title":"Gerar imagens (API compatível com OpenAI)","openapi":"POST /images/generations","href":"/pt-BR/api-reference/endpoint/image/generations"}]},{"group":"Áudio","expanded":false,"pages":[{"title":"API de fala (Beta)","openapi":"POST /audio/speech","href":"/pt-BR/api-reference/endpoint/audio/speech"},{"title":"Clonar voz","openapi":"POST /audio/voices","href":"/pt-BR/api-reference/endpoint/audio/voices"},{"title":"API de transcrições (Beta)","openapi":"POST /audio/transcriptions","href":"/pt-BR/api-reference/endpoint/audio/transcriptions"},{"title":"Enfileirar geração de áudio","openapi":"POST /audio/queue","href":"/pt-BR/api-reference/endpoint/audio/queue"},{"title":"Recuperar áudio","openapi":"POST /audio/retrieve","href":"/pt-BR/api-reference/endpoint/audio/retrieve"},{"title":"Cotação de geração de áudio","openapi":"POST /audio/quote","href":"/pt-BR/api-reference/endpoint/audio/quote"},{"title":"Concluir áudio","openapi":"POST /audio/complete","href":"/pt-BR/api-reference/endpoint/audio/complete"},{"title":"Enfileirar trocador de voz","openapi":"POST /audio/voice-changer/queue","href":"/pt-BR/api-reference/endpoint/audio/voice-changer/queue"},{"title":"Recuperar trocador de voz","openapi":"POST /audio/voice-changer/retrieve","href":"/pt-BR/api-reference/endpoint/audio/voice-changer/retrieve"},{"title":"Cotação do trocador de voz","openapi":"POST /audio/voice-changer/quote","href":"/pt-BR/api-reference/endpoint/audio/voice-changer/quote"},{"title":"Concluir trocador de voz","openapi":"POST /audio/voice-changer/complete","description":"Release the provider-held media for a finished conversion. Call this once the converted audio has been retrieved.\n\nSafe to call more than once, and safe to call for a conversion that never reached the provider. Passing `delete_media_on_completion: true` to `/audio/voice-changer/retrieve` does the same cleanup inline and makes this call unnecessary.\n\n**Authentication:** This endpoint accepts either a Bearer API key or a `SIGN-IN-WITH-X` header for x402 wallet-based authentication. The legacy `X-Sign-In-With-X` header is also accepted during migration. When using x402, a `402 Payment Required` response indicates insufficient balance and includes top-up instructions.","href":"/pt-BR/api-reference/endpoint/audio/voice-changer/complete"}]},{"group":"Vídeo","expanded":false,"pages":[{"title":"Enfileirar Geração de Vídeo","openapi":"POST /video/queue","href":"/pt-BR/api-reference/endpoint/video/queue"},{"title":"Recuperar vídeo","openapi":"POST /video/retrieve","description":"Retrieve a video generation result. Returns the video file if completed, or a status if the request is still processing.\n\n**Authentication:** This endpoint accepts either a Bearer API key or a `SIGN-IN-WITH-X` header for x402 wallet-based authentication. The legacy `X-Sign-In-With-X` header is also accepted during migration. When using x402, a `402 Payment Required` response indicates insufficient balance and includes top-up instructions.","href":"/pt-BR/api-reference/endpoint/video/retrieve"},{"title":"Cotação de geração de vídeo","openapi":"POST /video/quote","href":"/pt-BR/api-reference/endpoint/video/quote"},{"title":"Concluir vídeo","openapi":"POST /video/complete","href":"/pt-BR/api-reference/endpoint/video/complete"}]},{"group":"Ferramentas","expanded":false,"pages":[{"title":"Text Parser","openapi":"POST /augment/text-parser","href":"/pt-BR/api-reference/endpoint/augment/text-parser"},{"title":"Web Scrape","openapi":"POST /augment/scrape","href":"/pt-BR/api-reference/endpoint/augment/scrape"},{"title":"Web Search","openapi":"POST /augment/search","href":"/pt-BR/api-reference/endpoint/augment/search"},{"title":"Redes cripto","openapi":"GET /crypto/rpc/networks","href":"/pt-BR/api-reference/endpoint/crypto/networks"},{"title":"Crypto RPC","openapi":"POST /crypto/rpc/{network}","href":"/pt-BR/api-reference/endpoint/crypto/rpc"}]},{"group":"Embeddings","expanded":false,"pages":[{"title":"Gerar embeddings","openapi":"POST /embeddings","href":"/pt-BR/api-reference/endpoint/embeddings/generate"}]},{"group":"Modelos","expanded":false,"pages":[{"title":"Listar modelos","openapi":"GET /models","href":"/pt-BR/api-reference/endpoint/models/list"},{"title":"Mapeamento de compatibilidade","openapi":"GET /models/compatibility_mapping","href":"/pt-BR/api-reference/endpoint/models/compatibility_mapping"},{"title":"Atributos","openapi":"GET /models/traits","href":"/pt-BR/api-reference/endpoint/models/traits"}]},{"group":"Chaves de API","expanded":false,"pages":[{"title":"Listar chaves de API","openapi":"GET /api_keys","href":"/pt-BR/api-reference/endpoint/api_keys/list"},{"title":"Obter detalhes da chave de API","openapi":"GET /api_keys/{id}","href":"/pt-BR/api-reference/endpoint/api_keys/get"},{"title":"Criar chave de API","openapi":"POST /api_keys","href":"/pt-BR/api-reference/endpoint/api_keys/create"},{"title":"Atualizar chave de API","openapi":"PATCH /api_keys","href":"/pt-BR/api-reference/endpoint/api_keys/update"},{"title":"Excluir chave de API","openapi":"DELETE /api_keys","href":"/pt-BR/api-reference/endpoint/api_keys/delete"},{"title":"Gerar chave de API com carteira Web3","openapi":"GET /api_keys/generate_web3_key","href":"/pt-BR/api-reference/endpoint/api_keys/generate_web3_key/get"},{"title":"Gerar chave de API com carteira Web3","openapi":"POST /api_keys/generate_web3_key","href":"/pt-BR/api-reference/endpoint/api_keys/generate_web3_key/post"}]},{"group":"Limites das chaves de API","expanded":false,"pages":[{"title":"Limites de taxa e saldos","openapi":"GET /api_keys/rate_limits","href":"/pt-BR/api-reference/endpoint/api_keys/rate_limits"},{"title":"Logs de limite de taxa","openapi":"GET /api_keys/rate_limits/log","href":"/pt-BR/api-reference/endpoint/api_keys/rate_limit_logs"}]},{"group":"Personagens","expanded":false,"pages":[{"title":"Obter personagem","openapi":"GET /characters/{slug}","href":"/pt-BR/api-reference/endpoint/characters/get"},{"title":"Listar personagens","openapi":"GET /characters","href":"/pt-BR/api-reference/endpoint/characters/list"},{"title":"Listar avaliações de personagens","openapi":"GET /characters/{slug}/reviews","href":"/pt-BR/api-reference/endpoint/characters/reviews"}]},{"group":"Faturamento","expanded":false,"pages":[{"title":"Saldo de cobrança","openapi":"GET /billing/balance","href":"/pt-BR/api-reference/endpoint/billing/balance"},{"title":"Uso de faturamento (removido)","openapi":"GET /billing/usage","href":"/pt-BR/api-reference/endpoint/billing/usage"},{"title":"Análise de uso de cobrança (Beta)","openapi":"GET /billing/usage-analytics","href":"/pt-BR/api-reference/endpoint/billing/usage-analytics"},{"title":"Histórico de uso de faturamento","openapi":"GET /billing/usage-history","href":"/pt-BR/api-reference/endpoint/billing/usage-history"}]},{"group":"X402","expanded":true,"pages":[{"title":"Saldo X402","openapi":"GET /x402/balance/{walletAddress}","href":"/pt-BR/api-reference/endpoint/x402/balance"},{"title":"Recarga X402","openapi":"POST /x402/top-up","href":"/pt-BR/api-reference/endpoint/x402/top-up"},{"title":"Transações X402","openapi":"GET /x402/transactions/{walletAddress}","href":"/pt-BR/api-reference/endpoint/x402/transactions"}]}]}]},{"tab":"Alterações","icon":"history","href":"https://featurebase.venice.ai/changelog"},{"tab":"Status","icon":"activity","href":"https://veniceai-status.com"}]},{"language":"ar","pages":[{"title":"ar","href":"/ar/api-reference/endpoint/video/queue"}]},{"language":"it","pages":[{"title":"it","href":"/it/api-reference/endpoint/video/queue"}]},{"language":"de","pages":[{"title":"de","href":"/de/api-reference/endpoint/video/queue"}]},{"language":"es","pages":[{"title":"es","href":"/es/api-reference/endpoint/video/queue"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/api-reference/endpoint/video/queue"}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/api-reference/endpoint/video/queue"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/api-reference/endpoint/video/queue"}]}]},"basePath":"","title":"Video Queue | Documentação da API Venice","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-C8RPHPxo.js","utils-0BK-9q6z.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DfjzsUJT.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B4v9psJ4.js","snippetPresets-CpTQv-Ez.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-Buji1S4J.js","ApiExamples-BNP-Fvr0.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BSgu6h1D.js","shallow-Biv1i9Gs.js","getApiPlaygroundDisplay-BoGOXhtF.js","CodeSnippet-DvQoT18_.js","CodeSnippets-Dnpa15xT.js","getPastedJson-xAIyhUFE.js","icon-S6FBih11.js","MethodPill-SaYeUZyk.js","DuplicateIcon-Cs-p3v2Q.js","createIcon-DjCFEoHq.js","DynamicMarkdown-BcnBltEQ.js","SectionHeading-BUBl0eEF.js","axios-vUo_bRtp.js","Markdown-h4cOoD8d.js","clsx-B2v50t8t.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DJnKvr0g.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BHrrjR1K.js"]}