Skip to main content
POST
cURL

Authorizations

X-API-KEY
string
header
required

API key for authentication. You can obtain an API key from the Typecast API Console.

Body

multipart/form-data

Multipart request body for instant cloning.

file
file
required

Audio sample. WAV or MP3, max 25 MB, 5-150 seconds.

name
string
required

Voice name (1-30 characters).

Required string length: 1 - 30
model
enum<string>
required

Engine model to clone the voice for.

Available options:
ssfm-v21,
ssfm-v30

Response

Successful Response - Custom voice created

Response of POST /v1/voices/clone — custom voice metadata returned by instant cloning.

voice_id
string
required

Custom voice identifier with the uc_ prefix. Use this value as voice_id in POST /v1/text-to-speech and other endpoints that accept voice_id.

Example:

"uc_64a1b2c3d4e5f6a7b8c9d0e1"

name
string
required

Human-readable voice name (1-30 characters).

model
enum<string>
required

Engine model the voice was cloned for (ssfm-v21 or ssfm-v30).

Available options:
ssfm-v30,
ssfm-v21