PUT
/
voices
/
{id}
curl --request PUT \
  --url https://api.voxia.ai/voices/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "isMultilingual": true,
  "supportedLocales": [
    "<string>"
  ],
  "settings": {
    "stability": 0.5,
    "similarity_boost": 0.5,
    "style": 0,
    "use_speaker_boost": false
  }
}'
{
  "id": "<string>",
  "voiceId": "<string>",
  "name": "<string>",
  "organizationId": "<string>",
  "settings": {
    "stability": 0.8,
    "style": 0.3
  },
  "isMultilingual": true,
  "supportedLocales": [
    "<string>"
  ],
  "ttsClient": "<string>"
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

ID of the voice to update

Body

application/json
Payload for updating the voice
name
string
Minimum length: 5
isMultilingual
boolean
supportedLocales
string[]
settings
object

Response

200
application/json
The updated Voice object
id
string
required

The ID of the voice

voiceId
string
required

The provider-specific voice ID

name
string
required

The name of the voice

isMultilingual
boolean
required

Indicates if the voice supports multiple languages

supportedLocales
string[]
required

Array of supported locale strings

ttsClient
string
required

Identifier for the TTS (text-to-speech) client

organizationId
string

The organization ID that owns this voice

settings
object

Additional settings stored in JSON format

Example:
{ "stability": 0.8, "style": 0.3 }