Create voice

Saves a new custom voice to your account using the specified TTS generation ID.

Once saved, this voice can be reused in subsequent TTS requests, ensuring consistent speech style and prosody. For more details on voice creation, see the Voices Guide.

Headers

X-Hume-Api-KeystringRequired

Request

This endpoint expects an object.
generation_idstringRequired

A unique ID associated with this TTS generation that can be used as context for generating consistent speech style and prosody across multiple requests.

namestringRequired

Name of the voice in the Voice Library.

Response

Successful Response

idstringOptional

ID of the voice in the Voice Library.

namestringOptional

Name of the voice in the Voice Library.

providerenumOptional

The provider associated with the created voice.

Voices created through this endpoint will always have the provider set to CUSTOM_VOICE, indicating a custom voice stored in your account.

Allowed values:

Errors