GET
/v1/schemas/elevenlabs/audio/v1%2Ftext-to-voice
Accept:
Request body
5 properties · 3 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| voice_name* | string | Name to use for the created voice. | |
| voice_description* | string | Description to use for the created voice. | length ≥ 20 · length ≤ 1000 |
| generated_voice_id* | string | The generated_voice_id to create; obtain it from POST /v1/text-to-voice/design, POST /v1/text-to-voice/:voice_id/remix, or the response headers when generating previews. | |
| labels | object | Optional, metadata to add to the created voice. Defaults to None. | nullable |
| played_not_selected_voice_ids | string[] | List of voice ids that the user has played but not selected. Used for RLHF. | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"elevenlabs","endpointId":"v1/text-to-voice","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}