GET
/v1/schemas/elevenlabs/audio/v1%2Ftext-to-dialogue
Accept:
Request body
7 properties · 1 required · 3 $defs| property | type | description | constraints |
|---|---|---|---|
| inputs* | DialogueInput[] | A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. For reliable generation, keep the total character count across all `inputs[].text` values at or below 2,000 charac… | |
| model_id | string | 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_v3" |
| language_code | string | Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support the provided language code, it will be ignored. This parameter is not supported for multilingual_v2 models. | nullable |
| settings | ModelSettingsResponseModel | Settings controlling the dialogue generation. | nullable |
| pronunciation_dictionary_locators | PronunciationDictionaryVersionLocatorRequestModel[] | 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 | nullable |
| seed | integer | 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. Must be integer between 0 and 4294967295. | nullable |
| apply_text_normalization | enum | 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 applie… | auto | on | off · default: "auto" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"elevenlabs","endpointId":"v1/text-to-dialogue","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}