Create voice

POST
/v1/ai/voice

Submits a request to create a voice with a supplied voice configuration and a batch of input audio data.

Headers

X-API-Key
string
required

Your API key; get it from your LMNT settings.

lmnt-version
string
required

The LMNT API version that this client was built against. Use 1.0

Parameters

enhance
boolean
required

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.

files
binary[]
required

One or more input audio files to train the voice in the form of binary wav, mp3, mp4, m4a, or webm attachments.

name
string
required

The display name for this voice

description
string

A text description of this voice.

gender
string

A tag describing the gender of this voice. Has no effect on voice creation.

Returns

class Voice: …