Voices
API Key Required
The Ultravox API requires an API key. For more details see Authentication.
Your AI can speak to your end users in different voices. At the moment we only support two voices but we have plans to build this out soon. Please let us know what types of voices you need for your apps.
List Voices
GET /voicesLists all available voices. Includes voices that are provided by the Ultravox service along with any voices you have created.
cursor | (Optional) Pagination cursor. |
None |
name | string | The name of the voice. This is the value to pass in for voice when creating a call. |
description | string | Text description for the voice. |
previewUrl | string | URL for an audio preview of the voice. |
Create (Clone) Voice
POST /voicesCreate a new cloned voice. Any created voices are private to your account.
Uses multipart/form-data encoding to provide the name of the voice along with an audio file containing the voice to be used for cloning.
None |
file required | audio file | A file that contains the audio to use for creating the cloned voice. |
name required | string | The name of the voice. Can contain letters, numbers, underscore, or hyphen. Maximum of 64 characters. |
description | string | (Optional) Description for the voice. |
voice_id | string | UUID for the created voice. Pass in as voice when creating a new call to use this voice. |
name | string | The name of the voice. This is the value to pass in for voice when creating a call. |
description | string | Text description for the voice. |
previewUrl | string | URL for an audio preview of the voice. Currently always null for cloned voices. |
Examples
List All Available Voices
Response
Create (Clone) Voice
Response