POST
/
v1
/
ai
/
voice
Create 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 name=new-voice \
  --form enhance=false \
  --form 'gender=<string>' \
  --form 'description=<string>' \
  --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"
}

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