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