Create voice

voices.create(**kwargs: VoiceCreateParams) -> Voice
POST
/v1/ai/voice

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

Parameters

file
FileTypes
required

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

name
str
required

The display name for this voice

description
Optional[str]

A text description of this voice.

gender
Optional[str]

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

tags
Optional[Iterable[str]]

A list of tags to attach to this voice.

Returns

class Voice: …