MCPcopy Index your code
hub / github.com/elevenlabs/examples

github.com/elevenlabs/examples @v1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.0 ↗ · + Follow
243 symbols 681 edges 108 files 9 documented · 4%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ElevenLabs Examples

This collection of demos and projects showcases the ElevenLabs API and how you can start building next generation AI audio apps with it. Whether you're looking to integrate text-to-speech into your website, create dubbed content, or explore advanced audio applications, you'll find valuable resources here.

🚀 Featured Projects

Text-to-Speech (TTS) Demos

  • Standard TTS Demo: A straightforward implementation of our core TTS functionality.
  • TTS WebSocket Demo with Latency Measurement: Explore real-time text-to-speech with performance metrics.

Native Mac App (Open Source)

A fully open-source native Mac application that brings ElevenLabs to your desktop. Written by Claude 3.5 and Cursor.

Sound Effects Generation

Unleash your creativity with our sound effects generation demo. Create custom audio landscapes for your projects!

AudioNative React Demo

Embed ElevenLabs' text-to-speech capabilities directly into your React-based websites. This demo shows you how to seamlessly integrate our technology for a native-like audio experience.

Dubbing API Demo

Discover how to use our Dubbing API to create multilingual content effortlessly. Perfect for content creators and localization teams!

Pronunciation Dictionaries

Learn how to work with pronunciation dictionaries to fine-tune the output of our voice models.

🛠 Getting Started

To get started with these examples:

  1. Clone this repository
  2. Navigate to the project you're interested in
  3. Follow the project-specific README for setup instructions

For detailed API documentation and guides, visit our Developer Docs.

🤝 Contributing

We welcome contributions from the community! Before you start:

  1. Install the pre-commit hook: pip install pre-commit pre-commit install
  2. Check out our Contributing Guidelines for more information on how to submit pull requests, report issues, and suggest improvements.

📚 Learn More

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Extension points exported contracts — how you extend this code

ElevenStreamingPlugin (Interface)
(no doc) [2 implementers]
examples/websockets/clients/next/src/stream/stream.ts
ButtonProps (Interface)
(no doc)
examples/sound-effects/video-to-sfx/components/ui/button.tsx
Language (Interface)
(no doc)
examples/dubbing/e2e-example/frontend/src/components/languages.tsx
InputProps (Interface)
(no doc)
examples/websockets/clients/next/src/components/ui/input.tsx
LightContextApi (Interface)
(no doc)
examples/sound-effects/video-to-sfx/frostin-ui/components/light.tsx
State (Interface)
(no doc)
examples/dubbing/e2e-example/frontend/src/components/ui/use-toast.ts
ButtonProps (Interface)
(no doc)
examples/websockets/clients/next/src/components/ui/button.tsx
MouseContextApi (Interface)
(no doc)
examples/sound-effects/video-to-sfx/frostin-ui/components/mouse.tsx

Core symbols most depended-on inside this repo

cn
called by 29
examples/dubbing/e2e-example/frontend/src/lib/utils.ts
cn
called by 21
examples/sound-effects/video-to-sfx/lib/utils.ts
generate
called by 15
examples/twilio/call-llm/src/text-to-speech.ts
stop
called by 8
examples/websockets/clients/next/src/stream/stream.ts
useScroll
called by 7
examples/sound-effects/video-to-sfx/frostin-ui/components/scroll.tsx
play
called by 7
examples/sound-effects/video-to-sfx/app/state/orchestrator.ts
dispatch
called by 5
examples/dubbing/e2e-example/frontend/src/components/ui/use-toast.ts
useFormField
called by 4
examples/dubbing/e2e-example/frontend/src/components/ui/form.tsx

Shape

Function 164
Interface 30
Method 30
Class 13
Route 6

Languages

TypeScript86%
Python14%

Modules by API surface

examples/dubbing/e2e-example/frontend/src/pages/Carousel/languageMap.tsx31 symbols
examples/dubbing/e2e-example/backend/app.py22 symbols
examples/sound-effects/video-to-sfx/frostin-ui/components/scroll.tsx16 symbols
examples/sound-effects/video-to-sfx/frostin-ui/components/mouse.tsx12 symbols
examples/websockets/clients/next/src/stream/stream.ts11 symbols
examples/dubbing/e2e-example/frontend/src/components/ui/use-toast.ts9 symbols
examples/sound-effects/video-to-sfx/app/state/player.ts8 symbols
examples/sound-effects/video-to-sfx/app/state/orchestrator.ts7 symbols
examples/twilio/call-llm/src/stream.ts6 symbols
examples/twilio/call-llm/src/llm.ts6 symbols
examples/sound-effects/video-to-sfx/frostin-ui/utils/math.ts6 symbols
examples/sound-effects/video-to-sfx/frostin-ui/components/mask.tsx6 symbols

For agents

$ claude mcp add examples \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact