- API Reference
- endpoint
- audio
Audio Voices
Audio Voices
GET /v1/audio/voices
List all voices
Offset pagination will not be supported anymore. Use GET /v2/audio/voices instead.
Parameters
limit
integerqueryMaximum number of voices to return
offset
integerqueryOffset for pagination
type
"all" | "custom" | "preset"queryFilter the voices between customs and presets
Responses
Successful Response
VoiceResponse
Schema for voice response
age
integer | nullcolor
string | nullcreated_at
date-time* requireddescription
string | nullgender
string | nullid
string* requiredkind
"ivc" | "pvc"languages
array<string>name
string* requiredretention_notice
integerDefault Value: 30
slug
string | nulltags
array<string> | nulltrimmed_seconds
number | nulltype
"preset" | "custom"* requireduser_id
string | null* requiredpage
integer* requiredpage_size
integer* requiredtotal
integer* requiredtotal_pages
integer* requiredPOST /v1/audio/voices
Create a new voice
Create a new voice with a base64-encoded audio sample
Request Example
{
"name": "ipsum eiusmod"
}
Request Body
Request model for creating a new voice with base64 audio.
age
integer | nullcolor
string | nulldescription
string | nullgender
"female" | "male" | "neutral"languages
array<string>Max Items: 16name
stringMin Length: 1Max Length: 128* requiredretention_notice
integerMin: 1Max: 365Default Value: 30
sample_audio
string | nullBase64-encoded audio file
sample_filename
string | nullOriginal filename for extension detection
tags
array<string> | nullResponses
Successful Response
age
integer | nullcolor
string | nullcreated_at
date-time* requireddescription
string | nullgender
string | nullid
string* requiredkind
"ivc" | "pvc"languages
array<string>name
string* requiredretention_notice
integerDefault Value: 30
slug
string | nulltags
array<string> | nulltrimmed_seconds
number | nulltype
"preset" | "custom"* requireduser_id
string | null* requiredGET /v1/audio/voices/{voice_id}
Get voice details
Get voice details (excluding sample)
Parameters
voice_id
stringpath* requiredResponses
Successful Response
age
integer | nullcolor
string | nullcreated_at
date-time* requireddescription
string | nullgender
string | nullid
string* requiredkind
"ivc" | "pvc"languages
array<string>name
string* requiredretention_notice
integerDefault Value: 30
slug
string | nulltags
array<string> | nulltrimmed_seconds
number | nulltype
"preset" | "custom"* requireduser_id
string | null* requiredDELETE /v1/audio/voices/{voice_id}
Delete a custom voice
Delete a custom voice
Parameters
voice_id
stringpath* requiredResponses
Successful Response
age
integer | nullcolor
string | nullcreated_at
date-time* requireddescription
string | nullgender
string | nullid
string* requiredkind
"ivc" | "pvc"languages
array<string>name
string* requiredretention_notice
integerDefault Value: 30
slug
string | nulltags
array<string> | nulltrimmed_seconds
number | nulltype
"preset" | "custom"* requireduser_id
string | null* requiredPATCH /v1/audio/voices/{voice_id}
Update voice metadata
Update voice metadata (name, gender, languages, age, tags, retention notice).
Parameters
voice_id
stringpath* requiredRequest Example
{}
Request Body
Request model for partially updating voice metadata.
age
integer | nulldescription
string | nullgender
"female" | "male" | "neutral"languages
array<string> | nullname
string | nullretention_notice
integer | nulltags
array<string> | nullResponses
Successful Response
age
integer | nullcolor
string | nullcreated_at
date-time* requireddescription
string | nullgender
string | nullid
string* requiredkind
"ivc" | "pvc"languages
array<string>name
string* requiredretention_notice
integerDefault Value: 30
slug
string | nulltags
array<string> | nulltrimmed_seconds
number | nulltype
"preset" | "custom"* requireduser_id
string | null* requiredGET /v1/audio/voices/{voice_id}/sample
Get voice sample audio
Get the audio sample for a voice
Parameters
voice_id
stringpath* requiredResponses
Successful Response
GET /v2/audio/voices
List voices, cursor-paginated
List voices, cursor-paginated
Parameters
page_size
integerqueryMaximum number of voices to return
page_token
string | nullqueryCursor returned as next_page_token by the previous page
type
"all" | "custom" | "preset"queryFilter the voices between customs and presets
gender
array<"female" | "male" | "neutral"> | nullqueryKeep voices matching any of these genders
language
array<string> | nullqueryKeep voices supporting any of these languages
query
string | nullqueryCase-insensitive match on voice name
kind
"ivc" | "pvc"queryKeep voices cloned with this technology
Responses
Successful Response
VoiceResponse
Schema for voice response
age
integer | nullcolor
string | nullcreated_at
date-time* requireddescription
string | nullgender
string | nullid
string* requiredkind
"ivc" | "pvc"languages
array<string>name
string* requiredretention_notice
integerDefault Value: 30
slug
string | nulltags
array<string> | nulltrimmed_seconds
number | nulltype
"preset" | "custom"* requireduser_id
string | null* requirednext_page_token
string | nullCursor for the next page, null on the last page