POST
/
v0
/
assistant
/
voice
/
design
/
preview
curl --request POST \
  --url 'https://api.unify.ai/v0/assistant/voice/design/preview' \
  --header "Authorization: Bearer $UNIFY_KEY" \
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "info": "object"
}
Generates voice design previews from a text description.

Authorizations

Authorization
string
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

voice_description
string | null
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.
bio
string | null
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.
text
string | null
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.
auto_generate_text
boolean | null
Optional: Whether to automatically generate a text suitable for the voice description if ‘text’ is not provided. Defaults to false by ElevenLabs.
model_id
string | null
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 '{}'
{
    "info": "object"
}