POST
/
v1
/
custom-voices
/
cloned-voice
cURL
curl -X POST "http://api.apne2.stg.sup.band/v1/custom-voices/cloned-voice" \
  -H "x-sup-api-key: <api-key>" \
  -F "files=@<audio-file>.wav;type=audio/wav" \
  -F "name=<voice-name>"
{
  "voice_id": "voice_123456789"
}

Request Body Field Descriptions

FieldRequiredDescription
filesAudio file(s) to be used for voice cloning
nameName of the voice
descriptionDescription of the voice

Notes

  • files must be WAV or MP3 files under 3MB.
  • name cannot exceed 100 characters.
  • The voice cloning registration feature via API is not available for Free tier users.

Headers

x-sup-api-key
string
required

API key for the service

Body

multipart/form-data

Audio file and voice metadata

The body is of type object.

Response

200
application/json

Successfully created cloned voice

The response is of type object.