elevenlabs

elevenlabs

Speech-to-text and text-to-speech. Key: ELEVEN_API_KEY, or ELEVENLABS_API_KEY. Install @livekit/agents-plugin-elevenlabs in the project. It does not run in a hosted agent.

import { elevenlabs } from "curb/providers";

elevenlabs.stt(options?: ElevenlabsSttOptions): SttDescriptor; // { model? }
elevenlabs.tts(options?: ElevenlabsTtsOptions): TtsDescriptor; // { voice?, model? }

Example

<Agent tts={elevenlabs.tts({ voice: "ELEVENLABS_VOICE_ID" })} />

Version history

VersionChanges
v1.2.6elevenlabs introduced