Skip to main content
POST
Python

Authorizations

Authorization
string
header
required

Body

multipart/form-data
audio_url
string
required

Input audio URL (supported format: YouTube URL).

Example:

"https://example.com/audio.wav"

voice_id
string
required

The ID of the voice model to use for voice transformation.

Example:

"demo-voice-id"

audio_file
file

Audio file to upload and process. Either audio_file or audio_url must be provided.

pitch
integer
default:0

Pitch adjustment for the voice. Range from -12 to 12. Default: 0

Required range: -12 <= x <= 12
webhook_url
string

A URL where the result will be sent once processing is completed.

Example:

"https://example.com/callback"

Response

Successful response

success
boolean
task_id
string
conversion_id
string
eta
integer