Voice Conversion (Streamed File) | Hume API
Authentication
X-Hume-Api-Key string
API Key authentication via header
Request
This endpoint expects a multipart form containing a 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 Required
Audio file containing speech to be converted to the target voice. Supported formats includeMP3,WAV,M4A, andOGG.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
Errors
- 422
Unprocessable Entity Error