Generate Voice Previews From Description
Generate custom voice previews based on provided voice description. The response includes a list of voice previews, each containing an id and a sample of the voice audio. If you like the voice preview and want to create a permanent voice, call /v1/text-to-voice/create-voice-from-preview
with the corresponding voice id.
Follow our Voice Design Prompt Guide for best results.
When you hit generate, we’ll create three voice previews. You will be charged credits equal to the length of the text you submit (you are charged this amount once per call, even though you receive three voice previews). “Text” should be no less than 100 characters and no more than 1k characters.
Headers
Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.
Body
Description to use for the created voice.
Text to generate, text length has to be between 100 and 1000.
100 - 1000
Response
Was this page helpful?