UNPKG

@ai-sdk/elevenlabs

Version:

The **[ElevenLabs provider](https://ai-sdk.dev/providers/ai-sdk-providers/elevenlabs)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the ElevenLabs chat and completion APIs and embedding model support for the ElevenLabs em

10 lines (8 loc) 288 B
import type { FetchFunction } from '@ai-sdk/provider-utils'; export type ElevenLabsConfig = { provider: string; url: (options: { modelId: string; path: string }) => string; headers: () => Record<string, string | undefined>; fetch?: FetchFunction; generateId?: () => string; };