The default Gateway used in this guide is the public
Livepeer.cloud Gateway. It is free to use but
not intended for production-ready applications. For production-ready
applications, consider using the Livepeer Studio
Gateway, which requires an API token. Alternatively, you can set up your own
Gateway node or partner with one via the ai-video channel on
Discord.
Please note that the exact parameters, default values, and responses may vary
between models. For more information on model-specific parameters, please
refer to the respective model documentation available in the text-to-speech
pipeline. Not all parameters might be available
for a given model.
Authorizations
Authorization
string
header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
model_id
string
default:""
Hugging Face model ID used for text to speech generation.
text
string
default:""
Text input for speech generation.
description
string
default:A male speaker delivers a slightly expressive and animated speech with a moderate speed and pitch.
Description of speaker to steer text to speech generation.
Response
Successful Response
Response model for audio generation.
audio
MediaURL · object
required
The generated audio.
Show child attributes
Last modified on April 7, 2026
Was this page helpful?
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"Livepeer Docs","colors":{"primary":"#3CB540","light":"#2b9a66","dark":"#3CB540"},"logo":{"light":"https://mintcdn.com/na-36-fix-simplify-ubuntu-deps/tdgVQ14Wt8cgTvJN/snippets/assets/logos/light.svg?fit=max\u0026auto=format\u0026n=tdgVQ14Wt8cgTvJN\u0026q=85\u0026s=0d906cdf330039e031b052442e85a2da","dark":"https://mintcdn.com/na-36-fix-simplify-ubuntu-deps/tdgVQ14Wt8cgTvJN/snippets/assets/logos/dark.svg?fit=max\u0026auto=format\u0026n=tdgVQ14Wt8cgTvJN\u0026q=85\u0026s=92bdf3bd6b00b01c25499d14ff93ec2b"},"favicon":"/snippets/assets/logos/favicon/favicon.png","api":{"openapi":"api/openapi.yaml","mdx":{"server":"https://livepeer.studio/api"}},"appearance":{"default":"dark"},"navbar":{"links":[{"icon":"x-twitter","href":"https://twitter.com/Livepeer","label":""},{"icon":"github","href":"https://github.com/livepeer","label":""},{"icon":"discord","href":"https://discord.gg/livepeer","label":""}]},"footer":{"socials":{"website":"https://forum.livepeer.org","github":"https://github.com/livepeer","twitter":"https://twitter.com/livepeer","discord":"https://discord.gg/livepeer","linkedin":"https://www.linkedin.com/company/livepeer"}},"search":{"prompt":"Need help? Ask our AI"},"styling":{"codeblocks":{"theme":{"light":"github-light","dark":"dark-plus"}}},"integrations":{"ga4":{"measurementId":"G-P1Z15F6NX4"}},"errors":{"404":{"redirect":false,"title":"Ruh oh. This page doesn't exist.","description":"\u003cFrame>\u003cimg src=\"https://media0.giphy.com/media/v1.Y2lkPTc5MGI3NjExN2FteDJ4bno5MHU5Y3QxdGx3eWR2emdhejRhc2c1Y2d3ejY5ajlxMSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/Ju7l5y9osyymQ/giphy.gif\" alt=\"Rick Roll\" />\u003c/Frame>\u003cbr/>\u003cbr/>Sorry About That."}},"metadata":{"timestamp":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"na-36-fix-simplify-ubuntu-deps","hasAudioNarration":false,"actualSubdomain":"na-36-fix-simplify-ubuntu-deps","customDomains":[],"gitSource":{"type":"github","owner":"livepeer","repo":"docs","deployBranch":"fix/simplify-ubuntu-deps","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"}},"buildId":"69d4ec28fb8ada5118d94017:success","clientVersion":"0.0.4410","preview":{"mainDeploymentId":"64ba6ae116af7b43c2e91ffc","mainDeployment":{"subdomain":"na-36","customDomains":["docs.livepeer.org"],"basePath":""}},"searchFilterCounts":[]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"preview":{"mainDeploymentId":"64ba6ae116af7b43c2e91ffc","mainDeployment":{"subdomain":"na-36","customDomains":["docs.livepeer.org"],"basePath":""}},"editorBaseUrl":"https://app.mintlify.com/na-36/na-36/editor/fix%2Fsimplify-ubuntu-deps/~","googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"body{padding:0!important}:root{--lp-color-accent: #3cb540;--lp-color-accent-strong: #18794e;--lp-color-accent-soft: #6bbf59;--lp-color-accent-bright: #5dd662;--lp-color-accent-brightest: #a0f0a5;--lp-color-arbitrum: #3ea6f8;--lp-color-text-primary: #181c18;--lp-color-text-secondary: #717571;--lp-color-text-muted: #9ca3af;--lp-color-bg-page: #ffffff;--lp-color-bg-card: #f9fafb;--lp-color-bg-elevated: #f3f6f4;--lp-color-bg-subtle: rgba(24, 28, 24, 0.04);--lp-color-bg-overlay: rgba(12, 12, 12, 0.5);--lp-color-border-default: #e5e7eb;--lp-color-border-strong: rgba(24, 28, 24, 0.18);--lp-color-border-inverse: rgba(255, 255, 255, 0.5);--lp-color-on-accent: #ffffff;--lp-color-link: #18794e;--lp-color-link-hover: #004225;--lp-color-brand-discord: #5865f2;--lp-color-brand-forum: #00aeef;--lp-color-brand-github: #181c18;--lp-color-brand-x: #181c18;--lp-color-brand-globe: #00c0ff;--lp-color-brand-twitch: #9048ff;--lp-color-brand-youtube: #ff0034;--lp-color-brand-instagram: #dc2275;--lp-color-brand-linkedin: #0189df;--lp-color-brand-preview: #b636dd;--lp-color-brand-coming-soon: #ef1a73;--lp-color-status-good: #22c55e;--lp-color-status-warn: #fbbf24;--lp-color-status-bad: #ef4444;--lp-spacing-1: 0.25rem;--lp-spacing-2: 0.5rem;--lp-spacing-3: 0.75rem;--lp-spacing-4: 1rem;--lp-spacing-6: 1.5rem;--lp-spacing-8: 2rem;--lp-font-sans: 'Inter', 'Segoe UI', sans-serif;--lp-font-mono: 'SFMono-Regular', 'SF Mono', 'Menlo', monospace;--lp-radius-sm: 0.25rem;--lp-radius-md: 0.5rem;--lp-radius-lg: 0.75rem;--lp-shadow-card: 0 8px 24px rgba(24, 28, 24, 0.08);--lp-z-base: 1;--lp-z-overlay: 10;--lp-z-modal: 50;--accent: var(--lp-color-accent);--accent-dark: var(--lp-color-accent-strong);--hero-text: var(--lp-color-text-primary);--text: var(--lp-color-text-secondary);--text-secondary: var(--lp-color-text-secondary);--muted-text: var(--lp-color-text-muted);--background: var(--lp-color-bg-page);--card-background: var(--lp-color-bg-card);--background-highlight: var(--lp-color-bg-subtle);--border: var(--lp-color-border-default);--button-text: var(--lp-color-on-accent);--page-header-description-color: var(--lp-color-text-secondary);--arbitrum: var(--lp-color-arbitrum)}.dark{--lp-color-accent: #2b9a66;--lp-color-accent-strong: #18794e;--lp-color-accent-soft: #3cb540;--lp-color-accent-bright: #5dd662;--lp-color-accent-brightest: #7fe584;--lp-color-text-primary: #e0e4e0;--lp-color-text-secondary: #a0a4a0;--lp-color-text-muted: #6b7280;--lp-color-bg-page: #0d0d0d;--lp-color-bg-card: #1a1a1a;--lp-color-bg-elevated: #141a16;--lp-color-bg-subtle: rgba(255, 255, 255, 0.1);--lp-color-bg-overlay: rgba(0, 0, 0, 0.5);--lp-color-border-default: #333333;--lp-color-border-strong: rgba(255, 255, 255, 0.3);--lp-color-border-inverse: rgba(255, 255, 255, 0.5);--lp-color-on-accent: #ffffff;--lp-color-link: #5dd662;--lp-color-link-hover: #a0f0a5;--lp-color-brand-github: #f0f0f0;--accent: var(--lp-color-accent);--accent-dark: var(--lp-color-accent-strong);--hero-text: var(--lp-color-text-primary);--text: var(--lp-color-text-secondary);--text-secondary: var(--lp-color-text-secondary);--muted-text: var(--lp-color-text-muted);--background: var(--lp-color-bg-page);--card-background: var(--lp-color-bg-card);--background-highlight: var(--lp-color-bg-subtle);--border: var(--lp-color-border-default);--button-text: var(--lp-color-on-accent);--page-header-description-color: var(--lp-color-text-secondary);--arbitrum: var(--lp-color-arbitrum)}.nav-tabs{width:100%;justify-content:flex-start}@media (min-width: 1024px){#content-container:not(:has(.frame-mode-hero-full)):not(:has(.frame-mode-container)){padding-left:3rem!important;padding-right:3rem!important}#content-container:not(:has(.frame-mode-hero-full)):not(:has(.frame-mode-container))>.max-w-5xl{max-width:72rem!important}#content-container:has(.frame-mode-hero-full),#content-container:has(.frame-mode-container){padding-left:2rem!important;padding-right:2rem!important}#content-container:has(.frame-mode-hero-full)>.max-w-5xl,#content-container:has(.frame-mode-container)>.max-w-5xl{max-width:80rem!important}}#navbar>div.z-10.mx-auto.relative>div.hidden.lg\\:flex.px-12.h-12>div{column-gap:2rem!important}a.nav-tabs-item[href*=\"/internal/\"]{margin-left:1rem;margin-right:-1rem;padding-right:0;border-bottom-color:transparent!important}a.nav-tabs-item[href$=\"/resources/redirect\"],a.nav-tabs-item[href$=\"/resources/resources-portal\"],a.nav-tabs-item[href$=\"/07_resources/redirect\"],a.nav-tabs-item[href$=\"/07_resources/resources-portal\"]{margin-left:auto;background-color:transparent;border:1px solid var(--accent)!important;padding:4px 8px;border-radius:4px;font-size:0.7rem;height:auto!important;align-self:center;margin-right:-2rem}a.nav-tabs-item[href$=\"/resources/redirect\"] svg,a.nav-tabs-item[href$=\"/resources/resources-portal\"] svg,a.nav-tabs-item[href$=\"/07_resources/redirect\"] svg,a.nav-tabs-item[href$=\"/07_resources/resources-portal\"] svg,a.nav-tabs-item[href$=\"/07_resources/resources_hub\"] svg{height:0.75rem;width:0.75rem}a.nav-tabs-item[href$=\"/resources/redirect\"]>div:last-child,a.nav-tabs-item[href$=\"/resources/resources-portal\"]>div:last-child,a.nav-tabs-item[href$=\"/07_resources/redirect\"]>div:last-child,a.nav-tabs-item[href$=\"/07_resources/resources-portal\"]>div:last-child,a.nav-tabs-item[href$=\"/07_resources/resources_hub\"]>div:last-child{display:none}#footer .flex-col .flex.gap-4{flex-direction:column!important;gap:0rem!important}#footer>div{padding-top:2rem!important;padding-bottom:1rem!important}#chat-assistant-sheet[aria-hidden=\"true\"]{display:none!important}button.text-left.text-gray-600.text-sm.font-medium{min-height:24px;padding-top:4px;padding-bottom:4px}[data-component-part=\"card-content-container\"]{padding-right:2.5rem}.code-block>div>div>svg{background-color:#18794e!important}#error-description>span>div>div{border:1px solid #18794e!important}body>div.relative.antialiased.text-gray-500.dark\\:text-gray-400>div.peer-\\[\\.is-not-custom\\]\\:lg\\:flex.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>div\\:first-child\\]\\:\\!hidden.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>div\\:first-child\\]\\:sm\\:\\!hidden.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>div\\:first-child\\]\\:md\\:\\!hidden.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>div\\:first-child\\]\\:lg\\:\\!hidden.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>div\\:first-child\\]\\:xl\\:\\!hidden>div.flex.flex-col.items-center.justify-center.w-full.max-w-lg.overflow-x-hidden.mx-auto.py-48.px-5.text-center.\\*\\:text-center.gap-y-8.not-found-container>div{margin-top:-5rem}#error-description>span>div>div>div.relative.rounded-xl.overflow-hidden.flex.justify-center>img{width:500px;aspect-ratio:4 / 3;object-fit:cover}#content>div.steps.ml-3\\.5.mt-10.mb-6>div>div.w-full.overflow-hidden.pl-8.pr-px>p{color:#2b9a66!important}.dark .bg-white\\/\\[0\\.95\\].multi-view-dropdown-trigger{background-color:transparent!important;background:none!important}#table-of-contents-layout:empty,#content-side-layout:has(#table-of-contents-layout:empty){display:none}[data-docs-dynamic-table]{table-layout:fixed!important}[data-docs-styled-table-shell]>div{padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important}[data-docs-bordered-box]>:first-child{margin-top:0!important}[data-docs-bordered-box]>:last-child{margin-bottom:0!important}[data-docs-bordered-box][data-accent-bar]::before{content:\"\";position:absolute;top:0;bottom:0;left:0;width:4px;background-color:var(--accent-bar-color);border-radius:inherit;border-top-right-radius:0;border-bottom-right-radius:0}.frame-mode-container{width:calc(100% + 96px + 20px);margin-left:-96px;margin-right:-20px;margin-bottom:2rem;padding-left:15%;padding-right:15%;box-sizing:border-box}.frame-mode-hero-full .frame-mode-container{width:100%;margin-left:0;margin-right:0;padding-left:0%;padding-right:0%}[data-page-mode=\"frame\"] #pagination{width:calc(100% + 96px + 20px);margin-left:-96px;margin-right:-20px;padding-left:calc((100% + 96px + 20px) * 0.1 + 96px);padding-right:calc((100% + 96px + 20px) * 0.1 + 20px);box-sizing:border-box}.frame-mode-hero-full{width:calc(100% + 96px + 20px);margin-left:-96px;margin-right:-20px;position:relative}@media (max-width: 1023px){.frame-mode-container{width:100%;margin-left:0;margin-right:0;padding-left:1rem;padding-right:1rem}[data-page-mode=\"frame\"] #pagination{width:100%;margin-left:0;margin-right:0;padding-left:1rem;padding-right:1rem}.frame-mode-hero-full{width:100%;margin-left:0;margin-right:0}}#starfield{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}.frame-mode-hero-full [data-component-part=\"card-content-container\"]{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:2.5rem}.frame-mode-hero-full #card-link-arrow-icon{top:0.75rem;right:0.75rem}"}]}
{"page":{"pagePath":"v1/ai/api-reference/text-to-speech","slug":"/v1/ai/api-reference/text-to-speech","pageMetadata":{"openapi":"post /text-to-speech","title":"Text To Speech","description":"Generate a text-to-speech audio file based on the provided text input and speaker description.","href":"/v1/ai/api-reference/text-to-speech"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Generate a text-to-speech audio file based on the provided text input and speaker description.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,..._provideComponents(),...props.components},{Info,Note}=_components;if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[`The default Gateway used in this guide is the public\n`,_jsx(_components.a,{href:`https://www.livepeer.cloud/`,children:`Livepeer.cloud`}),` Gateway. It is free to use but\nnot intended for production-ready applications. For production-ready\napplications, consider using the `,_jsx(_components.a,{href:`https://livepeer.studio/`,children:`Livepeer Studio`}),`\nGateway, which requires an API token. Alternatively, you can set up your own\nGateway node or partner with one via the `,_jsx(_components.code,{children:`ai-video`}),` channel on\n`,_jsx(_components.a,{href:`https://discord.gg/livepeer`,children:`Discord`}),`.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Please note that the exact parameters, default values, and responses may vary\nbetween models. For more information on model-specific parameters, please\nrefer to the respective model documentation available in the `,_jsx(_components.a,{href:`/ai/pipelines/text-to-speech`,children:`text-to-speech\npipeline`}),`. Not all parameters might be available\nfor a given model.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"dark-plus"}},"config":{},"pageMetadata":{"openapi":"post /text-to-speech","title":"Text To Speech","description":"Generate a text-to-speech audio file based on the provided text input and speaker description.","href":"/v1/ai/api-reference/text-to-speech"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/na-36-fix-simplify-ubuntu-deps/86044cb4146efff0/snippets/components/integrators/feeds/contractVerifierData.js","/_mintlify/custom/na-36-fix-simplify-ubuntu-deps/943f25bb7ac7d121/snippets/data/contract-addresses/view-model.js","/_mintlify/custom/na-36-fix-simplify-ubuntu-deps/298086d7bf262a7f/snippets/data/gateways/configuration-flags.js","/_mintlify/custom/na-36-fix-simplify-ubuntu-deps/ce2de808f20bf288/snippets/data/social-feeds/transformers/filterVideos.js","/_mintlify/custom/na-36-fix-simplify-ubuntu-deps/cd0b73bc6b3814c0/v2/about/protocol/data/blockchain-contracts-addresses.js","/_mintlify/custom/na-36-fix-simplify-ubuntu-deps/15325830a8aed988/v2/about/protocol/data/blockchain-contracts-links.js"],"openApiReferenceData":{"operation":{"tags":["generate"],"summary":"Text To Speech","description":"Generate a text-to-speech audio file based on the provided text input and speaker description.","operationId":"genTextToSpeech","requestBody":"021ac1c0-dd9f-4176-b1ae-6e7454dd3e22","responses":{"200":"00b566f2-bb5f-42aa-9133-67b1a1fa56b5","400":"81b345e5-5e17-4c3d-b95e-cf4077aced9c","401":"ae6457fd-90cb-445c-b795-46c79ab4eb0e","422":"59b7dcaf-b735-4f46-abae-67e4ccdf3eb7","500":"c46bad60-d095-411e-a2e1-000369d0ce8a"},"security":["4f86c7ca-75a5-4241-a065-33a088095b3a"],"x-speakeasy-name-override":"textToSpeech","method":"post","type":"path","servers":["e9f8074a-af9e-4bb6-9f6b-4ad43082e93f","eb982e28-96f9-4f62-ab84-b5972b1c3c09"],"path":"/text-to-speech","baseUrlOptions":["https://dream-gateway.livepeer.cloud","https://livepeer.studio/api/beta/generate"],"title":"Text To Speech","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"model_id":{"type":"string","title":"Model Id","description":"Hugging Face model ID used for text to speech generation.","default":"","uniqueKey":"model_id","typeLabel":"string"},"text":{"type":"string","title":"Text","description":"Text input for speech generation.","default":"","uniqueKey":"text","typeLabel":"string"},"description":{"type":"string","title":"Description","description":"Description of speaker to steer text to speech generation.","default":"A male speaker delivers a slightly expressive and animated speech with a moderate speed and pitch.","uniqueKey":"description","typeLabel":"string"}},"type":"object","title":"TextToSpeechParams","uniqueKey":"","typeLabel":"TextToSpeechParams · object"},"examples":{"Example":{"title":"Example","value":{"model_id":"","text":"","description":"A male speaker delivers a slightly expressive and animated speech with a moderate speed and pitch."}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"00b566f2-bb5f-42aa-9133-67b1a1fa56b5":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"audio":{"type":"object","title":"MediaURL","description":"The generated audio.","required":["url"],"properties":{"url":{"type":"string","title":"Url","description":"The URL where the media can be accessed.","isRequired":true,"uniqueKey":"audio.url","typeLabel":"string"}},"isRequired":true,"uniqueKey":"audio","typeLabel":"MediaURL · object"}},"type":"object","required":["audio"],"title":"AudioResponse","description":"Response model for audio generation.","x-speakeasy-name-override":"data","uniqueKey":"","typeLabel":"AudioResponse · object"},"examples":{"Example":{"title":"Example","value":{"audio":{"url":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"81b345e5-5e17-4c3d-b95e-cf4077aced9c":{"description":"Bad Request","content":{"application/json":{"schema":{"properties":{"detail":{"type":"object","title":"APIError","description":"Detailed error information.","required":["msg"],"properties":{"msg":{"type":"string","title":"Msg","description":"The error message.","isRequired":true,"uniqueKey":"detail.msg","typeLabel":"string"}},"isRequired":true,"uniqueKey":"detail","typeLabel":"APIError · object"}},"type":"object","required":["detail"],"title":"HTTPError","description":"HTTP error response model.","uniqueKey":"","typeLabel":"HTTPError · object"},"examples":{"Example":{"title":"Example","value":{"detail":{"msg":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"ae6457fd-90cb-445c-b795-46c79ab4eb0e":{"description":"Unauthorized","content":{"application/json":{"schema":{"properties":{"detail":{"type":"object","title":"APIError","description":"Detailed error information.","required":["msg"],"properties":{"msg":{"type":"string","title":"Msg","description":"The error message.","isRequired":true,"uniqueKey":"detail.msg","typeLabel":"string"}},"isRequired":true,"uniqueKey":"detail","typeLabel":"APIError · object"}},"type":"object","required":["detail"],"title":"HTTPError","description":"HTTP error response model.","uniqueKey":"","typeLabel":"HTTPError · object"},"examples":{"Example":{"title":"Example","value":{"detail":{"msg":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"59b7dcaf-b735-4f46-abae-67e4ccdf3eb7":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"c46bad60-d095-411e-a2e1-000369d0ce8a":{"description":"Internal Server Error","content":{"application/json":{"schema":{"properties":{"detail":{"type":"object","title":"APIError","description":"Detailed error information.","required":["msg"],"properties":{"msg":{"type":"string","title":"Msg","description":"The error message.","isRequired":true,"uniqueKey":"detail.msg","typeLabel":"string"}},"isRequired":true,"uniqueKey":"detail","typeLabel":"APIError · object"}},"type":"object","required":["detail"],"title":"HTTPError","description":"HTTP error response model.","uniqueKey":"","typeLabel":"HTTPError · object"},"examples":{"Example":{"title":"Example","value":{"detail":{"msg":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"4f86c7ca-75a5-4241-a065-33a088095b3a":{"HTTPBearer":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"e9f8074a-af9e-4bb6-9f6b-4ad43082e93f":{"url":"https://dream-gateway.livepeer.cloud","description":"Livepeer Cloud Community Gateway"},"eb982e28-96f9-4f62-ab84-b5972b1c3c09":{"url":"https://livepeer.studio/api/beta/generate","description":"Livepeer Studio Gateway"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"HTTPBearer","name":"Authorization"}],"title":"HTTPBearer"}]},"originalFileLocation":"api/ai-worker.yaml"},"subdomain":"na-36-fix-simplify-ubuntu-deps","siteName":"Livepeer Docs","title":"Text To Speech - Livepeer Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"v1":{"href":"/v1/ai/api-reference/text-to-speech","matchLevel":0},"v2":{"href":"/v2/home/mission-control","matchLevel":4}},"firstHrefInLanguage":{"en":{"href":"/v1/ai/api-reference/text-to-speech","matchLevel":0}}},"lastModified":"2026-04-07T11:40:38.357Z","originalFileLocation":"v1/ai/api-reference/text-to-speech.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Generate a text-to-speech audio file based on the provided text input and speaker description.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Livepeer Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex, nofollow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Text To Speech - Livepeer Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate a text-to-speech audio file based on the provided text input and speaker description.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Livepeer Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://na-36-fix-simplify-ubuntu-deps.mintlify.app/v1/ai/api-reference/text-to-speech\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://na-36-fix-simplify-ubuntu-deps.mintlify.site/_mintlify/api/og/v2?division=AI+API+Reference\u0026amp;title=Text+To+Speech\u0026amp;description=Generate+a+text-to-speech+audio+file+based+on+the+provided+text+input+and+speaker+description.\u0026amp;theme=a301ca5c19b322b9a5838d85\u0026amp;signature=3ec38de76cf535102ac266901a9d088325e803dbf1043d6948fe1e4c6d02cdfb\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Text To Speech - Livepeer Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate a text-to-speech audio file based on the provided text input and speaker description.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://na-36-fix-simplify-ubuntu-deps.mintlify.site/_mintlify/api/og/v2?division=AI+API+Reference\u0026amp;title=Text+To+Speech\u0026amp;description=Generate+a+text-to-speech+audio+file+based+on+the+provided+text+input+and+speaker+description.\u0026amp;theme=a301ca5c19b322b9a5838d85\u0026amp;signature=3ec38de76cf535102ac266901a9d088325e803dbf1043d6948fe1e4c6d02cdfb\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Livepeer Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3CB540\">\u003clink data-mint-head rel=\"canonical\" href=\"https://na-36-fix-simplify-ubuntu-deps.mintlify.app/v1/ai/api-reference/text-to-speech\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v1/ai/api-reference/text-to-speech.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Livepeer Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Livepeer Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/v1/ai/api-reference/text-to-speech.md","siteName":"Livepeer Docs","nav":{"global":null,"versions":[{"version":"v1","default":true,"languages":[{"language":"en","dropdowns":[{"dropdown":"Developers","icon":"code","anchors":[{"anchor":"Documentation","icon":"code","pages":[{"title":"Documentation","href":"/v1/developers/introduction"}]},{"anchor":"API Reference","icon":"rectangle-terminal","pages":[{"title":"API Reference","href":"/v1/api-reference/overview/introduction"}]},{"anchor":"SDKs","icon":"brackets-curly","pages":[{"title":"SDKs","href":"/v1/sdks/introduction"}]},{"anchor":"AI Video (Beta)","icon":{"style":"regular","name":"microchip-ai"},"groups":[{"group":"AI Video","pages":[{"title":"What is Livepeer AI?","icon":"microchip-ai","iconType":"regular","href":"/v1/ai/introduction"},{"title":"What's New","icon":"rocket","url":"https://livepeer-ai.productlane.com/changelog","href":"/v1/ai/whats-new"},{"group":"AI Pipelines","icon":{"style":"solid","name":"wand-magic-sparkles"},"pages":[{"title":"Overview","href":"/v1/ai/pipelines/overview"},{"title":"Audio-to-Text","href":"/v1/ai/pipelines/audio-to-text"},{"title":"Image-to-Image","href":"/v1/ai/pipelines/image-to-image"},{"title":"Image-to-Text","href":"/v1/ai/pipelines/image-to-text"},{"title":"Image-to-Video","href":"/v1/ai/pipelines/image-to-video"},{"title":"LLM","href":"/v1/ai/pipelines/llm"},{"title":"Segment-Anything-2","href":"/v1/ai/pipelines/segment-anything-2"},{"title":"Text-to-Image","href":"/v1/ai/pipelines/text-to-image"},{"title":"Text-to-Speech","href":"/v1/ai/pipelines/text-to-speech"},{"title":"Upscale","href":"/v1/ai/pipelines/upscale"}]},{"group":"Setup an AI Orchestrator","icon":{"style":"solid","name":"robot"},"pages":[{"title":"Get Started","href":"/v1/ai/orchestrators/get-started"},{"title":"Configuring AI Models","href":"/v1/ai/orchestrators/models-config"},{"title":"Download AI Models","href":"/v1/ai/orchestrators/models-download"},{"title":"Start your AI Orchestrator","href":"/v1/ai/orchestrators/start-orchestrator"},{"title":"Attach Remote AI Workers","href":"/v1/ai/orchestrators/ai-worker"},{"title":"Perform Benchmarking","href":"/v1/ai/orchestrators/benchmarking"},{"title":"On-chain Setup","href":"/v1/ai/orchestrators/onchain"}]},{"group":"Setup an AI Gateway","icon":{"style":"solid","name":"signal-stream"},"pages":[{"title":"Get Started","href":"/v1/ai/gateways/get-started"},{"title":null,"href":"/v1/ai/gateways/start-gateway"},{"title":null,"href":"/v1/ai/gateways/onchain"}]},{"group":"AI Builders","icon":{"style":"solid","name":"screwdriver-wrench"},"pages":[{"title":"Building on Livepeer AI","href":"/v1/ai/builders/get-started"},{"title":"AI Gateways","href":"/v1/ai/builders/gateways"},{"title":"Showcase","href":"/v1/ai/builders/showcase"}]},{"group":"How to Contribute","icon":{"style":"solid","name":"heart"},"pages":[{"title":"Get Started","href":"/v1/ai/contributors/coming-soon"}]},{"group":"SDKs","icon":"brackets-curly","pages":[{"title":"AI SDKs","sidebarTitle":"Overview","href":"/v1/ai/sdks/overview"},{"title":"Go","icon":"golang","href":"/v1/ai/sdks/go"},{"title":"JavaScript","icon":"js","href":"/v1/ai/sdks/javascript"},{"title":"Python","icon":"python","href":"/v1/ai/sdks/python"}]},{"group":"AI API Reference","icon":"rectangle-terminal","pages":[{"title":"Introduction","href":"/v1/ai/api-reference/overview"},{"openapi":"post /audio-to-text","title":"Audio To Text","href":"/v1/ai/api-reference/audio-to-text"},{"openapi":"post /image-to-image","title":"Image To Image","href":"/v1/ai/api-reference/image-to-image"},{"openapi":"post /image-to-text","title":"Image To Text","href":"/v1/ai/api-reference/image-to-text"},{"openapi":"post /image-to-video","title":"Image To Video","href":"/v1/ai/api-reference/image-to-video"},{"openapi":"post /llm","title":"LLM","href":"/v1/ai/api-reference/llm"},{"openapi":"post /segment-anything-2","title":"Segment Anything 2","href":"/v1/ai/api-reference/segment-anything-2"},{"openapi":"post /text-to-image","title":"Text To Image","description":"Generate images from text prompts.","href":"/v1/ai/api-reference/text-to-image"},{"openapi":"post /text-to-speech","title":"Text To Speech","href":"/v1/ai/api-reference/text-to-speech"},{"openapi":"post /upscale","title":"Upscale","description":"Upscale an image by increasing its resolution.","href":"/v1/ai/api-reference/upscale"}]}]}]},{"anchor":" ","icon":"horizontal-rule"},{"anchor":"Livepeer Studio ➚","icon":"clapperboard-play","href":"https://livepeer.studio"},{"anchor":"What's New ➚","icon":"rocket","href":"https://livepeer.canny.io/changelog"},{"anchor":"Community ➚","icon":{"style":"brands","name":"discord"},"href":"https://discord.gg/livepeer"}]},{"dropdown":"Delegators","icon":"coins","anchors":[{"anchor":"Documentation","icon":"code","pages":[{"title":"Documentation","href":"/v1/delegators/introduction"}]},{"anchor":"API Reference","icon":"rectangle-terminal","pages":[{"title":"API Reference","href":"/v1/api-reference/overview/introduction"}]},{"anchor":"SDKs","icon":"brackets-curly","pages":[{"title":"SDKs","href":"/v1/sdks/introduction"}]},{"anchor":"AI Video (Beta)","icon":{"style":"regular","name":"microchip-ai"},"groups":[{"group":"AI Video","pages":[{"title":"What is Livepeer AI?","icon":"microchip-ai","iconType":"regular","href":"/v1/ai/introduction"},{"title":"What's New","icon":"rocket","url":"https://livepeer-ai.productlane.com/changelog","href":"/v1/ai/whats-new"},{"group":"AI Pipelines","icon":{"style":"solid","name":"wand-magic-sparkles"},"pages":[{"title":"Overview","href":"/v1/ai/pipelines/overview"},{"title":"Audio-to-Text","href":"/v1/ai/pipelines/audio-to-text"},{"title":"Image-to-Image","href":"/v1/ai/pipelines/image-to-image"},{"title":"Image-to-Text","href":"/v1/ai/pipelines/image-to-text"},{"title":"Image-to-Video","href":"/v1/ai/pipelines/image-to-video"},{"title":"LLM","href":"/v1/ai/pipelines/llm"},{"title":"Segment-Anything-2","href":"/v1/ai/pipelines/segment-anything-2"},{"title":"Text-to-Image","href":"/v1/ai/pipelines/text-to-image"},{"title":"Text-to-Speech","href":"/v1/ai/pipelines/text-to-speech"},{"title":"Upscale","href":"/v1/ai/pipelines/upscale"}]},{"group":"Setup an AI Orchestrator","icon":{"style":"solid","name":"robot"},"pages":[{"title":"Get Started","href":"/v1/ai/orchestrators/get-started"},{"title":"Configuring AI Models","href":"/v1/ai/orchestrators/models-config"},{"title":"Download AI Models","href":"/v1/ai/orchestrators/models-download"},{"title":"Start your AI Orchestrator","href":"/v1/ai/orchestrators/start-orchestrator"},{"title":"Attach Remote AI Workers","href":"/v1/ai/orchestrators/ai-worker"},{"title":"Perform Benchmarking","href":"/v1/ai/orchestrators/benchmarking"},{"title":"On-chain Setup","href":"/v1/ai/orchestrators/onchain"}]},{"group":"Setup an AI Gateway","icon":{"style":"solid","name":"signal-stream"},"pages":[{"title":"Get Started","href":"/v1/ai/gateways/get-started"},{"title":null,"href":"/v1/ai/gateways/start-gateway"},{"title":null,"href":"/v1/ai/gateways/onchain"}]},{"group":"AI Builders","icon":{"style":"solid","name":"screwdriver-wrench"},"pages":[{"title":"Building on Livepeer AI","href":"/v1/ai/builders/get-started"},{"title":"AI Gateways","href":"/v1/ai/builders/gateways"},{"title":"Showcase","href":"/v1/ai/builders/showcase"}]},{"group":"How to Contribute","icon":{"style":"solid","name":"heart"},"pages":[{"title":"Get Started","href":"/v1/ai/contributors/coming-soon"}]},{"group":"SDKs","icon":"brackets-curly","pages":[{"title":"AI SDKs","sidebarTitle":"Overview","href":"/v1/ai/sdks/overview"},{"title":"Go","icon":"golang","href":"/v1/ai/sdks/go"},{"title":"JavaScript","icon":"js","href":"/v1/ai/sdks/javascript"},{"title":"Python","icon":"python","href":"/v1/ai/sdks/python"}]},{"group":"AI API Reference","icon":"rectangle-terminal","pages":[{"title":"Introduction","href":"/v1/ai/api-reference/overview"},{"openapi":"post /audio-to-text","title":"Audio To Text","href":"/v1/ai/api-reference/audio-to-text"},{"openapi":"post /image-to-image","title":"Image To Image","href":"/v1/ai/api-reference/image-to-image"},{"openapi":"post /image-to-text","title":"Image To Text","href":"/v1/ai/api-reference/image-to-text"},{"openapi":"post /image-to-video","title":"Image To Video","href":"/v1/ai/api-reference/image-to-video"},{"openapi":"post /llm","title":"LLM","href":"/v1/ai/api-reference/llm"},{"openapi":"post /segment-anything-2","title":"Segment Anything 2","href":"/v1/ai/api-reference/segment-anything-2"},{"openapi":"post /text-to-image","title":"Text To Image","description":"Generate images from text prompts.","href":"/v1/ai/api-reference/text-to-image"},{"openapi":"post /text-to-speech","title":"Text To Speech","href":"/v1/ai/api-reference/text-to-speech"},{"openapi":"post /upscale","title":"Upscale","description":"Upscale an image by increasing its resolution.","href":"/v1/ai/api-reference/upscale"}]}]}]},{"anchor":" ","icon":"horizontal-rule"},{"anchor":"Livepeer Studio ➚","icon":"clapperboard-play","href":"https://livepeer.studio"},{"anchor":"What's New ➚","icon":"rocket","href":"https://livepeer.canny.io/changelog"},{"anchor":"Community ➚","icon":{"style":"brands","name":"discord"},"href":"https://discord.gg/livepeer"}]},{"dropdown":"Orchestrators","icon":"microchip","anchors":[{"anchor":"Documentation","icon":"code","pages":[{"title":"Documentation","href":"/v1/orchestrators/introduction"}]},{"anchor":"API Reference","icon":"rectangle-terminal","pages":[{"title":"API Reference","href":"/v1/api-reference/overview/introduction"}]},{"anchor":"SDKs","icon":"brackets-curly","pages":[{"title":"SDKs","href":"/v1/sdks/introduction"}]},{"anchor":"AI Video (Beta)","icon":{"style":"regular","name":"microchip-ai"},"groups":[{"group":"AI Video","pages":[{"title":"What is Livepeer AI?","icon":"microchip-ai","iconType":"regular","href":"/v1/ai/introduction"},{"title":"What's New","icon":"rocket","url":"https://livepeer-ai.productlane.com/changelog","href":"/v1/ai/whats-new"},{"group":"AI Pipelines","icon":{"style":"solid","name":"wand-magic-sparkles"},"pages":[{"title":"Overview","href":"/v1/ai/pipelines/overview"},{"title":"Audio-to-Text","href":"/v1/ai/pipelines/audio-to-text"},{"title":"Image-to-Image","href":"/v1/ai/pipelines/image-to-image"},{"title":"Image-to-Text","href":"/v1/ai/pipelines/image-to-text"},{"title":"Image-to-Video","href":"/v1/ai/pipelines/image-to-video"},{"title":"LLM","href":"/v1/ai/pipelines/llm"},{"title":"Segment-Anything-2","href":"/v1/ai/pipelines/segment-anything-2"},{"title":"Text-to-Image","href":"/v1/ai/pipelines/text-to-image"},{"title":"Text-to-Speech","href":"/v1/ai/pipelines/text-to-speech"},{"title":"Upscale","href":"/v1/ai/pipelines/upscale"}]},{"group":"Setup an AI Orchestrator","icon":{"style":"solid","name":"robot"},"pages":[{"title":"Get Started","href":"/v1/ai/orchestrators/get-started"},{"title":"Configuring AI Models","href":"/v1/ai/orchestrators/models-config"},{"title":"Download AI Models","href":"/v1/ai/orchestrators/models-download"},{"title":"Start your AI Orchestrator","href":"/v1/ai/orchestrators/start-orchestrator"},{"title":"Attach Remote AI Workers","href":"/v1/ai/orchestrators/ai-worker"},{"title":"Perform Benchmarking","href":"/v1/ai/orchestrators/benchmarking"},{"title":"On-chain Setup","href":"/v1/ai/orchestrators/onchain"}]},{"group":"Setup an AI Gateway","icon":{"style":"solid","name":"signal-stream"},"pages":[{"title":"Get Started","href":"/v1/ai/gateways/get-started"},{"title":null,"href":"/v1/ai/gateways/start-gateway"},{"title":null,"href":"/v1/ai/gateways/onchain"}]},{"group":"AI Builders","icon":{"style":"solid","name":"screwdriver-wrench"},"pages":[{"title":"Building on Livepeer AI","href":"/v1/ai/builders/get-started"},{"title":"AI Gateways","href":"/v1/ai/builders/gateways"},{"title":"Showcase","href":"/v1/ai/builders/showcase"}]},{"group":"How to Contribute","icon":{"style":"solid","name":"heart"},"pages":[{"title":"Get Started","href":"/v1/ai/contributors/coming-soon"}]},{"group":"SDKs","icon":"brackets-curly","pages":[{"title":"AI SDKs","sidebarTitle":"Overview","href":"/v1/ai/sdks/overview"},{"title":"Go","icon":"golang","href":"/v1/ai/sdks/go"},{"title":"JavaScript","icon":"js","href":"/v1/ai/sdks/javascript"},{"title":"Python","icon":"python","href":"/v1/ai/sdks/python"}]},{"group":"AI API Reference","icon":"rectangle-terminal","pages":[{"title":"Introduction","href":"/v1/ai/api-reference/overview"},{"openapi":"post /audio-to-text","title":"Audio To Text","href":"/v1/ai/api-reference/audio-to-text"},{"openapi":"post /image-to-image","title":"Image To Image","href":"/v1/ai/api-reference/image-to-image"},{"openapi":"post /image-to-text","title":"Image To Text","href":"/v1/ai/api-reference/image-to-text"},{"openapi":"post /image-to-video","title":"Image To Video","href":"/v1/ai/api-reference/image-to-video"},{"openapi":"post /llm","title":"LLM","href":"/v1/ai/api-reference/llm"},{"openapi":"post /segment-anything-2","title":"Segment Anything 2","href":"/v1/ai/api-reference/segment-anything-2"},{"openapi":"post /text-to-image","title":"Text To Image","description":"Generate images from text prompts.","href":"/v1/ai/api-reference/text-to-image"},{"openapi":"post /text-to-speech","title":"Text To Speech","href":"/v1/ai/api-reference/text-to-speech"},{"openapi":"post /upscale","title":"Upscale","description":"Upscale an image by increasing its resolution.","href":"/v1/ai/api-reference/upscale"}]}]}]},{"anchor":" ","icon":"horizontal-rule"},{"anchor":"Livepeer Studio ➚","icon":"clapperboard-play","href":"https://livepeer.studio"},{"anchor":"What's New ➚","icon":"rocket","href":"https://livepeer.canny.io/changelog"},{"anchor":"Community ➚","icon":{"style":"brands","name":"discord"},"href":"https://discord.gg/livepeer"}]},{"dropdown":"Gateways","icon":"torii-gate","anchors":[{"anchor":"Documentation","icon":"code","pages":[{"title":"Documentation","href":"/v1/gateways/introduction"}]},{"anchor":"API Reference","icon":"rectangle-terminal","pages":[{"title":"API Reference","href":"/v1/api-reference/overview/introduction"}]},{"anchor":"SDKs","icon":"brackets-curly","pages":[{"title":"SDKs","href":"/v1/sdks/introduction"}]},{"anchor":"AI Video (Beta)","icon":{"style":"regular","name":"microchip-ai"},"groups":[{"group":"AI Video","pages":[{"title":"What is Livepeer AI?","icon":"microchip-ai","iconType":"regular","href":"/v1/ai/introduction"},{"title":"What's New","icon":"rocket","url":"https://livepeer-ai.productlane.com/changelog","href":"/v1/ai/whats-new"},{"group":"AI Pipelines","icon":{"style":"solid","name":"wand-magic-sparkles"},"pages":[{"title":"Overview","href":"/v1/ai/pipelines/overview"},{"title":"Audio-to-Text","href":"/v1/ai/pipelines/audio-to-text"},{"title":"Image-to-Image","href":"/v1/ai/pipelines/image-to-image"},{"title":"Image-to-Text","href":"/v1/ai/pipelines/image-to-text"},{"title":"Image-to-Video","href":"/v1/ai/pipelines/image-to-video"},{"title":"LLM","href":"/v1/ai/pipelines/llm"},{"title":"Segment-Anything-2","href":"/v1/ai/pipelines/segment-anything-2"},{"title":"Text-to-Image","href":"/v1/ai/pipelines/text-to-image"},{"title":"Text-to-Speech","href":"/v1/ai/pipelines/text-to-speech"},{"title":"Upscale","href":"/v1/ai/pipelines/upscale"}]},{"group":"Setup an AI Orchestrator","icon":{"style":"solid","name":"robot"},"pages":[{"title":"Get Started","href":"/v1/ai/orchestrators/get-started"},{"title":"Configuring AI Models","href":"/v1/ai/orchestrators/models-config"},{"title":"Download AI Models","href":"/v1/ai/orchestrators/models-download"},{"title":"Start your AI Orchestrator","href":"/v1/ai/orchestrators/start-orchestrator"},{"title":"Attach Remote AI Workers","href":"/v1/ai/orchestrators/ai-worker"},{"title":"Perform Benchmarking","href":"/v1/ai/orchestrators/benchmarking"},{"title":"On-chain Setup","href":"/v1/ai/orchestrators/onchain"}]},{"group":"Setup an AI Gateway","icon":{"style":"solid","name":"signal-stream"},"pages":[{"title":"Get Started","href":"/v1/ai/gateways/get-started"},{"title":null,"href":"/v1/ai/gateways/start-gateway"},{"title":null,"href":"/v1/ai/gateways/onchain"}]},{"group":"AI Builders","icon":{"style":"solid","name":"screwdriver-wrench"},"pages":[{"title":"Building on Livepeer AI","href":"/v1/ai/builders/get-started"},{"title":"AI Gateways","href":"/v1/ai/builders/gateways"},{"title":"Showcase","href":"/v1/ai/builders/showcase"}]},{"group":"How to Contribute","icon":{"style":"solid","name":"heart"},"pages":[{"title":"Get Started","href":"/v1/ai/contributors/coming-soon"}]},{"group":"SDKs","icon":"brackets-curly","pages":[{"title":"AI SDKs","sidebarTitle":"Overview","href":"/v1/ai/sdks/overview"},{"title":"Go","icon":"golang","href":"/v1/ai/sdks/go"},{"title":"JavaScript","icon":"js","href":"/v1/ai/sdks/javascript"},{"title":"Python","icon":"python","href":"/v1/ai/sdks/python"}]},{"group":"AI API Reference","icon":"rectangle-terminal","pages":[{"title":"Introduction","href":"/v1/ai/api-reference/overview"},{"openapi":"post /audio-to-text","title":"Audio To Text","href":"/v1/ai/api-reference/audio-to-text"},{"openapi":"post /image-to-image","title":"Image To Image","href":"/v1/ai/api-reference/image-to-image"},{"openapi":"post /image-to-text","title":"Image To Text","href":"/v1/ai/api-reference/image-to-text"},{"openapi":"post /image-to-video","title":"Image To Video","href":"/v1/ai/api-reference/image-to-video"},{"openapi":"post /llm","title":"LLM","href":"/v1/ai/api-reference/llm"},{"openapi":"post /segment-anything-2","title":"Segment Anything 2","href":"/v1/ai/api-reference/segment-anything-2"},{"openapi":"post /text-to-image","title":"Text To Image","description":"Generate images from text prompts.","href":"/v1/ai/api-reference/text-to-image"},{"openapi":"post /text-to-speech","title":"Text To Speech","href":"/v1/ai/api-reference/text-to-speech"},{"openapi":"post /upscale","title":"Upscale","description":"Upscale an image by increasing its resolution.","href":"/v1/ai/api-reference/upscale"}]}]}]},{"anchor":" ","icon":"horizontal-rule"},{"anchor":"Livepeer Studio ➚","icon":"clapperboard-play","href":"https://livepeer.studio"},{"anchor":"What's New ➚","icon":"rocket","href":"https://livepeer.canny.io/changelog"},{"anchor":"Community ➚","icon":{"style":"brands","name":"discord"},"href":"https://discord.gg/livepeer"}]}]}]},{"version":"v2","default":false,"pages":[{"title":"v2","href":"/v2/home/mission-control"}]}]},"basePath":"","title":"Text To Speech - Livepeer Docs","deploymentId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","buildId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3","6d89261695"],"chunks":["OpenApiReferenceProvider-DUG0fxZu.js","snippetPresets-Ba5aWAdQ.js","utils-GxQLQihZ.js","style-to-object-BY3JEAdk.js","utils-WKMM_gjD.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Bo9LYdaA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DwYjaFhs.js","_Uint8Array-DDE2Hehm.js","isObject-FP1Yky1u.js","ApiExamples-DhR-5ORn.js","usePlaygroundInputsStore-BaYqfAgH.js","shallow-BC7UwQwD.js","isEqual-gcN6MEQu.js","CodeSnippets-B8P54LrN.js","CodeSnippet-Czwn5OJE.js","use-playground-group-access-C3A6I116.js","Page-CUkc1DBo.js","api-description-markdown-CDE0Fpj5.js","DynamicMarkdown-F4EfLno9.js","SectionHeading-DMe18In2.js","MethodPill-CW7tTaiB.js","getPastedJson-DB5smC0Q.js","Check2Icon-DDdveNjm.js","axios-CsQoIw0U.js","Markdown-BLge-GTN.js","AssistantPageLink-BFI2wFhH.js","dist-C1RpOC6K.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","preview-widget-OgaTV5RT.js"]}