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
application/json
Name to use for the created voice.
Examples:
"Little squeaky mouse"
Description to use for the created voice.
Required string length:
20 - 1000Examples:
"A sassy little squeaky mouse"
The generated_voice_id to create, call POST /v1/voice-generation/generate-voice and fetch the generated_voice_id from the response header if don't have one yet.
Examples:
"37HceQefKmEi3bGovXjL"
Optional, metadata to add to the created voice. Defaults to None.
Examples:
{ "language": "en" }List of voice ids that the user has played but not selected. Used for RLHF.
Response
Successful Response
Available options:
generated, cloned, premade, professional, famous, high_quality Available options:
NONE, BAN, CAPTCHA, CAPTCHA_AND_MODERATION, ENTERPRISE_BAN, ENTERPRISE_CAPTCHA