Generate A Random Voice

Deprecated
POST
/v1/voice-generation/generate-voice

Generate a random voice based on parameters. This method returns a generated_voice_id in the response header, and a sample of the voice in the body. If you like the generated voice call /v1/voice-generation/create-voice with the generated_voice_id to create the voice.

Request

This endpoint expects an object.
gender"male" or "female"Required
Allowed values: malefemale

Category code corresponding to the gender of the generated voice. Possible values: female, male.

accentstringRequired

Category code corresponding to the accent of the generated voice. Possible values: british, american, african, australian, indian.

ageenumRequired
Allowed values: youngmiddle_agedold

Category code corresponding to the age of the generated voice. Possible values: young, middle_aged, old.

accent_strengthdoubleRequired

The strength of the accent of the generated voice. Has to be between 0.3 and 2.0.

textstringRequired>=100 characters<=1000 characters

Text to generate, text length has to be between 100 and 1000.

Response

Successful Response

Built with