PUT
/
v1
/
ai
/
voice
/
{id}
curl --request PUT \
  --url https://api.lmnt.com/v1/ai/voice/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "description": "<string>",
  "gender": "<string>",
  "name": "<string>",
  "starred": true,
  "unfreeze": true
}'
{
  "voice": {
    "description": "<string>",
    "gender": "<string>",
    "id": "<string>",
    "name": "<string>",
    "owner": "system",
    "starred": true,
    "state": "<string>",
    "type": "instant"
  }
}

Got an error that your voice was frozen?

We are constantly improving and releasing our speech models. Professional voices that are not being used will not be upgraded automatically and will enter a frozen state.

Make a request to this endpoint with "unfreeze": true to upgrade it to the latest model.

Instant voices always use the latest model and are never frozen.

Authorizations

X-API-Key
string
header
required

Your API key; get it from your LMNT account page.

Path Parameters

id
string
required

The id of the voice to update, which can be retrieved by a call to List voices.

Body

application/json

Response

200
application/json
OK

The response is of type object.