@zenning/lmnt
v2.0.8
Published
The **[LMNT provider](https://ai-sdk.dev/providers/ai-sdk-providers/lmnt)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the LMNT API.
Downloads
118
Readme
AI SDK - LMNT Provider
The LMNT provider for the AI SDK contains language model support for the LMNT API.
Setup
The LMNT provider is available in the @ai-sdk/lmnt module. You can install it with
npm i @ai-sdk/lmntProvider Instance
You can import the default provider instance lmnt from @ai-sdk/lmnt:
import { lmnt } from '@ai-sdk/lmnt';Example
import { lmnt } from '@ai-sdk/lmnt';
import { experimental_generateSpeech as generateSpeech } from 'ai';
const result = await generateSpeech({
model: lmnt.speech('aurora'),
text: 'Hello, world!',
});Documentation
Please check out the LMNT provider documentation for more information.
