Agent skill · writing content · jeremylongshore

elevenlabs-hello-world

Generate your first ElevenLabs text-to-speech audio file. Use when starting a new ElevenLabs integration, testing your setup, or learning basic TTS API patterns before wiring voice into a real app. Trigger with "elevenlabs hello world", "elevenlabs example", "elevenlabs quick start", "first elevenlabs TTS", "text to speech demo".

Why this skill is useful

Provides specific API usage patterns and code examples for the ElevenLabs TTS service that the AI wouldn't reliably generate on its own.

What it needs

Requires node installed locally. Requires elevenlabs account access. About 3k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

ElevenLabs Hello World Overview Generate speech from text using the ElevenLabs TTS API. This skill covers the core POST /v1/text-to-speech/<voice-id> endpoint with real voice IDs, model selection, and audio output. Start from the minimal SDK call below, then drill into the full implementation for the cURL, streaming, and multi-language paths. Prerequisites Completed the elevenlabs-install-auth setup skill so the SDK is installed. A valid API key exported as ELEVENLABSAPIKEY in your shell environment. Node 20+ (for the TypeScript SDK path) or Python 3.9+ (for the Python path). Instructions The whole workflow is one API call: pick a voice ID, pick a model, send text, write the returned audio stream to a file. The minimal TypeScript path: The four generation paths, with full copy-paste code and inline commentary on every voicesettings field, live in references/implementation.md: 1. SDK (TypeScript / Python) — batch generation with tuned voice settings. 2. cURL — the raw REST call, no SDK, for shell scripts and testing. 3. Streaming — the elevenflashv25 low-latency path (~75 ms first chunk). 4. Model / voice / output-format tables — the exact IDs to plug in above. Pick the path that matches your stack, swap the voice ID and text, and run it. Output A single audio file written to disk (default output.mp3), plus a console line confirming the write: output.mp3 — MP3 at mp344100128 by default (~35–50 KB for a one-line greeting). Override the codec via outputformat (see the output-format table in implementation.md). stdout: Audio saved to output.mp3 (or Streamed audio saved to streamed.mp3 on the streaming path). A non-200 response returns a JSON error body instead of audio — see Error Handling below. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/elevenlabs-hello-world--01f809

View the source on GitHub

Browse the @skills marketplace