CINXE.COM

Text To Speech Streaming - ElevenLabs

<!DOCTYPE html><html lang="en" class="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="https://mintlify.s3-us-west-1.amazonaws.com/elevenlabs-docs/_generated/favicon/apple-touch-icon.png?v=3"/><link rel="icon" type="image/png" sizes="32x32" href="https://mintlify.s3-us-west-1.amazonaws.com/elevenlabs-docs/_generated/favicon/favicon-32x32.png?v=3"/><link rel="icon" type="image/png" sizes="16x16" href="https://mintlify.s3-us-west-1.amazonaws.com/elevenlabs-docs/_generated/favicon/favicon-16x16.png?v=3"/><link rel="shortcut icon" type="image/x-icon" href="https://mintlify.s3-us-west-1.amazonaws.com/elevenlabs-docs/_generated/favicon/favicon.ico?v=3"/><meta name="msapplication-config" content="https://mintlify.s3-us-west-1.amazonaws.com/elevenlabs-docs/_generated/favicon/browserconfig.xml?v=3"/><meta name="apple-mobile-web-app-title" content="ElevenLabs"/><meta name="application-name" content="ElevenLabs"/><meta name="msapplication-TileColor" content="#312B41"/><meta name="theme-color" content="#ffffff"/><link rel="sitemap" type="application/xml" href="/docs/sitemap.xml"/><meta name="charset" content="utf-8"/><meta name="og:type" content="website"/><meta name="og:site_name" content="ElevenLabs"/><meta name="twitter:card" content="summary_large_image"/><meta name="og:title" content="Text To Speech Streaming - ElevenLabs"/><meta name="twitter:title" content="Text To Speech Streaming - ElevenLabs"/><meta name="og:image" content="https://mintlify.com/docs/api/og?division=Documentation&amp;mode=light&amp;title=Text+To+Speech+Streaming&amp;description=Converts+text+into+speech+using+a+voice+of+your+choice+and+returns+audio+as+an+audio+stream.&amp;logoLight=https%3A%2F%2Fmintlify.s3-us-west-1.amazonaws.com%2Felevenlabs-docs%2Flogo%2Ffavicon.png&amp;logoDark=https%3A%2F%2Fmintlify.s3-us-west-1.amazonaws.com%2Felevenlabs-docs%2Flogo%2Ffavicon.png&amp;primaryColor=%23312B41&amp;lightColor=%234D9CFF&amp;darkColor=%230050B4"/><meta name="twitter:image" content="https://mintlify.com/docs/api/og?division=Documentation&amp;mode=light&amp;title=Text+To+Speech+Streaming&amp;description=Converts+text+into+speech+using+a+voice+of+your+choice+and+returns+audio+as+an+audio+stream.&amp;logoLight=https%3A%2F%2Fmintlify.s3-us-west-1.amazonaws.com%2Felevenlabs-docs%2Flogo%2Ffavicon.png&amp;logoDark=https%3A%2F%2Fmintlify.s3-us-west-1.amazonaws.com%2Felevenlabs-docs%2Flogo%2Ffavicon.png&amp;primaryColor=%23312B41&amp;lightColor=%234D9CFF&amp;darkColor=%230050B4"/><meta name="og:description" content="Converts text into speech using a voice of your choice and returns audio as an audio stream."/><meta name="description" content="Converts text into speech using a voice of your choice and returns audio as an audio stream."/><title>Text To Speech Streaming - ElevenLabs</title><meta name="og:url" content="/docs/api-reference/streaming"/><link rel="canonical" href="/docs/api-reference/streaming"/><meta name="next-head-count" content="25"/><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.css" integrity="sha384-Xi8rHCmBmhbuyyhbI88391ZKP2dmfnOl4rT9ZfRI7mLTdk1wblIUnrIq35nqwEvC" crossorigin="anonymous"/><link rel="preload" href="/docs/_next/static/media/a34f9d1faa5f3315-s.p.woff2" as="font" type="font/woff2" crossorigin="anonymous" data-next-font="size-adjust"/><link rel="preload" href="/docs/_next/static/media/bb3ef058b751a6ad-s.p.woff2" as="font" type="font/woff2" crossorigin="anonymous" data-next-font="size-adjust"/><script id="mode-toggle" data-nscript="beforeInteractive"> try { if (localStorage.isDarkMode === 'true') { document.documentElement.classList.add('dark'); } else if (localStorage.isDarkMode === 'false') { document.documentElement.classList.remove('dark'); } else if ((false && !('isDarkMode' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches) || false) { document.documentElement.classList.add('dark'); } else { document.documentElement.classList.remove('dark'); } } catch (_) {} </script><link rel="preload" href="/docs/_next/static/css/17e674fe0a1d207f.css" as="style"/><link rel="stylesheet" href="/docs/_next/static/css/17e674fe0a1d207f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/docs/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/docs/_next/static/chunks/webpack-082cee471cefe69d.js" defer=""></script><script src="/docs/_next/static/chunks/framework-d17a13b7014ce556.js" defer=""></script><script src="/docs/_next/static/chunks/main-b4563e976e2fd8aa.js" defer=""></script><script src="/docs/_next/static/chunks/pages/_app-ab561152790fd325.js" defer=""></script><script src="/docs/_next/static/chunks/2edb282b-7fa355f49eaeb230.js" defer=""></script><script src="/docs/_next/static/chunks/e893f787-54a006ae51267903.js" defer=""></script><script src="/docs/_next/static/chunks/086d643d-3aa1cf46914548d9.js" defer=""></script><script src="/docs/_next/static/chunks/9097-12d1b59a6a39c208.js" defer=""></script><script src="/docs/_next/static/chunks/6430-16e004706658d885.js" defer=""></script><script src="/docs/_next/static/chunks/2073-a80af447b2775d64.js" defer=""></script><script src="/docs/_next/static/chunks/pages/_sites/%5Bsubdomain%5D/%5B%5B...slug%5D%5D-7d0e3c1d0f130c24.js" defer=""></script><script src="/docs/_next/static/LMqDwuylxp2khh6TX4W2E/_buildManifest.js" defer=""></script><script src="/docs/_next/static/LMqDwuylxp2khh6TX4W2E/_ssgManifest.js" defer=""></script><style id="__jsx-3178852779">:root{--font-inter:'__Inter_c8d9fa', '__Inter_Fallback_c8d9fa';--font-jetbrains-mono:'__JetBrains_Mono_ea4744', '__JetBrains_Mono_Fallback_ea4744'}</style></head><div id="__next"><main class="jsx-3178852779"><style>:root { --primary: 49 43 65; --primary-light: 77 156 255; --primary-dark: 0 80 180; --background-light: 255 255 255; --background-dark: 10 12 16; --gray-50: 244 244 244; --gray-100: 239 239 239; --gray-200: 223 223 224; --gray-300: 207 207 208; --gray-400: 160 159 160; --gray-500: 113 113 113; --gray-600: 81 81 81; --gray-700: 64 63 64; --gray-800: 38 38 39; --gray-900: 24 24 24; --gray-950: 11 11 12; }</style><style>elevenlabs-convai { --el-bg-color: rgb(var(--background-light)); --el-text-color: rgb(var(--gray-700)); --el-border-color: rgb(var(--gray-400) / 0.2); --el-border-radius: 0.75rem; --el-btn-color: rgb(var(--primary-dark)); --el-btn-text-color: #fff; --el-btn-radius: 32px; --el-focus-color: rgb(var(--primary-light)); } .dark elevenlabs-convai { --el-bg-color: rgb(var(--background-dark)); --el-text-color: rgb(var(--gray-300)); --el-border-color: rgb(var(--gray-800)); --el-border-radius: 0.75rem; --el-btn-color: rgb(var(--primary-light) / 0.1); --el-btn-text-color: rgb(var(--primary-light)); --el-btn-radius: 32px; --el-focus-color: rgb(var(--primary-light)); } </style><div class="relative antialiased text-gray-500 dark:text-gray-400"><span class="fixed inset-0 bg-background-light dark:bg-background-dark -z-10"></span><div id="navbar" class="z-30 fixed lg:sticky top-0 w-full"><div id="navbar-transition" class="absolute w-full h-full backdrop-blur flex-none transition-colors duration-500 border-b border-gray-500/5 dark:border-gray-300/[0.06] supports-backdrop-blur:bg-background-light/60 dark:bg-transparent"></div><div class="max-w-8xl mx-auto relative"><div class=""><div class="relative"><div class="flex items-center lg:px-12 h-16 min-w-0 mx-4 lg:mx-0"><div class="h-full relative flex-1 flex items-center gap-x-4 min-w-0 border-b border-gray-500/5 dark:border-gray-300/[0.06]"><div class="flex-1 flex items-center gap-x-4"><a href="/docs"><span class="sr-only">ElevenLabs<!-- --> home page</span><img class="w-auto h-7 relative object-contain block dark:hidden" src="https://mintlify.s3-us-west-1.amazonaws.com/elevenlabs-docs/logo/favicon.png" alt="light logo"/><img class="w-auto h-7 relative object-contain hidden dark:block" src="https://mintlify.s3-us-west-1.amazonaws.com/elevenlabs-docs/logo/favicon.png" alt="dark logo"/></a><div class="flex items-center gap-x-2"></div></div><div class="hidden lg:block mx-px relative flex-1 bg-white dark:bg-gray-900 pointer-events-auto rounded-lg min-w-0"><button type="button" class="w-full flex items-center text-sm leading-6 rounded-lg py-1.5 pl-3.5 pr-3 shadow-sm text-gray-400 dark:text-white/50 bg-background-light dark:bg-background-dark dark:brightness-[1.1] dark:ring-1 dark:hover:brightness-[1.25] ring-1 ring-gray-400/20 hover:ring-gray-600/25 dark:ring-gray-600/30 dark:hover:ring-gray-500/30 focus:outline-primary justify-between truncate gap-2 min-w-[43px]" id="search-bar-entry"><div class="flex items-center gap-3 min-w-[42px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-search min-w-4 flex-none text-gray-700 hover:text-gray-800 dark:text-gray-300 hover:dark:text-gray-200"><circle cx="11" cy="11" r="8"></circle><path d="m21 21-4.3-4.3"></path></svg><div class="truncate min-w-0">Search or ask...</div></div></button></div><div class="flex-1 relative hidden lg:flex items-center ml-auto justify-end space-x-4"><nav class="text-sm"><ul class="flex space-x-6 items-center"><li class="block lg:hidden"><a class="whitespace-nowrap font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" href="https://elevenlabs.io/sign-up">Go to elevenlabs.io</a></li><li><a href="https://elevenlabs.io/blog" class="whitespace-nowrap font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" target="_blank">Blog</a></li><li><a href="https://help.elevenlabs.io/" class="whitespace-nowrap font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" target="_blank">Help Center</a></li><li class="whitespace-nowrap hidden lg:flex" id="topbar-cta-button"><a target="_blank" class="group px-4 py-1.5 relative inline-flex items-center text-sm font-medium" href="https://elevenlabs.io/sign-up"><span class="absolute inset-0 bg-primary-dark dark:bg-primary-light/10 border-primary-light/30 rounded-full dark:border group-hover:opacity-[0.9] dark:group-hover:border-primary-light/60"></span><div class="mr-0.5 space-x-2.5 flex items-center"><span class="z-10 text-white dark:text-primary-light">Go to elevenlabs.io</span><svg width="3" height="24" viewBox="0 -9 3 24" class="h-5 rotate-0 overflow-visible text-white/90 dark:text-primary-light"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></div></a></li></ul></nav><div class="flex items-center"><button class="group p-2 flex items-center justify-center" aria-label="Toggle dark mode"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 block text-gray-400 dark:hidden group-hover:text-gray-600"><g clip-path="url(#clip0_2880_7340)"><path d="M8 1.11133V2.00022" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12.8711 3.12891L12.2427 3.75735" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14.8889 8H14" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12.8711 12.8711L12.2427 12.2427" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8 14.8889V14" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3.12891 12.8711L3.75735 12.2427" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.11133 8H2.00022" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3.12891 3.12891L3.75735 3.75735" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8.00043 11.7782C10.0868 11.7782 11.7782 10.0868 11.7782 8.00043C11.7782 5.91402 10.0868 4.22266 8.00043 4.22266C5.91402 4.22266 4.22266 5.91402 4.22266 8.00043C4.22266 10.0868 5.91402 11.7782 8.00043 11.7782Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></g><defs><clipPath id="clip0_2880_7340"><rect width="16" height="16" fill="white"></rect></clipPath></defs></svg><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-moon h-4 w-4 hidden dark:block text-gray-500 dark:group-hover:text-gray-300"><path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"></path></svg></button></div></div><div class="flex lg:hidden items-center gap-2"><button type="button" class="text-gray-500 w-8 h-8 flex items-center justify-center hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-300" id="search-bar-entry-mobile"><span class="sr-only">Search...</span><svg class="h-4 w-4 bg-gray-500 dark:bg-gray-400 hover:bg-gray-600 dark:hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/solid/magnifying-glass.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></button><button aria-label="More actions" class="h-7 w-5 flex items-center justify-end"><svg class="h-4 w-4 bg-gray-500 dark:bg-gray-400 hover:bg-gray-600 dark:hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/solid/ellipsis-vertical.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></button></div></div></div><div class="flex items-center h-14 py-4 px-5 lg:hidden"><button type="button" class="text-gray-500 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-300"><span class="sr-only">Navigation</span><svg class="h-4" fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"></path></svg></button><div class="ml-4 flex text-sm leading-6 whitespace-nowrap min-w-0 space-x-3"><div class="flex items-center space-x-3"><span>Text to Speech</span><svg width="3" height="24" viewBox="0 -9 3 24" class="h-5 rotate-0 overflow-visible fill-gray-400"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></div><div class="font-semibold text-gray-900 truncate dark:text-gray-200">Text To Speech Streaming</div></div></div></div><div class="hidden lg:flex px-12 h-12"><div class="h-full flex text-sm space-x-6"><a class="group relative h-full flex items-center font-medium text-gray-600 dark:text-gray-400 group-hover:text-gray-800 dark:group-hover:text-gray-300" href="/docs/product/introduction">Product<div class="absolute bottom-0 h-[1.5px] w-full group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a><a class="group relative h-full flex items-center text-gray-800 dark:text-gray-200 font-semibold" href="/docs/api-reference/overview">API Reference<div class="absolute bottom-0 h-[1.5px] w-full bg-primary dark:bg-primary-light"></div></a><a class="group relative h-full flex items-center font-medium text-gray-600 dark:text-gray-400 group-hover:text-gray-800 dark:group-hover:text-gray-300" href="/docs/developer-guides/quickstart">Developer Guides<div class="absolute bottom-0 h-[1.5px] w-full group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a><a class="group relative h-full flex items-center font-medium text-gray-600 dark:text-gray-400 group-hover:text-gray-800 dark:group-hover:text-gray-300" href="/docs/conversational-ai/docs/introduction">Conversational AI<div class="absolute bottom-0 h-[1.5px] w-full group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a><a class="group relative h-full flex items-center font-medium text-gray-600 dark:text-gray-400 group-hover:text-gray-800 dark:group-hover:text-gray-300" href="/docs/changelog/product-updates">Changelog<div class="absolute bottom-0 h-[1.5px] w-full group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a></div></div></div></div></div><div class="px-4 mx-auto max-w-8xl lg:px-8 min-h-screen"><div class="z-20 hidden lg:block fixed bottom-0 right-auto w-[18rem] top-[7.1rem]" id="sidebar"><div class="absolute inset-0 z-10 stable-scrollbar-gutter overflow-auto pr-8 pb-10" id="sidebar-content"><div class="relative lg:text-sm lg:leading-6"><div class="sticky top-0 h-8 bg-gradient-to-b from-background-light dark:from-background-dark"></div><div id="navigation-items"><li class="list-none"><a href="https://discord.gg/elevenlabs" target="_blank" rel="noreferrer" class="pl-4 group flex items-center lg:text-sm lg:leading-6 mb-5 sm:mb-4 font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300"><div class="mr-4 rounded-md p-1 group-hover:bg-primary zinc-box group-hover:brightness-100 group-hover:ring-0 ring-1 ring-gray-950/5 dark:ring-gray-700/40"><svg class="h-4 w-4 secondary-opacity group-hover:fill-primary-dark group-hover:bg-white bg-gray-400 dark:bg-gray-500" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/brands/discord.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></div>Community</a></li><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200"></h5><ul><li id="/api-reference/overview" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/overview"><div class="flex-1 flex items-center space-x-2.5"><div>API Reference Overview</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">SDK Libraries</h5><ul><li id="https://github.com/elevenlabs/elevenlabs-js" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" target="_blank" href="https://github.com/elevenlabs/elevenlabs-js"><svg class="h-4 w-4 bg-gray-400 dark:bg-gray-500" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/brands/node-js.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="flex-1 flex items-center space-x-2.5"><div>Node Library</div><svg class="h-2.5 text-gray-400 overflow-visible group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" fill="currentColor"><path d="M328 96c13.3 0 24 10.7 24 24V360c0 13.3-10.7 24-24 24s-24-10.7-24-24V177.9L73 409c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l231-231H88c-13.3 0-24-10.7-24-24s10.7-24 24-24H328z"></path></svg></div></a></li><li id="https://github.com/elevenlabs/elevenlabs-python" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" target="_blank" href="https://github.com/elevenlabs/elevenlabs-python"><svg class="h-4 w-4 bg-gray-400 dark:bg-gray-500" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/brands/python.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="flex-1 flex items-center space-x-2.5"><div>Python Library</div><svg class="h-2.5 text-gray-400 overflow-visible group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" fill="currentColor"><path d="M328 96c13.3 0 24 10.7 24 24V360c0 13.3-10.7 24-24 24s-24-10.7-24-24V177.9L73 409c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l231-231H88c-13.3 0-24-10.7-24-24s10.7-24 24-24H328z"></path></svg></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Text to Speech</h5><ul><li id="/api-reference/text-to-speech" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/text-to-speech"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Text To Speech</div></div></a></li><li id="/api-reference/text-to-speech-with-timestamps" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/text-to-speech-with-timestamps"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Text To Speech With Timestamps</div></div></a></li><li id="/api-reference/streaming" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg bg-primary/10 text-primary font-semibold dark:text-primary-light dark:bg-primary-light/10" style="padding-left:1rem" href="/docs/api-reference/streaming"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-[#3064E3] text-white">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Text To Speech Streaming</div></div></a></li><li id="/api-reference/streaming-with-timestamps" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/streaming-with-timestamps"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Text To Speech Streaming With Timestamps</div></div></a></li><li id="/api-reference/websockets" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/websockets"><svg class="h-4 w-4 bg-gray-400 dark:bg-gray-500" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/comments.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="flex-1 flex items-center space-x-2.5"><div>Websockets</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Speech to Speech</h5><ul><li id="/api-reference/speech-to-speech" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/speech-to-speech"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Speech To Speech</div></div></a></li><li id="/api-reference/speech-to-speech-streaming" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/speech-to-speech-streaming"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Streaming</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Sound Effects</h5><ul><li id="/api-reference/sound-generation" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/sound-generation"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Sound Generation</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Audio Isolation</h5><ul><li id="/api-reference/audio-isolation" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/audio-isolation"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Audio Isolation</div></div></a></li><li id="/api-reference/audio-isolation-stream" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/audio-isolation-stream"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Audio Isolation Stream</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">History</h5><ul><li id="/api-reference/get-generated-items" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-generated-items"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get Generated Items</div></div></a></li><li id="/api-reference/get-history-item-by-id" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-history-item-by-id"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get History Item By Id</div></div></a></li><li id="/api-reference/delete-history-item" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/delete-history-item"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-red-400/20 text-red-700 dark:bg-red-400/20 dark:text-red-400">DEL</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Delete History Item</div></div></a></li><li id="/api-reference/get-audio-from-history-item" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-audio-from-history-item"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get Audio From History Item</div></div></a></li><li id="/api-reference/download-history-items" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/download-history-items"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Download History Items</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Samples</h5><ul><li id="/api-reference/delete-sample" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/delete-sample"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-red-400/20 text-red-700 dark:bg-red-400/20 dark:text-red-400">DEL</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Delete Sample</div></div></a></li><li id="/api-reference/get-audio-from-sample" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-audio-from-sample"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get Audio From Sample</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">User</h5><ul><li id="/api-reference/get-user-subscription-info" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-user-subscription-info"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get User Subscription Info</div></div></a></li><li id="/api-reference/get-user-info" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-user-info"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get User Info</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Voices</h5><ul><li id="/api-reference/get-voices" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-voices"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get Voices</div></div></a></li><li id="/api-reference/get-default-voice-settings" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-default-voice-settings"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get Default Voice Settings.</div></div></a></li><li id="/api-reference/get-voice-settings" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-voice-settings"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get Voice Settings</div></div></a></li><li id="/api-reference/get-voice" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-voice"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get Voice</div></div></a></li><li id="/api-reference/delete-voice" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/delete-voice"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-red-400/20 text-red-700 dark:bg-red-400/20 dark:text-red-400">DEL</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Delete Voice</div></div></a></li><li id="/api-reference/edit-voice-settings" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/edit-voice-settings"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Edit Voice Settings</div></div></a></li><li id="/api-reference/add-voice" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/add-voice"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Add Voice</div></div></a></li><li id="/api-reference/edit-voice" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/edit-voice"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Edit Voice</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Voice Design</h5><ul><li id="/api-reference/ttv-create-previews" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/ttv-create-previews"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Generate Voice Previews From Description</div></div></a></li><li id="/api-reference/ttv-create-voice-from-preview" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/ttv-create-voice-from-preview"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Create Voice From Voice Preview</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Voice Library</h5><ul><li id="/api-reference/query-library" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/query-library"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get Voices</div></div></a></li><li id="/api-reference/add-shared-voice" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/add-shared-voice"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Add Sharing Voice</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Projects</h5><ul><li id="/api-reference/get-projects" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-projects"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get Projects</div></div></a></li><li id="/api-reference/get-project-by-id" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-project-by-id"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get Project By Id</div></div></a></li><li id="/api-reference/add-project" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/add-project"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Add Project</div></div></a></li><li id="/api-reference/delete-project" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/delete-project"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-red-400/20 text-red-700 dark:bg-red-400/20 dark:text-red-400">DEL</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Delete Project</div></div></a></li><li id="/api-reference/convert-project" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/convert-project"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Convert Project</div></div></a></li><li id="/api-reference/get-project-snapshots" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-project-snapshots"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get Project Snapshots</div></div></a></li><li id="/api-reference/stream-project-audio" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/stream-project-audio"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Stream Project Audio</div></div></a></li><li id="/api-reference/get-chapters" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-chapters"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get Chapters</div></div></a></li><li id="/api-reference/get-chapter-by-id" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-chapter-by-id"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get Chapter By Id</div></div></a></li><li id="/api-reference/add-chapter" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/add-chapter"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Add Chapter To A Project</div></div></a></li><li id="/api-reference/delete-chapter" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/delete-chapter"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-red-400/20 text-red-700 dark:bg-red-400/20 dark:text-red-400">DEL</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Delete Chapter</div></div></a></li><li id="/api-reference/convert-chapter" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/convert-chapter"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Convert Chapter</div></div></a></li><li id="/api-reference/get-chapter-snapshots" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-chapter-snapshots"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get Chapter Snapshots</div></div></a></li><li id="/api-reference/stream-chapter-audio" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/stream-chapter-audio"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Stream Chapter Audio</div></div></a></li><li id="/api-reference/update-pronunciation-dictionaries" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/update-pronunciation-dictionaries"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Update Pronunciation Dictionaries</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Pronunciation Dictionaries</h5><ul><li id="/api-reference/pronunciation-dictionaries-add-from-file" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/pronunciation-dictionaries-add-from-file"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Add from file</div></div></a></li><li id="/api-reference/pronunciation-dictionaries-list" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/pronunciation-dictionaries-list"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get dictionaries</div></div></a></li><li id="/api-reference/pronunciation-dictionaries-id" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/pronunciation-dictionaries-id"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get dictionary by id</div></div></a></li><li id="/api-reference/pronunciation-dictionaries-id-add-rules" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/pronunciation-dictionaries-id-add-rules"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Add rules</div></div></a></li><li id="/api-reference/pronunciation-dictionaries-id-remove-rules" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/pronunciation-dictionaries-id-remove-rules"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Remove rules</div></div></a></li><li id="/api-reference/pronunciation-dictionaries-id-version_id-download" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/pronunciation-dictionaries-id-version_id-download"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Download version by id</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Models</h5><ul><li id="/api-reference/get-models" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-models"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get Models</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Audio-native</h5><ul><li id="/api-reference/creates-audionative-enabled-project" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/creates-audionative-enabled-project"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Creates Audionative Enabled Project.</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Dubbing</h5><ul><li id="/api-reference/create-dub" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/create-dub"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Dub A Video Or An Audio File</div></div></a></li><li id="/api-reference/get-dubbing-metadata" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-dubbing-metadata"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get Dubbing Project Metadata</div></div></a></li><li id="/api-reference/get-dubbing-transcript" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-dubbing-transcript"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get Transcript For Dub</div></div></a></li><li id="/api-reference/get-dubbed-file" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/get-dubbed-file"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get Dubbed File</div></div></a></li><li id="/api-reference/delete-dub" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/delete-dub"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-red-400/20 text-red-700 dark:bg-red-400/20 dark:text-red-400">DEL</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Delete Dubbing Project</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Workspace</h5><ul><li id="/api-reference/workspace-invite-user" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/workspace-invite-user"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Invite User</div></div></a></li><li id="/api-reference/workspace-delete-invite" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/workspace-delete-invite"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-red-400/20 text-red-700 dark:bg-red-400/20 dark:text-red-400">DEL</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Delete Existing Invitation</div></div></a></li><li id="/api-reference/workspace-update-member" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/workspace-update-member"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Update Member</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Usage</h5><ul><li id="/api-reference/usage-get-character-stats" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/usage-get-character-stats"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Get Characters Usage Metrics</div></div></a></li></ul></div><div class="mt-12 lg:mt-8"><h5 class="pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200">Voice Generation (Deprecated)</h5><ul><li id="/api-reference/generate-voice" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/generate-voice"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Generate A Random Voice</div></div></a></li><li id="/api-reference/generate-voice-parameters" class="scroll-m-4 first:scroll-m-20"><a class="group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 cursor-pointer focus:outline-primary dark:focus:outline-primary-light space-x-3 rounded-lg hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/api-reference/generate-voice-parameters"><span class="w-8 flex items-center"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400">GET</span></span><div class="flex-1 flex items-center space-x-2.5"><div>Voice Generation Parameters</div></div></a></li></ul></div></div></div></div></div><div class="" id="content-container"><div class="flex flex-row gap-12 box-border w-full pt-40 lg:pt-10"><div class="relative grow box-border flex-col w-full mx-auto px-1 lg:pl-[23.7rem] lg:-ml-12 xl:w-[calc(100%-28rem)]" id="content-area"><header id="header" class="relative"><div class="mt-0.5 space-y-2.5"><div class="eyebrow h-5 text-primary dark:text-primary-light text-sm font-semibold">Text to Speech</div><div class="flex items-center"><h1 class="inline-block text-2xl sm:text-3xl font-extrabold text-gray-900 tracking-tight dark:text-gray-200">Text To Speech Streaming</h1></div></div><div class="mt-2 text-lg prose prose-gray dark:prose-invert"><p>Converts text into speech using a voice of your choice and returns audio as an audio stream.</p></div></header><div class="flex flex-col gap-8"><div class="mt-6 flex w-full flex-col space-y-4"><div class="flex w-full flex-col space-y-3 bg-background-light dark:bg-background-dark border border-gray-200/70 dark:border-white/10 rounded-xl ring-2 ring-gray-100 dark:ring-white/5 p-4"><div class="flex items-center space-x-2"><div class="relative flex-1 flex gap-2 min-w-0 rounded-lg items-center cursor-pointer p-1.5 border border-gray-200/70 dark:border-white/10"><div class="rounded-md font-bold px-1.5 py-0.5 text-sm leading-5 bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400">POST</div><div class="w-px h-4 bg-gray-200 dark:bg-white/10"></div><div class="group flex items-center flex-1 gap-1 overflow-x-auto font-mono"><div class="absolute right-3 hidden group-hover:block"><svg class="w-4 h-4 bg-gray-400 dark:bg-white/30" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/clone.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></div><div class="text-sm text-gray-400">/</div><div class="text-sm font-medium text-gray-800 dark:text-white min-w-max">v1</div><div class="text-sm text-gray-400">/</div><div class="text-sm font-medium text-gray-800 dark:text-white min-w-max">text-to-speech</div><div class="text-sm text-gray-400">/</div><div class="text-sm font-mono font-medium rounded-md px-1 border-2 min-w-max text-[#3064E3] bg-[#3064E3]/10 border-[#3064E3]/30">{voice_id}</div><div class="text-sm text-gray-400">/</div><div class="text-sm font-medium text-gray-800 dark:text-white min-w-max">stream</div></div></div><button class="flex items-center justify-center w-16 h-9 text-white font-medium rounded-lg mouse-pointer disabled:opacity-70 hover:opacity-80 bg-[#3064E3]">Send</button></div><div class="[&amp;:nth-child(2)]:!mt-6"><button aria-label="expand input section" class="flex w-full justify-between px-4 py-2.5 bg-gray-100/50 dark:bg-white/[0.03] items-center space-x-4 border-gray-100 dark:border-white/10 cursor-pointer hover:bg-gray-100/90 dark:hover:bg-white/5 border rounded-xl"><div class="flex items-center space-x-2 "><div class="text-sm font-medium text-gray-800 dark:text-gray-200 leading-6">Header</div></div><svg class="h-2.5 w-2.5 bg-gray-500 dark:bg-gray-400" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/solid/angle-down.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></button><div class="bg-background-light dark:bg-background-dark flex-1 space-y-6 px-4 pb-6 pt-4 border rounded-b-xl border-gray-100 dark:border-white/10 hidden"><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-primary dark:focus-within:!border-primary-light"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">xi-api-key</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">string</div></div></div></div><div class="flex w-full items-center space-x-2 cursor-default"><input class="py-2.5 flex-1 min-w-0 bg-transparent outline-none text-playground-input" placeholder="Enter xi-api-key" type="text" spellcheck="false" value=""/><div class="flex space-x-0.5"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">xi-api-key</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">string</div></div><div class="border-t border-white/10"><div class="p-3 flex flex-col space-y-2"><div class="text-xs prose leading-5 !text-gray-400"><p class="whitespace-pre-line">Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the &#x27;Profile&#x27; tab on the website.</p></div></div></div></div></div></div></div></div></div></div><div class="[&amp;:nth-child(2)]:!mt-6"><button aria-label="expand input section" class="flex w-full justify-between px-4 py-2.5 bg-gray-100/50 dark:bg-white/[0.03] items-center space-x-4 border-gray-100 dark:border-white/10 cursor-pointer hover:bg-gray-100/90 dark:hover:bg-white/5 border rounded-xl"><div class="flex items-center space-x-2 "><div class="text-sm font-medium text-gray-800 dark:text-gray-200 leading-6">Path</div></div><svg class="h-2.5 w-2.5 bg-gray-500 dark:bg-gray-400" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/solid/angle-down.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></button><div class="bg-background-light dark:bg-background-dark flex-1 space-y-6 px-4 pb-6 pt-4 border rounded-b-xl border-gray-100 dark:border-white/10 hidden"><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-primary dark:focus-within:!border-primary-light"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">voice_id</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">string</div></div></div><div class="text-red-600 text-xs">*</div></div><div class="flex w-full items-center space-x-2 cursor-default"><input class="py-2.5 flex-1 min-w-0 bg-transparent outline-none text-playground-input" placeholder="Enter voice_id" type="text" spellcheck="false" value=""/><div class="flex space-x-0.5"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">voice_id</div><div class="flex items-center rounded px-1.5 py-0.5 bg-red-600/30 text-red-400 text-xs">Required</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">string</div></div><div class="border-t border-white/10"><div class="p-3 flex flex-col space-y-2"><div class="text-xs prose leading-5 !text-gray-400"><p class="whitespace-pre-line">Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.</p></div></div></div></div></div></div></div></div></div></div><div class="[&amp;:nth-child(2)]:!mt-6"><button aria-label="expand input section" class="flex w-full justify-between px-4 py-2.5 bg-gray-100/50 dark:bg-white/[0.03] items-center space-x-4 border-gray-100 dark:border-white/10 cursor-pointer hover:bg-gray-100/90 dark:hover:bg-white/5 border rounded-xl"><div class="flex items-center space-x-2 "><div class="text-sm font-medium text-gray-800 dark:text-gray-200 leading-6">Query</div></div><svg class="h-2.5 w-2.5 bg-gray-500 dark:bg-gray-400" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/solid/angle-down.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></button><div class="bg-background-light dark:bg-background-dark flex-1 space-y-6 px-4 pb-6 pt-4 border rounded-b-xl border-gray-100 dark:border-white/10 hidden"><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-primary dark:focus-within:!border-primary-light"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">enable_logging</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">boolean</div></div></div></div><div class="flex w-full items-center space-x-2 cursor-default"><div class="relative w-full" data-headlessui-state=""><button class="py-2.5 w-full text-left flex-1 bg-transparent outline-none text-sm font-mono text-gray-400 dark:text-white/30" id="headlessui-menu-button-:Rbmqaj5kql6:" type="button" aria-haspopup="menu" aria-expanded="false" data-headlessui-state="">Select option</button></div><div class="flex space-x-0.5"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">enable_logging</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">boolean</div></div><div class="border-t border-white/10"><div class="p-3 flex flex-col space-y-2"><div class="text-xs prose leading-5 !text-gray-400"><p class="whitespace-pre-line">When enable_logging is set to false full privacy mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Full privacy mode may only be used by enterprise customers.</p></div></div></div></div></div></div></div></div><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-primary dark:focus-within:!border-primary-light"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">optimize_streaming_latency</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">integer, deprecated</div></div></div></div><div class="flex w-full items-center space-x-2 cursor-default"><input class="py-2.5 flex-1 min-w-0 bg-transparent outline-none text-playground-input" placeholder="Enter optimize_streaming_latency" type="number" value=""/><div class="flex space-x-0.5"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">optimize_streaming_latency</div><div class="flex items-center rounded px-1.5 py-0.5 bg-amber-600/30 text-amber-400 text-xs">Deprecated</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">integer</div></div><div class="border-t border-white/10"><div class="p-3 flex flex-col space-y-2"><div class="text-xs prose leading-5 !text-gray-400"><p class="whitespace-pre-line">You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values: 0 - default mode (no latency optimizations) 1 - normal latency optimizations (about 50% of possible latency improvement of option 3) 2 - strong latency optimizations (about 75% of possible latency improvement of option 3) 3 - max latency optimizations 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates).</p> <p class="whitespace-pre-line">Defaults to None.</p></div></div></div></div></div></div></div></div><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-primary dark:focus-within:!border-primary-light"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">output_format</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">string</div></div></div></div><div class="flex w-full items-center space-x-2 cursor-default"><input class="py-2.5 flex-1 min-w-0 bg-transparent outline-none text-playground-input" placeholder="Enter output_format" type="text" spellcheck="false" value=""/><div class="flex space-x-0.5"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">output_format</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">string</div></div><div class="border-t border-white/10"><div class="p-3 flex flex-col space-y-2"><div class="text-xs prose leading-5 !text-gray-400"><p class="whitespace-pre-line">Output format of the generated audio. Must be one of: mp3_22050_32 - output format, mp3 with 22.05kHz sample rate at 32kbps. mp3_44100_32 - output format, mp3 with 44.1kHz sample rate at 32kbps. mp3_44100_64 - output format, mp3 with 44.1kHz sample rate at 64kbps. mp3_44100_96 - output format, mp3 with 44.1kHz sample rate at 96kbps. mp3_44100_128 - default output format, mp3 with 44.1kHz sample rate at 128kbps. mp3_44100_192 - output format, mp3 with 44.1kHz sample rate at 192kbps. Requires you to be subscribed to Creator tier or above. pcm_16000 - PCM format (S16LE) with 16kHz sample rate. pcm_22050 - PCM format (S16LE) with 22.05kHz sample rate. pcm_24000 - PCM format (S16LE) with 24kHz sample rate. pcm_44100 - PCM format (S16LE) with 44.1kHz sample rate. Requires you to be subscribed to Pro tier or above. ulaw_8000 - μ-law format (sometimes written mu-law, often approximated as u-law) with 8kHz sample rate. Note that this format is commonly used for Twilio audio inputs.</p></div></div></div></div></div></div></div></div></div></div><div class="[&amp;:nth-child(2)]:!mt-6"><button aria-label="expand input section" class="flex w-full justify-between px-4 py-2.5 bg-gray-100/50 dark:bg-white/[0.03] items-center space-x-4 border-gray-100 dark:border-white/10 cursor-pointer hover:bg-gray-100/90 dark:hover:bg-white/5 border rounded-xl"><div class="flex items-center space-x-2 "><div class="text-sm font-medium text-gray-800 dark:text-gray-200 leading-6">Body</div></div><svg class="h-2.5 w-2.5 bg-gray-500 dark:bg-gray-400" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/solid/angle-down.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></button><div class="bg-background-light dark:bg-background-dark flex-1 space-y-6 px-4 pb-6 pt-4 border rounded-b-xl border-gray-100 dark:border-white/10 hidden"><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-gray-300 dark:focus-within:!border-white/20 py-3.5 cursor-ns-resize"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">object</div></div></div><div class="text-red-600 text-xs">*</div></div><div class="flex space-x-0.5 absolute top-[-0.8rem] right-3.5 bg-background-light dark:bg-background-dark"><div class="group p-1 cursor-pointer"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/solid/down-left-and-up-right-to-center.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></div></div><div class="flex w-full items-center space-x-2 cursor-default"><div class="flex-1 w-full space-y-6"><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-primary dark:focus-within:!border-primary-light"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">text</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">string</div></div></div><div class="text-red-600 text-xs">*</div></div><div class="flex w-full items-center space-x-2 cursor-default"><input class="py-2.5 flex-1 min-w-0 bg-transparent outline-none text-playground-input" placeholder="Enter text" type="text" spellcheck="false" value=""/><div class="flex space-x-0.5"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">text</div><div class="flex items-center rounded px-1.5 py-0.5 bg-red-600/30 text-red-400 text-xs">Required</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">string</div></div><div class="border-t border-white/10"><div class="p-3 flex flex-col space-y-2"><div class="text-xs prose leading-5 !text-gray-400"><p class="whitespace-pre-line">The text that will get converted into speech.</p></div></div></div></div></div></div></div></div><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-primary dark:focus-within:!border-primary-light"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">model_id</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">string</div></div></div></div><div class="flex w-full items-center space-x-2 cursor-default"><input class="py-2.5 flex-1 min-w-0 bg-transparent outline-none text-playground-input" placeholder="Enter model_id" type="text" spellcheck="false" value=""/><div class="flex space-x-0.5"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">model_id</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">string</div></div><div class="border-t border-white/10"><div class="p-3 flex flex-col space-y-2"><div class="text-xs prose leading-5 !text-gray-400"><p class="whitespace-pre-line">Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property.</p></div></div></div></div></div></div></div></div><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-primary dark:focus-within:!border-primary-light"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">language_code</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">string</div></div></div></div><div class="flex w-full items-center space-x-2 cursor-default"><input class="py-2.5 flex-1 min-w-0 bg-transparent outline-none text-playground-input" placeholder="Enter language_code" type="text" spellcheck="false" value=""/><div class="flex space-x-0.5"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">language_code</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">string</div></div><div class="border-t border-white/10"><div class="p-3 flex flex-col space-y-2"><div class="text-xs prose leading-5 !text-gray-400"><p class="whitespace-pre-line">Language code (ISO 639-1) used to enforce a language for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.</p></div></div></div></div></div></div></div></div><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-gray-300 dark:focus-within:!border-white/20 py-3.5 cursor-ns-resize"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">voice_settings</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">object</div></div></div></div><div class="flex space-x-0.5 absolute top-[-0.8rem] right-3.5 bg-background-light dark:bg-background-dark"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">voice_settings</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">object</div></div><div class="border-t border-white/10"><div class="p-3 flex flex-col space-y-2"><div class="text-xs prose leading-5 !text-gray-400"><p class="whitespace-pre-line">Voice settings overriding stored setttings for the given voice. They are applied only on the given request.</p></div></div></div></div></div><div class="group p-1 cursor-pointer"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/solid/down-left-and-up-right-to-center.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></div></div><div class="flex w-full items-center space-x-2 cursor-default"><div class="flex-1 w-full space-y-6"><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-primary dark:focus-within:!border-primary-light"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">stability</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">number</div></div></div><div class="text-red-600 text-xs">*</div></div><div class="flex w-full items-center space-x-2 cursor-default"><input class="py-2.5 flex-1 min-w-0 bg-transparent outline-none text-playground-input" placeholder="Enter stability" type="number" value=""/><div class="flex space-x-0.5"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">stability</div><div class="flex items-center rounded px-1.5 py-0.5 bg-red-600/30 text-red-400 text-xs">Required</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">number</div></div></div></div></div></div></div><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-primary dark:focus-within:!border-primary-light"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">similarity_boost</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">number</div></div></div><div class="text-red-600 text-xs">*</div></div><div class="flex w-full items-center space-x-2 cursor-default"><input class="py-2.5 flex-1 min-w-0 bg-transparent outline-none text-playground-input" placeholder="Enter similarity_boost" type="number" value=""/><div class="flex space-x-0.5"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">similarity_boost</div><div class="flex items-center rounded px-1.5 py-0.5 bg-red-600/30 text-red-400 text-xs">Required</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">number</div></div></div></div></div></div></div><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-primary dark:focus-within:!border-primary-light"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">style</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">number</div></div></div></div><div class="flex w-full items-center space-x-2 cursor-default"><input class="py-2.5 flex-1 min-w-0 bg-transparent outline-none text-playground-input" placeholder="Enter style" type="number" value=""/><div class="flex space-x-0.5"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">style</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">number</div></div></div></div></div></div></div><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-primary dark:focus-within:!border-primary-light"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">use_speaker_boost</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">boolean</div></div></div></div><div class="flex w-full items-center space-x-2 cursor-default"><div class="relative w-full" data-headlessui-state=""><button class="py-2.5 w-full text-left flex-1 bg-transparent outline-none text-sm font-mono text-gray-400 dark:text-white/30" id="headlessui-menu-button-:R1f2t2uuaj5kql6:" type="button" aria-haspopup="menu" aria-expanded="false" data-headlessui-state="">Select option</button></div><div class="flex space-x-0.5"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">use_speaker_boost</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">boolean</div></div></div></div></div></div></div><button aria-label="add new property to object" class="flex px-3.5 focus-within:!border-primary dark:focus-within:!border-primary-light border-gray-200/80 dark:border-white/10 dark:hover:border-white/40 w-full border-dashed border-2 rounded-lg transition-[height] h-6 hover:bg-gray-50 dark:hover:bg-transparent active:bg-gray-100 items-center justify-center cursor-pointer"><svg class="bg-gray-400 dark:bg-white/40 h-2.5 w-2.5" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/solid/plus.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></button></div></div></div><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-gray-300 dark:focus-within:!border-white/20 py-3.5 cursor-ns-resize"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">pronunciation_dictionary_locators</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">array</div></div></div></div><div class="flex space-x-0.5 absolute top-[-0.8rem] right-3.5 bg-background-light dark:bg-background-dark"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">pronunciation_dictionary_locators</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">array</div></div><div class="border-t border-white/10"><div class="p-3 flex flex-col space-y-2"><div class="text-xs prose leading-5 !text-gray-400"><p class="whitespace-pre-line">A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request</p></div></div></div></div></div><div class="group p-1 cursor-pointer"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/solid/down-left-and-up-right-to-center.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></div></div><div class="flex w-full items-center space-x-2 cursor-default"><div class="flex-1 w-full space-y-6"><button aria-label="add array element" class="flex border-gray-200/80 dark:border-white/10 hover:bg-gray-50 dark:hover:bg-transparent dark:hover:border-white/40 active:bg-gray-100 items-center justify-center w-full h-6 border-dashed border-2 rounded-lg cursor-pointer"><svg class="bg-gray-400 dark:bg-white/40 h-2.5 w-2.5" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/solid/plus.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></button></div></div></div><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-primary dark:focus-within:!border-primary-light"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">seed</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">integer</div></div></div></div><div class="flex w-full items-center space-x-2 cursor-default"><input class="py-2.5 flex-1 min-w-0 bg-transparent outline-none text-playground-input" placeholder="Enter seed" type="number" value=""/><div class="flex space-x-0.5"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">seed</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">integer</div></div><div class="border-t border-white/10"><div class="p-3 flex flex-col space-y-2"><div class="text-xs prose leading-5 !text-gray-400"><p class="whitespace-pre-line">If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed.</p></div></div></div></div></div></div></div></div><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-primary dark:focus-within:!border-primary-light"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">previous_text</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">string</div></div></div></div><div class="flex w-full items-center space-x-2 cursor-default"><input class="py-2.5 flex-1 min-w-0 bg-transparent outline-none text-playground-input" placeholder="Enter previous_text" type="text" spellcheck="false" value=""/><div class="flex space-x-0.5"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">previous_text</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">string</div></div><div class="border-t border-white/10"><div class="p-3 flex flex-col space-y-2"><div class="text-xs prose leading-5 !text-gray-400"><p class="whitespace-pre-line">The text that came before the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation.</p></div></div></div></div></div></div></div></div><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-primary dark:focus-within:!border-primary-light"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">next_text</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">string</div></div></div></div><div class="flex w-full items-center space-x-2 cursor-default"><input class="py-2.5 flex-1 min-w-0 bg-transparent outline-none text-playground-input" placeholder="Enter next_text" type="text" spellcheck="false" value=""/><div class="flex space-x-0.5"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">next_text</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">string</div></div><div class="border-t border-white/10"><div class="p-3 flex flex-col space-y-2"><div class="text-xs prose leading-5 !text-gray-400"><p class="whitespace-pre-line">The text that comes after the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation.</p></div></div></div></div></div></div></div></div><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-gray-300 dark:focus-within:!border-white/20 py-3.5 cursor-ns-resize"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">previous_request_ids</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">array</div></div></div></div><div class="flex space-x-0.5 absolute top-[-0.8rem] right-3.5 bg-background-light dark:bg-background-dark"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">previous_request_ids</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">array</div></div><div class="border-t border-white/10"><div class="p-3 flex flex-col space-y-2"><div class="text-xs prose leading-5 !text-gray-400"><p class="whitespace-pre-line">A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both previous_text and previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be send.</p></div></div></div></div></div><div class="group p-1 cursor-pointer"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/solid/down-left-and-up-right-to-center.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></div></div><div class="flex w-full items-center space-x-2 cursor-default"><div class="flex-1 w-full space-y-6"><button aria-label="add array element" class="flex border-gray-200/80 dark:border-white/10 hover:bg-gray-50 dark:hover:bg-transparent dark:hover:border-white/40 active:bg-gray-100 items-center justify-center w-full h-6 border-dashed border-2 rounded-lg cursor-pointer"><svg class="bg-gray-400 dark:bg-white/40 h-2.5 w-2.5" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/solid/plus.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></button></div></div></div><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-gray-300 dark:focus-within:!border-white/20 py-3.5 cursor-ns-resize"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">next_request_ids</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">array</div></div></div></div><div class="flex space-x-0.5 absolute top-[-0.8rem] right-3.5 bg-background-light dark:bg-background-dark"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">next_request_ids</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">array</div></div><div class="border-t border-white/10"><div class="p-3 flex flex-col space-y-2"><div class="text-xs prose leading-5 !text-gray-400"><p class="whitespace-pre-line">A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send.</p></div></div></div></div></div><div class="group p-1 cursor-pointer"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/solid/down-left-and-up-right-to-center.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></div></div><div class="flex w-full items-center space-x-2 cursor-default"><div class="flex-1 w-full space-y-6"><button aria-label="add array element" class="flex border-gray-200/80 dark:border-white/10 hover:bg-gray-50 dark:hover:bg-transparent dark:hover:border-white/40 active:bg-gray-100 items-center justify-center w-full h-6 border-dashed border-2 rounded-lg cursor-pointer"><svg class="bg-gray-400 dark:bg-white/40 h-2.5 w-2.5" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/solid/plus.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></button></div></div></div><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-primary dark:focus-within:!border-primary-light"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">use_pvc_as_ivc</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">boolean, deprecated</div></div></div></div><div class="flex w-full items-center space-x-2 cursor-default"><div class="relative w-full" data-headlessui-state=""><button class="py-2.5 w-full text-left flex-1 bg-transparent outline-none text-sm font-mono text-gray-400 dark:text-white/30" id="headlessui-menu-button-:R2uquuaj5kql6:" type="button" aria-haspopup="menu" aria-expanded="false" data-headlessui-state="">Select option</button></div><div class="flex space-x-0.5"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">use_pvc_as_ivc</div><div class="flex items-center rounded px-1.5 py-0.5 bg-amber-600/30 text-amber-400 text-xs">Deprecated</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">boolean</div></div><div class="border-t border-white/10"><div class="p-3 flex flex-col space-y-2"><div class="text-xs prose leading-5 !text-gray-400"><p class="whitespace-pre-line">If true, we won&#x27;t use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions.</p></div></div></div></div></div></div></div></div><div class="flex w-full px-3.5 mt-3 relative border rounded-lg border-gray-100 dark:border-white/10 hover:border-gray-200 dark:hover:border-white/20 focus-within:!border-primary dark:focus-within:!border-primary-light"><div class="cursor-default flex max-w-[75%] items-baseline absolute top-[-0.6rem] bg-background-light dark:bg-background-dark px-1 space-x-2"><div class="flex space-x-2 max-w-full overflow-hidden"><div class="font-mono shrink-0 max-w-full text-xs overflow-hidden text-ellipsis whitespace-nowrap text-gray-700 dark:text-gray-300">apply_text_normalization</div><div class="relative flex items-center text-xs overflow-hidden whitespace-nowrap text-ellipsis font-mono text-gray-400"><div class="">enum&lt;string&gt;</div></div></div></div><div class="flex w-full items-center space-x-2 cursor-default"><div class="relative w-full" data-headlessui-state=""><button class="py-2.5 w-full text-left flex-1 bg-transparent outline-none text-sm font-mono text-gray-400 dark:text-white/30" id="headlessui-menu-button-:R2v2uuaj5kql6:" type="button" aria-haspopup="menu" aria-expanded="false" data-headlessui-state="">Select option</button></div><div class="flex space-x-0.5"><div class="group relative p-1"><svg class="w-4 h-4 bg-gray-300 group-hover:bg-gray-600 dark:bg-gray-700 dark:group-hover:bg-gray-300" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/circle-info.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="hidden group-hover:block dark absolute top-full right-0 bg-tooltip max-w-md min-w-[16rem] rounded-lg z-40 dark:border dark:border-white/10"><div class="flex items-center space-x-3 p-3"><div class="flex-1 text-white font-mono text-xs">apply_text_normalization</div><div class="flex items-center rounded px-1.5 py-0.5 bg-white/[.15] text-white text-xs">enum&lt;string&gt;</div></div><div class="border-t border-white/10"><div class="p-3 flex flex-col space-y-2"><div class="text-xs prose leading-5 !text-gray-400"><p class="whitespace-pre-line">This parameter controls text normalization with three modes: &#x27;auto&#x27;, &#x27;on&#x27;, and &#x27;off&#x27;. When set to &#x27;auto&#x27;, the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With &#x27;on&#x27;, text normalization will always be applied, while with &#x27;off&#x27;, it will be skipped. Cannot be turned on for &#x27;eleven_turbo_v2_5&#x27; model.</p></div></div></div></div></div></div></div></div><button aria-label="add new property to object" class="flex px-3.5 focus-within:!border-primary dark:focus-within:!border-primary-light border-gray-200/80 dark:border-white/10 dark:hover:border-white/40 w-full border-dashed border-2 rounded-lg transition-[height] h-6 hover:bg-gray-50 dark:hover:bg-transparent active:bg-gray-100 items-center justify-center cursor-pointer"><svg class="bg-gray-400 dark:bg-white/40 h-2.5 w-2.5" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/solid/plus.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></button></div></div></div></div></div></div></div><div class="flex flex-col gap-6 xl:hidden"></div></div><div class="relative mt-8 prose prose-gray dark:prose-invert"><div><div class="flex items-baseline border-b pb-2.5 border-gray-100 dark:border-gray-800"><h4 class="flex-1 mb-0">Headers</h4><div class="flex items-center"></div></div><div class="py-6 border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="flex font-mono text-sm"><div class="flex-1 flex content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="font-bold text-primary dark:text-primary-light"><span class="text-gray-500 dark:text-gray-400"></span>xi-api-key</div><div class="flex items-center space-x-2 text-xs font-medium"><div class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">string</div></div></div></div></div><div class="mt-4"><div class="prose prose-sm prose-gray dark:prose-invert"><p class="whitespace-pre-line">Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the &#x27;Profile&#x27; tab on the website.</p></div></div></div></div><div><div class="flex items-baseline border-b pb-2.5 border-gray-100 dark:border-gray-800"><h4 class="flex-1 mb-0">Path Parameters</h4><div class="flex items-center"></div></div><div class="py-6 border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="flex font-mono text-sm"><div class="flex-1 flex content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="font-bold text-primary dark:text-primary-light"><span class="text-gray-500 dark:text-gray-400"></span>voice_id</div><div class="flex items-center space-x-2 text-xs font-medium"><div class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">string</div><span class="px-2 py-0.5 rounded-md bg-red-100/50 dark:bg-red-400/10 text-red-600 dark:text-red-300">required</span></div></div></div></div><div class="mt-4"><div class="prose prose-sm prose-gray dark:prose-invert"><p class="whitespace-pre-line">Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.</p></div></div></div></div><div><div class="flex items-baseline border-b pb-2.5 border-gray-100 dark:border-gray-800"><h4 class="flex-1 mb-0">Query Parameters</h4><div class="flex items-center"></div></div><div class="py-6 border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="flex font-mono text-sm"><div class="flex-1 flex content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="font-bold text-primary dark:text-primary-light"><span class="text-gray-500 dark:text-gray-400"></span>enable_logging</div><div class="flex items-center space-x-2 text-xs font-medium"><div class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">boolean</div><span class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">default:<!-- --> <!-- -->true</span></div></div></div></div><div class="mt-4"><div class="prose prose-sm prose-gray dark:prose-invert"><p class="whitespace-pre-line">When enable_logging is set to false full privacy mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Full privacy mode may only be used by enterprise customers.</p></div></div></div><div class="py-6 border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="flex font-mono text-sm"><div class="flex-1 flex content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="font-bold text-primary dark:text-primary-light"><span class="text-gray-500 dark:text-gray-400"></span>optimize_streaming_latency</div><div class="flex items-center space-x-2 text-xs font-medium"><div class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">integer</div><span class="px-2 py-0.5 rounded-md bg-amber-100/50 dark:bg-amber-400/10 text-amber-600 dark:text-amber-300">deprecated</span></div></div></div></div><div class="mt-4"><div class="prose prose-sm prose-gray dark:prose-invert"><p class="whitespace-pre-line">You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values: 0 - default mode (no latency optimizations) 1 - normal latency optimizations (about 50% of possible latency improvement of option 3) 2 - strong latency optimizations (about 75% of possible latency improvement of option 3) 3 - max latency optimizations 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates).</p> <p class="whitespace-pre-line">Defaults to None.</p></div></div></div><div class="py-6 border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="flex font-mono text-sm"><div class="flex-1 flex content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="font-bold text-primary dark:text-primary-light"><span class="text-gray-500 dark:text-gray-400"></span>output_format</div><div class="flex items-center space-x-2 text-xs font-medium"><div class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">string</div><span class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">default:<!-- --> <!-- -->mp3_44100_128</span></div></div></div></div><div class="mt-4"><div class="prose prose-sm prose-gray dark:prose-invert"><p class="whitespace-pre-line">Output format of the generated audio. Must be one of: mp3_22050_32 - output format, mp3 with 22.05kHz sample rate at 32kbps. mp3_44100_32 - output format, mp3 with 44.1kHz sample rate at 32kbps. mp3_44100_64 - output format, mp3 with 44.1kHz sample rate at 64kbps. mp3_44100_96 - output format, mp3 with 44.1kHz sample rate at 96kbps. mp3_44100_128 - default output format, mp3 with 44.1kHz sample rate at 128kbps. mp3_44100_192 - output format, mp3 with 44.1kHz sample rate at 192kbps. Requires you to be subscribed to Creator tier or above. pcm_16000 - PCM format (S16LE) with 16kHz sample rate. pcm_22050 - PCM format (S16LE) with 22.05kHz sample rate. pcm_24000 - PCM format (S16LE) with 24kHz sample rate. pcm_44100 - PCM format (S16LE) with 44.1kHz sample rate. Requires you to be subscribed to Pro tier or above. ulaw_8000 - μ-law format (sometimes written mu-law, often approximated as u-law) with 8kHz sample rate. Note that this format is commonly used for Twilio audio inputs.</p></div></div></div></div><div><div class="flex items-baseline border-b pb-2.5 border-gray-100 dark:border-gray-800"><h4 class="flex-1 mb-0">Body</h4><div class="flex items-center"><div class="font-mono px-2 py-0.5 text-xs font-medium text-gray-600 dark:text-gray-300">application/json</div></div></div><div class="py-6 border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="flex font-mono text-sm"><div class="flex-1 flex content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="font-bold text-primary dark:text-primary-light"><span class="text-gray-500 dark:text-gray-400"></span>text</div><div class="flex items-center space-x-2 text-xs font-medium"><div class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">string</div><span class="px-2 py-0.5 rounded-md bg-red-100/50 dark:bg-red-400/10 text-red-600 dark:text-red-300">required</span></div></div></div></div><div class="mt-4"><div class="prose prose-sm prose-gray dark:prose-invert"><p class="whitespace-pre-line">The text that will get converted into speech.</p></div></div></div><div class="py-6 border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="flex font-mono text-sm"><div class="flex-1 flex content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="font-bold text-primary dark:text-primary-light"><span class="text-gray-500 dark:text-gray-400"></span>model_id</div><div class="flex items-center space-x-2 text-xs font-medium"><div class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">string</div><span class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">default:<!-- --> <!-- -->eleven_monolingual_v1</span></div></div></div></div><div class="mt-4"><div class="prose prose-sm prose-gray dark:prose-invert"><p class="whitespace-pre-line">Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property.</p></div></div></div><div class="py-6 border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="flex font-mono text-sm"><div class="flex-1 flex content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="font-bold text-primary dark:text-primary-light"><span class="text-gray-500 dark:text-gray-400"></span>language_code</div><div class="flex items-center space-x-2 text-xs font-medium"><div class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">string</div></div></div></div></div><div class="mt-4"><div class="prose prose-sm prose-gray dark:prose-invert"><p class="whitespace-pre-line">Language code (ISO 639-1) used to enforce a language for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.</p></div></div></div><div class="py-6 border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="flex font-mono text-sm"><div class="flex-1 flex content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="font-bold text-primary dark:text-primary-light"><span class="text-gray-500 dark:text-gray-400"></span>voice_settings</div><div class="flex items-center space-x-2 text-xs font-medium"><div class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">object</div></div></div></div></div><div class="mt-4"><div class="prose prose-sm prose-gray dark:prose-invert"><p class="whitespace-pre-line">Voice settings overriding stored setttings for the given voice. They are applied only on the given request.</p></div><div class=""><div role="listitem" class="mt-4 border border-gray-100 dark:border-white/10 rounded-xl"><button class="not-prose text-sm flex flex-row items-center content-center w-full text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-200 py-3 px-3.5 hover:bg-gray-50/50 dark:hover:bg-white/5 rounded-t-[0.68rem] rounded-b-[0.68rem]" aria-controls="Children attributes" aria-expanded="false"><svg class="h-2.5 w-2.5 bg-zinc-400" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/angle-down.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="ml-3 leading-tight text-left"><p class="m-0">Show<!-- --> <!-- -->child attributes</p></div></button><div id="undefinedChildren" class="mx-3 px-2 border-t border-gray-100 dark:border-white/10 overflow-auto hidden"></div></div></div></div></div><div class="py-6 border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="flex font-mono text-sm"><div class="flex-1 flex content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="font-bold text-primary dark:text-primary-light"><span class="text-gray-500 dark:text-gray-400"></span>pronunciation_dictionary_locators</div><div class="flex items-center space-x-2 text-xs font-medium"><div class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">object[]</div></div></div></div></div><div class="mt-4"><div class="prose prose-sm prose-gray dark:prose-invert"><p class="whitespace-pre-line">A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request</p></div><div role="listitem" class="mt-4 border border-gray-100 dark:border-white/10 rounded-xl"><button class="not-prose text-sm flex flex-row items-center content-center w-full text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-200 py-3 px-3.5 hover:bg-gray-50/50 dark:hover:bg-white/5 rounded-t-[0.68rem] rounded-b-[0.68rem]" aria-controls="Children attributes" aria-expanded="false"><svg class="h-2.5 w-2.5 bg-zinc-400" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/regular/angle-down.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg><div class="ml-3 leading-tight text-left"><p class="m-0">Show<!-- --> <!-- -->child attributes</p></div></button><div id="undefinedChildren" class="mx-3 px-2 border-t border-gray-100 dark:border-white/10 overflow-auto hidden"></div></div></div></div><div class="py-6 border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="flex font-mono text-sm"><div class="flex-1 flex content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="font-bold text-primary dark:text-primary-light"><span class="text-gray-500 dark:text-gray-400"></span>seed</div><div class="flex items-center space-x-2 text-xs font-medium"><div class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">integer</div></div></div></div></div><div class="mt-4"><div class="prose prose-sm prose-gray dark:prose-invert"><p class="whitespace-pre-line">If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed.</p></div></div></div><div class="py-6 border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="flex font-mono text-sm"><div class="flex-1 flex content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="font-bold text-primary dark:text-primary-light"><span class="text-gray-500 dark:text-gray-400"></span>previous_text</div><div class="flex items-center space-x-2 text-xs font-medium"><div class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">string</div></div></div></div></div><div class="mt-4"><div class="prose prose-sm prose-gray dark:prose-invert"><p class="whitespace-pre-line">The text that came before the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation.</p></div></div></div><div class="py-6 border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="flex font-mono text-sm"><div class="flex-1 flex content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="font-bold text-primary dark:text-primary-light"><span class="text-gray-500 dark:text-gray-400"></span>next_text</div><div class="flex items-center space-x-2 text-xs font-medium"><div class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">string</div></div></div></div></div><div class="mt-4"><div class="prose prose-sm prose-gray dark:prose-invert"><p class="whitespace-pre-line">The text that comes after the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation.</p></div></div></div><div class="py-6 border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="flex font-mono text-sm"><div class="flex-1 flex content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="font-bold text-primary dark:text-primary-light"><span class="text-gray-500 dark:text-gray-400"></span>previous_request_ids</div><div class="flex items-center space-x-2 text-xs font-medium"><div class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">string[]</div></div></div></div></div><div class="mt-4"><div class="prose prose-sm prose-gray dark:prose-invert"><p class="whitespace-pre-line">A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both previous_text and previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be send.</p></div></div></div><div class="py-6 border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="flex font-mono text-sm"><div class="flex-1 flex content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="font-bold text-primary dark:text-primary-light"><span class="text-gray-500 dark:text-gray-400"></span>next_request_ids</div><div class="flex items-center space-x-2 text-xs font-medium"><div class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">string[]</div></div></div></div></div><div class="mt-4"><div class="prose prose-sm prose-gray dark:prose-invert"><p class="whitespace-pre-line">A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send.</p></div></div></div><div class="py-6 border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="flex font-mono text-sm"><div class="flex-1 flex content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="font-bold text-primary dark:text-primary-light"><span class="text-gray-500 dark:text-gray-400"></span>use_pvc_as_ivc</div><div class="flex items-center space-x-2 text-xs font-medium"><div class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">boolean</div><span class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">default:<!-- --> <!-- -->false</span><span class="px-2 py-0.5 rounded-md bg-amber-100/50 dark:bg-amber-400/10 text-amber-600 dark:text-amber-300">deprecated</span></div></div></div></div><div class="mt-4"><div class="prose prose-sm prose-gray dark:prose-invert"><p class="whitespace-pre-line">If true, we won&#x27;t use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions.</p></div></div></div><div class="py-6 border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="flex font-mono text-sm"><div class="flex-1 flex content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="font-bold text-primary dark:text-primary-light"><span class="text-gray-500 dark:text-gray-400"></span>apply_text_normalization</div><div class="flex items-center space-x-2 text-xs font-medium"><div class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">enum&lt;string&gt;</div><span class="px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200">default:<!-- --> <!-- -->auto</span></div></div></div></div><div class="mt-4"><div class="prose prose-sm prose-gray dark:prose-invert"><p class="whitespace-pre-line">This parameter controls text normalization with three modes: &#x27;auto&#x27;, &#x27;on&#x27;, and &#x27;off&#x27;. When set to &#x27;auto&#x27;, the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With &#x27;on&#x27;, text normalization will always be applied, while with &#x27;off&#x27;, it will be skipped. Cannot be turned on for &#x27;eleven_turbo_v2_5&#x27; model.</p></div><div class="whitespace-pre-wrap prose-sm mt-6">Available options:<!-- --> <div class="inline-block"><code>auto</code>,<!-- --> </div><div class="inline-block"><code>on</code>,<!-- --> </div><div class="inline-block"><code>off</code> </div></div></div></div></div></div><div class="leading-6 mt-14"><div class="pb-16 w-full"><div class="flex flex-col gap-y-4 xl:flex-col xl:gap-6 min-[1400px]:flex-row md:flex-row md:justify-end"><div class="flex flex-row gap-5 items-center grow justify-between md:justify-start xl:justify-between min-[1400px]:justify-start"><p class="text-sm text-gray-600 dark:text-gray-400">Was this page helpful?</p><div class="flex flex-row gap-3 items-center"><button class="px-[14px] py-2 flex flex-row gap-[10px] items-center border rounded-lg text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 bg-white/50 border-gray-200 dark:border-gray-800 dark:bg-codeblock/50 hover:border-gray-400 hover:dark:border-gray-500"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" class="fill-current"><path d="M10.1187 1.08741C8.925 0.746789 7.67813 1.43741 7.3375 2.63116L7.15938 3.25616C7.04375 3.66241 6.83438 4.03741 6.55 4.34991L4.94688 6.11241C4.66875 6.41866 4.69062 6.89366 4.99687 7.17179C5.30312 7.44991 5.77813 7.42804 6.05625 7.12179L7.65938 5.35929C8.1 4.87491 8.42188 4.29679 8.6 3.66866L8.77812 3.04366C8.89062 2.64679 9.30625 2.41554 9.70625 2.52804C10.1063 2.64054 10.3344 3.05616 10.2219 3.45616L10.0437 4.08116C9.86562 4.70304 9.58437 5.29054 9.2125 5.81554C9.05 6.04366 9.03125 6.34366 9.15938 6.59366C9.2875 6.84366 9.54375 6.99991 9.825 6.99991H14C14.275 6.99991 14.5 7.22491 14.5 7.49991C14.5 7.71241 14.3656 7.89679 14.175 7.96866C13.9438 8.05616 13.7688 8.24992 13.7094 8.49054C13.65 8.73117 13.7125 8.98429 13.875 9.16866C13.9531 9.25616 14 9.37179 14 9.49991C14 9.74366 13.825 9.94679 13.5938 9.99054C13.3375 10.0405 13.1219 10.2187 13.0312 10.4624C12.9406 10.7062 12.9813 10.9843 13.1438 11.1905C13.2094 11.2749 13.25 11.3812 13.25 11.4999C13.25 11.7093 13.1187 11.8937 12.9312 11.9655C12.5719 12.1062 12.3781 12.4937 12.4812 12.8655C12.4937 12.9062 12.5 12.953 12.5 12.9999C12.5 13.2749 12.275 13.4999 12 13.4999H8.95312C8.55937 13.4999 8.17188 13.3843 7.84375 13.1655L5.91563 11.8812C5.57188 11.6499 5.10625 11.7437 4.875 12.0905C4.64375 12.4374 4.7375 12.8999 5.08437 13.1312L7.0125 14.4155C7.5875 14.7999 8.2625 15.003 8.95312 15.003H12C13.0844 15.003 13.9656 14.1405 14 13.0655C14.4563 12.6999 14.75 12.1374 14.75 11.503C14.75 11.3624 14.7344 11.228 14.7094 11.0968C15.1906 10.7312 15.5 10.153 15.5 9.50304C15.5 9.29991 15.4688 9.10304 15.4125 8.91866C15.775 8.55304 16 8.05304 16 7.49991C16 6.39679 15.1063 5.49991 14 5.49991H11.1156C11.2625 5.17491 11.3875 4.83741 11.4844 4.49366L11.6625 3.86866C12.0031 2.67491 11.3125 1.42804 10.1187 1.08741ZM1 5.99991C0.446875 5.99991 0 6.44679 0 6.99991V13.9999C0 14.553 0.446875 14.9999 1 14.9999H3C3.55313 14.9999 4 14.553 4 13.9999V6.99991C4 6.44679 3.55313 5.99991 3 5.99991H1Z"></path></svg><small class="text-sm font-normal leading-4 ">Yes</small></button><button class="px-[14px] py-2 flex flex-row gap-[10px] items-center border rounded-lg text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 bg-white/50 border-gray-200 dark:border-gray-800 dark:bg-codeblock/50 hover:border-gray-400 hover:dark:border-gray-500"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" class="fill-current"><path d="M10.1187 14.9124C8.925 15.253 7.67813 14.5624 7.3375 13.3687L7.15938 12.7437C7.04375 12.3374 6.83438 11.9624 6.55 11.6499L4.94688 9.8874C4.66875 9.58115 4.69062 9.10615 4.99687 8.82803C5.30312 8.5499 5.77813 8.57178 6.05625 8.87803L7.65938 10.6405C8.1 11.1249 8.42188 11.703 8.6 12.3312L8.77812 12.9562C8.89062 13.353 9.30625 13.5843 9.70625 13.4718C10.1063 13.3593 10.3344 12.9437 10.2219 12.5437L10.0437 11.9187C9.86562 11.2968 9.58437 10.7093 9.2125 10.1843C9.05 9.95615 9.03125 9.65615 9.15938 9.40615C9.2875 9.15615 9.54375 8.9999 9.825 8.9999H14C14.275 8.9999 14.5 8.7749 14.5 8.4999C14.5 8.2874 14.3656 8.10303 14.175 8.03115C13.9438 7.94365 13.7688 7.7499 13.7094 7.50928C13.65 7.26865 13.7125 7.01553 13.875 6.83115C13.9531 6.74365 14 6.62803 14 6.4999C14 6.25615 13.825 6.05303 13.5938 6.00928C13.3375 5.95928 13.1219 5.78115 13.0312 5.53428C12.9406 5.2874 12.9813 5.0124 13.1438 4.80615C13.2094 4.72178 13.25 4.61553 13.25 4.49678C13.25 4.2874 13.1187 4.10303 12.9312 4.03115C12.5719 3.89053 12.3781 3.50303 12.4812 3.13115C12.4937 3.09053 12.5 3.04365 12.5 2.99678C12.5 2.72178 12.275 2.49678 12 2.49678H8.95312C8.55937 2.49678 8.17188 2.6124 7.84375 2.83115L5.91563 4.11553C5.57188 4.34678 5.10625 4.25303 4.875 3.90615C4.64375 3.55928 4.7375 3.09678 5.08437 2.86553L7.0125 1.58115C7.5875 1.19678 8.2625 0.993652 8.95312 0.993652H12C13.0844 0.993652 13.9656 1.85615 14 2.93115C14.4563 3.29678 14.75 3.85928 14.75 4.49365C14.75 4.63428 14.7344 4.76865 14.7094 4.8999C15.1906 5.26553 15.5 5.84365 15.5 6.49365C15.5 6.69678 15.4688 6.89365 15.4125 7.07803C15.775 7.44678 16 7.94678 16 8.4999C16 9.60303 15.1063 10.4999 14 10.4999H11.1156C11.2625 10.8249 11.3875 11.1624 11.4844 11.5062L11.6625 12.1312C12.0031 13.3249 11.3125 14.5718 10.1187 14.9124ZM1 11.9999C0.446875 11.9999 0 11.553 0 10.9999V3.9999C0 3.44678 0.446875 2.9999 1 2.9999H3C3.55313 2.9999 4 3.44678 4 3.9999V10.9999C4 11.553 3.55313 11.9999 3 11.9999H1Z"></path></svg><small class="text-sm font-normal leading-4 ">No</small></button></div></div><div class="flex flex-row gap-3 justify-end"></div></div></div><div class="mb-12 px-0.5 flex items-center text-sm font-semibold text-gray-700 dark:text-gray-200"><a class="flex items-center space-x-3 group" href="/docs/api-reference/text-to-speech-with-timestamps"><svg viewBox="0 0 3 6" class="h-1.5 stroke-gray-400 overflow-visible group-hover:stroke-gray-600 dark:group-hover:stroke-gray-300"><path d="M3 0L0 3L3 6" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="group-hover:text-gray-900 dark:group-hover:text-white">Text To Speech With Timestamps</span></a><a class="flex items-center ml-auto space-x-3 group" href="/docs/api-reference/streaming-with-timestamps"><span class="group-hover:text-gray-900 dark:group-hover:text-white">Text To Speech Streaming With Timestamps</span><svg viewBox="0 0 3 6" class="rotate-180 h-1.5 stroke-gray-400 overflow-visible group-hover:stroke-gray-600 dark:group-hover:stroke-gray-300"><path d="M3 0L0 3L3 6" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg></a></div><footer id="footer" class="flex gap-12 justify-between pt-10 border-t border-gray-100 sm:flex dark:border-gray-800/50 pb-28"><div class="flex gap-6"><a href="https://www.linkedin.com/company/elevenlabsio" target="_blank"><span class="sr-only">linkedin</span><svg class="w-5 h-5 bg-gray-400 dark:bg-gray-500 hover:bg-gray-500 dark:hover:bg-gray-400" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/brands/linkedin.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></a><a href="https://twitter.com/elevenlabsio" target="_blank"><span class="sr-only">twitter</span><svg class="w-5 h-5 bg-gray-400 dark:bg-gray-500 hover:bg-gray-500 dark:hover:bg-gray-400" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/brands/twitter.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></a><a href="https://discord.gg/ZcPfAy3xSE" target="_blank"><span class="sr-only">discord</span><svg class="w-5 h-5 bg-gray-400 dark:bg-gray-500 hover:bg-gray-500 dark:hover:bg-gray-400" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/brands/discord.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></a><a href="https://www.youtube.com/channel/UC-ew9TfeD887qUSiWWAAj1w" target="_blank"><span class="sr-only">youtube</span><svg class="w-5 h-5 bg-gray-400 dark:bg-gray-500 hover:bg-gray-500 dark:hover:bg-gray-400" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/brands/youtube.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></a><a href="https://github.com/elevenlabs" target="_blank"><span class="sr-only">github</span><svg class="w-5 h-5 bg-gray-400 dark:bg-gray-500 hover:bg-gray-500 dark:hover:bg-gray-400" style="-webkit-mask-image:url(https://mintlify.b-cdn.net/v6.6.0/brands/github.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center"></svg></a></div><div class="flex items-center justify-between"><div class="sm:flex"><a href="https://mintlify.com/preview-request?utm_campaign=poweredBy&amp;utm_medium=docs&amp;utm_source=elevenlabs-docs" target="_blank" rel="noreferrer" class="text-sm text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300">Powered by Mintlify</a></div></div></footer></div></div><div class="hidden xl:flex self-start sticky h-[calc(100vh-8rem-1.5rem-1.5rem)] top-[calc(8rem+1.5rem)]" id="content-side-layout"><div class="w-[28rem] gap-6 grid grid-rows-[repeat(auto-fit,minmax(0,min-content))] grid-rows relative"></div></div></div></div></div></div></main></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"mdxSource":{"compiledSource":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {Fragment: _Fragment, jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n return _jsx(_Fragment, {});\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{"mintConfig":{"$schema":"https://mintlify.com/schema.json","name":"ElevenLabs","logo":{"light":"https://mintlify.s3-us-west-1.amazonaws.com/elevenlabs-docs/logo/favicon.png","dark":"https://mintlify.s3-us-west-1.amazonaws.com/elevenlabs-docs/logo/favicon.png"},"favicon":"/favicon.png","api":{"baseUrl":"https://api.elevenlabs.io","playground":{"mode":"show"}},"modeToggle":{"default":"light"},"colors":{"primary":"#312B41","light":"#4D9CFF","dark":"#0050B4"},"topbarCtaButton":{"name":"Go to elevenlabs.io","url":"https://elevenlabs.io/sign-up"},"topbarLinks":[{"url":"https://elevenlabs.io/blog","name":"Blog","_id":"6740a7541b2db4216c6dc3df"},{"url":"https://help.elevenlabs.io/","name":"Help Center","_id":"6740a7541b2db4216c6dc3e0"}],"navigation":[{"group":"Welcome","pages":["product/introduction"]},{"group":"Create","pages":[{"group":"Text to Speech (Speech Synthesis)","pages":["product/speech-synthesis/overview","product/speech-synthesis/voice-selection","product/speech-synthesis/voice-settings","product/speech-synthesis/models","product/speech-synthesis/prompting"]},{"group":"Speech to Speech (Voice Changer)","pages":["product/speech-synthesis/speech-to-speech"]},{"group":"Sound Effects","pages":["product/sound-effects/overview"]}]},{"group":"Voices","pages":["product/voices/overview","product/voices/default-voices","product/voices/voice-lab/voice-design",{"group":"Voice Cloning","pages":["product/voices/voice-lab/overview","product/voices/voice-lab/instant-voice-cloning","product/voices/voice-lab/professional-voice-cloning"]},{"group":"Voice Library","pages":["product/voices/voice-library/overview","product/voices/voice-library/sharing","product/voices/pvc-step-by-step-guide","product/voices/voice-library/payouts"]}]},{"group":"Workflows","pages":[{"group":"Projects","pages":["product/projects/overview"]},{"group":"Dubbing Studio","pages":["product/dubbing/overview","product/dubbing/studio"]},{"group":"Voiceover Studio","pages":["product/voiceover-studio/overview"]},{"group":"Audio Native","pages":["product/audio-native/overview",{"group":"Integration Guides","pages":["product/audio-native/audio-native-react","product/audio-native/ghost","product/audio-native/squarespace","product/audio-native/framer","product/audio-native/webflow","product/audio-native/wordpress","product/audio-native/wix","product/audio-native/substack"]}]}]},{"group":"Workspace","pages":["product/workspace/overview","product/workspace/sso_setup"]},{"group":"Troubleshooting","pages":["product/troubleshooting/overview"]},{"group":"Overview","pages":["developer-guides/quickstart","developer-guides/specifying-server-location","developer-guides/reducing-latency","developer-guides/models"]},{"group":"Text to Speech","pages":["developer-guides/how-to-use-tts-with-streaming","developer-guides/how-to-use-websocket","developer-guides/how-to-use-request-stitching","developer-guides/how-to-use-pronunciation-dictionaries","developer-guides/integrating-with-twilio"]},{"group":"Text to Sound Effects","pages":["developer-guides/how-to-use-text-to-sound-effects"]},{"group":"Dubbing","pages":["developer-guides/how-to-dub-a-video"]},{"group":"","pages":["developer-guides/github-examples"]},{"group":"","pages":["api-reference/overview"]},{"group":"SDK Libraries","pages":["api-reference/sdk-node","api-reference/sdk-python"]},{"group":"Text to Speech","pages":["api-reference/text-to-speech","api-reference/text-to-speech-with-timestamps","api-reference/streaming","api-reference/streaming-with-timestamps","api-reference/websockets"]},{"group":"Speech to Speech","pages":["api-reference/speech-to-speech","api-reference/speech-to-speech-streaming"]},{"group":"Sound Effects","pages":["api-reference/sound-generation"]},{"group":"Audio Isolation","pages":["api-reference/audio-isolation","api-reference/audio-isolation-stream"]},{"group":"History","pages":["api-reference/get-generated-items","api-reference/get-history-item-by-id","api-reference/delete-history-item","api-reference/get-audio-from-history-item","api-reference/download-history-items"]},{"group":"Samples","pages":["api-reference/delete-sample","api-reference/get-audio-from-sample"]},{"group":"User","pages":["api-reference/get-user-subscription-info","api-reference/get-user-info"]},{"group":"Voices","pages":["api-reference/get-voices","api-reference/get-default-voice-settings","api-reference/get-voice-settings","api-reference/get-voice","api-reference/delete-voice","api-reference/edit-voice-settings","api-reference/add-voice","api-reference/edit-voice"]},{"group":"Voice Design","pages":["api-reference/ttv-create-previews","api-reference/ttv-create-voice-from-preview"]},{"group":"Voice Library","pages":["api-reference/query-library","api-reference/add-shared-voice"]},{"group":"Projects","pages":["api-reference/get-projects","api-reference/get-project-by-id","api-reference/add-project","api-reference/delete-project","api-reference/convert-project","api-reference/get-project-snapshots","api-reference/stream-project-audio","api-reference/get-chapters","api-reference/get-chapter-by-id","api-reference/add-chapter","api-reference/delete-chapter","api-reference/convert-chapter","api-reference/get-chapter-snapshots","api-reference/stream-chapter-audio","api-reference/update-pronunciation-dictionaries"]},{"group":"Pronunciation Dictionaries","pages":["api-reference/pronunciation-dictionaries-add-from-file","api-reference/pronunciation-dictionaries-list","api-reference/pronunciation-dictionaries-id","api-reference/pronunciation-dictionaries-id-add-rules","api-reference/pronunciation-dictionaries-id-remove-rules","api-reference/pronunciation-dictionaries-id-version_id-download"]},{"group":"Models","pages":["api-reference/get-models"]},{"group":"Audio-native","pages":["api-reference/creates-audionative-enabled-project"]},{"group":"Dubbing","pages":["api-reference/create-dub","api-reference/get-dubbing-metadata","api-reference/get-dubbing-transcript","api-reference/get-dubbed-file","api-reference/delete-dub"]},{"group":"Workspace","pages":["api-reference/workspace-invite-user","api-reference/workspace-delete-invite","api-reference/workspace-update-member"]},{"group":"Usage","pages":["api-reference/usage-get-character-stats"]},{"group":"Voice Generation (Deprecated)","pages":["api-reference/generate-voice","api-reference/generate-voice-parameters"]},{"group":"","pages":["conversational-ai/docs/introduction"]},{"group":"Quickstart","pages":["conversational-ai/docs/agent-setup",{"group":"Build a Conversational App","icon":"browser","pages":["conversational-ai/guides/conversational-ai-guide-nextjs","conversational-ai/guides/conversational-ai-guide-vite"]},"conversational-ai/guides/conversational-ai-twilio"]},{"group":"Customization","pages":["conversational-ai/customization/tools","conversational-ai/customization/byollm","conversational-ai/customization/knowledge-base","conversational-ai/customization/conversation-configuration"]},{"group":"Libraries \u0026 SDKs","pages":["conversational-ai/libraries/conversational-ai-sdk-python","conversational-ai/libraries/conversational-ai-sdk-react","conversational-ai/libraries/conversational-ai-sdk-js","conversational-ai/libraries/conversational-ai-sdk-swift"]},{"group":"API Reference","pages":["conversational-ai/api-reference/websocket",{"group":"Agents","pages":["conversational-ai/api-reference/get-conversational-ai-agents","conversational-ai/api-reference/post-conversational-ai-agent","conversational-ai/api-reference/get-conversational-ai-agent","conversational-ai/api-reference/patch-conversational-ai-agent","conversational-ai/api-reference/delete-conversational-ai-agent"]},{"group":"Conversations","pages":["conversational-ai/api-reference/get-conversational-ai-conversations","conversational-ai/api-reference/get-conversational-ai-conversation","conversational-ai/api-reference/get-conversational-ai-conversation-audio","conversational-ai/api-reference/get-conversational-ai-signed-url"]},{"group":"Knowledge Base","pages":["conversational-ai/api-reference/get-conversational-ai-knowledge-base-document","conversational-ai/api-reference/post-conversational-ai-knowledge-base-document"]},{"group":"Widget","pages":["conversational-ai/api-reference/get-conversational-ai-widget","conversational-ai/api-reference/post-conversational-ai-widget-avatar"]}]},{"group":"Changelog","pages":["changelog/product-updates"]},{"group":"Step by step","pages":["product/guides/getting-started","product/guides/creating-the-account","product/guides/workspace","product/guides/landing-page","product/guides/voices","product/guides/speech-synthesis","product/guides/sound-effects","product/guides/projects","product/guides/dubbing","product/guides/voiceover-studio"]}],"primaryTab":{"name":"product"},"anchors":[{"name":"Community","url":"https://discord.gg/elevenlabs","icon":"discord","_id":"6740a7541b2db4216c6dc3dd"},{"name":"Documentation","url":"conversational-ai","icon":"comments","isDefaultHidden":true,"_id":"6740a7541b2db4216c6dc3de"}],"tabs":[{"name":"Product","url":"product","_id":"6740a7541b2db4216c6dc3d8"},{"name":"API Reference","url":"api-reference","_id":"6740a7541b2db4216c6dc3d9"},{"name":"Developer Guides","url":"developer-guides","_id":"6740a7541b2db4216c6dc3da"},{"name":"Conversational AI","url":"conversational-ai","_id":"6740a7541b2db4216c6dc3db"},{"name":"Changelog","url":"changelog","_id":"6740a7541b2db4216c6dc3dc"}],"feedback":{"thumbsRating":true,"suggestEdit":true,"raiseIssue":true},"analytics":{"koala":{"publicApiKey":"pk_0371fbac06f7717e0185d89c3f945127c125"},"ga4":{"measurementId":"G-82RG1PXYVW"},"posthog":{"apiKey":"phc_KQDh5IkRcTsPOoUtwmVxoATdOqNYCo0vTdwE77aNOQv","apiHost":"https://eu.i.posthog.com"}},"redirects":[{"destination":"/developer-guides/how-to-use-tts-with-streaming","source":"/api-reference/how-to-use-tts-with-streaming-in-python","_id":"6740a7541b2db4216c6dc3b9"},{"destination":"/developer-guides/reducing-latency","source":"/api-reference/reducing-latency","_id":"6740a7541b2db4216c6dc3ba"},{"destination":"/product/introduction","source":"/overview","_id":"6740a7541b2db4216c6dc3bb"},{"destination":"/product/projects/:slug*","source":"/projects/:slug*","_id":"6740a7541b2db4216c6dc3bc"},{"destination":"/product/sound-effects/:slug*","source":"/sound-effects/:slug*","_id":"6740a7541b2db4216c6dc3bd"},{"destination":"/product/speech-synthesis/:slug*","source":"/speech-synthesis/:slug*","_id":"6740a7541b2db4216c6dc3be"},{"destination":"/product/troubleshooting/:slug*","source":"/troubleshooting/:slug*","_id":"6740a7541b2db4216c6dc3bf"},{"destination":"/product/voiceover-studio/:slug*","source":"/voiceover-studio/:slug*","_id":"6740a7541b2db4216c6dc3c0"},{"destination":"/product/voices/:slug*","source":"/voices/:slug*","_id":"6740a7541b2db4216c6dc3c1"},{"destination":"/product/workspace/:slug*","source":"/workspace/:slug*","_id":"6740a7541b2db4216c6dc3c2"},{"destination":"/product/audio-native/:slug*","source":"/audio-native/:slug*","_id":"6740a7541b2db4216c6dc3c3"},{"destination":"/product/dubbing/:slug*","source":"/dubbing/:slug*","_id":"6740a7541b2db4216c6dc3c4"},{"destination":"/product/guides/:slug*","source":"/guides/:slug*","_id":"6740a7541b2db4216c6dc3c5"},{"destination":"/product/introduction","source":"/introduction","_id":"6740a7541b2db4216c6dc3c6"},{"destination":"/developer-guides/how-to-dub-a-video","source":"/api-reference/how-to-dub-a-video","_id":"6740a7541b2db4216c6dc3c7"},{"destination":"/developer-guides/how-to-use-pronounciation-dictionaries","source":"/api-reference/how-to-use-pronounciation-dictionaries","_id":"6740a7541b2db4216c6dc3c8"},{"destination":"/developer-guides/how-to-use-request-stitching","source":"/api-reference/how-to-use-request-stitching","_id":"6740a7541b2db4216c6dc3c9"},{"destination":"/developer-guides/how-to-use-text-to-sound-effects","source":"/api-reference/how-to-use-text-to-sound-effects","_id":"6740a7541b2db4216c6dc3ca"},{"destination":"/developer-guides/how-to-use-tts-with-streaming","source":"/api-reference/how-to-use-tts-with-streaming","_id":"6740a7541b2db4216c6dc3cb"},{"destination":"/developer-guides/how-to-use-websocket","source":"/api-reference/how-to-use-websocket","_id":"6740a7541b2db4216c6dc3cc"},{"destination":"/developer-guides/integrating-with-twilio","source":"/api-reference/integrating-with-twilio","_id":"6740a7541b2db4216c6dc3cd"},{"destination":"/developer-guides/specifying-server-location","source":"/api-reference/specifying-server-location","_id":"6740a7541b2db4216c6dc3ce"},{"destination":"/conversational-ai/docs","source":"/conversational-ai","_id":"6740a7541b2db4216c6dc3cf"},{"destination":"/conversational-ai/docs/introduction","source":"/product/conversational-ai/overview","_id":"6740a7541b2db4216c6dc3d0"},{"destination":"/conversational-ai/libraries/conversational-ai-sdk-python","source":"/libraries/conversational-ai-sdk-python","_id":"6740a7541b2db4216c6dc3d1"},{"destination":"/conversational-ai/libraries/conversational-ai-sdk-js","source":"/libraries/conversational-ai-sdk-js","_id":"6740a7541b2db4216c6dc3d2"},{"destination":"/conversational-ai/libraries/conversational-ai-sdk-react","source":"/libraries/conversational-ai-sdk-react","_id":"6740a7541b2db4216c6dc3d3"},{"destination":"/conversational-ai/libraries/conversational-ai-sdk-swift","source":"/libraries/conversational-ai-sdk-swift","_id":"6740a7541b2db4216c6dc3d4"},{"destination":"/conversational-ai/guides/conversational-ai-guide","source":"/developer-guides/conversational-ai-guide","_id":"6740a7541b2db4216c6dc3d5"},{"destination":"/conversational-ai/customization/tools","source":"/product/conversational-ai/tools","_id":"6740a7541b2db4216c6dc3d6"},{"destination":"/conversational-ai/docs","source":"/product/conversational-ai/*","_id":"6740a7541b2db4216c6dc3d7"}],"footerSocials":{"linkedin":"https://www.linkedin.com/company/elevenlabsio","twitter":"https://twitter.com/elevenlabsio","discord":"https://discord.gg/ZcPfAy3xSE","youtube":"https://www.youtube.com/channel/UC-ew9TfeD887qUSiWWAAj1w","github":"https://github.com/elevenlabs"},"repo":{"github":{"owner":"elevenlabs","repo":"elevenlabs-docs","contentDirectory":"","deployBranch":"main","isPrivate":false}}},"pageMetadata":{"title":"Text To Speech Streaming","description":"Converts text into speech using a voice of your choice and returns audio as an audio stream.","openapi":"post /v1/text-to-speech/{voice_id}/stream","href":"/api-reference/streaming"}}},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"description":{"compiledSource":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\"\n }, _provideComponents(), props.components);\n return _jsx(_components.p, {\n children: \"Converts text into speech using a voice of your choice and returns audio as an audio stream.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageData":{"navWithMetadata":[{"group":"Welcome","pages":[{"title":"Introduction","description":"Explore our Guides and API Reference to get the most out of ElevenLabs.","href":"/product/introduction"}]},{"group":"Create","pages":[{"group":"Text to Speech (Speech Synthesis)","pages":[{"title":"Overview","description":"A guide on how to generate voiceovers using your voice on ElevenLabs.","href":"/product/speech-synthesis/overview"},{"title":"Voice Selection","description":null,"href":"/product/speech-synthesis/voice-selection"},{"title":"Voice Settings","description":null,"href":"/product/speech-synthesis/voice-settings"},{"title":"Model Selection","description":null,"href":"/product/speech-synthesis/models"},{"title":"Prompting","description":"Effective techniques to guide ElevenLabs AI in adding pauses, conveying emotions, and pacing the speech.","href":"/product/speech-synthesis/prompting"}]},{"group":"Speech to Speech (Voice Changer)","pages":[{"title":"Overview","description":"A guide on using our voice changer tool for the most natural-sounding speech-to-speech conversion","href":"/product/speech-synthesis/speech-to-speech"}]},{"group":"Sound Effects","pages":[{"title":"Overview","description":"Get the most out of our Sound Effects Generator tool and learn how to create everything from blockbuster sound design for films to everyday sounds for your video game.","href":"/product/sound-effects/overview"}]}]},{"group":"Voices","pages":[{"title":"Overview","description":"Discover all the voices ElevenLabs has to offer","href":"/product/voices/overview"},{"title":"Default Voices","description":"A curated set of voices for our core use cases.","href":"/product/voices/default-voices"},{"title":"Voice Design","description":"Generate a unique voice from a text prompt.","href":"/product/voices/voice-lab/voice-design"},{"group":"Voice Cloning","pages":[{"title":"Overview","description":"Learn more about My Voices","href":"/product/voices/voice-lab/overview"},{"title":"Instant Voice Cloning","description":"Guide for getting the most out of you cloned voices.","href":"/product/voices/voice-lab/instant-voice-cloning"},{"title":"Professional Voice Cloning","description":"Guide to getting the highest quality voice clone available.","href":"/product/voices/voice-lab/professional-voice-cloning"}]},{"group":"Voice Library","pages":[{"title":"Overview","description":"Discover AI voices from the ElevenLabs community","href":"/product/voices/voice-library/overview"},{"title":"Sharing Voices","description":"Learn how to share voices in the Voice Library.","href":"/product/voices/voice-library/sharing"},{"title":"Step-by-step Guide","description":"Step-by-step guide to creating the highest quality voice clone available","href":"/product/voices/pvc-step-by-step-guide"},{"title":"Payouts","description":"Earn rewards for sharing voices in the Voice Library","href":"/product/voices/voice-library/payouts"}]}]},{"group":"Workflows","pages":[{"group":"Projects","pages":[{"title":"Overview","description":"An in-depth overview of using Projects","href":"/product/projects/overview"}]},{"group":"Dubbing Studio","pages":[{"title":"Overview","description":"Dubbing made easy: reach a broader audience with ElevenLabs.","href":"/product/dubbing/overview"},{"title":"Studio","description":"The ultimate end-to-end workflow for creating amazing dubs.","href":"/product/dubbing/studio"}]},{"group":"Voiceover Studio","pages":[{"title":"Overview","description":"Elevate your projects with this guide into the Voiceover Studio.","href":"/product/voiceover-studio/overview"}]},{"group":"Audio Native","pages":[{"title":"Overview","description":"","href":"/product/audio-native/overview"},{"group":"Integration Guides","pages":[{"title":"How to set up an ElevenLabs audio player for your articles in React (Next.js, Vite)","description":"","sidebarTitle":"Audio Native in React","href":"/product/audio-native/audio-native-react"},{"title":"How to set up an ElevenLabs audio player for your articles in Ghost","description":"","sidebarTitle":"Audio Native in Ghost","href":"/product/audio-native/ghost"},{"title":"How to set up an ElevenLabs audio player for your articles in Squarespace","description":"","sidebarTitle":"Audio Native in Squarespace","href":"/product/audio-native/squarespace"},{"title":"How to set up an ElevenLabs audio player for your articles in Framer","description":"","sidebarTitle":"Audio Native in Framer","href":"/product/audio-native/framer"},{"title":"How to set up an ElevenLabs audio player for your articles in Webflow","description":"","sidebarTitle":"Audio Native in Webflow","href":"/product/audio-native/webflow"},{"title":"How to set up an ElevenLabs audio player for your articles in Wordpress","description":"","sidebarTitle":"Audio Native in Wordpress","href":"/product/audio-native/wordpress"},{"title":"How to set up an ElevenLabs audio player for your articles in Wix","description":"","sidebarTitle":"Audio Native in Wix","href":"/product/audio-native/wix"},{"title":"How to add an ElevenLabs voiceover to your articles in Substack","description":"","sidebarTitle":"Audio Native in Substack","href":"/product/audio-native/substack"}]}]}]},{"group":"Workspace","pages":[{"title":"Overview","description":"An overview on how teams can collaborate in a shared workspace.","href":"/product/workspace/overview"},{"title":"SSO Setup","description":"An overview on how to setup SSO (Single Sign-On) for your team.","href":"/product/workspace/sso_setup"}]},{"group":"Troubleshooting","pages":[{"title":"Overview","description":"General troubleshooting guide and overview for some issues we've seen.","href":"/product/troubleshooting/overview"}]},{"group":"Overview","pages":[{"title":"Quickstart","description":"Start generating your first text-to-speech using Python and ElevenLabs API","icon":"rocket","href":"/developer-guides/quickstart"},{"title":"Specifying Server Location","description":"How to control the server location for your requests","icon":"globe","href":"/developer-guides/specifying-server-location"},{"title":"Reducing Latency","description":"Seven methods for reducing streaming latency, in order of highest to lowest effectiveness:","icon":"gauge-high","href":"/developer-guides/reducing-latency"},{"title":"Models","description":null,"icon":"cube","href":"/developer-guides/models"}]},{"group":"Text to Speech","pages":[{"title":"How to use text to speech with streaming in Python or Node.js","description":"How to convert text into speech, upload to S3, and share with a signed URL","sidebarTitle":"How to Use Text-to-Speech","icon":"waveform","href":"/developer-guides/how-to-use-tts-with-streaming"},{"title":"How to use text-to-speech with websocket streaming in Python or Node.js","description":"How to convert text to speech via websocket and save to mp3","sidebarTitle":"Streaming Text-to-Speech","icon":"plug","href":"/developer-guides/how-to-use-websocket"},{"title":"Combine Multiple Generations","description":"Learn how to keep your voice stable across multiple generations","icon":"merge","href":"/developer-guides/how-to-use-request-stitching"},{"title":"How to Use Pronunciation Dictionaries","description":"How to add, view, and remove rules to pronunciation dictionaries with the Python SDK","icon":"language","href":"/developer-guides/how-to-use-pronunciation-dictionaries"},{"title":"How to send an AI message through a phone call using Twilio and ElevenLabs in Node.js","description":"","sidebarTitle":"Integrating with Twilio","icon":"phone","href":"/developer-guides/integrating-with-twilio"}]},{"group":"Text to Sound Effects","pages":[{"title":"How to Use the Text to Sound Effects API","description":"Learn how to use the text to sound effects API to generate sound effects from text.","icon":"volume","href":"/developer-guides/how-to-use-text-to-sound-effects"}]},{"group":"Dubbing","pages":[{"title":"How to dub video and audio with ElevenLabs","description":"Learn how to automate the dubbing of audio and video files into various languages using the ElevenLabs API","sidebarTitle":"How to Dub a Video","icon":"video","href":"/developer-guides/how-to-dub-a-video"}]},{"group":"","pages":[{"title":"Project Examples","description":null,"url":"https://github.com/elevenlabs/elevenlabs-examples","icon":"github","href":"/developer-guides/github-examples"}]},{"group":"","pages":[{"title":"API Reference Overview","description":"Overview of ElevenLabs API endpoints and capabilities","href":"/api-reference/overview"}]},{"group":"SDK Libraries","pages":[{"title":"Node Library","description":null,"url":"https://github.com/elevenlabs/elevenlabs-js","icon":"node-js","href":"/api-reference/sdk-node"},{"title":"Python Library","description":null,"url":"https://github.com/elevenlabs/elevenlabs-python","icon":"python","href":"/api-reference/sdk-python"}]},{"group":"Text to Speech","pages":[{"title":"Text To Speech","description":"API that converts text into lifelike speech with best-in-class latency \u0026 uses the most advanced AI audio model ever. Create voiceovers for your videos, audiobooks, or create AI chatbots for free.","openapi":"post /v1/text-to-speech/{voice_id}","href":"/api-reference/text-to-speech"},{"title":"Text To Speech With Timestamps","description":"Converts text into audio together with timestamps on when which word was spoken.","openapi":"post /v1/text-to-speech/{voice_id}/with-timestamps","mode":"wide","href":"/api-reference/text-to-speech-with-timestamps"},{"title":"Text To Speech Streaming","description":"Converts text into speech using a voice of your choice and returns audio as an audio stream.","openapi":"post /v1/text-to-speech/{voice_id}/stream","href":"/api-reference/streaming"},{"title":"Text To Speech Streaming With Timestamps","description":"Converts text into audio together with timestamps on when which word was spoken in a streaming way.","openapi":"post /v1/text-to-speech/{voice_id}/stream/with-timestamps","mode":"wide","href":"/api-reference/streaming-with-timestamps"},{"title":"Websockets","description":null,"icon":"comments","href":"/api-reference/websockets"}]},{"group":"Speech to Speech","pages":[{"title":"Speech To Speech","description":"Use Speech to Speech API to transform uploaded speech so it sounds like it was spoken by another voice. STS gives you full control over the emotions, timing and delivery.","openapi":"post /v1/speech-to-speech/{voice_id}","href":"/api-reference/speech-to-speech"},{"title":"Streaming","description":"Create speech by combining the content and emotion of the uploaded audio with a voice of your choice and returns an audio stream.","openapi":"post /v1/speech-to-speech/{voice_id}/stream","href":"/api-reference/speech-to-speech-streaming"}]},{"group":"Sound Effects","pages":[{"title":"Sound Generation","description":"API that converts text into sounds \u0026 uses the most advanced AI audio model ever. Create sound effects for your videos, voice-overs or video games.","openapi":"post /v1/sound-generation","href":"/api-reference/sound-generation"}]},{"group":"Audio Isolation","pages":[{"title":"Audio Isolation","description":"Removes background noise from audio","openapi":"post /v1/audio-isolation","href":"/api-reference/audio-isolation"},{"title":"Audio Isolation Stream","description":"Removes background noise from audio and streams the result","openapi":"post /v1/audio-isolation/stream","href":"/api-reference/audio-isolation-stream"}]},{"group":"History","pages":[{"title":"Get Generated Items","description":"Returns metadata about all your generated audio.","openapi":"get /v1/history","href":"/api-reference/get-generated-items"},{"title":"Get History Item By Id","description":"Returns information about an history item by its ID.","openapi":"get /v1/history/{history_item_id}","href":"/api-reference/get-history-item-by-id"},{"title":"Delete History Item","description":"Delete a history item by its ID","openapi":"delete /v1/history/{history_item_id}","href":"/api-reference/delete-history-item"},{"title":"Get Audio From History Item","description":"Returns the audio of an history item.","openapi":"get /v1/history/{history_item_id}/audio","href":"/api-reference/get-audio-from-history-item"},{"title":"Download History Items","description":"Download one or more history items. If one history item ID is provided, we will return a single audio file. If more than one history item IDs are provided, we will provide the history items packed into a .zip file.","openapi":"post /v1/history/download","href":"/api-reference/download-history-items"}]},{"group":"Samples","pages":[{"title":"Delete Sample","description":"Removes a sample by its ID.","openapi":"delete /v1/voices/{voice_id}/samples/{sample_id}","href":"/api-reference/delete-sample"},{"title":"Get Audio From Sample","description":"Returns the audio corresponding to a sample attached to a voice.","openapi":"get /v1/voices/{voice_id}/samples/{sample_id}/audio","href":"/api-reference/get-audio-from-sample"}]},{"group":"User","pages":[{"title":"Get User Subscription Info","description":"Gets extended information about the users subscription","openapi":"get /v1/user/subscription","href":"/api-reference/get-user-subscription-info"},{"title":"Get User Info","description":"Gets information about the user","openapi":"get /v1/user","href":"/api-reference/get-user-info"}]},{"group":"Voices","pages":[{"title":"Get Voices","description":"Gets a list of all available voices for a user.","openapi":"get /v1/voices","href":"/api-reference/get-voices"},{"title":"Get Default Voice Settings.","description":"Gets the default settings for voices. \"similarity_boost\" corresponds to\"Clarity + Similarity Enhancement\" in the web app and \"stability\" corresponds to \"Stability\" slider in the web app.","openapi":"get /v1/voices/settings/default","href":"/api-reference/get-default-voice-settings"},{"title":"Get Voice Settings","description":"Returns the settings for a specific voice. \"similarity_boost\" corresponds to\"Clarity + Similarity Enhancement\" in the web app and \"stability\" corresponds to \"Stability\" slider in the web app.","openapi":"get /v1/voices/{voice_id}/settings","href":"/api-reference/get-voice-settings"},{"title":"Get Voice","description":"Returns metadata about a specific voice.","openapi":"get /v1/voices/{voice_id}","href":"/api-reference/get-voice"},{"title":"Delete Voice","description":"Deletes a voice by its ID.","openapi":"delete /v1/voices/{voice_id}","href":"/api-reference/delete-voice"},{"title":"Edit Voice Settings","description":"Edit your settings for a specific voice. \"similarity_boost\" corresponds to\"Clarity + Similarity Enhancement\" in the web app and \"stability\" corresponds to \"Stability\" slider in the web app.","openapi":"post /v1/voices/{voice_id}/settings/edit","href":"/api-reference/edit-voice-settings"},{"title":"Add Voice","description":"Add a new voice to your collection of voices in VoiceLab.","openapi":"post /v1/voices/add","href":"/api-reference/add-voice"},{"title":"Edit Voice","description":"Edit a voice created by you.","openapi":"post /v1/voices/{voice_id}/edit","href":"/api-reference/edit-voice"}]},{"group":"Voice Design","pages":[{"title":"Generate Voice Previews From Description","description":"Generate custom voice previews based on provided voice description. The response includes a list of voice previews, each containing an id and a sample of the voice audio. If you like the voice preview and want to create a permanent voice, call `/v1/text-to-voice/create-voice-from-preview` with the corresponding voice id.","openapi":"post /v1/text-to-voice/create-previews","href":"/api-reference/ttv-create-previews"},{"title":"Create Voice From Voice Preview","description":"Create a new voice from previously generated voice preview. This endpoint should be called after you fetched a `generated_voice_id` using `/v1/text-to-voice/create-previews`.","openapi":"post /v1/text-to-voice/create-voice-from-preview","href":"/api-reference/ttv-create-voice-from-preview"}]},{"group":"Voice Library","pages":[{"title":"Get Voices","description":"Gets a list of shared voices.","openapi":"get /v1/shared-voices","href":"/api-reference/query-library"},{"title":"Add Sharing Voice","description":"Add a sharing voice to your collection of voices in VoiceLab.","openapi":"post /v1/voices/add/{public_user_id}/{voice_id}","href":"/api-reference/add-shared-voice"}]},{"group":"Projects","pages":[{"title":"Get Projects","description":"Returns a list of your projects together and its metadata.","openapi":"get /v1/projects","href":"/api-reference/get-projects"},{"title":"Get Project By Id","description":"Returns information about a specific project. This endpoint returns more detailed information about a project than GET api.elevenlabs.io/v1/projects.","openapi":"get /v1/projects/{project_id}","href":"/api-reference/get-project-by-id"},{"title":"Add Project","description":"Creates a new project, it can be either initialized as blank, from a document or from a URL.","openapi":"post /v1/projects/add","href":"/api-reference/add-project"},{"title":"Delete Project","description":"Delete a project by its project_id.","openapi":"delete /v1/projects/{project_id}","href":"/api-reference/delete-project"},{"title":"Convert Project","description":"Starts conversion of a project and all of its chapters.","openapi":"post /v1/projects/{project_id}/convert","href":"/api-reference/convert-project"},{"title":"Get Project Snapshots","description":"Gets the snapshots of a project.","openapi":"get /v1/projects/{project_id}/snapshots","href":"/api-reference/get-project-snapshots"},{"title":"Stream Project Audio","description":"Stream the audio from a project snapshot.","openapi":"post /v1/projects/{project_id}/snapshots/{project_snapshot_id}/stream","href":"/api-reference/stream-project-audio"},{"title":"Get Chapters","description":"Returns a list of your chapters for a project together and its metadata.","openapi":"get /v1/projects/{project_id}/chapters","href":"/api-reference/get-chapters"},{"title":"Get Chapter By Id","description":"Returns information about a specific chapter.","openapi":"get /v1/projects/{project_id}/chapters/{chapter_id}","href":"/api-reference/get-chapter-by-id"},{"title":"Add Chapter To A Project","description":"Creates a new chapter either as blank or from a URL.","openapi":"post /v1/projects/{project_id}/chapters/add","href":"/api-reference/add-chapter"},{"title":"Delete Chapter","description":"Delete a chapter by its chapter_id.","openapi":"delete /v1/projects/{project_id}/chapters/{chapter_id}","href":"/api-reference/delete-chapter"},{"title":"Convert Chapter","description":"Starts conversion of a specific chapter.","openapi":"post /v1/projects/{project_id}/chapters/{chapter_id}/convert","href":"/api-reference/convert-chapter"},{"title":"Get Chapter Snapshots","description":"Gets information about all the snapshots of a chapter, each snapshot corresponds can be downloaded as audio. Whenever a chapter is converted a snapshot will be automatically created.","openapi":"get /v1/projects/{project_id}/chapters/{chapter_id}/snapshots","href":"/api-reference/get-chapter-snapshots"},{"title":"Stream Chapter Audio","description":"Stream the audio from a chapter snapshot. Use `GET /v1/projects/{project_id}/chapters/{chapter_id}/snapshots` to return the chapter snapshots of a chapter.","openapi":"post /v1/projects/{project_id}/chapters/{chapter_id}/snapshots/{chapter_snapshot_id}/stream","href":"/api-reference/stream-chapter-audio"},{"title":"Update Pronunciation Dictionaries","description":"Updates the set of pronunciation dictionaries acting on a project. This will automatically mark text within this project as requiring reconverting where the new dictionary would apply or the old one no longer does.","openapi":"post /v1/projects/{project_id}/update-pronunciation-dictionaries","href":"/api-reference/update-pronunciation-dictionaries"}]},{"group":"Pronunciation Dictionaries","pages":[{"title":"Add from file","description":"Creates a new pronunciation dictionary from a lexicon .PLS file","openapi":"post /v1/pronunciation-dictionaries/add-from-file","href":"/api-reference/pronunciation-dictionaries-add-from-file"},{"title":"Get dictionaries","description":"Get a list of the pronunciation dictionaries you have access to and their metadata","openapi":"get /v1/pronunciation-dictionaries/","href":"/api-reference/pronunciation-dictionaries-list"},{"title":"Get dictionary by id","description":"Get metadata for a pronunciation dictionary","openapi":"get /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/","href":"/api-reference/pronunciation-dictionaries-id"},{"title":"Add rules","description":"Add rules to the pronunciation dictionary","openapi":"post /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/add-rules","href":"/api-reference/pronunciation-dictionaries-id-add-rules"},{"title":"Remove rules","description":"Remove rules from the pronunciation dictionary","openapi":"post /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/remove-rules","href":"/api-reference/pronunciation-dictionaries-id-remove-rules"},{"title":"Download version by id","description":"Get PLS file with a pronunciation dictionary version rules","openapi":"get /v1/pronunciation-dictionaries/{dictionary_id}/{version_id}/download","href":"/api-reference/pronunciation-dictionaries-id-version_id-download"}]},{"group":"Models","pages":[{"title":"Get Models","description":"Gets a list of available models.","openapi":"get /v1/models","href":"/api-reference/get-models"}]},{"group":"Audio-native","pages":[{"title":"Creates Audionative Enabled Project.","description":"Creates AudioNative enabled project, optionally starts conversion and returns project id and embeddable html snippet.","openapi":"post /v1/audio-native","href":"/api-reference/creates-audionative-enabled-project"}]},{"group":"Dubbing","pages":[{"title":"Dub A Video Or An Audio File","description":"Dubs provided audio or video file into given language.","openapi":"post /v1/dubbing","href":"/api-reference/create-dub"},{"title":"Get Dubbing Project Metadata","description":"Returns metadata about a dubbing project, including whether it's still in progress or not","openapi":"get /v1/dubbing/{dubbing_id}","href":"/api-reference/get-dubbing-metadata"},{"title":"Get Transcript For Dub","description":"Returns transcript for the dub as an SRT file.","openapi":"get /v1/dubbing/{dubbing_id}/transcript/{language_code}","href":"/api-reference/get-dubbing-transcript"},{"title":"Get Dubbed File","description":"Returns dubbed file as a streamed file. Videos will be returned in MP4 format and audio only dubs will be returned in MP3.","openapi":"get /v1/dubbing/{dubbing_id}/audio/{language_code}","href":"/api-reference/get-dubbed-file"},{"title":"Delete Dubbing Project","description":"Deletes a dubbing project.","openapi":"delete /v1/dubbing/{dubbing_id}","href":"/api-reference/delete-dub"}]},{"group":"Workspace","pages":[{"title":"Invite User","description":"Sends an email invitation to join your workspace to the provided email. If the user doesn't have an account they will be prompted to create one. If the user accepts this invite they will be added as a user to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace administrators.","openapi":"post /v1/workspace/invites/add","mode":"wide","href":"/api-reference/workspace-invite-user"},{"title":"Delete Existing Invitation","description":"Invalidates an existing email invitation. The invitation will still show up in the inbox it has been delivered to, but activating it to join the workspace won't work. This endpoint may only be called by workspace administrators.","openapi":"delete /v1/workspace/invites","mode":"wide","href":"/api-reference/workspace-delete-invite"},{"title":"Update Member","description":"Updates attributes of a workspace member. Apart from the email identifier, all parameters will remain unchanged unless specified. This endpoint may only be called by workspace administrators.","openapi":"post /v1/workspace/members","mode":"wide","href":"/api-reference/workspace-update-member"}]},{"group":"Usage","pages":[{"title":"Get Characters Usage Metrics","description":"Returns the credit usage metrics for the current user or the entire workspace they are part of. The response will return a time axis with unix timestamps for each day and daily usage along that axis. The usage will be broken down by the specified breakdown type. For example, breakdown type \"voice\" will return the usage of each voice along the time axis.","openapi":"get /v1/usage/character-stats","href":"/api-reference/usage-get-character-stats"}]},{"group":"Voice Generation (Deprecated)","pages":[{"title":"Generate A Random Voice","description":"Generate a random voice based on parameters. This method returns a generated_voice_id in the response header, and a sample of the voice in the body. If you like the generated voice call /v1/voice-generation/create-voice with the generated_voice_id to create the voice.","openapi":"post /v1/voice-generation/generate-voice","href":"/api-reference/generate-voice"},{"title":"Voice Generation Parameters","description":"Get possible parameters for the /v1/voice-generation/generate-voice endpoint.","openapi":"get /v1/voice-generation/generate-voice/parameters","href":"/api-reference/generate-voice-parameters"}]},{"group":"","pages":[{"title":"Introduction","description":"Deploy customized, conversational voice agents in minutes.","href":"/conversational-ai/docs/introduction"}]},{"group":"Quickstart","pages":[{"title":"Agent Setup","description":"Deploy customized, conversational voice agents in minutes.","icon":"comments","href":"/conversational-ai/docs/agent-setup"},{"group":"Build a Conversational App","icon":"browser","pages":[{"title":"Next.JS","description":"Learn how to create a web application that enables voice conversations with ElevenLabs AI agents","icon":"react","href":"/conversational-ai/guides/conversational-ai-guide-nextjs"},{"title":"Vite (Javascript)","description":"Learn how to create a web application that enables voice conversations with ElevenLabs AI agents","icon":"js","href":"/conversational-ai/guides/conversational-ai-guide-vite"}]},{"title":"Twilio Integration","description":"Learn how to integrate a Conversational AI agent with Twilio to create seamless, human-like voice interactions.","icon":"phone","href":"/conversational-ai/guides/conversational-ai-twilio"}]},{"group":"Customization","pages":[{"title":"Tools","description":"Provide your agent with real time information and the ability to take action in third party apps with external function calls.","icon":"toolbox","href":"/conversational-ai/customization/tools"},{"title":"Custom LLM Integration","description":"Guide for using your own LLM or server with ElevenLabs SDK.","icon":"brain-circuit","href":"/conversational-ai/customization/byollm"},{"title":"Knowledge Base","description":"Learn how to enhance your conversational agent with custom knowledge","icon":"book","href":"/conversational-ai/customization/knowledge-base"},{"title":"Conversation Customization","description":"Learn how to customize your AI agent for each conversation \u0026 pass additional metadata to the agent.","icon":"sliders","href":"/conversational-ai/customization/conversation-configuration"}]},{"group":"Libraries \u0026 SDKs","pages":[{"title":"Python SDK","description":"Conversational AI SDK: deploy customized, interactive voice agents in minutes.","icon":"python","href":"/conversational-ai/libraries/conversational-ai-sdk-python"},{"title":"React SDK","description":"Conversational AI SDK: deploy customized, interactive voice agents in minutes.","icon":"react","href":"/conversational-ai/libraries/conversational-ai-sdk-react"},{"title":"JavaScript SDK","description":"Conversational AI SDK: deploy customized, interactive voice agents in minutes.","icon":"js","href":"/conversational-ai/libraries/conversational-ai-sdk-js"},{"title":"iOS SDK","description":"Conversational AI SDK: deploy customized, interactive voice agents in your Swift applications.","icon":"swift","href":"/conversational-ai/libraries/conversational-ai-sdk-swift"}]},{"group":"API Reference","pages":[{"title":"WebSocket","description":"Create real-time, interactive voice conversations with AI agents","icon":"comments","href":"/conversational-ai/api-reference/websocket"},{"group":"Agents","pages":[{"title":"Get Agents","description":"Returns a page of your agents and their metadata.","openapi":"get /v1/convai/agents","href":"/conversational-ai/api-reference/get-conversational-ai-agents"},{"title":"Create Agent","description":"Create an agent from a config object","openapi":"post /v1/convai/agents/create","href":"/conversational-ai/api-reference/post-conversational-ai-agent"},{"title":"Get Agent","description":"Retrieve config for an agent","openapi":"get /v1/convai/agents/{agent_id}","href":"/conversational-ai/api-reference/get-conversational-ai-agent"},{"title":"Update Agent","description":"Patches an Agent settings","openapi":"patch /v1/convai/agents/{agent_id}","href":"/conversational-ai/api-reference/patch-conversational-ai-agent"},{"title":"Delete Agent","description":"Delete an agent","openapi":"delete /v1/convai/agents/{agent_id}","href":"/conversational-ai/api-reference/delete-conversational-ai-agent"}]},{"group":"Conversations","pages":[{"title":"Get Conversation Details","description":"Get the details of a particular conversation","openapi":"get /v1/convai/conversations/{conversation_id}","href":"/conversational-ai/api-reference/get-conversational-ai-conversations"},{"title":"Get Conversations","description":"Get all conversations of agents that user owns. With option to restrict to a specific agent.","openapi":"get /v1/convai/conversations","href":"/conversational-ai/api-reference/get-conversational-ai-conversation"},{"title":"Get Conversation Audio","description":"Get the audio recording of a particular conversation","openapi":"get /v1/convai/conversations/{conversation_id}/audio","href":"/conversational-ai/api-reference/get-conversational-ai-conversation-audio"},{"title":"Get Signed URL","description":"Get a signed url to start a conversation with an agent with an agent that requires authorization","openapi":"get /v1/convai/conversation/get_signed_url","href":"/conversational-ai/api-reference/get-conversational-ai-signed-url"}]},{"group":"Knowledge Base","pages":[{"title":"Get Knowledge Base Document","description":"Get details about a specific documentation making up the agent's knowledge base","openapi":"get /v1/convai/agents/{agent_id}/knowledge-base/{documentation_id}","href":"/conversational-ai/api-reference/get-conversational-ai-knowledge-base-document"},{"title":"Create Knowledge Base Document","description":"Uploads a file or reference a webpage for the agent to use as part of it's knowledge base","openapi":"post /v1/convai/agents/{agent_id}/add-to-knowledge-base","href":"/conversational-ai/api-reference/post-conversational-ai-knowledge-base-document"}]},{"group":"Widget","pages":[{"title":"Get Widget","description":"Retrieve the widget configuration for an agent","openapi":"get /v1/convai/agents/{agent_id}/widget","href":"/conversational-ai/api-reference/get-conversational-ai-widget"},{"title":"Create Agent Avatar","description":"Sets the avatar for an agent displayed in the widget","openapi":"post /v1/convai/agents/{agent_id}/avatar","href":"/conversational-ai/api-reference/post-conversational-ai-widget-avatar"}]}]},{"group":"Changelog","pages":[{"title":"Product Updates","description":"New updates and improvements","mode":"wide","href":"/changelog/product-updates"}]},{"group":"Step by step","pages":[{"title":"Overview","description":"Step by step worflow guides.","href":"/product/guides/getting-started"},{"title":"Creating an Account","description":null,"href":"/product/guides/creating-the-account"},{"title":"Workspaces: Collaborating with your team","description":null,"href":"/product/guides/workspace"},{"title":"Understanding the Platform Landing Page","description":null,"href":"/product/guides/landing-page"},{"title":"Voices: Managing your Voices","description":null,"href":"/product/guides/voices"},{"title":"Speech Synthesis: Generating Audio","description":null,"href":"/product/guides/speech-synthesis"},{"title":"Sound Effects: From Text to Sounds","description":null,"href":"/product/guides/sound-effects"},{"title":"Projects: Managing Long-Form Content","description":null,"href":"/product/guides/projects"},{"title":"Dubbing: Multilingual Support","description":null,"href":"/product/guides/dubbing"},{"title":"Voiceover Studio","description":null,"href":"/product/guides/voiceover-studio"}]}],"pageMetadata":{"title":"Text To Speech Streaming","description":"Converts text into speech using a voice of your choice and returns audio as an audio stream.","openapi":"post /v1/text-to-speech/{voice_id}/stream","href":"/api-reference/streaming"},"mintConfig":{"layout":"topnav","sidebar":{"items":"container"},"topbar":{"style":"default"},"search":{"location":"top"},"rounded":"default","codeBlock":{"mode":"dark"},"topbarCtaButton":{"name":"Go to elevenlabs.io","url":"https://elevenlabs.io/sign-up","style":"pill","arrow":true},"$schema":"https://mintlify.com/schema.json","name":"ElevenLabs","logo":{"light":"https://mintlify.s3-us-west-1.amazonaws.com/elevenlabs-docs/logo/favicon.png","dark":"https://mintlify.s3-us-west-1.amazonaws.com/elevenlabs-docs/logo/favicon.png"},"favicon":"/favicon.png","api":{"baseUrl":"https://api.elevenlabs.io","playground":{"mode":"show"}},"modeToggle":{"default":"light"},"colors":{"primary":"#312B41","light":"#4D9CFF","dark":"#0050B4"},"topbarLinks":[{"url":"https://elevenlabs.io/blog","name":"Blog","_id":"6740a7541b2db4216c6dc3df"},{"url":"https://help.elevenlabs.io/","name":"Help Center","_id":"6740a7541b2db4216c6dc3e0"}],"navigation":[{"group":"Welcome","pages":["product/introduction"]},{"group":"Create","pages":[{"group":"Text to Speech (Speech Synthesis)","pages":["product/speech-synthesis/overview","product/speech-synthesis/voice-selection","product/speech-synthesis/voice-settings","product/speech-synthesis/models","product/speech-synthesis/prompting"]},{"group":"Speech to Speech (Voice Changer)","pages":["product/speech-synthesis/speech-to-speech"]},{"group":"Sound Effects","pages":["product/sound-effects/overview"]}]},{"group":"Voices","pages":["product/voices/overview","product/voices/default-voices","product/voices/voice-lab/voice-design",{"group":"Voice Cloning","pages":["product/voices/voice-lab/overview","product/voices/voice-lab/instant-voice-cloning","product/voices/voice-lab/professional-voice-cloning"]},{"group":"Voice Library","pages":["product/voices/voice-library/overview","product/voices/voice-library/sharing","product/voices/pvc-step-by-step-guide","product/voices/voice-library/payouts"]}]},{"group":"Workflows","pages":[{"group":"Projects","pages":["product/projects/overview"]},{"group":"Dubbing Studio","pages":["product/dubbing/overview","product/dubbing/studio"]},{"group":"Voiceover Studio","pages":["product/voiceover-studio/overview"]},{"group":"Audio Native","pages":["product/audio-native/overview",{"group":"Integration Guides","pages":["product/audio-native/audio-native-react","product/audio-native/ghost","product/audio-native/squarespace","product/audio-native/framer","product/audio-native/webflow","product/audio-native/wordpress","product/audio-native/wix","product/audio-native/substack"]}]}]},{"group":"Workspace","pages":["product/workspace/overview","product/workspace/sso_setup"]},{"group":"Troubleshooting","pages":["product/troubleshooting/overview"]},{"group":"Overview","pages":["developer-guides/quickstart","developer-guides/specifying-server-location","developer-guides/reducing-latency","developer-guides/models"]},{"group":"Text to Speech","pages":["developer-guides/how-to-use-tts-with-streaming","developer-guides/how-to-use-websocket","developer-guides/how-to-use-request-stitching","developer-guides/how-to-use-pronunciation-dictionaries","developer-guides/integrating-with-twilio"]},{"group":"Text to Sound Effects","pages":["developer-guides/how-to-use-text-to-sound-effects"]},{"group":"Dubbing","pages":["developer-guides/how-to-dub-a-video"]},{"group":"","pages":["developer-guides/github-examples"]},{"group":"","pages":["api-reference/overview"]},{"group":"SDK Libraries","pages":["api-reference/sdk-node","api-reference/sdk-python"]},{"group":"Text to Speech","pages":["api-reference/text-to-speech","api-reference/text-to-speech-with-timestamps","api-reference/streaming","api-reference/streaming-with-timestamps","api-reference/websockets"]},{"group":"Speech to Speech","pages":["api-reference/speech-to-speech","api-reference/speech-to-speech-streaming"]},{"group":"Sound Effects","pages":["api-reference/sound-generation"]},{"group":"Audio Isolation","pages":["api-reference/audio-isolation","api-reference/audio-isolation-stream"]},{"group":"History","pages":["api-reference/get-generated-items","api-reference/get-history-item-by-id","api-reference/delete-history-item","api-reference/get-audio-from-history-item","api-reference/download-history-items"]},{"group":"Samples","pages":["api-reference/delete-sample","api-reference/get-audio-from-sample"]},{"group":"User","pages":["api-reference/get-user-subscription-info","api-reference/get-user-info"]},{"group":"Voices","pages":["api-reference/get-voices","api-reference/get-default-voice-settings","api-reference/get-voice-settings","api-reference/get-voice","api-reference/delete-voice","api-reference/edit-voice-settings","api-reference/add-voice","api-reference/edit-voice"]},{"group":"Voice Design","pages":["api-reference/ttv-create-previews","api-reference/ttv-create-voice-from-preview"]},{"group":"Voice Library","pages":["api-reference/query-library","api-reference/add-shared-voice"]},{"group":"Projects","pages":["api-reference/get-projects","api-reference/get-project-by-id","api-reference/add-project","api-reference/delete-project","api-reference/convert-project","api-reference/get-project-snapshots","api-reference/stream-project-audio","api-reference/get-chapters","api-reference/get-chapter-by-id","api-reference/add-chapter","api-reference/delete-chapter","api-reference/convert-chapter","api-reference/get-chapter-snapshots","api-reference/stream-chapter-audio","api-reference/update-pronunciation-dictionaries"]},{"group":"Pronunciation Dictionaries","pages":["api-reference/pronunciation-dictionaries-add-from-file","api-reference/pronunciation-dictionaries-list","api-reference/pronunciation-dictionaries-id","api-reference/pronunciation-dictionaries-id-add-rules","api-reference/pronunciation-dictionaries-id-remove-rules","api-reference/pronunciation-dictionaries-id-version_id-download"]},{"group":"Models","pages":["api-reference/get-models"]},{"group":"Audio-native","pages":["api-reference/creates-audionative-enabled-project"]},{"group":"Dubbing","pages":["api-reference/create-dub","api-reference/get-dubbing-metadata","api-reference/get-dubbing-transcript","api-reference/get-dubbed-file","api-reference/delete-dub"]},{"group":"Workspace","pages":["api-reference/workspace-invite-user","api-reference/workspace-delete-invite","api-reference/workspace-update-member"]},{"group":"Usage","pages":["api-reference/usage-get-character-stats"]},{"group":"Voice Generation (Deprecated)","pages":["api-reference/generate-voice","api-reference/generate-voice-parameters"]},{"group":"","pages":["conversational-ai/docs/introduction"]},{"group":"Quickstart","pages":["conversational-ai/docs/agent-setup",{"group":"Build a Conversational App","icon":"browser","pages":["conversational-ai/guides/conversational-ai-guide-nextjs","conversational-ai/guides/conversational-ai-guide-vite"]},"conversational-ai/guides/conversational-ai-twilio"]},{"group":"Customization","pages":["conversational-ai/customization/tools","conversational-ai/customization/byollm","conversational-ai/customization/knowledge-base","conversational-ai/customization/conversation-configuration"]},{"group":"Libraries \u0026 SDKs","pages":["conversational-ai/libraries/conversational-ai-sdk-python","conversational-ai/libraries/conversational-ai-sdk-react","conversational-ai/libraries/conversational-ai-sdk-js","conversational-ai/libraries/conversational-ai-sdk-swift"]},{"group":"API Reference","pages":["conversational-ai/api-reference/websocket",{"group":"Agents","pages":["conversational-ai/api-reference/get-conversational-ai-agents","conversational-ai/api-reference/post-conversational-ai-agent","conversational-ai/api-reference/get-conversational-ai-agent","conversational-ai/api-reference/patch-conversational-ai-agent","conversational-ai/api-reference/delete-conversational-ai-agent"]},{"group":"Conversations","pages":["conversational-ai/api-reference/get-conversational-ai-conversations","conversational-ai/api-reference/get-conversational-ai-conversation","conversational-ai/api-reference/get-conversational-ai-conversation-audio","conversational-ai/api-reference/get-conversational-ai-signed-url"]},{"group":"Knowledge Base","pages":["conversational-ai/api-reference/get-conversational-ai-knowledge-base-document","conversational-ai/api-reference/post-conversational-ai-knowledge-base-document"]},{"group":"Widget","pages":["conversational-ai/api-reference/get-conversational-ai-widget","conversational-ai/api-reference/post-conversational-ai-widget-avatar"]}]},{"group":"Changelog","pages":["changelog/product-updates"]},{"group":"Step by step","pages":["product/guides/getting-started","product/guides/creating-the-account","product/guides/workspace","product/guides/landing-page","product/guides/voices","product/guides/speech-synthesis","product/guides/sound-effects","product/guides/projects","product/guides/dubbing","product/guides/voiceover-studio"]}],"primaryTab":{"name":"product"},"anchors":[{"name":"Community","url":"https://discord.gg/elevenlabs","icon":"discord","_id":"6740a7541b2db4216c6dc3dd"},{"name":"Documentation","url":"conversational-ai","icon":"comments","isDefaultHidden":true,"_id":"6740a7541b2db4216c6dc3de"}],"tabs":[{"name":"Product","url":"product","_id":"6740a7541b2db4216c6dc3d8"},{"name":"API Reference","url":"api-reference","_id":"6740a7541b2db4216c6dc3d9"},{"name":"Developer Guides","url":"developer-guides","_id":"6740a7541b2db4216c6dc3da"},{"name":"Conversational AI","url":"conversational-ai","_id":"6740a7541b2db4216c6dc3db"},{"name":"Changelog","url":"changelog","_id":"6740a7541b2db4216c6dc3dc"}],"feedback":{"thumbsRating":true,"suggestEdit":true,"raiseIssue":true},"analytics":{"koala":{"publicApiKey":"pk_0371fbac06f7717e0185d89c3f945127c125"},"ga4":{"measurementId":"G-82RG1PXYVW"},"posthog":{"apiKey":"phc_KQDh5IkRcTsPOoUtwmVxoATdOqNYCo0vTdwE77aNOQv","apiHost":"https://eu.i.posthog.com"}},"redirects":[{"destination":"/developer-guides/how-to-use-tts-with-streaming","source":"/api-reference/how-to-use-tts-with-streaming-in-python","_id":"6740a7541b2db4216c6dc3b9"},{"destination":"/developer-guides/reducing-latency","source":"/api-reference/reducing-latency","_id":"6740a7541b2db4216c6dc3ba"},{"destination":"/product/introduction","source":"/overview","_id":"6740a7541b2db4216c6dc3bb"},{"destination":"/product/projects/:slug*","source":"/projects/:slug*","_id":"6740a7541b2db4216c6dc3bc"},{"destination":"/product/sound-effects/:slug*","source":"/sound-effects/:slug*","_id":"6740a7541b2db4216c6dc3bd"},{"destination":"/product/speech-synthesis/:slug*","source":"/speech-synthesis/:slug*","_id":"6740a7541b2db4216c6dc3be"},{"destination":"/product/troubleshooting/:slug*","source":"/troubleshooting/:slug*","_id":"6740a7541b2db4216c6dc3bf"},{"destination":"/product/voiceover-studio/:slug*","source":"/voiceover-studio/:slug*","_id":"6740a7541b2db4216c6dc3c0"},{"destination":"/product/voices/:slug*","source":"/voices/:slug*","_id":"6740a7541b2db4216c6dc3c1"},{"destination":"/product/workspace/:slug*","source":"/workspace/:slug*","_id":"6740a7541b2db4216c6dc3c2"},{"destination":"/product/audio-native/:slug*","source":"/audio-native/:slug*","_id":"6740a7541b2db4216c6dc3c3"},{"destination":"/product/dubbing/:slug*","source":"/dubbing/:slug*","_id":"6740a7541b2db4216c6dc3c4"},{"destination":"/product/guides/:slug*","source":"/guides/:slug*","_id":"6740a7541b2db4216c6dc3c5"},{"destination":"/product/introduction","source":"/introduction","_id":"6740a7541b2db4216c6dc3c6"},{"destination":"/developer-guides/how-to-dub-a-video","source":"/api-reference/how-to-dub-a-video","_id":"6740a7541b2db4216c6dc3c7"},{"destination":"/developer-guides/how-to-use-pronounciation-dictionaries","source":"/api-reference/how-to-use-pronounciation-dictionaries","_id":"6740a7541b2db4216c6dc3c8"},{"destination":"/developer-guides/how-to-use-request-stitching","source":"/api-reference/how-to-use-request-stitching","_id":"6740a7541b2db4216c6dc3c9"},{"destination":"/developer-guides/how-to-use-text-to-sound-effects","source":"/api-reference/how-to-use-text-to-sound-effects","_id":"6740a7541b2db4216c6dc3ca"},{"destination":"/developer-guides/how-to-use-tts-with-streaming","source":"/api-reference/how-to-use-tts-with-streaming","_id":"6740a7541b2db4216c6dc3cb"},{"destination":"/developer-guides/how-to-use-websocket","source":"/api-reference/how-to-use-websocket","_id":"6740a7541b2db4216c6dc3cc"},{"destination":"/developer-guides/integrating-with-twilio","source":"/api-reference/integrating-with-twilio","_id":"6740a7541b2db4216c6dc3cd"},{"destination":"/developer-guides/specifying-server-location","source":"/api-reference/specifying-server-location","_id":"6740a7541b2db4216c6dc3ce"},{"destination":"/conversational-ai/docs","source":"/conversational-ai","_id":"6740a7541b2db4216c6dc3cf"},{"destination":"/conversational-ai/docs/introduction","source":"/product/conversational-ai/overview","_id":"6740a7541b2db4216c6dc3d0"},{"destination":"/conversational-ai/libraries/conversational-ai-sdk-python","source":"/libraries/conversational-ai-sdk-python","_id":"6740a7541b2db4216c6dc3d1"},{"destination":"/conversational-ai/libraries/conversational-ai-sdk-js","source":"/libraries/conversational-ai-sdk-js","_id":"6740a7541b2db4216c6dc3d2"},{"destination":"/conversational-ai/libraries/conversational-ai-sdk-react","source":"/libraries/conversational-ai-sdk-react","_id":"6740a7541b2db4216c6dc3d3"},{"destination":"/conversational-ai/libraries/conversational-ai-sdk-swift","source":"/libraries/conversational-ai-sdk-swift","_id":"6740a7541b2db4216c6dc3d4"},{"destination":"/conversational-ai/guides/conversational-ai-guide","source":"/developer-guides/conversational-ai-guide","_id":"6740a7541b2db4216c6dc3d5"},{"destination":"/conversational-ai/customization/tools","source":"/product/conversational-ai/tools","_id":"6740a7541b2db4216c6dc3d6"},{"destination":"/conversational-ai/docs","source":"/product/conversational-ai/*","_id":"6740a7541b2db4216c6dc3d7"}],"footerSocials":{"linkedin":"https://www.linkedin.com/company/elevenlabsio","twitter":"https://twitter.com/elevenlabsio","discord":"https://discord.gg/ZcPfAy3xSE","youtube":"https://www.youtube.com/channel/UC-ew9TfeD887qUSiWWAAj1w","github":"https://github.com/elevenlabs"},"repo":{"github":{"owner":"elevenlabs","repo":"elevenlabs-docs","contentDirectory":"","deployBranch":"main","isPrivate":false}}},"apiReferenceData":{"endpoint":{"title":"Text To Speech Streaming","description":"Converts text into speech using a voice of your choice and returns audio as an audio stream.","path":"/v1/text-to-speech/{voice_id}/stream","method":"post","request":{"security":[],"parameters":{"path":{"voice_id":{"schema":[{"type":"string","required":true,"title":"Voice Id","description":"Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices."}]}},"query":{"enable_logging":{"schema":[{"type":"boolean","required":false,"title":"Enable request logging.","description":"When enable_logging is set to false full privacy mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Full privacy mode may only be used by enterprise customers.","default":true}]},"optimize_streaming_latency":{"schema":[{"type":"integer","required":false,"title":"DEPRECATED. How much we should optimize streaming request latency (time to first audio byte).","description":"You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values:\n0 - default mode (no latency optimizations)\n1 - normal latency optimizations (about 50% of possible latency improvement of option 3)\n2 - strong latency optimizations (about 75% of possible latency improvement of option 3)\n3 - max latency optimizations\n4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates).\n\nDefaults to None.\n","deprecated":true}]},"output_format":{"schema":[{"type":"string","required":false,"title":"Output format of the generated audio.","description":"Output format of the generated audio. Must be one of:\nmp3_22050_32 - output format, mp3 with 22.05kHz sample rate at 32kbps.\nmp3_44100_32 - output format, mp3 with 44.1kHz sample rate at 32kbps.\nmp3_44100_64 - output format, mp3 with 44.1kHz sample rate at 64kbps.\nmp3_44100_96 - output format, mp3 with 44.1kHz sample rate at 96kbps.\nmp3_44100_128 - default output format, mp3 with 44.1kHz sample rate at 128kbps.\nmp3_44100_192 - output format, mp3 with 44.1kHz sample rate at 192kbps. Requires you to be subscribed to Creator tier or above.\npcm_16000 - PCM format (S16LE) with 16kHz sample rate.\npcm_22050 - PCM format (S16LE) with 22.05kHz sample rate.\npcm_24000 - PCM format (S16LE) with 24kHz sample rate.\npcm_44100 - PCM format (S16LE) with 44.1kHz sample rate. Requires you to be subscribed to Pro tier or above.\nulaw_8000 - μ-law format (sometimes written mu-law, often approximated as u-law) with 8kHz sample rate. Note that this format is commonly used for Twilio audio inputs.\n","default":"mp3_44100_128"}]}},"header":{"xi-api-key":{"schema":[{"type":"string","required":false,"title":"Xi-Api-Key","description":"Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website."}]}},"cookie":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"text":{"allOf":[{"type":"string","title":"Text","description":"The text that will get converted into speech."}]},"model_id":{"allOf":[{"type":"string","title":"Model Id","description":"Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property.","default":"eleven_monolingual_v1"}]},"language_code":{"allOf":[{"type":"string","title":"Language Code","description":"Language code (ISO 639-1) used to enforce a language for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided."}]},"voice_settings":{"allOf":[{"allOf":[{"$ref":"#/components/schemas/VoiceSettingsResponseModel"}],"title":"Voice Settings","description":"Voice settings overriding stored setttings for the given voice. They are applied only on the given request."}]},"pronunciation_dictionary_locators":{"allOf":[{"items":{"$ref":"#/components/schemas/PronunciationDictionaryVersionLocatorDBModel"},"type":"array","title":"Pronunciation Dictionary Locators","description":"A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request","default":[]}]},"seed":{"allOf":[{"type":"integer","title":"Seed","description":"If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed."}]},"previous_text":{"allOf":[{"type":"string","title":"Previous Text","description":"The text that came before the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation."}]},"next_text":{"allOf":[{"type":"string","title":"Next Text","description":"The text that comes after the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation."}]},"previous_request_ids":{"allOf":[{"items":{"type":"string"},"type":"array","title":"Previous Request Ids","description":"A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both previous_text and previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be send.","default":[]}]},"next_request_ids":{"allOf":[{"items":{"type":"string"},"type":"array","title":"Next Request Ids","description":"A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send.","default":[]}]},"use_pvc_as_ivc":{"allOf":[{"type":"boolean","title":"Use Pvc As Ivc","description":"If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions.","default":false,"deprecated":true,"include_in_schema":false}]},"apply_text_normalization":{"allOf":[{"type":"string","enum":["auto","on","off"],"title":"Apply Text Normalization","description":"This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. Cannot be turned on for 'eleven_turbo_v2_5' model.","default":"auto","include_in_schema":true}]}},"required":true,"title":"Body_Text_to_speech_streaming_v1_text_to_speech__voice_id__stream_post","requiredProperties":["text"]}],"examples":{"example":{"value":{"text":"\u003cstring\u003e","model_id":"\u003cstring\u003e","language_code":"\u003cstring\u003e","voice_settings":{"stability":123,"similarity_boost":123,"style":123,"use_speaker_boost":true},"pronunciation_dictionary_locators":[{"pronunciation_dictionary_id":"\u003cstring\u003e","version_id":"\u003cstring\u003e"}],"seed":123,"previous_text":"\u003cstring\u003e","next_text":"\u003cstring\u003e","previous_request_ids":["\u003cstring\u003e"],"next_request_ids":["\u003cstring\u003e"],"use_pvc_as_ivc":true,"apply_text_normalization":"auto"}}}}},"codeSamples":[{"lang":"Python","source":"from elevenlabs import ElevenLabs, VoiceSettings\n\nclient = ElevenLabs(\n api_key=\"YOUR_API_KEY\",\n)\nclient.text_to_speech.convert_as_stream(\n voice_id=\"pMsXgVXv3BLzUgSXRplE\",\n optimize_streaming_latency=\"0\",\n output_format=\"mp3_22050_32\",\n text=\"It sure does, Jackie… My mama always said: “In Carolina, the air's so thick you can wear it!”\",\n voice_settings=VoiceSettings(\n stability=0.1,\n similarity_boost=0.3,\n style=0.2,\n ),\n)\n"},{"lang":"JavaScript","source":"import { ElevenLabsClient } from \"elevenlabs\";\n\nconst client = new ElevenLabsClient({ apiKey: \"YOUR_API_KEY\" });\nawait client.textToSpeech.convertAsStream(\"pMsXgVXv3BLzUgSXRplE\", {\n optimize_streaming_latency: \"0\",\n output_format: \"mp3_22050_32\",\n text: \"It sure does, Jackie\\u2026 My mama always said: \\u201CIn Carolina, the air's so thick you can wear it!\\u201D\",\n voice_settings: {\n stability: 0.1,\n similarity_boost: 0.3,\n style: 0.2\n }\n});\n"}]},"response":{"200":{},"422":{"application/json":{"schemaArray":[{"type":"object","properties":{"detail":{"allOf":[{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}]}},"title":"HTTPValidationError"}],"examples":{"example":{"value":{"detail":[{"loc":["\u003cstring\u003e"],"msg":"\u003cstring\u003e","type":"\u003cstring\u003e"}]}}}}}},"deprecated":false},"metadata":{"id":825,"subdomain":"elevenlabs-docs","filename":"openapi","eTag":"\"1d271e14bfefd1ae0b8beb09af1de9f7\"","location":"https://mintlify-s3-bucket-3cc1a52.s3.amazonaws.com/1ce42a02-0774-4995-83dd-bc48cff37d26","originalFileLocation":"openapi.json","uploadId":"","uuid":"1ce42a02-0774-4995-83dd-bc48cff37d26","versionId":null,"createdAt":"2023-10-25T09:14:34.056Z","updatedAt":"2024-11-15T10:12:03.097Z","deletedAt":null},"componentSchemas":{"PronunciationDictionaryVersionLocatorDBModel":{"properties":{"pronunciation_dictionary_id":{"type":"string","title":"Pronunciation Dictionary Id"},"version_id":{"type":"string","title":"Version Id"}},"type":"object","required":["pronunciation_dictionary_id","version_id"],"title":"PronunciationDictionaryVersionLocatorDBModel"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VoiceSettingsResponseModel":{"properties":{"stability":{"type":"number","title":"Stability"},"similarity_boost":{"type":"number","title":"Similarity Boost"},"style":{"type":"number","title":"Style","default":0},"use_speaker_boost":{"type":"boolean","title":"Use Speaker Boost","default":true}},"type":"object","required":["stability","similarity_boost"],"title":"VoiceSettingsResponseModel"}}}},"favicons":{"icons":[{"rel":"apple-touch-icon","sizes":"180x180","href":"https://mintlify.s3-us-west-1.amazonaws.com/elevenlabs-docs/_generated/favicon/apple-touch-icon.png?v=3","type":"image/png"},{"rel":"icon","sizes":"32x32","href":"https://mintlify.s3-us-west-1.amazonaws.com/elevenlabs-docs/_generated/favicon/favicon-32x32.png?v=3","type":"image/png"},{"rel":"icon","sizes":"16x16","href":"https://mintlify.s3-us-west-1.amazonaws.com/elevenlabs-docs/_generated/favicon/favicon-16x16.png?v=3","type":"image/png"},{"rel":"shortcut icon","href":"https://mintlify.s3-us-west-1.amazonaws.com/elevenlabs-docs/_generated/favicon/favicon.ico?v=3","type":"image/x-icon"}],"browserconfig":"https://mintlify.s3-us-west-1.amazonaws.com/elevenlabs-docs/_generated/favicon/browserconfig.xml?v=3"},"subdomain":"elevenlabs-docs","internalAnalyticsWriteKey":"phc_TXdpocbGVeZVm5VJmAsHTMrCofBQu3e0kN8HGMNGTVW","inkeep":{"integrationApiKey":"8bd15fc85389c73214d4db92007bfdee4be64bd617c6a3b0"},"trieve":{"datasetId":"d33a23a8-e183-4729-84e2-caf6c3448ae7","chatEnabled":true},"shouldIndex":true,"org":{"plan":"enterprise"},"cssFiles":[{"_id":"672e4d3393c6fe0f3810ab81","filePath":"developer-guides/widget.css","subdomain":"elevenlabs-docs","__v":0,"content":"elevenlabs-convai {\n --el-bg-color: rgb(var(--background-light));\n --el-text-color: rgb(var(--gray-700));\n --el-border-color: rgb(var(--gray-400) / 0.2);\n --el-border-radius: 0.75rem;\n --el-btn-color: rgb(var(--primary-dark));\n --el-btn-text-color: #fff;\n --el-btn-radius: 32px;\n --el-focus-color: rgb(var(--primary-light));\n}\n\n.dark elevenlabs-convai {\n --el-bg-color: rgb(var(--background-dark));\n --el-text-color: rgb(var(--gray-300));\n --el-border-color: rgb(var(--gray-800));\n --el-border-radius: 0.75rem;\n --el-btn-color: rgb(var(--primary-light) / 0.1);\n --el-btn-text-color: rgb(var(--primary-light));\n --el-btn-radius: 32px;\n --el-focus-color: rgb(var(--primary-light));\n}\n"}],"jsFiles":[{"_id":"66ae68d6c2948178196956be","filePath":".github/workflows/snippets.js","subdomain":"elevenlabs-docs","__v":0,"content":"const fs = require(\"fs\");\n\nasync function downloadOpenAPISpecs() {\n console.log(\"Downloading OpenAPI...\");\n const url = \"https://api.elevenlabs.io/openapi.json\";\n const response = await fetch(url);\n const oas = await response.json();\n\n console.log(\"Fetched OpenAPI spec\");\n return oas;\n}\n\nfunction getFirstRelevantSnippets(snippets) {\n const results = [];\n const latestTypescriptSnippet = snippets.find(\n (snippet) =\u003e snippet.type === \"typescript\"\n )?.client;\n const latestPythonSnippet = snippets.find(\n (snippet) =\u003e snippet.type === \"python\"\n )?.sync_client;\n\n if (latestPythonSnippet) {\n results.push({\n lang: \"Python\",\n source: latestPythonSnippet,\n });\n }\n if (latestTypescriptSnippet) {\n results.push({\n lang: \"JavaScript\",\n source: latestTypescriptSnippet,\n });\n }\n\n return results;\n}\n\nasync function fetchSnippetFromEndpoint(path, method) {\n const url = `https://api.buildwithfern.com/snippets`;\n\n try {\n const response = await fetch(url, {\n body: JSON.stringify({\n endpoint: {\n path,\n method: method.toUpperCase(),\n },\n }),\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `Bearer ${process.env.FERN_API_KEY}`,\n },\n });\n\n const snippets = await response.json();\n return snippets;\n } catch {\n return;\n }\n}\n\nasync function appendSnippets() {\n let oas = await downloadOpenAPISpecs();\n const endpoints = [];\n\n Object.entries(oas.paths).map(([path, methods]) =\u003e {\n Object.entries(methods).map(([method]) =\u003e {\n endpoints.push({\n path,\n method,\n });\n });\n });\n\n console.log(\"Fetching snippets...\");\n\n await Promise.all(\n endpoints.map(async ({ path, method }) =\u003e {\n const snippets = await fetchSnippetFromEndpoint(path, method);\n\n try {\n const relevantSnippets = getFirstRelevantSnippets(snippets);\n\n if (relevantSnippets) {\n oas.paths[path][method][\"x-codeSamples\"] = relevantSnippets;\n }\n } catch {\n return;\n }\n })\n );\n\n console.log(\"Found all matching snippets.\");\n console.log(\"Created OpenAPI spec with snippets\");\n\n fs.writeFileSync(\"openapi.json\", JSON.stringify(oas, null, `\\t`), {\n encoding: \"utf8\",\n });\n\n console.log(\"Completed! ✅\");\n}\n\nif (typeof window === \"undefined\") {\n appendSnippets();\n}\n"},{"_id":"672e4d3393c6fe0f3810ab8c","filePath":"developer-guides/widget.js","subdomain":"elevenlabs-docs","__v":0,"content":"(function() {\n // Create and append the script element\n var script = document.createElement('script');\n script.src = \"https://elevenlabs.io/convai-widget/index.js\";\n script.async = true;\n script.type = \"text/javascript\";\n document.head.appendChild(script);\n\n // hide convai on mobile\n var wrapper = document.createElement('div');\n wrapper.className = \"hidden lg:block\";\n\n // Create and append the widget element\n var widget = document.createElement('elevenlabs-convai');\n widget.setAttribute('agent-id', 'OZmXb9pmFsSkDE5dukJv');\n widget.setAttribute('avatar-orb-color-1', '#4D9CFF');\n widget.setAttribute('avatar-orb-color-2', '#9CE6E6');\n widget.innerHTML = `\\\n \u003cform slot=\"terms\" class=\"prose text-sm\"\u003e\n \u003ch3\u003eTerms and conditions\u003c/h3\u003e\n \u003cp\u003e\n By clicking \"Continue,\" I agree to the Terms of Service, acknowledge\n ElevenLabs' Privacy Policy.\n \u003c/p\u003e\n \u003cp\u003e\n \u003clabel class=\"flex gap-2\"\u003e\n \u003cinput class=\"h-5\" required=\"required\" type=\"checkbox\" /\u003e\n I consent to the recording, collection and use of my voice and data\n derived from my voice to interpret my speech and provide customer\n support services.\n \u003c/label\u003e\n \u003c/p\u003e\n \u003cp\u003e\n \u003clabel class=\"flex gap-2\"\u003e\n \u003cinput class=\"h-5\" required=\"required\" type=\"checkbox\" /\u003e\n I consent to sharing my voice and data derived from my voice with \n third-party service providers to train and improve our customer \n support models.\n \u003c/label\u003e\n \u003c/p\u003e\n \u003cp\u003e\n \u003clabel class=\"flex gap-2\"\u003e\n \u003cinput class=\"h-5\" required=\"required\" type=\"checkbox\" /\u003e\n I understand that if I do not consent to the collection as \n described above, ElevenLabs services cannot be provided to \n me.\n \u003c/label\u003e\n \u003c/p\u003e\n \u003c/form\u003e`;\n \n // Append widget to wrapper, then wrapper to body\n wrapper.appendChild(widget);\n document.body.appendChild(wrapper);\n})();\n"}],"mdxSourceWithNoJs":{"compiledSource":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {Fragment: _Fragment, jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n return _jsx(_Fragment, {});\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{"mintConfig":{"$schema":"https://mintlify.com/schema.json","name":"ElevenLabs","logo":{"light":"https://mintlify.s3-us-west-1.amazonaws.com/elevenlabs-docs/logo/favicon.png","dark":"https://mintlify.s3-us-west-1.amazonaws.com/elevenlabs-docs/logo/favicon.png"},"favicon":"/favicon.png","api":{"baseUrl":"https://api.elevenlabs.io","playground":{"mode":"show"}},"modeToggle":{"default":"light"},"colors":{"primary":"#312B41","light":"#4D9CFF","dark":"#0050B4"},"topbarCtaButton":{"name":"Go to elevenlabs.io","url":"https://elevenlabs.io/sign-up"},"topbarLinks":[{"url":"https://elevenlabs.io/blog","name":"Blog","_id":"6740a7541b2db4216c6dc3df"},{"url":"https://help.elevenlabs.io/","name":"Help Center","_id":"6740a7541b2db4216c6dc3e0"}],"navigation":[{"group":"Welcome","pages":["product/introduction"]},{"group":"Create","pages":[{"group":"Text to Speech (Speech Synthesis)","pages":["product/speech-synthesis/overview","product/speech-synthesis/voice-selection","product/speech-synthesis/voice-settings","product/speech-synthesis/models","product/speech-synthesis/prompting"]},{"group":"Speech to Speech (Voice Changer)","pages":["product/speech-synthesis/speech-to-speech"]},{"group":"Sound Effects","pages":["product/sound-effects/overview"]}]},{"group":"Voices","pages":["product/voices/overview","product/voices/default-voices","product/voices/voice-lab/voice-design",{"group":"Voice Cloning","pages":["product/voices/voice-lab/overview","product/voices/voice-lab/instant-voice-cloning","product/voices/voice-lab/professional-voice-cloning"]},{"group":"Voice Library","pages":["product/voices/voice-library/overview","product/voices/voice-library/sharing","product/voices/pvc-step-by-step-guide","product/voices/voice-library/payouts"]}]},{"group":"Workflows","pages":[{"group":"Projects","pages":["product/projects/overview"]},{"group":"Dubbing Studio","pages":["product/dubbing/overview","product/dubbing/studio"]},{"group":"Voiceover Studio","pages":["product/voiceover-studio/overview"]},{"group":"Audio Native","pages":["product/audio-native/overview",{"group":"Integration Guides","pages":["product/audio-native/audio-native-react","product/audio-native/ghost","product/audio-native/squarespace","product/audio-native/framer","product/audio-native/webflow","product/audio-native/wordpress","product/audio-native/wix","product/audio-native/substack"]}]}]},{"group":"Workspace","pages":["product/workspace/overview","product/workspace/sso_setup"]},{"group":"Troubleshooting","pages":["product/troubleshooting/overview"]},{"group":"Overview","pages":["developer-guides/quickstart","developer-guides/specifying-server-location","developer-guides/reducing-latency","developer-guides/models"]},{"group":"Text to Speech","pages":["developer-guides/how-to-use-tts-with-streaming","developer-guides/how-to-use-websocket","developer-guides/how-to-use-request-stitching","developer-guides/how-to-use-pronunciation-dictionaries","developer-guides/integrating-with-twilio"]},{"group":"Text to Sound Effects","pages":["developer-guides/how-to-use-text-to-sound-effects"]},{"group":"Dubbing","pages":["developer-guides/how-to-dub-a-video"]},{"group":"","pages":["developer-guides/github-examples"]},{"group":"","pages":["api-reference/overview"]},{"group":"SDK Libraries","pages":["api-reference/sdk-node","api-reference/sdk-python"]},{"group":"Text to Speech","pages":["api-reference/text-to-speech","api-reference/text-to-speech-with-timestamps","api-reference/streaming","api-reference/streaming-with-timestamps","api-reference/websockets"]},{"group":"Speech to Speech","pages":["api-reference/speech-to-speech","api-reference/speech-to-speech-streaming"]},{"group":"Sound Effects","pages":["api-reference/sound-generation"]},{"group":"Audio Isolation","pages":["api-reference/audio-isolation","api-reference/audio-isolation-stream"]},{"group":"History","pages":["api-reference/get-generated-items","api-reference/get-history-item-by-id","api-reference/delete-history-item","api-reference/get-audio-from-history-item","api-reference/download-history-items"]},{"group":"Samples","pages":["api-reference/delete-sample","api-reference/get-audio-from-sample"]},{"group":"User","pages":["api-reference/get-user-subscription-info","api-reference/get-user-info"]},{"group":"Voices","pages":["api-reference/get-voices","api-reference/get-default-voice-settings","api-reference/get-voice-settings","api-reference/get-voice","api-reference/delete-voice","api-reference/edit-voice-settings","api-reference/add-voice","api-reference/edit-voice"]},{"group":"Voice Design","pages":["api-reference/ttv-create-previews","api-reference/ttv-create-voice-from-preview"]},{"group":"Voice Library","pages":["api-reference/query-library","api-reference/add-shared-voice"]},{"group":"Projects","pages":["api-reference/get-projects","api-reference/get-project-by-id","api-reference/add-project","api-reference/delete-project","api-reference/convert-project","api-reference/get-project-snapshots","api-reference/stream-project-audio","api-reference/get-chapters","api-reference/get-chapter-by-id","api-reference/add-chapter","api-reference/delete-chapter","api-reference/convert-chapter","api-reference/get-chapter-snapshots","api-reference/stream-chapter-audio","api-reference/update-pronunciation-dictionaries"]},{"group":"Pronunciation Dictionaries","pages":["api-reference/pronunciation-dictionaries-add-from-file","api-reference/pronunciation-dictionaries-list","api-reference/pronunciation-dictionaries-id","api-reference/pronunciation-dictionaries-id-add-rules","api-reference/pronunciation-dictionaries-id-remove-rules","api-reference/pronunciation-dictionaries-id-version_id-download"]},{"group":"Models","pages":["api-reference/get-models"]},{"group":"Audio-native","pages":["api-reference/creates-audionative-enabled-project"]},{"group":"Dubbing","pages":["api-reference/create-dub","api-reference/get-dubbing-metadata","api-reference/get-dubbing-transcript","api-reference/get-dubbed-file","api-reference/delete-dub"]},{"group":"Workspace","pages":["api-reference/workspace-invite-user","api-reference/workspace-delete-invite","api-reference/workspace-update-member"]},{"group":"Usage","pages":["api-reference/usage-get-character-stats"]},{"group":"Voice Generation (Deprecated)","pages":["api-reference/generate-voice","api-reference/generate-voice-parameters"]},{"group":"","pages":["conversational-ai/docs/introduction"]},{"group":"Quickstart","pages":["conversational-ai/docs/agent-setup",{"group":"Build a Conversational App","icon":"browser","pages":["conversational-ai/guides/conversational-ai-guide-nextjs","conversational-ai/guides/conversational-ai-guide-vite"]},"conversational-ai/guides/conversational-ai-twilio"]},{"group":"Customization","pages":["conversational-ai/customization/tools","conversational-ai/customization/byollm","conversational-ai/customization/knowledge-base","conversational-ai/customization/conversation-configuration"]},{"group":"Libraries \u0026 SDKs","pages":["conversational-ai/libraries/conversational-ai-sdk-python","conversational-ai/libraries/conversational-ai-sdk-react","conversational-ai/libraries/conversational-ai-sdk-js","conversational-ai/libraries/conversational-ai-sdk-swift"]},{"group":"API Reference","pages":["conversational-ai/api-reference/websocket",{"group":"Agents","pages":["conversational-ai/api-reference/get-conversational-ai-agents","conversational-ai/api-reference/post-conversational-ai-agent","conversational-ai/api-reference/get-conversational-ai-agent","conversational-ai/api-reference/patch-conversational-ai-agent","conversational-ai/api-reference/delete-conversational-ai-agent"]},{"group":"Conversations","pages":["conversational-ai/api-reference/get-conversational-ai-conversations","conversational-ai/api-reference/get-conversational-ai-conversation","conversational-ai/api-reference/get-conversational-ai-conversation-audio","conversational-ai/api-reference/get-conversational-ai-signed-url"]},{"group":"Knowledge Base","pages":["conversational-ai/api-reference/get-conversational-ai-knowledge-base-document","conversational-ai/api-reference/post-conversational-ai-knowledge-base-document"]},{"group":"Widget","pages":["conversational-ai/api-reference/get-conversational-ai-widget","conversational-ai/api-reference/post-conversational-ai-widget-avatar"]}]},{"group":"Changelog","pages":["changelog/product-updates"]},{"group":"Step by step","pages":["product/guides/getting-started","product/guides/creating-the-account","product/guides/workspace","product/guides/landing-page","product/guides/voices","product/guides/speech-synthesis","product/guides/sound-effects","product/guides/projects","product/guides/dubbing","product/guides/voiceover-studio"]}],"primaryTab":{"name":"product"},"anchors":[{"name":"Community","url":"https://discord.gg/elevenlabs","icon":"discord","_id":"6740a7541b2db4216c6dc3dd"},{"name":"Documentation","url":"conversational-ai","icon":"comments","isDefaultHidden":true,"_id":"6740a7541b2db4216c6dc3de"}],"tabs":[{"name":"Product","url":"product","_id":"6740a7541b2db4216c6dc3d8"},{"name":"API Reference","url":"api-reference","_id":"6740a7541b2db4216c6dc3d9"},{"name":"Developer Guides","url":"developer-guides","_id":"6740a7541b2db4216c6dc3da"},{"name":"Conversational AI","url":"conversational-ai","_id":"6740a7541b2db4216c6dc3db"},{"name":"Changelog","url":"changelog","_id":"6740a7541b2db4216c6dc3dc"}],"feedback":{"thumbsRating":true,"suggestEdit":true,"raiseIssue":true},"analytics":{"koala":{"publicApiKey":"pk_0371fbac06f7717e0185d89c3f945127c125"},"ga4":{"measurementId":"G-82RG1PXYVW"},"posthog":{"apiKey":"phc_KQDh5IkRcTsPOoUtwmVxoATdOqNYCo0vTdwE77aNOQv","apiHost":"https://eu.i.posthog.com"}},"redirects":[{"destination":"/developer-guides/how-to-use-tts-with-streaming","source":"/api-reference/how-to-use-tts-with-streaming-in-python","_id":"6740a7541b2db4216c6dc3b9"},{"destination":"/developer-guides/reducing-latency","source":"/api-reference/reducing-latency","_id":"6740a7541b2db4216c6dc3ba"},{"destination":"/product/introduction","source":"/overview","_id":"6740a7541b2db4216c6dc3bb"},{"destination":"/product/projects/:slug*","source":"/projects/:slug*","_id":"6740a7541b2db4216c6dc3bc"},{"destination":"/product/sound-effects/:slug*","source":"/sound-effects/:slug*","_id":"6740a7541b2db4216c6dc3bd"},{"destination":"/product/speech-synthesis/:slug*","source":"/speech-synthesis/:slug*","_id":"6740a7541b2db4216c6dc3be"},{"destination":"/product/troubleshooting/:slug*","source":"/troubleshooting/:slug*","_id":"6740a7541b2db4216c6dc3bf"},{"destination":"/product/voiceover-studio/:slug*","source":"/voiceover-studio/:slug*","_id":"6740a7541b2db4216c6dc3c0"},{"destination":"/product/voices/:slug*","source":"/voices/:slug*","_id":"6740a7541b2db4216c6dc3c1"},{"destination":"/product/workspace/:slug*","source":"/workspace/:slug*","_id":"6740a7541b2db4216c6dc3c2"},{"destination":"/product/audio-native/:slug*","source":"/audio-native/:slug*","_id":"6740a7541b2db4216c6dc3c3"},{"destination":"/product/dubbing/:slug*","source":"/dubbing/:slug*","_id":"6740a7541b2db4216c6dc3c4"},{"destination":"/product/guides/:slug*","source":"/guides/:slug*","_id":"6740a7541b2db4216c6dc3c5"},{"destination":"/product/introduction","source":"/introduction","_id":"6740a7541b2db4216c6dc3c6"},{"destination":"/developer-guides/how-to-dub-a-video","source":"/api-reference/how-to-dub-a-video","_id":"6740a7541b2db4216c6dc3c7"},{"destination":"/developer-guides/how-to-use-pronounciation-dictionaries","source":"/api-reference/how-to-use-pronounciation-dictionaries","_id":"6740a7541b2db4216c6dc3c8"},{"destination":"/developer-guides/how-to-use-request-stitching","source":"/api-reference/how-to-use-request-stitching","_id":"6740a7541b2db4216c6dc3c9"},{"destination":"/developer-guides/how-to-use-text-to-sound-effects","source":"/api-reference/how-to-use-text-to-sound-effects","_id":"6740a7541b2db4216c6dc3ca"},{"destination":"/developer-guides/how-to-use-tts-with-streaming","source":"/api-reference/how-to-use-tts-with-streaming","_id":"6740a7541b2db4216c6dc3cb"},{"destination":"/developer-guides/how-to-use-websocket","source":"/api-reference/how-to-use-websocket","_id":"6740a7541b2db4216c6dc3cc"},{"destination":"/developer-guides/integrating-with-twilio","source":"/api-reference/integrating-with-twilio","_id":"6740a7541b2db4216c6dc3cd"},{"destination":"/developer-guides/specifying-server-location","source":"/api-reference/specifying-server-location","_id":"6740a7541b2db4216c6dc3ce"},{"destination":"/conversational-ai/docs","source":"/conversational-ai","_id":"6740a7541b2db4216c6dc3cf"},{"destination":"/conversational-ai/docs/introduction","source":"/product/conversational-ai/overview","_id":"6740a7541b2db4216c6dc3d0"},{"destination":"/conversational-ai/libraries/conversational-ai-sdk-python","source":"/libraries/conversational-ai-sdk-python","_id":"6740a7541b2db4216c6dc3d1"},{"destination":"/conversational-ai/libraries/conversational-ai-sdk-js","source":"/libraries/conversational-ai-sdk-js","_id":"6740a7541b2db4216c6dc3d2"},{"destination":"/conversational-ai/libraries/conversational-ai-sdk-react","source":"/libraries/conversational-ai-sdk-react","_id":"6740a7541b2db4216c6dc3d3"},{"destination":"/conversational-ai/libraries/conversational-ai-sdk-swift","source":"/libraries/conversational-ai-sdk-swift","_id":"6740a7541b2db4216c6dc3d4"},{"destination":"/conversational-ai/guides/conversational-ai-guide","source":"/developer-guides/conversational-ai-guide","_id":"6740a7541b2db4216c6dc3d5"},{"destination":"/conversational-ai/customization/tools","source":"/product/conversational-ai/tools","_id":"6740a7541b2db4216c6dc3d6"},{"destination":"/conversational-ai/docs","source":"/product/conversational-ai/*","_id":"6740a7541b2db4216c6dc3d7"}],"footerSocials":{"linkedin":"https://www.linkedin.com/company/elevenlabsio","twitter":"https://twitter.com/elevenlabsio","discord":"https://discord.gg/ZcPfAy3xSE","youtube":"https://www.youtube.com/channel/UC-ew9TfeD887qUSiWWAAj1w","github":"https://github.com/elevenlabs"},"repo":{"github":{"owner":"elevenlabs","repo":"elevenlabs-docs","contentDirectory":"","deployBranch":"main","isPrivate":false}}},"pageMetadata":{"title":"Text To Speech Streaming","description":"Converts text into speech using a voice of your choice and returns audio as an audio stream.","openapi":"post /v1/text-to-speech/{voice_id}/stream","href":"/api-reference/streaming"}}},"entitlements":{"AI_CHAT":{"status":"ENABLED"}}},"__N_SSG":true},"page":"/_sites/[subdomain]/[[...slug]]","query":{"subdomain":"elevenlabs-docs","slug":["api-reference","streaming"]},"buildId":"LMqDwuylxp2khh6TX4W2E","assetPrefix":"/docs","isFallback":false,"isExperimentalCompile":false,"gsp":true,"scriptLoader":[]}</script></html></body></html>

Pages: 1 2 3 4 5 6 7 8 9 10