POST
/
v1
/
tts
/
clone-voice
curl --request POST \
  --url https://api.puretalk.ai/api/v1/tts/clone-voice \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-API-KEY: <api-key>' \
  --form 'name=My Cloned Voice' \
  --form 'description=American Female' \
  --form language=en \
  --form gender=female
{
  "msg": "Voice cloned successfully",
  "err": false,
  "results": {
    "voice_id": "70756ba9-cfdd-4108-84de-3a24d3f86b34"
  }
}

Authorizations

X-API-KEY
string
header
required

Body

multipart/form-data
audio_clip
file
required

Audio file containing the voice sample to clone (Supported formats: WAV, MP3, M4A)

name
string
required

A descriptive name for the cloned voice

language
enum<string>
default:
en
required

Language of the voice

Available options:
en,
fr,
de,
es,
pt,
zh,
ja,
hi,
it,
ko,
nl,
pl,
ru,
sv,
tr
gender
enum<string>
required

Gender of the voice

Available options:
male,
female
description
string

Additional details about the voice characteristics

Response

200
application/json
Voice cloned successfully
msg
string
err
boolean
results
object