Skip to main content

Usage guide

Setup, environment variables, and Python/JavaScript/Go usage examples.

HumeAITTS

Expressive text-to-speech with Hume AI Octave, using your own Hume key. Choose it when emotional tone and natural delivery matter. Authenticates with HUMEAI_API_KEY from your environment, or an explicit api_key.

Fields

Optional[str]
default:"UNSET"
Name of a Hume voice from the voice library or your own saved voices, e.g. “Serene Assistant”. Defaults to ‘Serene Assistant’.
float
default:"UNSET"
Speaking rate multiplier, where 1.0 is normal; lower is slower, higher is faster. Defaults to 1.0.
Literal['pcm', 'mp3', 'wav']
default:"UNSET"
Output audio format: “pcm”, “mp3” or “wav”. Defaults to ‘pcm’.
bool
default:"UNSET"
Lower-latency streaming that starts audio sooner. Requires a voice to be set. Defaults to True.