Communitygithub.com

ElevenLabs TTS

Erzeuge ElevenLabs Text-to-Speech-Audio aus Skripten oder Inline-Text mithilfe lokaler Sprachprofile. Verwende dies, wenn der Nutzer nach ElevenLabs, Text-to-Speech, TTS, Erzählung, Voiceover, Sprachaudio oder Sprachgenerierung fragt; lade Sprachnamen, Sprach-IDs, E-Mails, Besitzer und kontospezifische Standardwerte nur aus einer lokalen Konfiguration außerhalb des Skills.

Was ist ElevenLabs TTS?

Dieser Skill ermöglicht die Generierung von Text-to-Speech-Audio über die ElevenLabs-API, wobei er die Wiederverwendbarkeit und Trennung von persönlichen Daten sicherstellt. Er liest den API-Schlüssel aus der Umgebungsvariable `ELEVENLABS_API_KEY` und bezieht sprachprofile aus lokalen JSON-Dateien, die außerhalb des Skills gespeichert sind – etwa per `--config`-Argument oder Umgebungsvariable. Der Skill unterstützt mehrere Profile mit Angaben zu Stimme, Modell, Ausgabeformat und Einstellungen, die bei jedem Aufruf überschrieben werden können. Er wird über ein Python-Hilfsskript mit Optionen wie `--text`, `--text-file`, `--profile`, `--voice-id` und `--dry-run` genutzt und ist mit Claude Code, Cursor und ähnlichen KI-Assistenten kompatibel, die über Terminalbefehle verfügen.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/MengTo/Skills/tree/HEAD/agent-skills/codex/elevenlabs-tts

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Was macht ElevenLabs TTS?

Verwende diesen Skill für die ElevenLabs-Text-to-Speech-Generierung. Halte den Skill wiederverwendbar und frei von persönlichen Daten:

  • Speichere keine API-Schlüssel, Sprachnamen, Sprach-IDs, E-Mails, Kontonamen, Kundennamen oder persönlichen Standardwerte im Skill.
  • Lese ELEVENLABS_API_KEY aus der Prozessumgebung oder der nächstgelegenen .env-Datei.
  • Lese kontospezifische Sprachprofile aus einer lokalen JSON-Konfiguration außerhalb dieses Skills.
  • Generiere Audio mit anfragebezogenen Einstellungen. Ändere keine gespeicherten ElevenLabs-Konto- oder Spracheinstellungen, es sei denn, der Nutzer bittet ausdrücklich darum.

Lokale Profile

Bevorzuge eine dieser Konfigurationsquellen, in dieser Reihenfolge:

  1. --config /pfad/zu/profiles.json
  2. ELEVENLABS_TTS_CONFIG=/pfad/zu/profiles.json
  3. local/elevenlabs/profiles.json

Projektlokale Profildateien sind ebenfalls in Ordnung, wenn sie in .gitignore aufgeführt sind, z. B. config/local/elevenlabs-tts.json.

Das Hilfsskript erwartet diese Struktur:

{
  "default_profile": "default",
  "profiles": {
    "default": {
      "voice_name": "Name der Stimme aus dem lokalen Konto",
      "voice_id": "optional-direct-voice-id",
      "voice_id_env": "OPTIONAL_ENV_VAR_WITH_VOICE_ID",
      "model_id": "eleven_multilingual_v2",
      "output_format": "mp3_44100_128",
      "voice_settings": {
        "stability": 0.5,
        "similarity_boost": 1.0,
        "style": 0.0,
        "speed": 1.0,
        "use_speaker_boost": true
      },
      "output_dir": "outputs/voiceovers",
      "emails": []
    }
  }
}

Felder wie emails, Besitzer, Aliase und Notizen dienen nur der lokalen Weiterleitung/Kontext. Das Skript ignoriert unbekannte Metadatenfelder.

Arbeitsablauf

  1. Wähle das Profil aus --profile, ELEVENLABS_TTS_PROFILE oder default_profile.
  2. Bevorzuge das Hilfsskript: python3 <skill-root>/scripts/generate_voice.py --text-file script.txt --profile default --output output.mp3
  3. Wenn das Profil voice_id enthält, verwende sie. Wenn voice_id_env vorhanden ist, lese die Umgebungsvariable. Andernfalls durchsuche ElevenLabs nach voice_name.
  4. Verwende model_id, output_format und voice_settings aus dem Profil, es sei denn, der Nutzer überschreibt sie für diese Generierung.
  5. Lege das generierte Audio im angeforderten Ziel ab. Wenn kein Ziel angegeben ist, verwende das output_dir des Profils, dann outputs/voiceovers/.
  6. Gib den Ausgabepfad und alle wichtigen Warnungen aus. Gib keine Geheimnisse preis.

Hilfsskript

Das gebündelte Skript unterstützt:

  • --text "..." für Inline-Text
  • --text-file pfad.txt für Skriptdateien
  • stdin, wenn weder --text noch --text-file angegeben ist
  • --profile name zur Auswahl eines lokalen Profils
  • --config pfad.json zur Auswahl einer lokalen Profildatei
  • --voice-id, --voice-name, --model-id, --output-format und --settings-json für einmalige Überschreibungen
  • --output pfad.mp3 zur Wahl der Ausgabedatei
  • --dry-run zur Ausgabe des aufgelösten Anfrage-Payloads ohne Aufruf des Text-to-Speech-Endpunkts
  • --list-voices zur Auflistung passender ElevenLabs-Stimmen ohne Audio-Generierung

API-Hinweise

Verwende die aktuellen ElevenLabs-Endpunkte:

  • Sprachsuche: GET https://api.elevenlabs.io/v2/voices
  • Sprachgenerierung: POST https://api.elevenlabs.io/v1/text-to-speech/:voice_id?output_format=...

Sende den API-Schlüssel als xi-api-key.

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

MengTo/Skills

Create polished 60 fps 4:3 4K browser screen-recording style videos from Codex in-app browser captures, with browser-only crop, natural macOS cursor styling, deliberate click choreography, zoom-follow framing, ffprobe/thumbnail verification, and optional native recording compatibility checks. Use when the user asks to record or re-record browser actions, show cursor clicks and zooms, make Dribbble/UI inspiration or product demo recordings, or asks whether Codex, Playwright, or an MCP can produce a natural browser demo video.

MengTo/Skills

Profile, audit, and optimize frontend page performance with emphasis on animation work, memory-leak risks, long-session slowdowns, CSS animations, canvas/WebGL requestAnimationFrame loops, marquees, skeletons, GSAP/Three/Matter effects, timers, listeners, and observers. Use when the user asks to make animations performant, pause offscreen animations, look for memory leaks, profile pages that slow the computer over time, fix janky scrolling, reduce CPU/GPU use, or repeat the "only play in view" optimization on React/Vite/Next/frontend pages using Codex Browser.

MengTo/Skills

Turn a reference video into a super detailed recreation or inspiration prompt. Use when the user provides, mentions, uploads, links, or points to a video and asks to analyze the design, UI, animations, transitions, scroll interactions, typography, colors, assets, WebGL/Three.js, storytelling, section-by-section behavior, or to create a prompt/article that recreates the page, app, interaction, or motion system.

MengTo/Skills

Create an on-scroll animation trigger using IntersectionObserver with Tailwind-friendly animation classes and keyframes. Use when asked for scroll-reveal, animate-on-scroll, or sequencing element animations when they enter the viewport.

MengTo/Skills

Use when designing or implementing product-grade web motion like Stripe, Linear, Apple, and Vercel. Covers motion principles, easing/duration defaults, choreography patterns, scroll/hover interactions, performance, accessibility (reduced motion), and implementation guidance.

MengTo/Skills

Create premium cinematic web motion systems with GSAP, ScrollTrigger, and Lenis. Use for luxury editorial websites, creative studio portfolios, Awwwards-style interactions, smooth scroll reveals, staggered text, parallax, pinned sections, magnetic hover states, custom cursors, and mouse-reactive layered movement.

MengTo/Skills

Create cinematic scroll-driven landing pages with Lenis smooth scrolling, GSAP ScrollTrigger, scroll-linked progression, staggered text reveals, sticky card stacks, parallax backgrounds, scroll-scrubbed transitions, footer reveals, and immersive preloaders. Use when analyzing or building premium editorial scroll experiences, sticky project stacks, kinetic typography, or section-by-section storytelling.

MengTo/Skills

Use when designing or rewriting a high-converting SaaS pricing page (structure, plan design, copywriting, SEO/AEO, FAQs, layout patterns, experiments). Includes checklists, templates, and common pitfalls.

MengTo/Skills

Use when creating or refining WebGL-heavy landing pages and you need to steer toward a specific visual outcome (premium, technical, playful, cinematic) while balancing conversion clarity, performance, and implementation complexity.

Verwandte Skills