Generate speech audio from text using various voices and optional background sounds.

Model

higgsfield-ai/tts

Parameters

ParameterTypeRequiredDescription
voice_idstringYesVoice ID
promptstringYesText to convert to speech
sound_idstringNoBackground sound ID
similarity_boostintegerNoVoice similarity 0-100 (default 90)
styleintegerNoVoice style/expressiveness 0-100 (default 60)
speednumberNoSpeech speed 0-1.2 (default 1.1)
stabilityintegerNoVoice stability 0-100 (default 30)

Example

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "higgsfield-ai/tts",
    "input": {
      "voice_id": "1YxkwUwGY4H3slvZUBRhXW",
      "prompt": "Hello, this is a test of text to speech generation.",
      "sound_id": "DwUP9LmFKqHsvvWQkjLE6",
      "similarity_boost": 90,
      "style": 60,
      "speed": 1.1,
      "stability": 30
    }
  }'

Response

{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "pending"
  }
}

Resources

Get available voices and sounds from the Resources API:
  • Voices: GET /v1/resources/higgsfield-ai/voices
  • Sounds: GET /v1/resources/higgsfield-ai/sounds

Voice Categories

Available categories for filtering voices:
  • emotions
  • stream
  • car talk
  • podcast
  • vlog
  • forum
  • coaching
  • reporter
  • selling
  • beauty
  • professions
  • other

Pricing

$0.05 per generation