import Lmnt from 'lmnt-node';
const client = new Lmnt({
apiKey: 'My API Key',
});
const account = await client.accounts.retrieve();
console.log(account.plan);{
"plan": {
"character_limit": 123,
"commercial_use_allowed": true,
"professional_voice_limit": 123,
"type": "<string>",
"instant_voice_limit": 123
},
"usage": {
"characters": 123,
"professional_voices": 123,
"instant_voices": 123
}
}Returns details about your account.
import Lmnt from 'lmnt-node';
const client = new Lmnt({
apiKey: 'My API Key',
});
const account = await client.accounts.retrieve();
console.log(account.plan);{
"plan": {
"character_limit": 123,
"commercial_use_allowed": true,
"professional_voice_limit": 123,
"type": "<string>",
"instant_voice_limit": 123
},
"usage": {
"characters": 123,
"professional_voices": 123,
"instant_voices": 123
}
}Your API key; get it from your LMNT account page.
OK
Show child attributes
The number of characters you are allowed to synthesize in this billing period.
The number of professional voices you are allowed to create.
The type of plan you are subscribed to.
The number of instant voices you are allowed to create.
Was this page helpful?