### Authentication

**X-Hume-Api-Key**

API Key authentication via header

### Request

This endpoint expects a multipart form containing an optional file.

- **strip_headers** (boolean, Optional): If enabled, the audio for all the chunks of a generation, once concatenated together, will constitute a single audio file. Otherwise, if disabled, each chunk’s audio will be its own audio file, each with its own headers (if applicable).
- **audio** (file, Optional): Audio file containing speech to be converted to the target voice. Supported formats include `MP3`, `WAV`, `M4A`, and `OGG`.
- **context** (object or null, Optional): Utterances to use as context for generating consistent speech style and prosody across multiple requests. These will not be converted to speech output.

- **voice** (object, Optional)

- **format** (object, Optional, Defaults to `{"type":"mp3"}`): Specifies the output audio file format.

- **include_timestamp_types** (list of enums, Optional, Defaults to `[]`): The set of timestamp types to include in the response. When used in multipart/form-data, specify each value using bracket notation: `include_timestamp_types[0]=word&include_timestamp_types[1]=phoneme`. Only supported for Octave 2 requests. Allowed values: word, phoneme.

### Response

**Successful Response**

- **audio** (object): Metadata for a chunk of generated audio.

**OR**

- **timestamp** (object): A word or phoneme level timestamp for the generated audio.

### Errors

- **422**: Unprocessable Entity Error
