/v1/ai/voiceAuthorizations
Your API key; get it from your LMNT settings.
Body
multipart/form-dataThe display name for this voice
For unclean audio with background noise, applies processing to attempt to improve quality. Default is false as this can also degrade quality in some circumstances.
A tag describing the gender of this voice. Has no effect on voice creation.
A text description of this voice.
One or more input audio files to train the voice in the form of binary wav, mp3, mp4, m4a, or webm attachments.
- Max attached files: 20.
- Max total file size: 250 MB.
Response
A text description of this voice.
A tag describing the gender of this voice, e.g. male, female, nonbinary.
The unique identifier of this voice.
The display name of this voice.
The owner of this voice.
Allowed options: system, me, other
Whether this voice has been starred by you or not.
The state of this voice in the training pipeline (e.g., ready, training).
The method by which this voice was created: instant or professional.
Allowed options: instant, professional
A URL that returns a preview speech sample of this voice. The file can be played directly in a browser or audio player.
Code samples
curl --request POST \
--url https://api.lmnt.com/v1/ai/voice \
--header 'X-API-Key: <your-api-key>' \
--form 'name=new-voice' \
--form 'enhance=false' \
--form 'files=@/Users/user/file.wav'