elevenlabs-install-auth

Featured

Install and configure ElevenLabs SDK authentication for Node.js or Python. Use when setting up a new ElevenLabs project, configuring API keys, or initializing the elevenlabs npm/pip package. Trigger: "install elevenlabs", "setup elevenlabs", "elevenlabs auth", "configure elevenlabs API key", "elevenlabs credentials".

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 Install & Auth ## Overview Set up the ElevenLabs SDK and configure API key authentication. ElevenLabs uses a single API key (`xi-api-key` header) for all endpoints at `api.elevenlabs.io`. ## Prerequisites - Node.js 18+ or Python 3.10+ - ElevenLabs account (free tier works) at https://elevenlabs.io - API key from Profile > API Keys in the ElevenLabs dashboard ## Instructions ### Step 1: Install the SDK **Node.js** (official package: `@elevenlabs/elevenlabs-js`): ```bash npm install @elevenlabs/elevenlabs-js # or pnpm add @elevenlabs/elevenlabs-js ``` **Python** (official package: `elevenlabs`): ```bash pip install elevenlabs ``` ### Step 2: Configure API Key ```bash # Set environment variable (all SDKs auto-detect this) export ELEVENLABS_API_KEY="sk_your_key_here" # Or create .env file echo 'ELEVENLABS_API_KEY=sk_your_key_here' >> .env ``` Add to `.gitignore`: ```gitignore .env .env.local .env.*.local ``` ### Step 3: Initialize the Client **TypeScript:** ```typescript import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js"; const client = new ElevenLabsClient({ apiKey: process.env.ELEVENLABS_API_KEY, // Optional: configure retries (default: 2) maxRetries: 3, // Optional: configure timeout in seconds timeoutInSeconds: 30, }); ``` **Python:** ```python import os from elevenlabs.client import ElevenLabsClient client = ElevenLabsClient( api_key=os.environ.get("ELEVENLABS_API_KEY") ) ``` ### Step 4: Verify Connection **TypeScript:*...

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