Skip to content
VoiceMint Developers

Voices & cloning

Clone a voice from a sample and speak any text with it; browse the premade voice catalogue.

Clone a voice#

Upload a clean sample (a minute or more of one speaker, no music) with a name. Only clone voices you have the right to use.

curl -X POST https://api.voicemint.io/api/v1/voice-cloning/clone \
  -H "Authorization: Bearer $VOICEMINT_API_KEY" \
  -F "file=@./my-voice.wav" -F "voice_name=Asha" -F "description=warm, Hindi"

Speak with it#

curl -X POST https://api.voicemint.io/api/v1/voice-cloning/generate \
  -H "Authorization: Bearer $VOICEMINT_API_KEY" -H "Content-Type: application/json" \
  -d '{"voice_clone_id": "VOICE_ID", "text": "Namaste! Welcome back."}' --output asha.mp3

GET /voice-cloning/voices lists your voices (status=completed for ready ones), DELETE /voice-cloning/voice/{id} removes one, and the premade voice catalogue is client.voices.catalog() (GET /voice-library/...).