Creates an asynchronous avatar-video render backed by a normal recorded Anam session. A saved persona contributes only its snapshotted avatar, voice, language, model and director notes; its greeting, brain, prompt and tools never run. The request is rejected rather than queued when either concurrency limit is full.
Caller metadata, up to 16 KB serialized. It is stored and returned as sent. A zero-data-retention video, which includes every video created on a regional host, doesn't store it: its responses return {}. Keep your own mapping from the video id to your records.
Seconds to keep the recording, session report and job content after the job ends; Lab then deletes them within about a minute. Without a value, they are kept until deleted. Download the recording as soon as it is ready.
Region the job is pinned to: eu when created on api.eu.anam.ai, us when created on api.us.anam.ai. Its session, recording and retries stay in that region. Null when created on api.anam.ai.
Whether the job runs with Zero Data Retention, which keeps its script, and a direct request's style prompts, out of Lab's database. A persona-sourced job's director notes stay in its stored persona. Always true for a job created on a regional host.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Anam","colors":{"primary":"#ff6200","light":"#ff6200","dark":"#ff6200"},"logo":{"light":"https://mintcdn.com/anam/C1_yhmh0z2cLMID5/logo/anam-logo-black.png?fit=max\u0026auto=format\u0026n=C1_yhmh0z2cLMID5\u0026q=85\u0026s=df3c7456becff3adcf00bdee3d8b24e6","dark":"https://mintcdn.com/anam/C1_yhmh0z2cLMID5/logo/anam-logo-white.png?fit=max\u0026auto=format\u0026n=C1_yhmh0z2cLMID5\u0026q=85\u0026s=005acf7e494d6373e42ecea78ed414c6","href":"https://anam.ai"},"favicon":"https://mintcdn.com/anam/gnLapnNwnB6mzSvX/images/FaviconDarkBorderRadius.png?fit=max\u0026auto=format\u0026n=gnLapnNwnB6mzSvX\u0026q=85\u0026s=4f13a1002d44bd8912121e6d0f106116","appearance":{"default":"light"},"background":{"color":{"light":"#FFFFFF","dark":"#000000"}},"navbar":{"links":[{"href":"https://anam.ai/cookbook","label":"Cookbook"},{"href":"https://anam.ai/docs/llms-full.txt","label":"llms.txt"},{"href":"https://join.slack.com/t/anamcommunity/shared_invite/zt-4an41luvk-UH4UowegfQQR3rQbR_UHuQ","label":"Support"}],"primary":{"type":"button","label":"Sign In","href":"https://lab.anam.ai"}},"seo":{"metatags":{"og:site_name":"Anam Documentation","og:description":"Anam developer documentation. Build real-time interactive AI avatars with low-latency voice, custom personas, and multi-language support.","og:image":"/logo/anam-logo-white.png","og:logo":"/logo/anam-logo-white.png","twitter:image":"/logo/anam-logo-white.png","twitter:logo":"/logo/anam-logo-white.png"},"indexing":"navigable"},"fonts":{"heading":{"family":"Inter"},"body":{"family":"Inter"}},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system","latex":false},"integrations":{"cookies":{"key":"anam_mintlify_consent","value":"granted"}},"contextual":{"options":["assistant","copy","view","claude","chatgpt"],"display":"header"},"metadata":{"timestamp":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"anam","hasAudioNarration":false,"actualSubdomain":"anam","customDomains":["anam.ai"],"gitSource":{"type":"github","owner":"anam-org","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aeb66f10e1827ae617b0de1","collectionId":"d603ccfc-1e3b-467d-93a5-b3a5c70bfb2c","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aeb66f10e1827ae617b0de1"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aec94f4754501e0c6b6422b","clientVersion":"0.0.4067","searchFilterCounts":[{"language":"default","tag":"API Reference","count":76},{"language":"default","tag":"Overview","count":45},{"language":"default","tag":"Personas","count":37},{"language":"default","tag":"Knowledge","count":20},{"language":"default","tag":"JavaScript SDK","count":16},{"language":"default","tag":"Voices","count":14},{"language":"default","tag":"Integrations","count":12},{"language":"default","tag":"ElevenLabs Agents","count":12},{"language":"default","tag":"Sessions","count":12},{"language":"default","tag":"Embed","count":10}]},"assistantConfig":{},"basePath":"/docs","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},{"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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".dark a[href=\"https://lab.anam.ai\"],.dark a[href=\"https://lab.anam.ai\"] *{color:#ffffff!important}.dark img[src$=\"/integrations/livekit.svg\"],.dark img[src$=\"/integrations/elevenlabs.svg\"]{filter:invert(1)}a.demo-source-link{display:inline-flex;min-height:44px;max-width:100%;align-items:center;justify-content:center;gap:10px;padding:10px 16px;border:1px solid #d4d4d4;border-radius:8px;background:#ffffff;color:#171717;font-size:14px;font-weight:500;line-height:1.5;text-decoration:none}.demo-source-link>span:first-child{display:flex;flex:none}.demo-source-link svg{background-color:currentColor}a.demo-source-link:hover{background:#f5f5f5;border-color:#a3a3a3}a.demo-source-link:active{background:#e5e5e5}a.demo-source-link:focus-visible{outline:2px solid #ff6200;outline-offset:3px}.dark a.demo-source-link{border-color:#525252;background:#171717;color:#f5f5f5}.dark a.demo-source-link:hover{border-color:#737373;background:#262626}.dark a.demo-source-link:active{background:#404040}.prebuilt-prompt{position:relative;display:grid;grid-template-columns:9.5rem 10.5rem minmax(0, 1fr);justify-content:start;align-items:center;gap:16px 12px;margin:1.75rem 0 2rem;padding:20px;border:1px solid #e5e5e5;border-radius:12px;background:#fafafa}.mdx-content>.prebuilt-prompt:first-child{margin-top:0}.prebuilt-prompt-copy{grid-column:1 / -1;min-width:0}.prebuilt-prompt-title{margin:0;color:#171717;font-size:16px;font-weight:600;letter-spacing:-0.01em;line-height:1.5}.prebuilt-prompt-description{margin:6px 0 0;color:#525252;font-size:14px;line-height:1.5}.prebuilt-prompt-button{display:inline-flex;width:9.5rem;min-height:44px;align-items:center;justify-content:center;gap:8px;padding:10px 12px;border:1px solid transparent;border-radius:8px;background:#171717;color:#ffffff;font:inherit;font-size:14px;font-weight:500;line-height:1.5;white-space:nowrap;cursor:pointer}.prebuilt-prompt-button:hover{background:#404040}.prebuilt-prompt-button:active{background:#525252}.prebuilt-prompt-button:focus-visible{outline:2px solid #ff6200;outline-offset:3px}.prebuilt-prompt-button[aria-disabled=\"true\"]{cursor:progress}.prebuilt-prompt-button svg{flex:none}.prebuilt-prompt-icon-check,.prebuilt-prompt-icon-error,.prebuilt-prompt-button[data-copy-state=\"copied\"] .prebuilt-prompt-icon-copy,.prebuilt-prompt-button[data-copy-state=\"error\"] .prebuilt-prompt-icon-copy{display:none}.prebuilt-prompt-button[data-copy-state=\"copied\"] .prebuilt-prompt-icon-check,.prebuilt-prompt-button[data-copy-state=\"error\"] .prebuilt-prompt-icon-error{display:initial}.prebuilt-prompt-status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.dark .prebuilt-prompt{border-color:#404040;background:#171717}.dark .prebuilt-prompt-title{color:#f5f5f5}.dark .prebuilt-prompt-description{color:#bfbfbf}.dark .prebuilt-prompt-button{background:#f5f5f5;color:#171717}.dark .prebuilt-prompt-button:hover{background:#d4d4d4}.dark .prebuilt-prompt-button:active{background:#bfbfbf}@media (max-width: 480px){.prebuilt-prompt{grid-template-columns:minmax(0, 1fr);justify-content:stretch;gap:12px}.prebuilt-prompt-copy{margin-bottom:4px}.prebuilt-prompt-button{width:100%}}"},{"filePath":"anam-consent.css","content":".anam-cookie-banner{position:fixed;right:1rem;bottom:1rem;z-index:2147483647;width:min(24rem, calc(100vw - 2rem));padding:1rem;font-family:inherit;color:#111827;background:#ffffff;border:1px solid #e5e7eb;border-radius:0.75rem;box-shadow:0 0.625rem 0.9375rem -0.1875rem rgb(0 0 0 / 10%),\n 0 0.25rem 0.375rem -0.25rem rgb(0 0 0 / 10%)}.anam-cookie-banner[hidden]{display:none}.anam-cookie-banner h2{margin:0 0 0.25rem;font-size:0.8125rem;font-weight:600;line-height:1.125rem}.anam-cookie-banner p{margin:0;color:#6b7280;font-size:0.8125rem;line-height:1.125rem}.anam-cookie-banner a{color:#111827;text-underline-offset:0.2rem}.anam-cookie-actions{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:0.5rem;margin-top:1rem}.anam-cookie-actions button{height:2rem;min-width:0;padding:0 1rem;font-family:inherit;font-size:0.8125rem;font-weight:400;line-height:1.125rem;cursor:pointer;border-radius:0.5rem}.anam-cookie-primary{color:#111827;background:#ff6200;border:1px solid #ff6200}.anam-cookie-secondary{color:#111827;background:transparent;border:1px solid #d1d5db}.anam-cookie-primary:hover{background:#e55800;border-color:#e55800}.anam-cookie-secondary:hover{background:#f3f4f6}.anam-cookie-actions button:focus-visible{outline:2px solid #ff6200;outline-offset:2px}"}],"page":{"pagePath":"api-reference/avatar-videos/create-an-avatar-video","slug":"/api-reference/avatar-videos/create-an-avatar-video","pageMetadata":{"title":"create avatar video","description":"Creates an asynchronous avatar-video render backed by a normal recorded Anam session. A saved persona contributes only its snapshotted avatar, voice, language, model and director notes; its greeting, brain, prompt and tools never run. The request is rejected rather than queued when either concurrency limit is full.","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/avatar-videos","href":"/api-reference/avatar-videos/create-an-avatar-video","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Creates an asynchronous avatar-video render backed by a normal recorded Anam session. A saved persona contributes only its snapshotted avatar, voice, language, model and director notes; its greeting, brain, prompt and tools never run. The request is rejected rather than queued when either concurrency limit is full.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"create avatar video","description":"Creates an asynchronous avatar-video render backed by a normal recorded Anam session. A saved persona contributes only its snapshotted avatar, voice, language, model and director notes; its greeting, brain, prompt and tools never run. The request is rejected rather than queued when either concurrency limit is full.","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/avatar-videos","href":"/api-reference/avatar-videos/create-an-avatar-video","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/anam/b2d95394aafe5d57/anam-attribution.js","/docs/_mintlify/custom/anam/e3b0c44298fc1c14/breadcrumbs.js","/docs/_mintlify/custom/anam/09f69e41a6d2a118/scripts/sync-api-reference.js","/docs/_mintlify/custom/anam/8eee8d5d8d0dc77a/anam-consent.js","/docs/_mintlify/custom/anam/1df9efd6c260b783/integration-menu-preload.js"],"openApiReferenceData":{"operation":{"summary":"Create an avatar video","description":"Creates an asynchronous avatar-video render backed by a normal recorded Anam session. A saved persona contributes only its snapshotted avatar, voice, language, model and director notes; its greeting, brain, prompt and tools never run. The request is rejected rather than queued when either concurrency limit is full.","parameters":["145bac20-ab8c-43f7-af96-dd48d097eef4"],"requestBody":"3afd23ea-21fc-425c-81fc-4993cd4ff8df","responses":{"202":"d29c5772-5ebe-4446-a91e-fa7dbbd8476e","400":"826f3a34-b37d-4a9d-acd6-fffc1a975253","401":"c7ead933-ba81-4e17-8416-559b0dc8c33d","403":"b8d3879d-b760-4e18-9548-77e5f27d083e","404":"c914fadc-e911-41b7-9e43-7ad045b3fb0a","409":"2afc8901-243e-4fbc-a8b1-71b05261838c","410":"9a2bf532-dc43-4404-91f7-fcec55b1ada2","429":"9048f812-5717-42f4-84b7-b197dee7ae6d","502":"fa685858-112f-4418-9e58-ab3ee2e2547b","503":"b3e9f736-38bf-4db3-90d4-88ccaa5991ed"},"tags":["Avatar Videos"],"operationId":"createAvatarVideo","x-mint":{"metadata":{"title":"create avatar video"},"mcp":{"enabled":true,"name":"create-avatar-video","description":"Creates an asynchronous avatar-video render backed by a normal recorded Anam session. A saved persona contributes only its snapshotted avatar, voice, language, model and director notes; its greeting, brain, prompt and tools never run. The request is rejected rather than queued when either concurrency limit is full."}},"method":"post","type":"path","servers":["4b1acc43-2c22-439d-ab33-c134d25a4ca8"],"security":["a01089d0-08ab-432f-9c4b-aee610be9130"],"path":"/v1/avatar-videos","baseUrlOptions":["https://api.anam.ai"],"title":"Create an avatar video","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"145bac20-ab8c-43f7-af96-dd48d097eef4":{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":255,"isRequired":true,"description":"Stable caller-generated key. Reusing it with the same body returns the original resource; a different body returns 409.","uniqueKey":"","typeLabel":"string"},"description":"Stable caller-generated key. Reusing it with the same body returns the original resource; a different body returns 409."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["script","personaId"],"properties":{"script":{"type":"string","minLength":1,"maxLength":20000,"description":"Exact text spoken through TTS; the brain is never invoked.","isRequired":true,"uniqueKey":"oneOf.0.script","typeLabel":"string"},"personaId":{"type":"string","description":"Saved persona to snapshot. Mutually exclusive with direct configuration fields.","isRequired":true,"uniqueKey":"oneOf.0.personaId","typeLabel":"string"},"avatarId":{"type":"string","uniqueKey":"oneOf.0.avatarId","typeLabel":"string"},"voiceId":{"type":"string","uniqueKey":"oneOf.0.voiceId","typeLabel":"string"},"avatarModel":{"type":"string","example":"cara-4-latest","uniqueKey":"oneOf.0.avatarModel","typeLabel":"string"},"directorNotes":{"oneOf":[{"type":"object","properties":{"expressivity":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"uniqueKey":"oneOf.0.directorNotes.oneOf.0.expressivity.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":1,"uniqueKey":"oneOf.0.directorNotes.oneOf.0.expressivity.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.directorNotes.oneOf.0.expressivity","typeLabel":"number | null"},"customStylePrompt":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.directorNotes.oneOf.0.customStylePrompt.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.directorNotes.oneOf.0.customStylePrompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.directorNotes.oneOf.0.customStylePrompt","typeLabel":"string | null"},"presetStyle":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.directorNotes.oneOf.0.presetStyle.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.directorNotes.oneOf.0.presetStyle.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.directorNotes.oneOf.0.presetStyle","typeLabel":"string | null"}},"uniqueKey":"oneOf.0.directorNotes.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"expressivity":{"oneOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null","minimum":0,"maximum":1}]},"customStylePrompt":{"oneOf":[{"type":"string"},{"type":"null"}]},"presetStyle":{"oneOf":[{"type":"string"},{"type":"null"}]}},"uniqueKey":"oneOf.0.directorNotes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.directorNotes","typeLabel":"object | null"},"languageCode":{"type":"string","example":"en","uniqueKey":"oneOf.0.languageCode","typeLabel":"string"},"voiceSpeed":{"type":"number","minimum":-1,"maximum":1,"uniqueKey":"oneOf.0.voiceSpeed","typeLabel":"number"},"voiceGenerationOptions":{"oneOf":[{"type":"object","title":"Cartesia Sonic-3","description":"Voice generation options for Cartesia Sonic-3 models.","properties":{"volume":{"type":"number","description":"Controls the volume level of the generated voice as a multiplier, between 0.5 (quieter) and 2.0 (louder).","example":1,"minimum":0.5,"maximum":2,"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.0.volume","typeLabel":"number"},"speed":{"type":"number","description":"Controls the speed of the spoken voice as a multiplier, between 0.6 (slower) and 1.5 (faster).","example":1,"minimum":0.6,"maximum":1.5,"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.0.speed","typeLabel":"number"},"emotion":{"type":"string","description":"Sets the emotional tone of the generated voice. Supported emotions are: neutral, calm, angry, content, sad, scared.","enum":["neutral","calm","angry","content","sad","scared"],"example":"neutral","uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.0.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.0","typeLabel":"Cartesia Sonic-3 · object"},{"type":"object","title":"ElevenLabs V1","description":"Voice generation options for ElevenLabs V1 models.","properties":{"stability":{"type":"number","description":"Controls how stable the generated voice is between each generation, between 0 (more varied/higher emotional range) and 1 (more stable/less emotional range).","example":0.5,"minimum":0,"maximum":1,"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.1.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Controls how close the generated voice is to the original speaker, between 0 (more varied) and 1 (more similar).","example":0,"minimum":0,"maximum":1,"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.1.similarityBoost","typeLabel":"number"},"speed":{"type":"number","description":"Controls the speed of the spoken voice as a multiplier, between 0.7 (slower) and 1.2 (faster).","example":1,"minimum":0.7,"maximum":1.2,"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.1.speed","typeLabel":"number"}},"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.1","typeLabel":"ElevenLabs V1 · object"},{"type":"object","title":"ElevenLabs V2","description":"Voice generation options for ElevenLabs V2 models.","properties":{"stability":{"type":"number","description":"Controls how stable the generated voice is between each generation, between 0 (more varied/higher emotional range) and 1 (more stable/less emotional range).","example":0.5,"minimum":0,"maximum":1,"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.2.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Controls how close the generated voice is to the original speaker, between 0 (more varied) and 1 (more similar).","example":0.75,"minimum":0,"maximum":1,"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.2.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Amplifies the style of the original speaker, between 0 and 1, it is recommended to keep this value low (0) to reduce latency.","example":0,"minimum":0,"maximum":1,"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.2.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Whether to use speaker boost for the generated voice, enhancing the similarity to the original speaker.","example":true,"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.2.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Controls the speed of the spoken voice as a multiplier, between 0.7 (slower) and 1.2 (faster).","example":1,"minimum":0.7,"maximum":1.2,"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.2.speed","typeLabel":"number"},"model":{"type":"string","enum":["eleven_v4_turbo","eleven_v3_conversational","eleven_v4","eleven_v3","eleven_flash_v2_5","eleven_multilingual_v2","eleven_flash_v2","eleven_turbo_v2_5"],"description":"Replaces the voice's ElevenLabs model for generation. Must be an ElevenLabs model supported for voice imports. The other options must be valid for this model: for example, eleven_v4 accepts only stability and similarityBoost.","uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.2.model","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.2","typeLabel":"ElevenLabs V2 · object"},{"type":"object","title":"ElevenLabs V3","description":"Voice generation options for an eleven_v3 or eleven_v3_conversational voice, or for any voice whose model override is one of them. Only stability is supported.","properties":{"stability":{"type":"number","description":"Controls how stable the generated voice is, from 0 (more varied) to 1 (more stable).","example":0.5,"minimum":0,"maximum":1,"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.3.stability","typeLabel":"number"},"model":{"type":"string","enum":["eleven_v4_turbo","eleven_v3_conversational","eleven_v4","eleven_v3","eleven_flash_v2_5","eleven_multilingual_v2","eleven_flash_v2","eleven_turbo_v2_5"],"description":"Replaces the voice's ElevenLabs model for generation. Must be an ElevenLabs model supported for voice imports. The other options must be valid for this model: for example, eleven_v4 accepts only stability and similarityBoost.","uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.3.model","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.3","typeLabel":"ElevenLabs V3 · object"},{"type":"object","title":"ElevenLabs V4","description":"Voice generation options for an eleven_v4 or eleven_v4_turbo voice, or for any voice whose model override is one of them. Only stability and similarityBoost are supported.","properties":{"stability":{"type":"number","description":"Controls how stable the generated voice is, from 0 (more varied) to 1 (more stable).","example":0.5,"minimum":0,"maximum":1,"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.4.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Controls how close the generated voice is to the original speaker, between 0 (more varied) and 1 (more similar).","example":0.75,"minimum":0,"maximum":1,"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.4.similarityBoost","typeLabel":"number"},"model":{"type":"string","enum":["eleven_v4_turbo","eleven_v3_conversational","eleven_v4","eleven_v3","eleven_flash_v2_5","eleven_multilingual_v2","eleven_flash_v2","eleven_turbo_v2_5"],"description":"Replaces the voice's ElevenLabs model for generation. Must be an ElevenLabs model supported for voice imports. The other options must be valid for this model: for example, eleven_v4 accepts only stability and similarityBoost.","uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.4.model","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.4","typeLabel":"ElevenLabs V4 · object"},{"type":"object","title":"Fish Audio","description":"Voice generation options for Fish Audio models.","properties":{"volume":{"type":"number","description":"Controls the volume level of the generated voice as a multiplier, between 0.5 (quieter) and 2.0 (louder).","example":1,"minimum":0.5,"maximum":2,"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.5.volume","typeLabel":"number"},"speed":{"type":"number","description":"Controls the speed of the spoken voice as a multiplier, between 0.5 (slower) and 2.0 (faster).","example":1,"minimum":0.5,"maximum":2,"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.5.speed","typeLabel":"number"}},"uniqueKey":"oneOf.0.voiceGenerationOptions.oneOf.5","typeLabel":"Fish Audio · object"}],"uniqueKey":"oneOf.0.voiceGenerationOptions","typeLabel":"Cartesia Sonic-3 · object | ElevenLabs V1 · object | ElevenLabs V2 · object | ElevenLabs V3 · object | ElevenLabs V4 · object | Fish Audio · object"},"videoWidth":{"type":"integer","minimum":1,"uniqueKey":"oneOf.0.videoWidth","typeLabel":"integer"},"videoHeight":{"type":"integer","minimum":1,"uniqueKey":"oneOf.0.videoHeight","typeLabel":"integer"},"environment":{"type":"object","additionalProperties":false,"required":["namespace"],"description":"Optional engine routing for the render session, as on the session token endpoint. Internal accounts only; other accounts get 403.","properties":{"namespace":{"type":"string","minLength":1,"maxLength":63,"pattern":"^(?:anam-engine-preview-\\d+|devspace-[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)$","description":"Engine namespace to render on, for example a preview engine.","example":"anam-engine-preview-3874","isRequired":true,"uniqueKey":"oneOf.0.environment.namespace","typeLabel":"string"}},"uniqueKey":"oneOf.0.environment","typeLabel":"object"},"metadata":{"type":"object","additionalProperties":true,"description":"Caller metadata, up to 16 KB serialized. It is stored and returned as sent. A zero-data-retention video, which includes every video created on a regional host, doesn't store it: its responses return `{}`. Keep your own mapping from the video id to your records.","uniqueKey":"oneOf.0.metadata","typeLabel":"object"},"retentionSeconds":{"type":"integer","minimum":300,"maximum":2592000,"description":"Seconds to keep the recording, session report and job content after the job ends; Lab then deletes them within about a minute. Without a value, they are kept until deleted. Download the recording as soon as it is ready.","uniqueKey":"oneOf.0.retentionSeconds","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["script","avatarId","voiceId"],"properties":{"script":{"type":"string","minLength":1,"maxLength":20000,"description":"Exact text spoken through TTS; the brain is never invoked.","isRequired":true,"uniqueKey":"oneOf.1.script","typeLabel":"string"},"avatarId":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.avatarId","typeLabel":"string"},"voiceId":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.voiceId","typeLabel":"string"},"personaId":{"type":"string","description":"Saved persona to snapshot. Mutually exclusive with direct configuration fields.","uniqueKey":"oneOf.1.personaId","typeLabel":"string"},"avatarModel":{"type":"string","example":"cara-4-latest","uniqueKey":"oneOf.1.avatarModel","typeLabel":"string"},"directorNotes":{"oneOf":[{"type":"object","properties":{"expressivity":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"uniqueKey":"oneOf.1.directorNotes.oneOf.0.expressivity.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":1,"uniqueKey":"oneOf.1.directorNotes.oneOf.0.expressivity.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.directorNotes.oneOf.0.expressivity","typeLabel":"number | null"},"customStylePrompt":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.directorNotes.oneOf.0.customStylePrompt.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.directorNotes.oneOf.0.customStylePrompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.directorNotes.oneOf.0.customStylePrompt","typeLabel":"string | null"},"presetStyle":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.directorNotes.oneOf.0.presetStyle.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.directorNotes.oneOf.0.presetStyle.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.directorNotes.oneOf.0.presetStyle","typeLabel":"string | null"}},"uniqueKey":"oneOf.1.directorNotes.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"expressivity":{"oneOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null","minimum":0,"maximum":1}]},"customStylePrompt":{"oneOf":[{"type":"string"},{"type":"null"}]},"presetStyle":{"oneOf":[{"type":"string"},{"type":"null"}]}},"uniqueKey":"oneOf.1.directorNotes.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.directorNotes","typeLabel":"object | null"},"languageCode":{"type":"string","example":"en","uniqueKey":"oneOf.1.languageCode","typeLabel":"string"},"voiceSpeed":{"type":"number","minimum":-1,"maximum":1,"uniqueKey":"oneOf.1.voiceSpeed","typeLabel":"number"},"voiceGenerationOptions":{"oneOf":[{"type":"object","title":"Cartesia Sonic-3","description":"Voice generation options for Cartesia Sonic-3 models.","properties":{"volume":{"type":"number","description":"Controls the volume level of the generated voice as a multiplier, between 0.5 (quieter) and 2.0 (louder).","example":1,"minimum":0.5,"maximum":2,"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.0.volume","typeLabel":"number"},"speed":{"type":"number","description":"Controls the speed of the spoken voice as a multiplier, between 0.6 (slower) and 1.5 (faster).","example":1,"minimum":0.6,"maximum":1.5,"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.0.speed","typeLabel":"number"},"emotion":{"type":"string","description":"Sets the emotional tone of the generated voice. Supported emotions are: neutral, calm, angry, content, sad, scared.","enum":["neutral","calm","angry","content","sad","scared"],"example":"neutral","uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.0.emotion","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.0","typeLabel":"Cartesia Sonic-3 · object"},{"type":"object","title":"ElevenLabs V1","description":"Voice generation options for ElevenLabs V1 models.","properties":{"stability":{"type":"number","description":"Controls how stable the generated voice is between each generation, between 0 (more varied/higher emotional range) and 1 (more stable/less emotional range).","example":0.5,"minimum":0,"maximum":1,"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.1.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Controls how close the generated voice is to the original speaker, between 0 (more varied) and 1 (more similar).","example":0,"minimum":0,"maximum":1,"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.1.similarityBoost","typeLabel":"number"},"speed":{"type":"number","description":"Controls the speed of the spoken voice as a multiplier, between 0.7 (slower) and 1.2 (faster).","example":1,"minimum":0.7,"maximum":1.2,"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.1.speed","typeLabel":"number"}},"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.1","typeLabel":"ElevenLabs V1 · object"},{"type":"object","title":"ElevenLabs V2","description":"Voice generation options for ElevenLabs V2 models.","properties":{"stability":{"type":"number","description":"Controls how stable the generated voice is between each generation, between 0 (more varied/higher emotional range) and 1 (more stable/less emotional range).","example":0.5,"minimum":0,"maximum":1,"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.2.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Controls how close the generated voice is to the original speaker, between 0 (more varied) and 1 (more similar).","example":0.75,"minimum":0,"maximum":1,"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.2.similarityBoost","typeLabel":"number"},"style":{"type":"number","description":"Amplifies the style of the original speaker, between 0 and 1, it is recommended to keep this value low (0) to reduce latency.","example":0,"minimum":0,"maximum":1,"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.2.style","typeLabel":"number"},"useSpeakerBoost":{"type":"boolean","description":"Whether to use speaker boost for the generated voice, enhancing the similarity to the original speaker.","example":true,"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.2.useSpeakerBoost","typeLabel":"boolean"},"speed":{"type":"number","description":"Controls the speed of the spoken voice as a multiplier, between 0.7 (slower) and 1.2 (faster).","example":1,"minimum":0.7,"maximum":1.2,"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.2.speed","typeLabel":"number"},"model":{"type":"string","enum":["eleven_v4_turbo","eleven_v3_conversational","eleven_v4","eleven_v3","eleven_flash_v2_5","eleven_multilingual_v2","eleven_flash_v2","eleven_turbo_v2_5"],"description":"Replaces the voice's ElevenLabs model for generation. Must be an ElevenLabs model supported for voice imports. The other options must be valid for this model: for example, eleven_v4 accepts only stability and similarityBoost.","uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.2.model","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.2","typeLabel":"ElevenLabs V2 · object"},{"type":"object","title":"ElevenLabs V3","description":"Voice generation options for an eleven_v3 or eleven_v3_conversational voice, or for any voice whose model override is one of them. Only stability is supported.","properties":{"stability":{"type":"number","description":"Controls how stable the generated voice is, from 0 (more varied) to 1 (more stable).","example":0.5,"minimum":0,"maximum":1,"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.3.stability","typeLabel":"number"},"model":{"type":"string","enum":["eleven_v4_turbo","eleven_v3_conversational","eleven_v4","eleven_v3","eleven_flash_v2_5","eleven_multilingual_v2","eleven_flash_v2","eleven_turbo_v2_5"],"description":"Replaces the voice's ElevenLabs model for generation. Must be an ElevenLabs model supported for voice imports. The other options must be valid for this model: for example, eleven_v4 accepts only stability and similarityBoost.","uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.3.model","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.3","typeLabel":"ElevenLabs V3 · object"},{"type":"object","title":"ElevenLabs V4","description":"Voice generation options for an eleven_v4 or eleven_v4_turbo voice, or for any voice whose model override is one of them. Only stability and similarityBoost are supported.","properties":{"stability":{"type":"number","description":"Controls how stable the generated voice is, from 0 (more varied) to 1 (more stable).","example":0.5,"minimum":0,"maximum":1,"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.4.stability","typeLabel":"number"},"similarityBoost":{"type":"number","description":"Controls how close the generated voice is to the original speaker, between 0 (more varied) and 1 (more similar).","example":0.75,"minimum":0,"maximum":1,"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.4.similarityBoost","typeLabel":"number"},"model":{"type":"string","enum":["eleven_v4_turbo","eleven_v3_conversational","eleven_v4","eleven_v3","eleven_flash_v2_5","eleven_multilingual_v2","eleven_flash_v2","eleven_turbo_v2_5"],"description":"Replaces the voice's ElevenLabs model for generation. Must be an ElevenLabs model supported for voice imports. The other options must be valid for this model: for example, eleven_v4 accepts only stability and similarityBoost.","uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.4.model","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.4","typeLabel":"ElevenLabs V4 · object"},{"type":"object","title":"Fish Audio","description":"Voice generation options for Fish Audio models.","properties":{"volume":{"type":"number","description":"Controls the volume level of the generated voice as a multiplier, between 0.5 (quieter) and 2.0 (louder).","example":1,"minimum":0.5,"maximum":2,"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.5.volume","typeLabel":"number"},"speed":{"type":"number","description":"Controls the speed of the spoken voice as a multiplier, between 0.5 (slower) and 2.0 (faster).","example":1,"minimum":0.5,"maximum":2,"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.5.speed","typeLabel":"number"}},"uniqueKey":"oneOf.1.voiceGenerationOptions.oneOf.5","typeLabel":"Fish Audio · object"}],"uniqueKey":"oneOf.1.voiceGenerationOptions","typeLabel":"Cartesia Sonic-3 · object | ElevenLabs V1 · object | ElevenLabs V2 · object | ElevenLabs V3 · object | ElevenLabs V4 · object | Fish Audio · object"},"videoWidth":{"type":"integer","minimum":1,"uniqueKey":"oneOf.1.videoWidth","typeLabel":"integer"},"videoHeight":{"type":"integer","minimum":1,"uniqueKey":"oneOf.1.videoHeight","typeLabel":"integer"},"environment":{"type":"object","additionalProperties":false,"required":["namespace"],"description":"Optional engine routing for the render session, as on the session token endpoint. Internal accounts only; other accounts get 403.","properties":{"namespace":{"type":"string","minLength":1,"maxLength":63,"pattern":"^(?:anam-engine-preview-\\d+|devspace-[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)$","description":"Engine namespace to render on, for example a preview engine.","example":"anam-engine-preview-3874","isRequired":true,"uniqueKey":"oneOf.1.environment.namespace","typeLabel":"string"}},"uniqueKey":"oneOf.1.environment","typeLabel":"object"},"metadata":{"type":"object","additionalProperties":true,"description":"Caller metadata, up to 16 KB serialized. It is stored and returned as sent. A zero-data-retention video, which includes every video created on a regional host, doesn't store it: its responses return `{}`. Keep your own mapping from the video id to your records.","uniqueKey":"oneOf.1.metadata","typeLabel":"object"},"retentionSeconds":{"type":"integer","minimum":300,"maximum":2592000,"description":"Seconds to keep the recording, session report and job content after the job ends; Lab then deletes them within about a minute. Without a value, they are kept until deleted. Download the recording as soon as it is ready.","uniqueKey":"oneOf.1.retentionSeconds","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"savedPersona":{"title":"savedPersona","value":{"script":"Welcome to the product tour.","personaId":"00000000-0000-0000-0000-000000000000","metadata":{"customerJobId":"onboarding-42"}}},"direct":{"title":"direct","value":{"script":"Welcome to the product tour.","avatarId":"071b0286-4cce-4808-bee2-e642f1062de3","voiceId":"de23e340-1416-4dd8-977d-065a7ca11697","avatarModel":"cara-4-latest","directorNotes":{"customStylePrompt":"Warm and clear"},"languageCode":"en","voiceSpeed":0,"videoWidth":1152,"videoHeight":768,"metadata":{"customerJobId":"onboarding-42"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"d29c5772-5ebe-4446-a91e-fa7dbbd8476e":{"description":"Accepted. Poll the returned resource.","headers":{"Location":{"schema":{"type":"string"},"description":"Relative resource URL."},"Idempotent-Replayed":{"schema":{"type":"boolean"},"description":"True when this key/body returned an existing job."}},"content":{"application/json":{"schema":{"type":"object","required":["id","status","truncated","effectiveMaxDurationSeconds","region","zeroDataRetention","content","createdAt","metadata"],"properties":{"id":{"type":"string","example":"avv_123","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"status":{"type":"string","enum":["pending","running","finalizing","completed","failed","cancelled"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"truncated":{"type":"boolean","isRequired":true,"uniqueKey":"truncated","typeLabel":"boolean"},"effectiveMaxDurationSeconds":{"type":"integer","isRequired":true,"uniqueKey":"effectiveMaxDurationSeconds","typeLabel":"integer"},"region":{"oneOf":[{"type":"string","enum":["eu","us",null],"description":"Region the job is pinned to: eu when created on api.eu.anam.ai, us when created on api.us.anam.ai. Its session, recording and retries stay in that region. Null when created on api.anam.ai.","isRequired":true,"uniqueKey":"region.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["eu","us",null],"description":"Region the job is pinned to: eu when created on api.eu.anam.ai, us when created on api.us.anam.ai. Its session, recording and retries stay in that region. Null when created on api.anam.ai.","isRequired":true,"uniqueKey":"region.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"region","typeLabel":"enum\u003cstring> | null"},"zeroDataRetention":{"type":"boolean","description":"Whether the job runs with Zero Data Retention, which keeps its script, and a direct request's style prompts, out of Lab's database. A persona-sourced job's director notes stay in its stored persona. Always true for a job created on a regional host.","isRequired":true,"uniqueKey":"zeroDataRetention","typeLabel":"boolean"},"content":{"type":"object","required":["available","deleteAt"],"properties":{"available":{"type":"boolean","isRequired":true,"uniqueKey":"content.available","typeLabel":"boolean"},"deleteAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the recording, report and job content are deleted. Null while the job runs, or when they are kept until deleted. Not the URL expiry.","isRequired":true,"uniqueKey":"content.deleteAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the recording, report and job content are deleted. Null while the job runs, or when they are kept until deleted. Not the URL expiry.","isRequired":true,"uniqueKey":"content.deleteAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"content.deleteAt","typeLabel":"string\u003cdate-time> | null"},"url":{"type":"string","format":"uri","uniqueKey":"content.url","typeLabel":"string\u003curi>"},"expiresAt":{"type":"string","format":"date-time","description":"When this presigned url expires (one hour).","uniqueKey":"content.expiresAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"content","typeLabel":"object"},"createdAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"metadata":{"type":"object","additionalProperties":true,"isRequired":true,"uniqueKey":"metadata","typeLabel":"object"},"completionReason":{"oneOf":[{"type":"string","enum":["script_completed","max_duration_reached","cancelled",null],"uniqueKey":"completionReason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["script_completed","max_duration_reached","cancelled",null],"uniqueKey":"completionReason.oneOf.1","typeLabel":"null"}],"uniqueKey":"completionReason","typeLabel":"enum\u003cstring> | null"},"durationSeconds":{"oneOf":[{"type":"number","uniqueKey":"durationSeconds.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"durationSeconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"durationSeconds","typeLabel":"number | null"},"sessionId":{"oneOf":[{"type":"string","description":"Underlying normal EngineSession ID. Use its recording deletion endpoint for deletion.","uniqueKey":"sessionId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Underlying normal EngineSession ID. Use its recording deletion endpoint for deletion.","uniqueKey":"sessionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionId","typeLabel":"string | null"},"failure":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","uniqueKey":"failure.oneOf.0.code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"failure.oneOf.0.message","typeLabel":"string"},"retryable":{"type":"boolean","description":"Whether a retry can work, as far as the job record shows. False when the same failure would recur or the content a retry reuses has been deleted; create a new avatar video instead. When true, POST /v1/avatar-videos/{id}/retry can still return 409 content_expired if the content turns out to be gone.","uniqueKey":"failure.oneOf.0.retryable","typeLabel":"boolean"}},"uniqueKey":"failure.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean","description":"Whether a retry can work, as far as the job record shows. False when the same failure would recur or the content a retry reuses has been deleted; create a new avatar video instead. When true, POST /v1/avatar-videos/{id}/retry can still return 409 content_expired if the content turns out to be gone."}},"uniqueKey":"failure.oneOf.1","typeLabel":"null"}],"uniqueKey":"failure","typeLabel":"object | null"},"retryOf":{"oneOf":[{"type":"string","uniqueKey":"retryOf.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"retryOf.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryOf","typeLabel":"string | null"},"startedAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"startedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"startedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"startedAt","typeLabel":"string\u003cdate-time> | null"},"completedAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"completedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"completedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"completedAt","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"avv_123","status":"pending","truncated":true,"effectiveMaxDurationSeconds":123,"region":"eu","zeroDataRetention":true,"content":{"available":true,"deleteAt":"2023-11-07T05:31:56Z","url":"\u003cstring>","expiresAt":"2023-11-07T05:31:56Z"},"createdAt":"2023-11-07T05:31:56Z","metadata":{},"completionReason":"script_completed","durationSeconds":123,"sessionId":"\u003cstring>","failure":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true},"retryOf":"\u003cstring>","startedAt":"2023-11-07T05:31:56Z","completedAt":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"826f3a34-b37d-4a9d-acd6-fffc1a975253":{"description":"Invalid request or avatar-video configuration","content":{"application/json":{"schema":{"type":"object","required":["code","message","requestId","retryable"],"properties":{"code":{"type":"string","description":"Stable machine-readable failure code.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","requestId":"\u003cstring>","retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"c7ead933-ba81-4e17-8416-559b0dc8c33d":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"type":"object","required":["code","message","requestId","retryable"],"properties":{"code":{"type":"string","description":"Stable machine-readable failure code.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","requestId":"\u003cstring>","retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"b8d3879d-b760-4e18-9548-77e5f27d083e":{"description":"API key permission or avatar-model entitlement denied, or environment sent by a non-internal account","content":{"application/json":{"schema":{"type":"object","required":["code","message","requestId","retryable"],"properties":{"code":{"type":"string","description":"Stable machine-readable failure code.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","requestId":"\u003cstring>","retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"c914fadc-e911-41b7-9e43-7ad045b3fb0a":{"description":"Persona, avatar or voice not found","content":{"application/json":{"schema":{"type":"object","required":["code","message","requestId","retryable"],"properties":{"code":{"type":"string","description":"Stable machine-readable failure code.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","requestId":"\u003cstring>","retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"2afc8901-243e-4fbc-a8b1-71b05261838c":{"description":"Idempotency key conflict","content":{"application/json":{"schema":{"type":"object","required":["code","message","requestId","retryable"],"properties":{"code":{"type":"string","description":"Stable machine-readable failure code.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","requestId":"\u003cstring>","retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"9a2bf532-dc43-4404-91f7-fcec55b1ada2":{"description":"Referenced resource was deleted","content":{"application/json":{"schema":{"type":"object","required":["code","message","requestId","retryable"],"properties":{"code":{"type":"string","description":"Stable machine-readable failure code.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","requestId":"\u003cstring>","retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"9048f812-5717-42f4-84b7-b197dee7ae6d":{"description":"Normal session or avatar-video concurrency limit reached.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Conservative retry delay in seconds."}},"content":{"application/json":{"schema":{"type":"object","required":["code","message","requestId","retryable"],"properties":{"code":{"type":"string","description":"Stable machine-readable failure code.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","requestId":"\u003cstring>","retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"fa685858-112f-4418-9e58-ab3ee2e2547b":{"description":"Worker or session dispatch failed","content":{"application/json":{"schema":{"type":"object","required":["code","message","requestId","retryable"],"properties":{"code":{"type":"string","description":"Stable machine-readable failure code.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","requestId":"\u003cstring>","retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"b3e9f736-38bf-4db3-90d4-88ccaa5991ed":{"description":"Avatar-video generation is disabled or the worker is unavailable, or the API key could not be checked because of a temporary server problem (the key may be valid; retry after `Retry-After` seconds).","headers":{"Retry-After":{"description":"Seconds to wait before retrying, when known.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["code","message","requestId","retryable"],"properties":{"code":{"type":"string","description":"Stable machine-readable failure code.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","requestId":"\u003cstring>","retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a01089d0-08ab-432f-9c4b-aee610be9130":{"BearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"4b1acc43-2c22-439d-ab33-c134d25a4ca8":{"url":"https://api.anam.ai","description":"Anam API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","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"}]},"originalFileLocation":"https://api.anam.ai/swagger.json"},"subdomain":"anam","siteName":"Anam","title":"create avatar video - Anam","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/avatar-videos/create-an-avatar-video.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Creates an asynchronous avatar-video render backed by a normal recorded Anam session. A saved persona contributes only its snapshotted avatar, voice, language, model and director notes; its greeting, brain, prompt and tools never run. The request is rejected rather than queued when either concurrency limit is full.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Anam\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/anam/tqFnPe6JO4uLg8KJ/_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=\"/docs/mintlify-assets/_mintlify/favicons/anam/tqFnPe6JO4uLg8KJ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/anam/tqFnPe6JO4uLg8KJ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/anam/tqFnPe6JO4uLg8KJ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/anam/tqFnPe6JO4uLg8KJ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/anam/tqFnPe6JO4uLg8KJ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/anam/tqFnPe6JO4uLg8KJ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/anam/tqFnPe6JO4uLg8KJ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/anam/tqFnPe6JO4uLg8KJ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"create avatar video - Anam\">\u003cmeta data-mint-head property=\"og:description\" content=\"Anam developer documentation. Build real-time interactive AI avatars with low-latency voice, custom personas, and multi-language support.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Anam Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://anam.ai/docs/api-reference/avatar-videos/create-an-avatar-video\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://anam.mintlify.app/logo/anam-logo-white.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"create avatar video - Anam\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Anam developer documentation. Build real-time interactive AI avatars with low-latency voice, custom personas, and multi-language support.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://anam.mintlify.app/logo/anam-logo-white.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/anam/tqFnPe6JO4uLg8KJ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Anam\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ff6200\">\u003cmeta data-mint-head name=\"og:logo\" content=\"/logo/anam-logo-white.png\">\u003cmeta data-mint-head name=\"twitter:logo\" content=\"/logo/anam-logo-white.png\">\u003clink data-mint-head rel=\"canonical\" href=\"https://anam.ai/docs/api-reference/avatar-videos/create-an-avatar-video\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/avatar-videos/create-an-avatar-video.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://anam.ai/#organization\",\"name\":\"Anam\",\"url\":\"https://anam.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/anam/C1_yhmh0z2cLMID5/logo/anam-logo-black.png?fit=max\u0026auto=format\u0026n=C1_yhmh0z2cLMID5\u0026q=85\u0026s=df3c7456becff3adcf00bdee3d8b24e6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://anam.ai/docs#website\",\"name\":\"Anam\",\"url\":\"https://anam.ai/docs\",\"publisher\":{\"@id\":\"https://anam.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://anam.ai/docs/api-reference/avatar-videos/create-an-avatar-video#webpage\",\"url\":\"https://anam.ai/docs/api-reference/avatar-videos/create-an-avatar-video\",\"name\":\"create avatar video\",\"description\":\"Creates an asynchronous avatar-video render backed by a normal recorded Anam session. A saved persona contributes only its snapshotted avatar, voice, language, model and director notes; its greeting, brain, prompt and tools never run. The request is rejected rather than queued when either concurrency limit is full.\",\"isPartOf\":{\"@id\":\"https://anam.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://anam.ai/docs/api-reference/avatar-videos/create-an-avatar-video#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://anam.ai/docs/api-reference/avatar-videos/create-an-avatar-video#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Avatar Videos\",\"item\":\"https://anam.ai/docs/api-reference/avatar-videos/list-avatar-videos\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"create avatar video\",\"item\":\"https://anam.ai/docs/api-reference/avatar-videos/create-an-avatar-video\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://anam.ai/docs/api-reference/avatar-videos/create-an-avatar-video#apireference\",\"headline\":\"create avatar video\",\"name\":\"create avatar video\",\"description\":\"Creates an asynchronous avatar-video render backed by a normal recorded Anam session. A saved persona contributes only its snapshotted avatar, voice, language, model and director notes; its greeting, brain, prompt and tools never run. The request is rejected rather than queued when either concurrency limit is full.\",\"url\":\"https://anam.ai/docs/api-reference/avatar-videos/create-an-avatar-video\",\"mainEntityOfPage\":{\"@id\":\"https://anam.ai/docs/api-reference/avatar-videos/create-an-avatar-video#webpage\"},\"image\":\"https://anam.ai/logo/anam-logo-white.png\",\"publisher\":{\"@id\":\"https://anam.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://anam.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Anam\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Anam","nav":{"global":null,"tabs":[{"tab":"Overview","align":"start","pages":[{"title":"Overview","href":"/introduction/overview"}]},{"tab":"Embed","align":"start","pages":[{"title":"Embed","href":"/embed/overview"}]},{"tab":"JavaScript SDK","align":"start","pages":[{"title":"JavaScript SDK","href":"/javascript-sdk/api-key"}]},{"tab":"Python SDK","align":"start","pages":[{"title":"Python SDK","href":"/python-sdk/overview"}]},{"tab":"Integrations","align":"start","menu":[{"item":"LiveKit","icon":"https://mintlify.s3.us-west-1.amazonaws.com/anam/images/integrations/livekit.svg","pages":[{"title":"LiveKit","href":"/integrations/livekit/overview"}]},{"item":"ElevenLabs Agents","icon":"https://mintlify.s3.us-west-1.amazonaws.com/anam/images/integrations/elevenlabs.svg","pages":[{"title":"ElevenLabs Agents","href":"/integrations/elevenlabs/agents"}]},{"item":"Other SDKs","icon":"code","pages":[{"title":"Other SDKs","href":"/integrations/sdks"}]}],"pages":[{"title":"Integrations","href":"/integrations/livekit/overview"}]},{"tab":"API Reference","align":"start","groups":[{"group":"Use the API","pages":[{"title":"Anam REST API","sidebarTitle":"Introduction","href":"/api-reference/overview"}]},{"group":"Sessions","pages":[{"title":"create session token","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/auth/session-token","href":"/api-reference/sessions/create-session-token"},{"title":"list sessions","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/sessions","href":"/api-reference/sessions/list-sessions"},{"title":"get session concurrency status","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/sessions/concurrency","href":"/api-reference/sessions/get-current-concurrency-status"},{"title":"get aggregated session analytics","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/sessions/analytics","href":"/api-reference/sessions/get-aggregated-session-analytics"},{"title":"get session","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/sessions/{id}","href":"/api-reference/sessions/get-session"},{"title":"delete session","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json delete /v1/sessions/{id}","href":"/api-reference/sessions/delete-session"},{"title":"get session transcript","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/sessions/{id}/transcript","href":"/api-reference/sessions/get-session-transcript"},{"title":"stop session","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/sessions/{id}/stop","href":"/api-reference/sessions/stop-session"},{"title":"delete session report","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json delete /v1/sessions/{id}/report","href":"/api-reference/sessions/delete-session-report"},{"title":"get session recording","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/sessions/{id}/recording","href":"/api-reference/sessions/get-session-recording"},{"title":"delete session recording","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json delete /v1/sessions/{id}/recording","href":"/api-reference/sessions/delete-session-recording"},{"title":"get session analytics","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/sessions/{id}/analytics","href":"/api-reference/sessions/get-session-analytics"}]},{"group":"Meetings","pages":[{"title":"list meeting invites","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/meetings/invites","href":"/api-reference/meetings/list-meeting-invites"},{"title":"create meeting invite","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/meetings/invites","href":"/api-reference/meetings/create-meeting-invite"},{"title":"get meeting invite","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/meetings/invites/{id}","href":"/api-reference/meetings/get-meeting-invite"},{"title":"cancel meeting invite","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json delete /v1/meetings/invites/{id}","href":"/api-reference/meetings/cancel-meeting-invite"}]},{"group":"Avatar Videos","pages":[{"title":"list avatar videos","description":null,"deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/avatar-videos","href":"/api-reference/avatar-videos/list-avatar-videos"},{"title":"create avatar video","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/avatar-videos","href":"/api-reference/avatar-videos/create-an-avatar-video"},{"title":"get avatar video","description":"Returns authoritative job state and a fresh one-hour recording URL when the canonical replay is ready. A read also reconciles late recordings.","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/avatar-videos/{id}","href":"/api-reference/avatar-videos/get-an-avatar-video"},{"title":"cancel avatar video","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/avatar-videos/{id}/cancel","href":"/api-reference/avatar-videos/cancel-an-avatar-video"},{"title":"retry avatar video","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/avatar-videos/{id}/retry","href":"/api-reference/avatar-videos/retry-an-avatar-video"}]},{"group":"Personas","pages":[{"title":"list personas","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/personas","href":"/api-reference/personas/list-personas"},{"title":"create persona","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/personas","href":"/api-reference/personas/create-persona"},{"title":"get persona","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/personas/{id}","href":"/api-reference/personas/get-persona"},{"title":"update persona","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json put /v1/personas/{id}","href":"/api-reference/personas/update-persona"},{"title":"delete persona","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json delete /v1/personas/{id}","href":"/api-reference/personas/delete-persona"}]},{"group":"Avatars","pages":[{"title":"list avatars","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/avatars","href":"/api-reference/avatars/list-avatars"},{"title":"create avatar","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/avatars","href":"/api-reference/avatars/create-avatar"},{"title":"get avatar","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/avatars/{id}","href":"/api-reference/avatars/get-avatar"},{"title":"update avatar","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json put /v1/avatars/{id}","href":"/api-reference/avatars/update-avatar"},{"title":"delete avatar","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json delete /v1/avatars/{id}","href":"/api-reference/avatars/delete-avatar"}]},{"group":"Voices","pages":[{"title":"list voices","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/voices","href":"/api-reference/voices/list-voices"},{"title":"create voice","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/voices","href":"/api-reference/voices/create-voice"},{"title":"create voice import","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/voice-imports","href":"/api-reference/voices/validate-and-import-a-provider-voice"},{"title":"get ElevenLabs API key status","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/voices/elevenlabs-key","href":"/api-reference/voices/get-the-organizations-elevenlabs-api-key-status"},{"title":"save ElevenLabs API key","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json put /v1/voices/elevenlabs-key","href":"/api-reference/voices/save-the-organizations-elevenlabs-api-key"},{"title":"remove ElevenLabs API key","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json delete /v1/voices/elevenlabs-key","href":"/api-reference/voices/remove-the-organizations-elevenlabs-api-key"},{"title":"create voice presigned upload","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/voices/presigned-upload","href":"/api-reference/voices/create-voice-presigned-upload"},{"title":"get voice","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/voices/{id}","href":"/api-reference/voices/get-voice"},{"title":"update voice","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json put /v1/voices/{id}","href":"/api-reference/voices/update-voice"},{"title":"delete voice","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json delete /v1/voices/{id}","href":"/api-reference/voices/delete-voice"}]},{"group":"Pronunciation Dictionaries","pages":[{"title":"list pronunciation dictionaries","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/pronunciation-dictionaries","href":"/api-reference/pronunciation-dictionaries/list-pronunciation-dictionaries"},{"title":"create pronunciation dictionary","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/pronunciation-dictionaries","href":"/api-reference/pronunciation-dictionaries/create-pronunciation-dictionary"},{"title":"import pronunciation dictionary","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/pronunciation-dictionaries/import","href":"/api-reference/pronunciation-dictionaries/import-pronunciation-dictionary"},{"title":"get pronunciation dictionary","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/pronunciation-dictionaries/{id}","href":"/api-reference/pronunciation-dictionaries/get-pronunciation-dictionary"},{"title":"update pronunciation dictionary","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json put /v1/pronunciation-dictionaries/{id}","href":"/api-reference/pronunciation-dictionaries/update-pronunciation-dictionary"},{"title":"delete pronunciation dictionary","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json delete /v1/pronunciation-dictionaries/{id}","href":"/api-reference/pronunciation-dictionaries/delete-pronunciation-dictionary"}]},{"group":"LLMs","pages":[{"title":"list llms","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/llms","href":"/api-reference/llms/list-llms"},{"title":"create llm","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/llms","href":"/api-reference/llms/create-llm"},{"title":"get llm","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/llms/{id}","href":"/api-reference/llms/get-llm"},{"title":"update llm","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json put /v1/llms/{id}","href":"/api-reference/llms/update-llm"},{"title":"delete llm","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json delete /v1/llms/{id}","href":"/api-reference/llms/delete-llm"}]},{"group":"Knowledge","pages":[{"title":"list knowledge groups","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/knowledge/groups","href":"/api-reference/knowledge/list-knowledge-groups"},{"title":"create knowledge group","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/knowledge/groups","href":"/api-reference/knowledge/create-knowledge-group"},{"title":"get knowledge group","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/knowledge/groups/{id}","href":"/api-reference/knowledge/get-knowledge-group"},{"title":"update knowledge group","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json put /v1/knowledge/groups/{id}","href":"/api-reference/knowledge/update-knowledge-group"},{"title":"delete knowledge group","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json delete /v1/knowledge/groups/{id}","href":"/api-reference/knowledge/delete-knowledge-group"},{"title":"search knowledge group","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/knowledge/groups/{id}/search","href":"/api-reference/knowledge/search-knowledge-group"},{"title":"list knowledge group documents","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/knowledge/groups/{id}/documents","href":"/api-reference/knowledge/list-knowledge-group-documents"},{"title":"upload knowledge group document","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/knowledge/groups/{id}/documents","href":"/api-reference/knowledge/upload-knowledge-group-document"},{"title":"get knowledge document","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/knowledge/documents/{id}","href":"/api-reference/knowledge/get-knowledge-document"},{"title":"update knowledge document","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json put /v1/knowledge/documents/{id}","href":"/api-reference/knowledge/update-knowledge-document"},{"title":"delete knowledge document","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json delete /v1/knowledge/documents/{id}","href":"/api-reference/knowledge/delete-knowledge-document"},{"title":"get knowledge document download","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/knowledge/documents/{id}/download","href":"/api-reference/knowledge/get-knowledge-document-download"}]},{"group":"Tools","pages":[{"title":"list tools","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/tools","href":"/api-reference/tools/list-tools"},{"title":"create tool","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/tools","href":"/api-reference/tools/create-tool"},{"title":"get tool","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/tools/{id}","href":"/api-reference/tools/get-tool"},{"title":"update tool","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json put /v1/tools/{id}","href":"/api-reference/tools/update-tool"},{"title":"delete tool","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json delete /v1/tools/{id}","href":"/api-reference/tools/delete-tool"}]},{"group":"Share Links","pages":[{"title":"list share links","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/share-links","href":"/api-reference/share-links/list-share-links"},{"title":"create share link","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/share-links","href":"/api-reference/share-links/create-share-link"},{"title":"get share link","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json get /v1/share-links/{id}","href":"/api-reference/share-links/get-share-link"},{"title":"update share link","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json put /v1/share-links/{id}","href":"/api-reference/share-links/update-share-link"},{"title":"delete share link","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json delete /v1/share-links/{id}","href":"/api-reference/share-links/delete-share-link"}]},{"group":"Engine","pages":[{"title":"create engine session","deprecated":null,"version":null,"openapi":"https://api.anam.ai/swagger.json post /v1/engine/session","href":"/api-reference/engine/create-engine-session"}]}]},{"tab":"Changelog","align":"start","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"create avatar video - Anam","buildId":"dpl_9yaRmq8qi7yyMZn9oEWmKEdYMvGZ","deploymentId":"dpl_9yaRmq8qi7yyMZn9oEWmKEdYMvGZ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Bsljvftq.js","utils-BEZX0tmN.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BrDD79Na.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-2c3Nf5XI.js","snippetPresets-CWWkg29k.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-SJmWKHmz.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BYc8UL58.js","shallow-UTXCq4wY.js","getApiPlaygroundDisplay-D1ZcrmBl.js","CodeSnippet-CTS7L7R4.js","CodeSnippets-MsBYl-gd.js","Page-BxumJvVQ.js","getPastedJson-C_5Mq0uv.js","icon-D7sYgD4k.js","MethodPill-B7Q6uD_j.js","DuplicateIcon-DXGzB8u_.js","createIcon-UDYg_Gk8.js","DynamicMarkdown-BBrVIqs3.js","SectionHeading-BxanXFN4.js","axios-vUo_bRtp.js","Markdown-DAhL0GAo.js","clsx-BZ8NiN2w.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CpdUkuDP.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-sMo3-CxC.js"]}