Skip to main content
PATCH
/
api
/
v1
/
voice
/
clone
/
{voiceId}
Update a cloned voice
const options = {
  method: 'PATCH',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: JSON.stringify({name: '<string>', description: '<string>', language: '<string>', labels: {}})
};

fetch('https://blackbox.dasha.ai/api/v1/voice/clone/{voiceId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "id": "<string>",
  "provider": "ElevenLabs",
  "category": "Public",
  "name": "<string>",
  "voiceId": "<string>",
  "description": "<string>",
  "language": "<string>",
  "labels": {},
  "previewUrl": "<string>",
  "createdTime": "2023-11-07T05:31:56Z",
  "lastUpdatedTime": "2023-11-07T05:31:56Z"
}

Path Parameters

voiceId
string
required

Unique identifier of the voice to update

Body

Partial voice data with fields to update

PATCH DTO for updating voice metadata

name
string | null

Updated name for the voice

Required string length: 1 - 100
description
string | null

Updated description of voice characteristics

Required string length: 1 - 1000
language
string | null

Updated primary language for the voice

labels
object

Updated custom metadata labels

Response

Returns the updated voice object

Response DTO for TTS voice cloning operations

id
string
required

Unique identifier for the voice

Minimum string length: 1
provider
enum<string>
required

TTS provider (ElevenLabs, Cartesia, Dasha, Inworld, Lmnt)

Available options:
ElevenLabs,
Cartesia,
Dasha,
Inworld,
Lmnt
category
enum<string>
required

Voice category (Public or Cloned)

Available options:
Public,
Cloned
name
string | null

Display name of the voice

voiceId
string | null

Voice ID used for synthesis

description
string | null

Description of voice characteristics

language
string | null

Primary language for the voice

labels
object

Custom metadata labels

previewUrl
string | null

URL for voice preview audio

createdTime
string<date-time> | null

Timestamp when voice was created

lastUpdatedTime
string<date-time> | null

Timestamp when voice was last updated