elevenlabs/examples

TypeScript

628

312 commits

updated Sep 7, 2026

See the code
dubbing
elevenlabs
text-to-speech

README

ElevenLabs Examples Header

Prompt-driven ElevenLabs examples for text-to-speech, speech-to-text, music, sound effects, and agents. Each project includes:

  • PROMPT.md — instructions for agent-driven generation
  • setup.sh — scaffolds the example/ directory from a shared template
  • example/ — the generated, runnable example with its own README.md

Shared base templates live in templates/ (Expo, Next.js, Python, TypeScript). UI styling rules are in DESIGN.md.

The legacy examples/ folder is being deprecated and can be ignored for new work.

Current examples

Generate examples from prompts

The general prompt-runner workflow is in scripts/generate-examples.sh and is exposed as:

pnpm run generate

Prerequisites

  • pnpm
  • cursor CLI

Install root dependencies first:

pnpm install

Usage

Run all example prompts:

pnpm run generate

Run only one example:

pnpm run generate speech-to-text/nextjs/realtime

Optional flags:

pnpm run generate -t 1200                     # timeout per prompt in seconds (default: 600)
pnpm run generate -m "claude-4-sonnet"        # model selection (default: Cursor auto-select)
pnpm run generate -v                          # verbose output
pnpm run generate -m "claude-4-sonnet" -t 1200 -v

Try an example directly

Each example has an example/ folder with a README containing setup and run instructions. See the links in Current examples above.

Contributing

We welcome contributions from the community. Install the pre-commit hook before submitting:

pip install pre-commit
pre-commit install

Learn more

License

This project is licensed under the MIT License. See LICENSE for details.

Contributors

louisjoecodes

98 commits

lharries

72 commits

jonatanvm

30 commits

marcelthomas5

29 commits

elevenlabs/examples

TypeScript

628

312 commits

updated Sep 7, 2026

See the code
dubbing
elevenlabs
text-to-speech

README

ElevenLabs Examples Header

Prompt-driven ElevenLabs examples for text-to-speech, speech-to-text, music, sound effects, and agents. Each project includes:

  • PROMPT.md — instructions for agent-driven generation
  • setup.sh — scaffolds the example/ directory from a shared template
  • example/ — the generated, runnable example with its own README.md

Shared base templates live in templates/ (Expo, Next.js, Python, TypeScript). UI styling rules are in DESIGN.md.

The legacy examples/ folder is being deprecated and can be ignored for new work.

Current examples

Generate examples from prompts

The general prompt-runner workflow is in scripts/generate-examples.sh and is exposed as:

pnpm run generate

Prerequisites

  • pnpm
  • cursor CLI

Install root dependencies first:

pnpm install

Usage

Run all example prompts:

pnpm run generate

Run only one example:

pnpm run generate speech-to-text/nextjs/realtime

Optional flags:

pnpm run generate -t 1200                     # timeout per prompt in seconds (default: 600)
pnpm run generate -m "claude-4-sonnet"        # model selection (default: Cursor auto-select)
pnpm run generate -v                          # verbose output
pnpm run generate -m "claude-4-sonnet" -t 1200 -v

Try an example directly

Each example has an example/ folder with a README containing setup and run instructions. See the links in Current examples above.

Contributing

We welcome contributions from the community. Install the pre-commit hook before submitting:

pip install pre-commit
pre-commit install

Learn more

License

This project is licensed under the MIT License. See LICENSE for details.

Contributors

louisjoecodes

98 commits

lharries

72 commits

jonatanvm

30 commits

marcelthomas5

29 commits

Languages

TypeScript

73.4%

CSS

11.8%

Shell

10.0%

Python

3.1%

JavaScript

1.7%