LMNT

Update voice

voices.update(id: str, **kwargs: VoiceUpdateParams) -> object
PUT
/v1/ai/voice/{id}

Updates metadata for a specific voice. Only provided fields will be changed.

Parameters

id
str
required

The id of the voice, which can be retrieved by a call to List voices.

description
Optional[str]

A description of this voice.

gender
Optional[str]

A tag describing the gender of this voice, e.g. male, female, nonbinary.

name
Optional[str]

The display name for this voice.

starred
Optional[bool]

If true, adds this voice to your starred list.

Returns

object where each VoiceUpdateResponse is:

voice
Voice
required

Voice details