Skip to content

lmnt-com/lmnt-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

156 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LMNT TypeScript SDK

NPM version

The LMNT TypeScript SDK provides convenient access to the LMNT API from server-side TypeScript applications.

Documentation

Full documentation is available at docs.lmnt.com/api/sdks/typescript.

Installation

npm install lmnt-node

Getting started

import Lmnt from 'lmnt-node';

const client = new Lmnt({
  apiKey: process.env['LMNT_API_KEY'], // This is the default and can be omitted
});

const response = await client.speech.generate({ text: 'hello world.', voice: 'leah' });

const content = await response.blob();
console.log(content);

Requirements

TypeScript >= 4.5 and Node.js 20 LTS or later are supported.

Contributing

See the contributing documentation.

About

The LMNT TypeScript SDK provides convenient access to the LMNT API from server-side TypeScript applications.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors