elevenlabs-local-dev-loop

Featured

Configure local ElevenLabs development with mocking, hot reload, and audio testing. Use when setting up a dev environment for TTS/voice projects, configuring test workflows, or building a fast iteration cycle with ElevenLabs audio. Trigger: "elevenlabs dev setup", "elevenlabs local development", "elevenlabs dev environment", "develop with elevenlabs", "test elevenlabs locally".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# ElevenLabs Local Dev Loop ## Overview Set up a fast, cost-effective local development workflow for ElevenLabs audio projects. Includes SDK mocking to avoid burning character quota during development, audio output testing, and hot-reload patterns. ## Prerequisites - Completed `elevenlabs-install-auth` setup - Node.js 18+ with npm/pnpm - `vitest` for testing (recommended) ## Instructions ### Step 1: Project Structure ``` my-elevenlabs-project/ ├── src/ │ ├── elevenlabs/ │ │ ├── client.ts # Singleton client wrapper │ │ ├── config.ts # Environment-aware config │ │ └── tts.ts # TTS service layer │ └── index.ts ├── tests/ │ ├── __mocks__/ │ │ └── elevenlabs.ts # SDK mock for free testing │ ├── tts.test.ts │ └── fixtures/ │ └── sample.mp3 # Known-good audio for comparison ├── output/ # Generated audio (git-ignored) ├── .env.local # Local API key (git-ignored) ├── .env.example # Template for team └── package.json ``` ### Step 2: Environment Configuration ```typescript // src/elevenlabs/config.ts export interface ElevenLabsConfig { apiKey: string; modelId: string; defaultVoiceId: string; outputFormat: string; } export function loadConfig(): ElevenLabsConfig { const env = process.env.NODE_ENV || "development"; return { apiKey: process.env.ELEVENLABS_API_KEY || "", // Use cheaper/faster model in dev, high-quality in prod modelId: env === "production...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category