var D=Object.defineProperty;var F=(q)=>q;function H(q,y){this[q]=F.bind(null,y)}var J=(q,y)=>{for(var A in y)D(q,A,{get:y[A],enumerable:!0,configurable:!0,set:H.bind(y,A)})};var K=(q,y)=>()=>(q&&(y=q(q=0)),y);import B from"@contractspec/lib.ui-link";import{ChevronRight as I}from"lucide-react";import{jsx as f,jsxs as z}from"react/jsx-runtime";function P(){return z("div",{className:"space-y-8",children:[z("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."})]}),z("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=...`})})]}),z("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`})})]}),z("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Use cases"}),z("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"})]})]}),z("div",{className:"flex items-center gap-4 pt-4",children:[f(B,{href:"/docs/integrations/mistral",className:"btn-ghost",children:"Previous: Mistral"}),z(B,{href:"/docs/integrations/qdrant",className:"btn-primary",children:["Next: Qdrant ",f(I,{size:16})]})]})]})}export{P as IntegrationsElevenLabsPage};
