{
"statusCode": 404,
"errorCode": "agent_not_found",
"message": "Agent not found"
}
{
"statusCode": 422,
"message": [
"name must be shorter than or equal to 100 characters"
],
"error": "Unprocessable Entity"
}
Send multipart/form-data with the audio under the field name audio (singular, one file), plus the avatar’s configId. Common audio formats such as MP3 and WAV work.The response comes back straight away with status: "queued", progress: "0.00" and no video yet. The video is generated in the background:
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Olimi AI","colors":{"primary":"#111111","light":"#999999","dark":"#111111"},"logo":{"light":"https://mintcdn.com/olimi/Z3ML2rZXUsMQ8jzb/logo/light-olimi.svg?fit=max\u0026auto=format\u0026n=Z3ML2rZXUsMQ8jzb\u0026q=85\u0026s=27b6898bcac64fd881d2e404e5cfd8f9","dark":"https://mintcdn.com/olimi/Z3ML2rZXUsMQ8jzb/logo/dark-olimi.svg?fit=max\u0026auto=format\u0026n=Z3ML2rZXUsMQ8jzb\u0026q=85\u0026s=802d73eccb4d28418c54a17ac944c648"},"favicon":"https://mintcdn.com/olimi/Z3ML2rZXUsMQ8jzb/favicon.svg?fit=max\u0026auto=format\u0026n=Z3ML2rZXUsMQ8jzb\u0026q=85\u0026s=4939d39b8b7d446fe9f2fe07308ec8ca","api":{"openapi":["api-reference/openapi.json"]},"navbar":{"links":[],"primary":{"type":"button","label":"Dashboard","href":"https://app.olimi.ai"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"olimi","hasAudioNarration":false,"actualSubdomain":"olimi","customDomains":["docs.olimi.ai"],"gitSource":{"type":"github","owner":"olimi-ltd","repo":"olimidocs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6abba64a122d8473aa35651c","collectionId":"9e8177be-72ef-4d00-b0cf-0b18570ad2b3","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6abba64a122d8473aa35651c"},"entitlements":{},"buildId":"6abba64a122d8473aa35651c","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"Agents \u0026 Campaigns","count":22},{"language":"default","tag":"Speech","count":21},{"language":"default","tag":"Speech to Video","count":8},{"language":"default","tag":"Text to Speech","count":7},{"language":"default","tag":"Campaigns","count":6},{"language":"default","tag":"Speech to Text","count":6},{"language":"default","tag":"Contacts","count":5},{"language":"default","tag":"Agents","count":4},{"language":"default","tag":"Customer Lists","count":4},{"language":"default","tag":"Getting Started","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/speech/create-stv","slug":"/api-reference/endpoint/speech/create-stv","pageMetadata":{"title":"Create a video","openapi":"post /api/v2/stv","description":"Uploads an audio file and starts turning it into a video of the chosen avatar speaking it.","href":"/api-reference/endpoint/speech/create-stv"},"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: \"Uploads an audio file and starts turning it into a video of the chosen avatar speaking it.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Warning}=_components;if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Send `,_jsx(_components.code,{children:`multipart/form-data`}),` with the audio under the field name `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`audio`})}),` (singular, one file), plus the avatar’s `,_jsx(_components.code,{children:`configId`}),`. Common audio formats such as MP3 and WAV work.`]}),`\n`,_jsxs(_components.p,{children:[`The response comes back straight away with `,_jsx(_components.code,{children:`status: \"queued\"`}),`, `,_jsx(_components.code,{children:`progress: \"0.00\"`}),` and no video yet. The video is generated in the background:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Poll:`}),` call `,_jsx(_components.a,{href:`/api-reference/endpoint/speech/get-stv-progress`,children:`Get video progress`}),` with the returned `,_jsx(_components.code,{children:`id`}),` every few seconds.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Stop polling`}),` when `,_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`completed`}),`, `,_jsx(_components.code,{children:`failed`}),` or `,_jsx(_components.code,{children:`cancelled`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Download:`}),` once it’s `,_jsx(_components.code,{children:`completed`}),`, use `,_jsx(_components.a,{href:`/api-reference/endpoint/speech/download-stv`,children:`Download a video`}),`.`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`An unknown `,_jsx(_components.code,{children:`configId`}),` isn’t rejected here. The video is created and then ends with `,_jsx(_components.code,{children:`status: \"failed\"`}),`. Take `,_jsx(_components.code,{children:`configId`}),` from `,_jsx(_components.a,{href:`/api-reference/endpoint/speech/list-stv-avatars`,children:`List avatars`}),`.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a video","openapi":"post /api/v2/stv","description":"Uploads an audio file and starts turning it into a video of the chosen avatar speaking it.","href":"/api-reference/endpoint/speech/create-stv"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create a video","description":"Uploads an audio file and starts turning it into a video of the chosen avatar speaking it.","tags":["Speech to Video"],"security":["aa7e313c-930c-4b18-8b19-37b7fac1d44a"],"requestBody":"c01ba8b2-e7a5-43f2-8529-30025d2ef800","responses":{"201":"5e9baaba-970a-46c6-a74b-5796d42f92d7","400":"776eb379-c95c-4d15-8681-b0ab3d4a83dd","401":"0171ced7-9892-4f32-aef6-5390ebfd75f1","413":"54f4fcb6-6b8f-49de-aa1a-59bc3e1a02cd","422":"b87afb8d-4af4-482a-a8d4-0e5e24cf2e1f"},"method":"post","type":"path","servers":["3cabd987-821f-4e55-8cec-f6a014192c9f"],"path":"/api/v2/stv","baseUrlOptions":["https://api-eg.olimi.ai"],"title":"Create a video","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["audio","configId"],"properties":{"audio":{"type":"string","format":"binary","description":"The speech, as an audio file, under the field name `audio`. Up to 100 MB.","isRequired":true,"uniqueKey":"audio","typeLabel":"file"},"configId":{"type":"string","description":"The avatar's `model_config_id`, from [List avatars](/api-reference/endpoint/speech/list-stv-avatars).","example":"4f0cda01-bd22-410c-8b2e-026ce07691da","isRequired":true,"uniqueKey":"configId","typeLabel":"string"},"name":{"type":"string","description":"A label for the video.","example":"Welcome message","uniqueKey":"name","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"audio":"\u003cstring>","configId":"4f0cda01-bd22-410c-8b2e-026ce07691da","name":"Welcome message"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"5e9baaba-970a-46c6-a74b-5796d42f92d7":{"description":"The new video, with `status` `queued`.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Video generation job created successfully","uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The video's ID.","example":"7a3e9c12-5d8b-4f61-a2c7-9e0b3d6f1a48","uniqueKey":"data.id","typeLabel":"string\u003cuuid>"},"name":{"oneOf":[{"type":"string","description":"Your label, if you sent one.","example":"Welcome message","uniqueKey":"data.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Your label, if you sent one.","example":"Welcome message","uniqueKey":"data.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.name","typeLabel":"string | null"},"status":{"type":"string","enum":["queued","processing","completed","failed","cancelled"],"description":"See [Status values](/api-reference/endpoint/speech/speech-to-video#status-values).","example":"queued","uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"progress":{"type":"string","description":"How far along it is, from `\"0.00\"` to `\"1.00\"` (a decimal, as a string).","example":"0.00","uniqueKey":"data.progress","typeLabel":"string"},"configId":{"type":"string","description":"The avatar used.","example":"4f0cda01-bd22-410c-8b2e-026ce07691da","uniqueKey":"data.configId","typeLabel":"string"},"audioAttachmentId":{"type":"string","format":"uuid","example":"b1c9e4d2-7f3a-4e85-9b60-2d8f5a1c7e39","uniqueKey":"data.audioAttachmentId","typeLabel":"string\u003cuuid>"},"videoAttachmentId":{"oneOf":[{"type":"string","format":"uuid","description":"`null` until the video is ready.","example":null,"uniqueKey":"data.videoAttachmentId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"`null` until the video is ready.","example":null,"uniqueKey":"data.videoAttachmentId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.videoAttachmentId","typeLabel":"string\u003cuuid> | null"},"createdAt":{"type":"string","format":"date-time","example":"2026-09-29T10:02:11.904Z","uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","example":"2026-09-29T10:02:11.904Z","uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Video generation job created successfully","data":{"id":"7a3e9c12-5d8b-4f61-a2c7-9e0b3d6f1a48","name":"Welcome message","status":"queued","progress":"0.00","configId":"4f0cda01-bd22-410c-8b2e-026ce07691da","audioAttachmentId":"b1c9e4d2-7f3a-4e85-9b60-2d8f5a1c7e39","videoAttachmentId":null,"createdAt":"2026-09-29T10:02:11.904Z","updatedAt":"2026-09-29T10:02:11.904Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"776eb379-c95c-4d15-8681-b0ab3d4a83dd":{"description":"`audio` is missing, or the video service rejected the job. An unknown `configId` is NOT rejected here: the video is created and then fails.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"integer","example":400,"uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","example":"No audio files provided","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","example":"Bad Request","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":400,"message":"No audio files provided","error":"Bad Request"}}},"exampleType":"generated"}},"exampleType":"generated"},"0171ced7-9892-4f32-aef6-5390ebfd75f1":{"description":"The `X-API-KEY` header is missing or the key isn't valid.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"integer","example":404,"uniqueKey":"statusCode","typeLabel":"integer"},"errorCode":{"type":"string","description":"Machine-readable error code.","example":"agent_not_found","uniqueKey":"errorCode","typeLabel":"string"},"message":{"type":"string","description":"Human-readable text. May change; don't match on it.","example":"Agent not found","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":404,"errorCode":"agent_not_found","message":"Agent not found"}}},"exampleType":"generated"}},"exampleType":"generated"},"54f4fcb6-6b8f-49de-aa1a-59bc3e1a02cd":{"description":"The audio file is larger than 100 MB.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"b87afb8d-4af4-482a-a8d4-0e5e24cf2e1f":{"description":"`configId` is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"integer","example":422,"uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"array","items":{"type":"string","uniqueKey":"message.items.[INDEX]","typeLabel":"string"},"description":"What went wrong. Human-readable.","example":["name must be shorter than or equal to 100 characters"],"uniqueKey":"message","typeLabel":"string[]"},"error":{"type":"string","example":"Unprocessable Entity","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":422,"message":["name must be shorter than or equal to 100 characters"],"error":"Unprocessable Entity"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"aa7e313c-930c-4b18-8b19-37b7fac1d44a":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY","scopes":[]}}},"servers":{"3cabd987-821f-4e55-8cec-f6a014192c9f":{"url":"https://api-eg.olimi.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-KEY","scopes":[]},"schema":{"title":"X-API-KEY","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"X-API-KEY"}],"title":"apiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"olimi","siteName":"Olimi AI","title":"Create a video - Olimi AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-29T11:51:53.881Z","originalFileLocation":"api-reference/endpoint/speech/create-stv.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=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Uploads an audio file and starts turning it into a video of the chosen avatar speaking it.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Olimi AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/olimi/sSM7fJ5EVcZkWuGs/_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/olimi/sSM7fJ5EVcZkWuGs/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/olimi/sSM7fJ5EVcZkWuGs/_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/olimi/sSM7fJ5EVcZkWuGs/_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/olimi/sSM7fJ5EVcZkWuGs/_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/olimi/sSM7fJ5EVcZkWuGs/_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/olimi/sSM7fJ5EVcZkWuGs/_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/olimi/sSM7fJ5EVcZkWuGs/_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/olimi/sSM7fJ5EVcZkWuGs/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a video - Olimi AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Uploads an audio file and starts turning it into a video of the chosen avatar speaking it.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Olimi AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.olimi.ai/api-reference/endpoint/speech/create-stv\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://olimi.mintlify.app/_mintlify/api/og/v2?division=Speech+to+Video\u0026amp;title=Create+a+video\u0026amp;description=Uploads+an+audio+file+and+starts+turning+it+into+a+video+of+the+chosen+avatar+speaking+it.\u0026amp;theme=c984395f43d8d9539f01ceef\u0026amp;signature=0bc15545520993eaecc7f13827c555695c1ca8500fb7dfac2a4bc3bd9744dc15\">\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 a video - Olimi AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Uploads an audio file and starts turning it into a video of the chosen avatar speaking it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://olimi.mintlify.app/_mintlify/api/og/v2?division=Speech+to+Video\u0026amp;title=Create+a+video\u0026amp;description=Uploads+an+audio+file+and+starts+turning+it+into+a+video+of+the+chosen+avatar+speaking+it.\u0026amp;theme=c984395f43d8d9539f01ceef\u0026amp;signature=0bc15545520993eaecc7f13827c555695c1ca8500fb7dfac2a4bc3bd9744dc15\">\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/olimi/sSM7fJ5EVcZkWuGs/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Olimi AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#111111\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.olimi.ai/api-reference/endpoint/speech/create-stv\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/speech/create-stv.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.olimi.ai/#organization\",\"name\":\"Olimi AI\",\"url\":\"https://docs.olimi.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/olimi/Z3ML2rZXUsMQ8jzb/logo/light-olimi.svg?fit=max\u0026auto=format\u0026n=Z3ML2rZXUsMQ8jzb\u0026q=85\u0026s=27b6898bcac64fd881d2e404e5cfd8f9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.olimi.ai#website\",\"name\":\"Olimi AI\",\"url\":\"https://docs.olimi.ai\",\"publisher\":{\"@id\":\"https://docs.olimi.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.olimi.ai/api-reference/endpoint/speech/create-stv#webpage\",\"url\":\"https://docs.olimi.ai/api-reference/endpoint/speech/create-stv\",\"name\":\"Create a video\",\"description\":\"Uploads an audio file and starts turning it into a video of the chosen avatar speaking it.\",\"dateModified\":\"2026-09-29T11:51:53.881Z\",\"isPartOf\":{\"@id\":\"https://docs.olimi.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.olimi.ai/api-reference/endpoint/speech/create-stv#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.olimi.ai/api-reference/endpoint/speech/create-stv#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Speech\",\"item\":\"https://docs.olimi.ai/api-reference/endpoint/speech/text-to-speech\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Speech to Video\",\"item\":\"https://docs.olimi.ai/api-reference/endpoint/speech/speech-to-video\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create a video\",\"item\":\"https://docs.olimi.ai/api-reference/endpoint/speech/create-stv\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.olimi.ai/api-reference/endpoint/speech/create-stv#apireference\",\"headline\":\"Create a video\",\"name\":\"Create a video\",\"description\":\"Uploads an audio file and starts turning it into a video of the chosen avatar speaking it.\",\"url\":\"https://docs.olimi.ai/api-reference/endpoint/speech/create-stv\",\"mainEntityOfPage\":{\"@id\":\"https://docs.olimi.ai/api-reference/endpoint/speech/create-stv#webpage\"},\"dateModified\":\"2026-09-29T11:51:53.881Z\",\"publisher\":{\"@id\":\"https://docs.olimi.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.olimi.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Olimi AI\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Olimi AI","nav":{"global":null,"groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Account Setup","href":"/account-setup"},{"title":"PBX Installation","href":"/installation"}]},{"group":"API Overview","pages":[{"title":"Webhook Overview","icon":"webhook","href":"/webhook/webhook"},{"title":"API Authentication","icon":"gear-code","href":"/api-auth"}]},{"group":"Agents \u0026 Campaigns","pages":[{"group":"Agents","icon":"robot","pages":[{"title":"Agents","sidebarTitle":"Overview","href":"/api-reference/endpoint/agent/agents"},{"title":"List agents","openapi":"get /api/v2/agents","href":"/api-reference/endpoint/agent/list-agents"},{"title":"Get an agent","openapi":"get /api/v2/agents/{id}","href":"/api-reference/endpoint/agent/get-agent"},{"title":"Update an agent","openapi":"patch /api/v2/agents/{id}","href":"/api-reference/endpoint/agent/update-agent"}]},{"group":"Customer Lists","icon":"list","pages":[{"title":"Customer Lists","sidebarTitle":"Overview","href":"/api-reference/endpoint/customer-list/customer-lists"},{"title":"List customer lists","openapi":"get /api/v2/customer-lists","href":"/api-reference/endpoint/customer-list/list-customer-lists"},{"title":"Get a customer list","openapi":"get /api/v2/customer-lists/{id}","href":"/api-reference/endpoint/customer-list/get-customer-list"},{"title":"Create a customer list","openapi":"post /api/v2/customer-lists","href":"/api-reference/endpoint/customer-list/create-customer-list"}]},{"group":"Contacts","icon":"address-book","pages":[{"title":"Contacts","sidebarTitle":"Overview","href":"/api-reference/endpoint/contacts/contacts"},{"title":"List contacts","openapi":"get /api/v2/contacts/{customerListId}","href":"/api-reference/endpoint/contacts/list-contacts"},{"title":"Add a contact","openapi":"post /api/v2/contacts","href":"/api-reference/endpoint/contacts/create-contact"},{"title":"Edit a contact","openapi":"patch /api/v2/contacts/{id}","href":"/api-reference/endpoint/contacts/update-contact"},{"title":"Delete a contact","openapi":"delete /api/v2/contacts/{id}","href":"/api-reference/endpoint/contacts/delete-contact"}]},{"group":"Campaigns","icon":"bullhorn","pages":[{"title":"Campaigns","sidebarTitle":"Overview","href":"/api-reference/endpoint/campaigns/campaigns"},{"title":"List campaigns","openapi":"get /api/v2/campaigns","href":"/api-reference/endpoint/campaigns/list-campaigns"},{"title":"Get a campaign","openapi":"get /api/v2/campaigns/{id}","href":"/api-reference/endpoint/campaigns/get-campaign"},{"title":"Create a campaign","openapi":"post /api/v2/campaigns","href":"/api-reference/endpoint/campaigns/create-campaign"},{"title":"Update a campaign","openapi":"patch /api/v2/campaigns/{id}","href":"/api-reference/endpoint/campaigns/update-campaign"},{"title":"Delete a campaign","openapi":"delete /api/v2/campaigns/{id}","href":"/api-reference/endpoint/campaigns/delete-campaign"}]},{"group":"Calls","icon":"phone","pages":[{"title":"Calls","sidebarTitle":"Overview","href":"/api-reference/endpoint/calls/calls"},{"title":"List calls","openapi":"get /api/v2/calls","href":"/api-reference/endpoint/calls/list-calls"},{"title":"Get a call","openapi":"get /api/v2/calls/{id}","href":"/api-reference/endpoint/calls/get-call"}]}]},{"group":"Speech","pages":[{"group":"Text to Speech","icon":"volume-high","pages":[{"title":"Text to Speech","sidebarTitle":"Overview","href":"/api-reference/endpoint/speech/text-to-speech"},{"title":"List languages","openapi":"get /api/v2/languages/public","href":"/api-reference/endpoint/speech/list-tts-languages"},{"title":"List voices","openapi":"get /api/v2/tts/voices","href":"/api-reference/endpoint/speech/list-tts-voices"},{"title":"Create audio","openapi":"post /api/v2/tts","href":"/api-reference/endpoint/speech/create-tts"},{"title":"List audio","openapi":"get /api/v2/tts","href":"/api-reference/endpoint/speech/list-tts"},{"title":"Get audio","openapi":"get /api/v2/tts/{id}","href":"/api-reference/endpoint/speech/get-tts"},{"title":"Delete audio","openapi":"delete /api/v2/tts/{id}","href":"/api-reference/endpoint/speech/delete-tts"}]},{"group":"Speech to Text","icon":"closed-captioning","pages":[{"title":"Speech to Text","sidebarTitle":"Overview","href":"/api-reference/endpoint/speech/speech-to-text"},{"title":"Upload audio","openapi":"post /api/v2/stt/upload","href":"/api-reference/endpoint/speech/upload-stt"},{"title":"List transcripts","openapi":"get /api/v2/stt","href":"/api-reference/endpoint/speech/list-stt"},{"title":"Get a transcript","openapi":"get /api/v2/stt/{id}","href":"/api-reference/endpoint/speech/get-stt"},{"title":"Regenerate a transcript","openapi":"post /api/v2/stt/{id}/regenerate","href":"/api-reference/endpoint/speech/regenerate-stt"},{"title":"Delete a transcript","openapi":"delete /api/v2/stt/{id}","href":"/api-reference/endpoint/speech/delete-stt"}]},{"group":"Speech to Video","icon":"video","pages":[{"title":"Speech to Video","sidebarTitle":"Overview","href":"/api-reference/endpoint/speech/speech-to-video"},{"title":"List avatars","openapi":"get /api/v2/stv/avatars","description":"Returns the avatars you can use in a video.","href":"/api-reference/endpoint/speech/list-stv-avatars"},{"title":"Create a video","openapi":"post /api/v2/stv","href":"/api-reference/endpoint/speech/create-stv"},{"title":"Get video progress","openapi":"get /api/v2/stv/progress/{id}","description":"Returns how far along a video is. Lighter than Get a video, so use it for polling.","href":"/api-reference/endpoint/speech/get-stv-progress"},{"title":"List videos","openapi":"get /api/v2/stv","href":"/api-reference/endpoint/speech/list-stv"},{"title":"Get a video","openapi":"get /api/v2/stv/{id}","href":"/api-reference/endpoint/speech/get-stv"},{"title":"Download a video","openapi":"get /api/v2/stv/{id}/download","href":"/api-reference/endpoint/speech/download-stv"},{"title":"Delete a video","openapi":"delete /api/v2/stv/{id}","href":"/api-reference/endpoint/speech/delete-stv"}]}]}]},"title":"Create a video - Olimi AI","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-26-lDe7V.js","utils-CWQmgYtH.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-4-Aw3rSD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C2zjXYA5.js","snippetPresets-DFmpFA7C.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-FJpQavWq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D_GvPF7k.js","shallow-Bs2ZB0NO.js","getApiPlaygroundDisplay-DCcqJJk-.js","CodeSnippet-DzDxawVe.js","CodeSnippets-aUr7fU-7.js","Page-CT9uE8Ip.js","getPastedJson-Y1fKsj_I.js","icon-DI4zTsDr.js","MethodPill-C0nDlmSQ.js","DuplicateIcon-NUXbx2nQ.js","createIcon-BdTHrPAi.js","DynamicMarkdown-CtpgKJwj.js","SectionHeading-B3x35tOt.js","axios-vUo_bRtp.js","Markdown-3OmurJMP.js","clsx-DMKzROTp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-1ms6tsT-.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Ke9xIMFx.js"]}