POST
/
convert
curl --location --request POST 'https://api.revocalize.ai/convert' \
--header 'Content-Type: multipart/form-data' \
--header 'Authorization: Bearer <token>' \
--form 'audio=@/path_to_audio_file.wav'
--form 'model=andra'
--form 'transpose=0'
--form 'generations_count=4'
{
  "task_id": "123456"
}

Request

audio_file
file
required

The input vocal audio file. The maximum allowed file size is 100MB. The recommended audio format is WAV. Other audio formats may be supported, but the results may be less accurate.

model
string
required

The ID of the AI voice model used for conversion. Fetch the available models for your organization from the /models API endpoint. The available demo models are:

  1. andra
  2. nicole_cherry
  3. marius_moga
  4. sebastian_dobrincu
transpose
integer
default: "0"

The number of semitones to transpose the vocals. The default value is 0. The allowed range is -12 to 12.

generations_count
integer
default: "1"

The number of generations to create. The default value is 1. The allowed range is 1 to 10.

Response

task_id
string

ID of the conversion task. Use it to check the status of the conversion task.