Skip to main content
POST
/
v1
/
voice
/
clones
Create a cloned voice
curl --request POST \
  --url https://api.pyai.com/v1/voice/clones \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'name=<string>' \
  --form file='@example-file'
{
  "id": "<string>",
  "object": "voice",
  "name": "<string>"
}

Authorizations

Authorization
string
header
required

Use Authorization: Bearer pyai_live_... (or pyai_test_...).

Body

multipart/form-data
name
string
required
file
file
required

Reference audio (>= 10s recommended).

Response

Created voice

id
string
object
string
Example:

"voice"

name
string
status
enum<string>
Available options:
pending,
ready,
failed