curl --request PUT \
--url https://api.anam.ai/v1/voices/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"displayName": "<string>",
"providerModelId": "sonic-3",
"gender": "male",
"country": "<string>",
"description": "<string>"
}
'Update a voice by ID (display name and provider model ID can be updated)
curl --request PUT \
--url https://api.anam.ai/v1/voices/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"displayName": "<string>",
"providerModelId": "sonic-3",
"gender": "male",
"country": "<string>",
"description": "<string>"
}
'Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Voice ID
New display name for the voice
New provider model ID for the voice (e.g. sonic-3 for Cartesia, eleven_turbo_v2_5 for ElevenLabs)
"sonic-3"
Voice gender
male, female, neutral ISO 3166-1 alpha-2 country code
Voice description
Successfully updated voice
Was this page helpful?