POST
/
convert-voice
curl --request POST \
  --url https://api.musicfy.lol/v1/convert-voice \
  --header 'Content-Type: multipart/form-data' \
  --form pitch_shift=0 \
  --form formant_shift=1.1 \
  --form isolate_vocals=true \
  --form background_pitch_shift=0 \
  --form background_formant_shift=1.1 \
  --form voice_id=c06b8712-2854-4170-b6f5-11b28817d8b3
[
  [
    {
      "file_url": "https://audio.musicfy.lol/file_id",
      "type": "vocals"
    },
    {
      "file_url": "https://audio.musicfy.lol/file_id",
      "type": "instrumental"
    },
    {
      "file_url": "https://audio.musicfy.lol/file_id",
      "type": "combined"
    }
  ]
]

Body

multipart/form-data
file
file
pitch_shift
string
formant_shift
string
isolate_vocals
string
background_pitch_shift
string
default:
0

Pitch shift of the background music. Only applies if isolate_vocals is true. Range between -12 and 12.

background_formant_shift
string
default:
1

Formant shift of the background music. Only applies if isolate_vocals is true. Range between 0.1 and 2.0

voice_id
string

Response

200 - application/json
Successful Response
file_url
string
type
string