GET
/
v1
/
ai
/
voice
/
{id}
JavaScript
import Lmnt from 'lmnt-node';

const client = new Lmnt({
  apiKey: 'My API Key',
});

const voice = await client.voices.retrieve('123');

console.log(voice.id);
{
  "description": "UK. Young adult. Conversational",
  "gender": "F",
  "id": "morgan (for user-created voices, the id is an alphanumeric string)",
  "name": "Morgan",
  "owner": "system",
  "starred": true,
  "type": "instant",
  "state": "ready",
  "preview_url": "https://api.lmnt.com/v1/ai/morgan/preview"
}

Authorizations

X-API-Key
string
header
required

Your API key; get it from your LMNT account page.

Path Parameters

id
string
required

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

Response

OK

Voice details

id
string
required

The unique identifier of this voice.

name
string
required

The display name of this voice.

owner
enum<string>
required

The owner of this voice.

Available options:
system,
me,
other
state
string
required

The state of this voice in the training pipeline (e.g., ready, training).

description
string | null

A text description of this voice.

gender
string

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

starred
boolean

Whether this voice has been starred by you or not.

type
enum<string>

The method by which this voice was created: instant or professional.

Available options:
instant,
professional
preview_url
string

A URL that returns a preview speech sample of this voice. The file can be played directly in a browser or audio player.