cURL
curl --request POST \ --url https://api.topmediai.com/v1/voice_change \ --header 'Content-Type: multipart/form-data' \ --form voice_id=123 \ --form mode=123 \ --form 'file=<string>' \ --form file.0='@example-file'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Use your files to do a voice change and return the audio.
Voice ID
Mode corresponding to sound ID
File stream
Successful Response