Skip to main content
PUT
/
voice
Update an existing voice prompt
curl --request PUT \
  --url https://restapi.deepdub.ai/api/v1/voice \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "age": 35,
  "gender": "MALE",
  "id": "vp_12345abcde",
  "locale": "en-US",
  "name": "Professional Female Voice"
}
'
{
  "createdAt": "<string>",
  "id": "<string>",
  "locale": "<string>",
  "name": "<string>",
  "speakerId": "<string>",
  "text": "<string>",
  "title": "<string>"
}

Headers

x-api-key
string
required

API Key

Body

application/json

Voice update request

age
integer

Age of the voice speaker

Example:

35

gender
string

Gender of the voice speaker (male, female, non-binary)

Example:

"MALE"

id
string

Unique identifier for the voice prompt

Example:

"vp_12345abcde"

locale
string

Language locale code (e.g., en-US, fr-FR)

Example:

"en-US"

name
string

Display name for the voice prompt

Example:

"Professional Female Voice"

Response

model.Response with updated prompt details

Response returned after successfully updating a voice prompt's metadata

createdAt
string

Timestamp when the voice prompt was created

id
string

Unique identifier for the voice prompt

locale
string

Locale of the voice prompt (e.g., en-US, fr-FR)

name
string

Name of the voice prompt

speakerId
string

Unique identifier for the speaker

text
string

Text content associated with the voice prompt

title
string

Title of the voice prompt