Retrieve the status or result of an audio generation request. If the audio is still being generated, returns processing status with estimated time. If complete, returns the audio data.
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. A 401 response with code X402_USER_NOT_ALLOWED means the wallet’s Venice account is banned or deleted, or the wallet’s x402 credit account belongs to a different user.
{
"error": "This API key is restricted to configured IP addresses, and this request's source IP is not allowed"
}
{
"error": "<string>"
}
{
"error": "<string>",
"suggested_prompt": "A cinematic instrumental track inspired by stormy weather and dramatic tension."
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
Utilisez le queue_id renvoyé par /audio/queue pour vérifier l’état de la génération. Lorsque la requête est terminée, cet endpoint renvoie les données audio générées. Les modèles de changeur de voix utilisent /audio/voice-changer/retrieve à la place.
Collection Postman
Pour des exemples supplémentaires, veuillez consulter cette collection Postman.
Autorisations
BearerAuthsiwx
Authorization
string
header
requis
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Corps
application/json
model
string
requis
The ID of the model used for audio generation. Voice-changer models are not supported on /api/v1/audio/retrieve or /api/v1/audio/complete; use the /api/v1/audio/voice-changer endpoints instead.
Exemple:
"elevenlabs-music"
queue_id
string
requis
The ID of the audio generation request. Use this to poll for status and retrieve the result.
Exemple:
"123e4567-e89b-12d3-a456-426614174000"
delete_media_on_completion
boolean
défaut:false
If true, the audio media will be deleted from storage after the request is completed. If false, you can use the complete endpoint to remove the media once you have successfully downloaded the audio.
Exemple:
false
Réponse
Audio generation status or completed audio
status
enum<string>
requis
The status of the audio generation request.
Options disponibles:
PROCESSING
Exemple:
"PROCESSING"
average_execution_time
number
requis
The estimated execution time of the audio generation request in milliseconds (P80).
Exemple:
20000
execution_duration
number
requis
The current duration of the audio generation request in milliseconds.
{
"error": "This API key is restricted to configured IP addresses, and this request's source IP is not allowed"
}
{
"error": "<string>"
}
{
"error": "<string>",
"suggested_prompt": "A cinematic instrumental track inspired by stormy weather and dramatic tension."
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Venice API Docs","colors":{"primary":"#125DA3","light":"#4898E6","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"}},"appearance":{"default":"dark"},"background":{"color":{"light":"#FFFFFF","dark":"#0E1217"}},"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"}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode","download-spec"],"display":"header"},"markdown":{"instructions":["The Venice API is OpenAI-compatible: use any OpenAI SDK with the base URL `https://api.venice.ai/api/v1` and a Venice API key, or pay per request from a USDC wallet through x402 with no account.","Read model IDs from `GET /models` or `GET /models/traits` at runtime instead of hardcoding them from memory or from these pages. Models are added and retired often.","Every model's price is in https://docs.venice.ai/pricing.md. Quote video and audio jobs with `POST /video/quote` or `POST /audio/quote` before you queue them.","Search these docs from an MCP client at https://docs.venice.ai/mcp. The full agent guide is https://docs.venice.ai/agents.md."]},"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":""},"feedback":{"edits":true,"issues":true,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af9cdbc09eaf940fcead5fe","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"en","tag":"Models","count":576},{"language":"ar","tag":"النماذج","count":568},{"language":"de","tag":"Modelle","count":568},{"language":"es","tag":"Modelos","count":568},{"language":"fr","tag":"Modèles","count":568},{"language":"it","tag":"Modelli","count":568},{"language":"ko","tag":"모델","count":568},{"language":"pt-BR","tag":"Modelos","count":568},{"language":"zh","tag":"模型","count":568},{"language":"en","tag":"Docs","count":78},{"language":"ar","tag":"التوثيق","count":78},{"language":"de","tag":"Dokumentation","count":78},{"language":"es","tag":"Documentación","count":78},{"language":"fr","tag":"Documentation","count":78},{"language":"it","tag":"Documentazione","count":78},{"language":"ko","tag":"문서","count":78},{"language":"pt-BR","tag":"Documentação","count":78},{"language":"zh","tag":"文档","count":78},{"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":"Learn","count":22},{"language":"ar","tag":"تعلّم","count":20},{"language":"de","tag":"Lernen","count":20},{"language":"es","tag":"Aprender","count":20},{"language":"fr","tag":"Apprendre","count":20},{"language":"it","tag":"Impara","count":20},{"language":"ko","tag":"학습","count":20},{"language":"pt-BR","tag":"Aprender","count":20},{"language":"zh","tag":"学习","count":20},{"language":"en","tag":"Audio","count":18},{"language":"ar","tag":"الصوت","count":18},{"language":"de","tag":"Audio","count":18},{"language":"es","tag":"Audio","count":18},{"language":"fr","tag":"Audio","count":18},{"language":"it","tag":"Audio","count":18},{"language":"ko","tag":"오디오","count":18},{"language":"pt-BR","tag":"Áudio","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":"Text \u0026 Chat","count":11},{"language":"ar","tag":"النص والدردشة","count":11},{"language":"de","tag":"Text \u0026 Chat","count":11},{"language":"es","tag":"Texto y chat","count":11},{"language":"fr","tag":"Texte et chat","count":11},{"language":"it","tag":"Testo e chat","count":11},{"language":"ko","tag":"텍스트 및 채팅","count":11},{"language":"pt-BR","tag":"Texto e chat","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":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/veniceai/34931d66f610faa9/style.css"},{"filePath":"model-hub.css","href":"/_mintlify/custom/veniceai/53cdfa5dceec9078/model-hub.css"}],"page":{"pagePath":"fr/api-reference/endpoint/audio/retrieve","slug":"/fr/api-reference/endpoint/audio/retrieve","pageMetadata":{"title":"Récupérer l'audio","openapi":"POST /audio/retrieve","og:title":"Récupération audio | Venice API Docs","og:description":"Documentation couvrant l'API de récupération des générations audio de Venice.","description":"Retrieve the status or result of an audio generation request. If the audio is still being generated, returns processing status with estimated time. If complete, returns the audio data.\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. A `401` response with code `X402_USER_NOT_ALLOWED` means the wallet's Venice account is banned or deleted, or the wallet's x402 credit account belongs to a different user.","href":"/fr/api-reference/endpoint/audio/retrieve"},"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: \"Retrieve the status or result of an audio generation request. If the audio is still being generated, returns processing status with estimated time. If complete, returns the audio data.\"\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. A \", _jsx(_components.code, {\n children: \"401\"\n }), \" response with code \", _jsx(_components.code, {\n children: \"X402_USER_NOT_ALLOWED\"\n }), \" means the wallet’s Venice account is banned or deleted, or the wallet’s x402 credit account belongs to a different user.\"]\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:[`Utilisez le `,_jsx(_components.code,{children:`queue_id`}),` renvoyé par `,_jsx(_components.code,{children:`/audio/queue`}),` pour vérifier l’état de la génération. Lorsque la requête est terminée, cet endpoint renvoie les données audio générées. Les modèles de changeur de voix utilisent `,_jsx(_components.a,{href:`/fr/api-reference/endpoint/audio/voice-changer/retrieve`,children:_jsx(_components.code,{children:`/audio/voice-changer/retrieve`})}),` à la place.`]}),`\n`,_jsx(Heading,{level:`2`,id:`collection-postman`,children:`Collection Postman`}),`\n`,_jsxs(_components.p,{children:[`Pour des exemples supplémentaires, veuillez consulter cette `,_jsx(_components.a,{href:`https://www.postman.com/veniceai/workspace/venice-ai-workspace/folder/38652128-93377fa7-eef6-4239-a7e1-80bffc5fcb0e?action=share\u0026source=copy-link\u0026creator=48156591`,children:`collection Postman`}),`.`]}),`\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":"Récupérer l'audio","openapi":"POST /audio/retrieve","og:title":"Récupération audio | Venice API Docs","og:description":"Documentation couvrant l'API de récupération des générations audio de Venice.","description":"Retrieve the status or result of an audio generation request. If the audio is still being generated, returns processing status with estimated time. If complete, returns the audio data.\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. A `401` response with code `X402_USER_NOT_ALLOWED` means the wallet's Venice account is banned or deleted, or the wallet's x402 credit account belongs to a different user.","href":"/fr/api-reference/endpoint/audio/retrieve"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Collection Postman","slug":"collection-postman","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/veniceai/b3555a1bd66b36d0/model-search.js"],"openApiReferenceData":{"operation":{"description":"Retrieve the status or result of an audio generation request. If the audio is still being generated, returns processing status with estimated time. If complete, returns the audio data.\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. A `401` response with code `X402_USER_NOT_ALLOWED` means the wallet's Venice account is banned or deleted, or the wallet's x402 credit account belongs to a different user.","operationId":"retrieveAudio","security":["f7777695-0ef4-4d63-a017-3ff8b28da2fc","490a3633-0429-40fc-b9cf-b95dd9c821a3"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001","max":"10.00"},"protocols":[{"x402":{}}]},"summary":"/api/v1/audio/retrieve","tags":["Audio"],"requestBody":"d0cacfe7-9ebb-4ef1-af67-4b4b43cf94c9","responses":{"200":"014e8d73-d85b-45d7-a83a-b1de17193be5","400":"63192666-5730-45cf-b74a-0cb1336b5795","401":"aa2f5862-56cc-46d1-81f3-feddd3747efc","402":"7ae3bedc-0919-4078-ac06-a16b30b693b5","403":"bd21b80f-6498-4472-897d-ae4722963a95","404":"d58f5c97-3fa1-47b0-912b-f8674e6e840c","422":"5a313f4d-3bc0-47b5-b2d8-8bc3c660eb6c","429":"2c1d1ff4-1c91-4114-933c-d02c9097a52c","500":"c42cd8c2-1de5-414d-bbc9-7b1f8f061a00","503":"93de801a-d2d5-4226-b7e1-dbea014d052c"},"method":"post","type":"path","servers":["c43d494a-43cb-4832-b632-5c080e36da4c"],"path":"/audio/retrieve","baseUrlOptions":["https://api.venice.ai/api/v1"],"title":"/api/v1/audio/retrieve","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","description":"The ID of the model used for audio generation. Voice-changer models are not supported on `/api/v1/audio/retrieve` or `/api/v1/audio/complete`; use the `/api/v1/audio/voice-changer` endpoints instead.","example":"elevenlabs-music","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"queue_id":{"type":"string","description":"The ID of the audio generation request. Use this to poll for status and retrieve the result.","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"queue_id","typeLabel":"string"},"delete_media_on_completion":{"type":"boolean","default":false,"description":"If true, the audio media will be deleted from storage after the request is completed. If false, you can use the complete endpoint to remove the media once you have successfully downloaded the audio.","example":false,"uniqueKey":"delete_media_on_completion","typeLabel":"boolean"}},"required":["model","queue_id"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"model":"elevenlabs-music","queue_id":"123e4567-e89b-12d3-a456-426614174000","delete_media_on_completion":false}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"014e8d73-d85b-45d7-a83a-b1de17193be5":{"description":"Audio generation status or completed audio","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":{"status":{"type":"string","enum":["PROCESSING"],"description":"The status of the audio generation request.","example":"PROCESSING","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"average_execution_time":{"type":"number","description":"The estimated execution time of the audio generation request in milliseconds (P80).","example":20000,"isRequired":true,"uniqueKey":"average_execution_time","typeLabel":"number"},"execution_duration":{"type":"number","description":"The current duration of the audio generation request in milliseconds.","example":5200,"isRequired":true,"uniqueKey":"execution_duration","typeLabel":"number"}},"required":["status","average_execution_time","execution_duration"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"PROCESSING","average_execution_time":20000,"execution_duration":5200}}},"exampleType":"generated"},"audio/mpeg":{"schema":{"type":"string","format":"binary","uniqueKey":"","typeLabel":"file"},"examples":{"Example":{"title":"Example","value":"\u003cstring>"}},"exampleType":"generated"},"audio/wav":{"schema":{"type":"string","format":"binary","uniqueKey":"","typeLabel":"file"},"examples":{"Example":{"title":"Example","value":"\u003cstring>"}},"exampleType":"generated"},"audio/flac":{"schema":{"type":"string","format":"binary","uniqueKey":"","typeLabel":"file"},"examples":{"Example":{"title":"Example","value":"\u003cstring>"}},"exampleType":"generated"}},"exampleType":"generated"},"63192666-5730-45cf-b74a-0cb1336b5795":{"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"},"aa2f5862-56cc-46d1-81f3-feddd3747efc":{"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"},"7ae3bedc-0919-4078-ac06-a16b30b693b5":{"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\nA wallet that has never completed a top-up has no Venice account yet and receives this response with a balance of `0`. The first successful top-up creates the account.\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 in CAIP-2 form (e.g. `eip155:8453` for Base, `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp` for Solana mainnet).","example":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","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":"Server-generated nonce for replay protection: 32 hex characters.","example":"a1b2c3d4e5f67890a1b2c3d4e5f67890","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","ed25519"],"description":"Signature algorithm: `eip191` for EVM wallets (EOAs and smart contract wallets), `ed25519` for Solana.","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[]"},"schema":{"type":"object","properties":{},"description":"JSON Schema of the proof the client sends in the `SIGN-IN-WITH-X` header.","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.schema","typeLabel":"object"}},"required":["info","supportedChains","schema"],"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"},"bd21b80f-6498-4472-897d-ae4722963a95":{"content":{"application/json":{"schema":{"type":"object","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":"error","typeLabel":"enum\u003cstring>"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"This API key is restricted to configured IP addresses, and this request's source IP is not allowed"}}},"exampleType":"generated"}},"description":"This API key is restricted to configured IP addresses, and this request's source IP is not allowed","exampleType":"generated"},"d58f5c97-3fa1-47b0-912b-f8674e6e840c":{"description":"Media could not be found. Request may may be invalid, expired, or deleted.","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"},"5a313f4d-3bc0-47b5-b2d8-8bc3c660eb6c":{"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"},"2c1d1ff4-1c91-4114-933c-d02c9097a52c":{"description":"Rate limit exceeded","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"},"c42cd8c2-1de5-414d-bbc9-7b1f8f061a00":{"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"},"93de801a-d2d5-4226-b7e1-dbea014d052c":{"description":"The model is at capacity. Please try again later.","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":{"f7777695-0ef4-4d63-a017-3ff8b28da2fc":{"BearerAuth":{"bearerFormat":"JWT","scheme":"bearer","type":"http","scopes":[],"schemeName":"BearerAuth"}},"490a3633-0429-40fc-b9cf-b95dd9c821a3":{"siwx":{"description":"Wallet-based authentication using the x402 sign-in-with-x extension. Supports EVM wallets on Base (EIP-4361 SIWE, including EIP-1271 smart contract wallets) and Ed25519 wallets on Solana mainnet.\n\n**Header format:** Base64-encoded JSON proof with these fields:\n- `domain` — `api.venice.ai`\n- `address` — EVM or Solana wallet address\n- `uri` — URL of the requested resource\n- `version` — `\"1\"`\n- `chainId` — `\"eip155:8453\"` for Base or `\"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp\"` for Solana\n- `type` — `\"eip191\"` for EVM wallets or `\"ed25519\"` for Solana\n- `nonce` — the `nonce` from the latest 402 challenge (`extensions[\"sign-in-with-x\"].info.nonce`), or 32 random hex characters. Each nonce works once.\n- `issuedAt` — ISO 8601 time the proof was signed. Proofs older than 5 minutes are rejected.\n- `expirationTime`, `notBefore`, `statement`, `resources` — optional\n- `signature` — signature over the message built from these fields: an EIP-4361 SIWE message for EVM (hex) or the Solana sign-in message (base58)\n\nVenice rebuilds the signed message from these fields, with the bare reference on its `Chain ID` line (`8453`, `5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp`). Proofs from older clients that send the signed `message` itself are still accepted.\n\n**Example (TypeScript, viem):**\n```\nimport { privateKeyToAccount } from 'viem/accounts'\nimport { createSiweMessage } from 'viem/siwe'\n\nconst account = privateKeyToAccount(PRIVATE_KEY)\nconst fields = { domain: 'api.venice.ai', address: account.address, uri: 'https://api.venice.ai/api/v1/chat/completions', version: '1' as const, nonce: crypto.randomUUID().replace(/-/g, ''), issuedAt: new Date().toISOString(), statement: 'Sign in to Venice AI' }\nconst message = createSiweMessage({ ...fields, chainId: 8453, issuedAt: new Date(fields.issuedAt) })\nconst signature = await account.signMessage({ message })\nconst header = btoa(JSON.stringify({ ...fields, chainId: 'eip155:8453', type: 'eip191', signature }))\n// Set header: SIGN-IN-WITH-X: \u003cheader>\n```\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 x402 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":{"c43d494a-43cb-4832-b632-5c080e36da4c":{"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 sign-in-with-x extension. Supports EVM wallets on Base (EIP-4361 SIWE, including EIP-1271 smart contract wallets) and Ed25519 wallets on Solana mainnet.\n\n**Header format:** Base64-encoded JSON proof with these fields:\n- `domain` — `api.venice.ai`\n- `address` — EVM or Solana wallet address\n- `uri` — URL of the requested resource\n- `version` — `\"1\"`\n- `chainId` — `\"eip155:8453\"` for Base or `\"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp\"` for Solana\n- `type` — `\"eip191\"` for EVM wallets or `\"ed25519\"` for Solana\n- `nonce` — the `nonce` from the latest 402 challenge (`extensions[\"sign-in-with-x\"].info.nonce`), or 32 random hex characters. Each nonce works once.\n- `issuedAt` — ISO 8601 time the proof was signed. Proofs older than 5 minutes are rejected.\n- `expirationTime`, `notBefore`, `statement`, `resources` — optional\n- `signature` — signature over the message built from these fields: an EIP-4361 SIWE message for EVM (hex) or the Solana sign-in message (base58)\n\nVenice rebuilds the signed message from these fields, with the bare reference on its `Chain ID` line (`8453`, `5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp`). Proofs from older clients that send the signed `message` itself are still accepted.\n\n**Example (TypeScript, viem):**\n```\nimport { privateKeyToAccount } from 'viem/accounts'\nimport { createSiweMessage } from 'viem/siwe'\n\nconst account = privateKeyToAccount(PRIVATE_KEY)\nconst fields = { domain: 'api.venice.ai', address: account.address, uri: 'https://api.venice.ai/api/v1/chat/completions', version: '1' as const, nonce: crypto.randomUUID().replace(/-/g, ''), issuedAt: new Date().toISOString(), statement: 'Sign in to Venice AI' }\nconst message = createSiweMessage({ ...fields, chainId: 8453, issuedAt: new Date(fields.issuedAt) })\nconst signature = await account.signMessage({ message })\nconst header = btoa(JSON.stringify({ ...fields, chainId: 'eip155:8453', type: 'eip191', signature }))\n// Set header: SIGN-IN-WITH-X: \u003cheader>\n```\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 x402 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 sign-in-with-x extension. Supports EVM wallets on Base (EIP-4361 SIWE, including EIP-1271 smart contract wallets) and Ed25519 wallets on Solana mainnet.\n\n**Header format:** Base64-encoded JSON proof with these fields:\n- `domain` — `api.venice.ai`\n- `address` — EVM or Solana wallet address\n- `uri` — URL of the requested resource\n- `version` — `\"1\"`\n- `chainId` — `\"eip155:8453\"` for Base or `\"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp\"` for Solana\n- `type` — `\"eip191\"` for EVM wallets or `\"ed25519\"` for Solana\n- `nonce` — the `nonce` from the latest 402 challenge (`extensions[\"sign-in-with-x\"].info.nonce`), or 32 random hex characters. Each nonce works once.\n- `issuedAt` — ISO 8601 time the proof was signed. Proofs older than 5 minutes are rejected.\n- `expirationTime`, `notBefore`, `statement`, `resources` — optional\n- `signature` — signature over the message built from these fields: an EIP-4361 SIWE message for EVM (hex) or the Solana sign-in message (base58)\n\nVenice rebuilds the signed message from these fields, with the bare reference on its `Chain ID` line (`8453`, `5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp`). Proofs from older clients that send the signed `message` itself are still accepted.\n\n**Example (TypeScript, viem):**\n```\nimport { privateKeyToAccount } from 'viem/accounts'\nimport { createSiweMessage } from 'viem/siwe'\n\nconst account = privateKeyToAccount(PRIVATE_KEY)\nconst fields = { domain: 'api.venice.ai', address: account.address, uri: 'https://api.venice.ai/api/v1/chat/completions', version: '1' as const, nonce: crypto.randomUUID().replace(/-/g, ''), issuedAt: new Date().toISOString(), statement: 'Sign in to Venice AI' }\nconst message = createSiweMessage({ ...fields, chainId: 8453, issuedAt: new Date(fields.issuedAt) })\nconst signature = await account.signMessage({ message })\nconst header = btoa(JSON.stringify({ ...fields, chainId: 'eip155:8453', type: 'eip191', signature }))\n// Set header: SIGN-IN-WITH-X: \u003cheader>\n```\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 x402 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":"Récupération audio | Venice API Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/endpoint/audio/retrieve","matchLevel":1},"pt-BR":{"href":"/pt-BR/api-reference/endpoint/audio/retrieve","matchLevel":1},"ar":{"href":"/ar/api-reference/endpoint/audio/retrieve","matchLevel":1},"it":{"href":"/it/api-reference/endpoint/audio/retrieve","matchLevel":1},"de":{"href":"/de/api-reference/endpoint/audio/retrieve","matchLevel":1},"es":{"href":"/es/api-reference/endpoint/audio/retrieve","matchLevel":1},"fr":{"href":"/fr/api-reference/endpoint/audio/retrieve","matchLevel":0},"zh":{"href":"/zh/api-reference/endpoint/audio/retrieve","matchLevel":1},"ko":{"href":"/ko/api-reference/endpoint/audio/retrieve","matchLevel":1}}},"lastModified":"2026-11-13T19:30:56.288Z","originalFileLocation":"fr/api-reference/endpoint/audio/retrieve.mdx","locale":"fr"},"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=\"dark\"}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=\"Retrieve the status or result of an audio generation request. If the audio is still being generated, returns processing status with estimated time. If complete, returns the audio data. 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. A 401 response with code X402_USER_NOT_ALLOWED means the wallet\u0026#x27;s Venice account is banned or deleted, or the wallet\u0026#x27;s x402 credit account belongs to a different user.\">\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=\"Récupération audio | Venice API Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Documentation couvrant l\u0026#x27;API de récupération des générations audio de 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/fr/api-reference/endpoint/audio/retrieve\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://veniceai.mintlify.site/_mintlify/api/og/v2?division=Audio\u0026amp;title=R%C3%A9cup%C3%A9rer+l%27audio\u0026amp;description=Retrieve+the+status+or+result+of+an+audio+generation+request.+If+the+audio+is+still+being+generated%2C+returns+processing+status+with+estimated+time.+If+complete%2C\u0026amp;theme=e3e98313d1ad7eff1b456df0\u0026amp;signature=65c1a2c41fe07b8b98724df3a4d1cf4c1e4efe3cd4d881f90f3e7575b497d799\">\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=\"Récupération audio | Venice API Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Documentation couvrant l\u0026#x27;API de récupération des générations audio de Venice.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://veniceai.mintlify.site/_mintlify/api/og/v2?division=Audio\u0026amp;title=R%C3%A9cup%C3%A9rer+l%27audio\u0026amp;description=Retrieve+the+status+or+result+of+an+audio+generation+request.+If+the+audio+is+still+being+generated%2C+returns+processing+status+with+estimated+time.+If+complete%2C\u0026amp;theme=e3e98313d1ad7eff1b456df0\u0026amp;signature=65c1a2c41fe07b8b98724df3a4d1cf4c1e4efe3cd4d881f90f3e7575b497d799\">\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/fr/api-reference/endpoint/audio/retrieve\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/fr/api-reference/endpoint/audio/retrieve.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.venice.ai/fr/api-reference/endpoint/audio/retrieve\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.venice.ai/api-reference/endpoint/audio/retrieve\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.venice.ai/pt-BR/api-reference/endpoint/audio/retrieve\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ar\" href=\"https://docs.venice.ai/ar/api-reference/endpoint/audio/retrieve\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"it\" href=\"https://docs.venice.ai/it/api-reference/endpoint/audio/retrieve\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.venice.ai/de/api-reference/endpoint/audio/retrieve\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.venice.ai/es/api-reference/endpoint/audio/retrieve\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.venice.ai/zh/api-reference/endpoint/audio/retrieve\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.venice.ai/ko/api-reference/endpoint/audio/retrieve\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.venice.ai/api-reference/endpoint/audio/retrieve\">\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/fr/api-reference/endpoint/audio/retrieve#webpage\",\"url\":\"https://docs.venice.ai/fr/api-reference/endpoint/audio/retrieve\",\"name\":\"Récupérer l'audio\",\"description\":\"Retrieve the status or result of an audio generation request. If the audio is still being generated, returns processing status with estimated time. If complete, returns the audio data. 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. A 401 response with code X402_USER_NOT_ALLOWED means the wallet's Venice account is banned or deleted, or the wallet's x402 credit account belongs to a different user.\",\"dateModified\":\"2026-11-13T19:30:56.288Z\",\"isPartOf\":{\"@id\":\"https://docs.venice.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.venice.ai/fr/api-reference/endpoint/audio/retrieve#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.venice.ai/fr/api-reference/endpoint/audio/retrieve#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Venice APIs\",\"item\":\"https://docs.venice.ai/fr/api-reference/api-spec\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Audio\",\"item\":\"https://docs.venice.ai/fr/api-reference/endpoint/audio/speech\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Récupérer l'audio\",\"item\":\"https://docs.venice.ai/fr/api-reference/endpoint/audio/retrieve\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.venice.ai/fr/api-reference/endpoint/audio/retrieve#apireference\",\"headline\":\"Récupérer l'audio\",\"name\":\"Récupérer l'audio\",\"description\":\"Retrieve the status or result of an audio generation request. If the audio is still being generated, returns processing status with estimated time. If complete, returns the audio data. 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. A 401 response with code X402_USER_NOT_ALLOWED means the wallet's Venice account is banned or deleted, or the wallet's x402 credit account belongs to a different user.\",\"url\":\"https://docs.venice.ai/fr/api-reference/endpoint/audio/retrieve\",\"mainEntityOfPage\":{\"@id\":\"https://docs.venice.ai/fr/api-reference/endpoint/audio/retrieve#webpage\"},\"dateModified\":\"2026-11-13T19:30:56.288Z\",\"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\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Venice API Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/fr/api-reference/endpoint/audio/retrieve.md","siteName":"Venice API Docs","nav":{"global":null,"languages":[{"language":"en","default":true,"pages":[{"title":"en","href":"/api-reference/endpoint/audio/retrieve"}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt-BR/api-reference/endpoint/audio/retrieve"}]},{"language":"ar","pages":[{"title":"ar","href":"/ar/api-reference/endpoint/audio/retrieve"}]},{"language":"it","pages":[{"title":"it","href":"/it/api-reference/endpoint/audio/retrieve"}]},{"language":"de","pages":[{"title":"de","href":"/de/api-reference/endpoint/audio/retrieve"}]},{"language":"es","pages":[{"title":"es","href":"/es/api-reference/endpoint/audio/retrieve"}]},{"language":"fr","tabs":[{"tab":"Documentation","icon":"book","pages":[{"title":"Documentation","href":"/fr/overview/about-venice"}]},{"tab":"Modèles","icon":"box","pages":[{"title":"Modèles","href":"/fr/models/overview"}]},{"tab":"Apprendre","icon":"layout-grid","pages":[{"title":"Apprendre","href":"/fr/learn"}]},{"tab":"Référence de l'API","icon":"code","groups":[{"group":"Venice APIs","pages":[{"title":"Introduction","href":"/fr/api-reference/api-spec"},{"title":"Limites de débit","href":"/fr/api-reference/rate-limiting"},{"title":"Codes d'erreur","href":"/fr/api-reference/error-codes"},{"group":"Chat","expanded":false,"pages":[{"title":"Chat Completions","openapi":"POST /chat/completions","href":"/fr/api-reference/endpoint/chat/completions"},{"title":"Responses","openapi":"POST /responses","href":"/fr/api-reference/endpoint/responses/create"},{"title":"Suffixe de fonctionnalité de modèle","href":"/fr/api-reference/endpoint/chat/model_feature_suffix"},{"title":"Créer des décisions","openapi":"POST /decisions","href":"/fr/api-reference/endpoint/decisions/create"},{"title":"Compatibilité System One","openapi":"POST /systemone","href":"/fr/api-reference/endpoint/decisions/systemone"}]},{"group":"Images","expanded":false,"pages":[{"title":"Générer des images","openapi":"POST /image/generate","href":"/fr/api-reference/endpoint/image/generate"},{"title":"Agrandir et améliorer","openapi":"POST /image/upscale","href":"/fr/api-reference/endpoint/image/upscale"},{"title":"Éditer (aussi appelé Inpaint)","openapi":"POST /image/edit","href":"/fr/api-reference/endpoint/image/edit"},{"title":"Édition multi-images","openapi":"POST /image/multi-edit","href":"/fr/api-reference/endpoint/image/multi-edit"},{"title":"Suppression d'arrière-plan","openapi":"POST /image/background-remove","href":"/fr/api-reference/endpoint/image/background-remove"},{"title":"Styles d'image","openapi":"GET /image/styles","href":"/fr/api-reference/endpoint/image/styles"},{"title":"Générer des images (API compatible OpenAI)","openapi":"POST /images/generations","href":"/fr/api-reference/endpoint/image/generations"}]},{"group":"Audio","expanded":false,"pages":[{"title":"API Speech (Beta)","openapi":"POST /audio/speech","href":"/fr/api-reference/endpoint/audio/speech"},{"title":"Cloner une voix","openapi":"POST /audio/voices","href":"/fr/api-reference/endpoint/audio/voices"},{"title":"API Transcriptions (Beta)","openapi":"POST /audio/transcriptions","href":"/fr/api-reference/endpoint/audio/transcriptions"},{"title":"Mettre en file d'attente une génération audio","openapi":"POST /audio/queue","description":"Queue a new audio 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. A `401` response with code `X402_USER_NOT_ALLOWED` means the wallet's Venice account is banned or deleted, or the wallet's x402 credit account belongs to a different user.","href":"/fr/api-reference/endpoint/audio/queue"},{"title":"Récupérer l'audio","openapi":"POST /audio/retrieve","href":"/fr/api-reference/endpoint/audio/retrieve"},{"title":"Devis pour la génération audio","openapi":"POST /audio/quote","description":"Get a price quote for audio generation with the specified parameters.","href":"/fr/api-reference/endpoint/audio/quote"},{"title":"Compléter l'audio","openapi":"POST /audio/complete","href":"/fr/api-reference/endpoint/audio/complete"},{"title":"Mettre en file d'attente le changeur de voix","openapi":"POST /audio/voice-changer/queue","href":"/fr/api-reference/endpoint/audio/voice-changer/queue"},{"title":"Récupérer le changeur de voix","openapi":"POST /audio/voice-changer/retrieve","href":"/fr/api-reference/endpoint/audio/voice-changer/retrieve"},{"title":"Devis pour le changeur de voix","openapi":"POST /audio/voice-changer/quote","href":"/fr/api-reference/endpoint/audio/voice-changer/quote"},{"title":"Compléter le changeur de voix","openapi":"POST /audio/voice-changer/complete","href":"/fr/api-reference/endpoint/audio/voice-changer/complete"}]},{"group":"Vidéo","expanded":false,"pages":[{"title":"Mettre en file d'attente une génération vidéo","openapi":"POST /video/queue","href":"/fr/api-reference/endpoint/video/queue"},{"title":"Récupérer la vidéo","openapi":"POST /video/retrieve","href":"/fr/api-reference/endpoint/video/retrieve"},{"title":"Devis pour la génération vidéo","openapi":"POST /video/quote","href":"/fr/api-reference/endpoint/video/quote"},{"title":"Compléter la vidéo","openapi":"POST /video/complete","href":"/fr/api-reference/endpoint/video/complete"}]},{"group":"Outils","expanded":false,"pages":[{"title":"Analyseur de texte","openapi":"POST /augment/text-parser","href":"/fr/api-reference/endpoint/augment/text-parser"},{"title":"Web Scraping","openapi":"POST /augment/scrape","href":"/fr/api-reference/endpoint/augment/scrape"},{"title":"Recherche web","openapi":"POST /augment/search","href":"/fr/api-reference/endpoint/augment/search"},{"title":"Réseaux crypto","openapi":"GET /crypto/rpc/networks","href":"/fr/api-reference/endpoint/crypto/networks"},{"title":"RPC crypto","openapi":"POST /crypto/rpc/{network}","href":"/fr/api-reference/endpoint/crypto/rpc"}]},{"group":"Embeddings","expanded":false,"pages":[{"title":"Générer des embeddings","openapi":"POST /embeddings","href":"/fr/api-reference/endpoint/embeddings/generate"}]},{"group":"Modèles","expanded":false,"pages":[{"title":"Lister les modèles","openapi":"GET /models","href":"/fr/api-reference/endpoint/models/list"},{"title":"Mappage de compatibilité","openapi":"GET /models/compatibility_mapping","href":"/fr/api-reference/endpoint/models/compatibility_mapping"},{"title":"Caractéristiques","openapi":"GET /models/traits","href":"/fr/api-reference/endpoint/models/traits"}]},{"group":"Clés d'API","expanded":false,"pages":[{"title":"Lister les clés API","openapi":"GET /api_keys","href":"/fr/api-reference/endpoint/api_keys/list"},{"title":"Obtenir les détails d'une clé API","openapi":"GET /api_keys/{id}","href":"/fr/api-reference/endpoint/api_keys/get"},{"title":"Créer une clé API","openapi":"POST /api_keys","href":"/fr/api-reference/endpoint/api_keys/create"},{"title":"Mettre à jour une clé API","openapi":"PATCH /api_keys","href":"/fr/api-reference/endpoint/api_keys/update"},{"title":"Supprimer une clé API","openapi":"DELETE /api_keys","href":"/fr/api-reference/endpoint/api_keys/delete"},{"title":"Générer une clé API avec un portefeuille Web3","openapi":"GET /api_keys/generate_web3_key","href":"/fr/api-reference/endpoint/api_keys/generate_web3_key/get"},{"title":"Générer une clé API avec un portefeuille Web3","openapi":"POST /api_keys/generate_web3_key","href":"/fr/api-reference/endpoint/api_keys/generate_web3_key/post"}]},{"group":"Limites des clés d'API","expanded":false,"pages":[{"title":"Limites de débit et soldes","openapi":"GET /api_keys/rate_limits","href":"/fr/api-reference/endpoint/api_keys/rate_limits"},{"title":"Journaux de limite de débit","openapi":"GET /api_keys/rate_limits/log","href":"/fr/api-reference/endpoint/api_keys/rate_limit_logs"}]},{"group":"Personnages","expanded":false,"pages":[{"title":"Obtenir un personnage","openapi":"GET /characters/{slug}","href":"/fr/api-reference/endpoint/characters/get"},{"title":"Lister les personnages","openapi":"GET /characters","href":"/fr/api-reference/endpoint/characters/list"},{"title":"Lister les avis sur un personnage","openapi":"GET /characters/{slug}/reviews","href":"/fr/api-reference/endpoint/characters/reviews"}]},{"group":"Facturation","expanded":false,"pages":[{"title":"Solde de facturation","openapi":"GET /billing/balance","href":"/fr/api-reference/endpoint/billing/balance"},{"title":"Utilisation de la facturation (supprimé)","openapi":"GET /billing/usage","href":"/fr/api-reference/endpoint/billing/usage"},{"title":"Analyses d'utilisation de facturation (Beta)","openapi":"GET /billing/usage-analytics","href":"/fr/api-reference/endpoint/billing/usage-analytics"},{"title":"Historique d'utilisation de la facturation","openapi":"GET /billing/usage-history","href":"/fr/api-reference/endpoint/billing/usage-history"}]},{"group":"X402","expanded":true,"pages":[{"title":"Solde X402","openapi":"GET /x402/balance/{walletAddress}","href":"/fr/api-reference/endpoint/x402/balance"},{"title":"Recharge X402","openapi":"POST /x402/top-up","href":"/fr/api-reference/endpoint/x402/top-up"},{"title":"Transactions X402","openapi":"GET /x402/transactions/{walletAddress}","href":"/fr/api-reference/endpoint/x402/transactions"}]}]}]},{"tab":"Journal des modifications","icon":"history","href":"/changelog"},{"tab":"Statut","icon":"activity","href":"https://veniceai-status.com"}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/api-reference/endpoint/audio/retrieve"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/api-reference/endpoint/audio/retrieve"}]}]},"basePath":"","title":"Récupération audio | Venice API Docs","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-BIYvYBgk.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js","Markdown-CEfymfIH.js","clsx-Dq9TQuNi.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-D2J8knkn.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BgZ2ThuU.js"]}