text-to-dialogue
Text To Dialogue (Multi-Voice)
Changed onConverts a list of text and voice ID pairs into speech (dialogue) and returns audio.
post/v1/text-to-dialogue
Request
- Base URLhttps://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
- Authnone declared
Query parameters
enable_loggingboolean
When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers.
Headers
xi-api-keystring nullable
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Request body
Example request
{
"inputs": [
{
"text": "Hello, how are you?",
"voice_id": "bYTqZQo3Jz7LQtmGTgwi"
},
{
"text": "I'm doing well, thank you!",
"voice_id": "6lCwbsX1yVjD49QmpkTR"
}
],
"language_code": "en",
"settings": {
"stability": 0.5
},
"pronunciation_dictionary_locators": [
{
"pronunciation_dictionary_id": "test",
"version_id": "id2"
}
],
"seed": 12345,
"use_pvc_as_ivc": true
}Response
The generated audio file
Changes
- info
added the new optional request property
// - info
request property
deprecated
- info
- info
the
request property default valuefalsewas removed - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json
- info