Skip to main content
POST
/
v3
/
voices
/
clone
Clone a Voice
curl --request POST \
  --url https://api.heygen.com/v3/voices/clone \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "audio": {
    "type": "<string>",
    "url": "<string>"
  },
  "voice_name": "<string>",
  "language": "<string>",
  "remove_background_noise": true
}
'
{
  "data": {
    "voice_clone_id": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

HeyGen API key. Obtain from your HeyGen dashboard.

Body

application/json

Request body for POST /v3/voices/clone.

audio
AssetUrl · object
required

Asset input via publicly accessible HTTPS URL.

voice_name
string
required

Display name for the cloned voice.

Required string length: 1 - 100
language
string | null

Language hint for the voice (e.g., 'en', 'es'). Auto-detected if omitted.

remove_background_noise
boolean
default:true

Remove background noise from the audio before cloning.

Response

Successful response

data
VoiceCloneCreateV3Response · object

Response for POST /v3/voices/clone.