// @bun
import y from"@contractspec/lib.ui-link";import{ChevronRight as z}from"lucide-react";import{jsx as f,jsxs as q}from"react/jsx-runtime";function D(){return q("div",{className:"space-y-8",children:[q("div",{className:"space-y-4",children:[f("h1",{className:"font-bold text-4xl",children:"ElevenLabs"}),f("p",{className:"text-muted-foreground",children:"ElevenLabs provides state-of-the-art text-to-speech and voice cloning technology. Create natural-sounding voiceovers, audiobooks, and voice assistants."})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Setup"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`# .env
ELEVENLABS_API_KEY=...`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Text-to-Speech"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`capabilityId: elevenlabs-tts
provider:
  type: elevenlabs
  operation: textToSpeech

inputs:
  text:
    type: string
  voiceId:
    type: string
    default: "21m00Tcm4TlvDq8ikWAM"
  modelId:
    type: string
    default: "eleven_monolingual_v1"

outputs:
  audioUrl:
    type: string
  audioData:
    type: buffer`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Use cases"}),q("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[f("li",{children:"Generate voiceovers for videos"}),f("li",{children:"Create audio versions of articles"}),f("li",{children:"Build voice assistants"}),f("li",{children:"Produce audiobooks"})]})]}),q("div",{className:"flex items-center gap-4 pt-4",children:[f(y,{href:"/docs/integrations/mistral",className:"btn-ghost",children:"Previous: Mistral"}),q(y,{href:"/docs/integrations/qdrant",className:"btn-primary",children:["Next: Qdrant ",f(z,{size:16})]})]})]})}export{D as IntegrationsElevenLabsPage};
