Skip to main content
PUT
/
voice
Update a voice prompt
curl --request PUT \
  --url https://restapi.deepdub.ai/api/v1/voice \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "id": "vp_12345abcde"
}
'
{
  "prompt": {
    "id": "vp_12345abcde",
    "title": "Professional Narrator",
    "name": "Professional Female Voice",
    "locale": "en-US",
    "text": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "speakerId": "<string>",
    "gender": "FEMALE",
    "speakingStyle": "narrative"
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication. Must start with dd- prefix.

Headers

x-api-key
string
default:dd-00000000000000000000000065c9cbfe
required

API Key

Body

application/json

Voice update request. Only non-empty fields will be updated.

Request to update a voice prompt's metadata

id
string
required

Unique identifier for the voice prompt to update

Example:

"vp_12345abcde"

name
string

New display name for the voice prompt

Example:

"Professional Female Voice"

locale
string

Language locale code

Example:

"en-US"

gender
enum<string>

Gender of the speaker

Available options:
MALE,
FEMALE,
NON_BINARY
Example:

"FEMALE"

age
integer

Age of the speaker

Example:

35

Response

Voice prompt updated successfully

prompt
object

A voice prompt representing a cloned or uploaded voice