Voice design API
Create a custom voice from a description.
Send POST /voices with voices:write scope and kind: "design".
name is required, with a maximum of 80 characters. description is required, with a maximum of 1,000 characters. Optional preview_text is limited to 500 characters.
Describe vocal qualities rather than requesting an unauthorized imitation of a real person. Listen to the preview before adopting the voice for a production.
Successful creation returns 201 with a voice resource ID and the charged credits. Creation and preview are billed together; later speech generation is a separate operation. Use the ID with the Speech Cloning model in POST /speech.
Use the same idempotency key and request body when retrying after a timeout. Give a genuinely new voice request a new key.