Skip to main content
POST
Add voice

Headers

x-api-key
string | null

Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.

Body

multipart/form-data
name
string
required

The name that identifies this voice. This will be displayed in the dropdown of the website.

Example:

"John Smith"

files
file[]
required

A list of file paths to audio recordings intended for voice cloning.

remove_background_noise
boolean
default:false

If set will remove background noise for voice samples using our audio isolation model. If the samples do not include background noise, it can make the quality worse.

Example:

true

description
string | null

A description of the voice.

Example:

"An old American male voice with a slight hoarseness in his throat. Perfect for news."

labels

Labels for the voice. Keys can be language, accent, gender, or age.

Example:

"{\"language\": \"en\", \"accent\": \"en-US\", \"gender\": \"male\", \"age\": \"middle-aged\"}"

Response

Successful Response

voice_id
string
required

The ID of the newly created voice.

requires_verification
boolean
required

Whether the voice requires verification