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
required

Text prompt describing the desired voice characteristics (e.g., ‘A deep, resonant male voice with a British accent, suitable for narration.’).

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"
}