Text-to-Speech (File) | Hume API

Authentication

X-Hume-Api-Key string

API Key authentication via header

Request

This endpoint expects an object.

A list of Utterances to be converted to speech output.

An Utterance is a unit of input for Octave, and includes input text, an optional description to serve as the prompt for how the speech should be delivered, an optional voice specification, and additional controls to guide delivery for speed and trailing_silence.

Utterances to use as context for generating consistent speech style and prosody across multiple requests. These will not be converted to speech output.

Specifies the output audio file format.

The set of timestamp types to include in the response. Only supported for Octave 2 requests.

Allowed values: word, phoneme

Number of audio generations to produce from the input utterances.

Controls how audio output is segmented in the response.

If enabled, the audio for all the chunks of a generation, once concatenated together, will constitute a single audio file.

Sampling temperature for the speech generation model. Higher values increase variation; lower values increase consistency.

Selects the Octave model version used to synthesize speech for this request.

Enables ultra-low latency streaming, significantly reducing the time until the first audio chunk is received.

Response

OK

Errors

422

Unprocessable Entity Error