POST
/
v1
/
ai
/
voice
curl --request POST \
  --url https://api.lmnt.com/v1/ai/voice \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-API-Key: <api-key>' \
  --form 'metadata={"name": "new-voice", "type": "instant", "enhance": false}' \
  --form files=@/Users/user/file.wav
{
  "description": "a newly created voice",
  "gender": "male",
  "id": "123456789abcdef",
  "name": "new-voice",
  "owner": "me",
  "starred": false,
  "state": "ready",
  "type": "instant"
}

For Professional Voices, at least 5 minutes of source audio is required for a clone; the more, the better, up to 250MB total source file size.

For Instant Voices, as little as 5 seconds of source audio gets you an instant clone.

For more on voices in general, visit our guide.

Authorizations

X-API-Key
string
header
required

Your API key; get it from your LMNT account page.

Body

multipart/form-data

Response

200
application/json
OK

Voice details