eleven_turbo_v2_5
A high-quality text-to-speech model offering natural-sounding intonation, support for 31 languages, and a broad selection of built-in voices. Up to 3Ă— faster than eleven_multilingual_v2. A wide range of output audio formats and quality settings is also available.
Setup your API Key
If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.
API Schema
Bearer key
The text content to be converted to speech.
Name of the voice to be used.
RachelPossible values: 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.
The text that comes after the text of the current request. Can be used to improve the speech's continuity when concatenating together multiple generations or to influence the speech's continuity in the current generation.
The text that came before the text of the current request. Can be used to improve the speech's continuity when concatenating together multiple generations or to influence the speech's continuity in the current generation.
Format of the output content for non-streaming requests. Controls how the generated audio data is encoded in the response.
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.
Code Example
Last updated
Was this helpful?