Generates voice design previews from a text description.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Text prompt describing the desired voice characteristics (e.g., ‘A deep, resonant male voice with a British accent, suitable for narration.’). If bio is provided, this field can be used to add more specific voice instructions. At least one of bio or voice_description should be provided.
A biography or background of the character to generate a voice description from. Used with voice_description to generate a richer prompt for the TTS provider. At least one of bio or voice_description should be provided.
Optional: Text to be spoken in the generated voice previews. If not provided, and auto_generate_text is false, ElevenLabs might use a default or generic text.
Optional: Whether to automatically generate a text suitable for the voice description if ‘text’ is not provided. Defaults to false by ElevenLabs.
Optional: Model to use for voice generation.
curl --request POST \
--url 'https://api.unify.ai/v0/assistant/voice/design/preview' \
--header "Authorization: Bearer $UNIFY_KEY" \
--header 'Content-Type: application/json' \
--data '{}'