Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/elevenlabs-hello-world

@0d57af8
Run it yourself

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".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/elevenlabs-hello-world

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesexamples.md

≈466 tokens on demand. Your agent reads this file only when SKILL.md points to it.

ElevenLabs Hello World — Worked Examples

Three end-to-end scenarios that build on the code paths in implementation.md. Each shows the input, the exact command or call, and the resulting artifact on disk.

Example 1 — First MP3 from the SDK (batch)

Goal: prove your key and SDK install work by writing one audio file.

Input text: "Hello! This is your first ElevenLabs text-to-speech generation."

Run the TypeScript block from implementation.md Step 1, then:

node generate.js
# → Audio saved to output.mp3
ls -lh output.mp3
# → -rw-r--r-- 1 user user 48K output.mp3
file output.mp3
# → output.mp3: Audio file with ID3 version 2.4.0, ... MPEG ADTS, layer III

Play it: afplay output.mp3 (macOS) / mpv output.mp3 (Linux).

Example 2 — One-shot from the shell (cURL)

Goal: generate audio with no SDK, just an API key and cURL.

export ELEVENLABS_API_KEY="sk_..."
curl -X POST "https://api.elevenlabs.io/v1/text-to-speech/21m00Tcm4TlvDq8ikWAM" \
  -H "xi-api-key: ${ELEVENLABS_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{"text":"Hello from the ElevenLabs API!","model_id":"eleven_multilingual_v2"}' \
  --output output.mp3
# output.mp3 (~35 KB) written; non-200 responses return JSON, not audio —
# inspect with: cat output.mp3  (it will be a readable error body)

Example 3 — Low-latency streaming for playback

Goal: start hearing audio before the full clip is generated.

Use the streaming block from implementation.md Step 3 with the fast eleven_flash_v2_5 model (~75 ms first-chunk latency). Chunks are written to streamed.mp3 as they arrive:

node stream.js
# → Streamed audio saved to streamed.mp3

Swap output_format to mp3_22050_32 for smaller streamed files, or pcm_16000 if you are piping raw samples into a downstream audio pipeline.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides a standard 'Hello World' implementation for generating audio via the ElevenLabs Text-to-Speech API. It includes examples for TypeScript, Python, and cURL. The skill follows security best practices by using environment variables for API keys and utilizing official SDKs. No malicious patterns were detected.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 4 months ago
What it can do
Reads files Edits files Runs commands
version
1.6.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "saas",
  "voice",
  "ai",
  "elevenlabs",
  "tts",
  "audio"
]
All 4 allowed tools
ReadWriteBash(npm:*)Bash(node:*)
Other metadata
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/elevenlabs-hello-world