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.1

Parameters

file
binary
required

The input audio file to train the voice with, as a binary wav, mp3, mp4, m4a, or webm attachment.

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.

tags
string[]

A list of tags to attach to this voice.

Returns

class Voice: …