JavaScript
import Lmnt from 'lmnt-node'; const client = new Lmnt({ apiKey: 'My API Key', }); const voice = await client.voices.update('123'); console.log(voice.voice);
{ "voice": { "id": "<string>", "name": "<string>", "owner": "system", "state": "<string>", "description": "<string>", "gender": "<string>", "starred": true, "type": "instant", "preview_url": "<string>" } }
Updates metadata for a specific voice. Only provided fields will be changed.
Your API key; get it from your LMNT account page.
The id of the voice, which can be retrieved by a call to List voices.
id
List voices
A description of this voice.
A tag describing the gender of this voice, e.g. male, female, nonbinary.
male
female
nonbinary
The display name for this voice.
If true, adds this voice to your starred list.
true
OK
Voice details
Show child attributes
The unique identifier of this voice.
The display name of this voice.
The owner of this voice.
system
me
other
The state of this voice in the training pipeline (e.g., ready, training).
ready
training
A text description of this voice.
Whether this voice has been starred by you or not.
The method by which this voice was created: instant or professional.
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.
Was this page helpful?