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
Was this page helpful?