guyronnen/openmontage

setup-api-key

Guides users through setting up an ElevenLabs API key for ElevenLabs MCP tools.

查看源码
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

ElevenLabs API Key Setup

Guide the user through obtaining and configuring an ElevenLabs API key.

Workflow

Step 0: Check for an existing API key first

Before asking the user for a key, check for an existing ELEVENLABS_API_KEY:

  1. Check whether ELEVENLABS_API_KEY exists in the current environment.
  2. If it's not in the environment, check .env for ELEVENLABS_API_KEY=<value>.
  3. If an existing key is found, validate it:
   GET https://api.elevenlabs.io/v1/user
   Header: xi-api-key: <existing-api-key>
  1. If existing key validation succeeds:
  • Tell the user ElevenLabs is already configured and working
  • Skip the setup flow
  • Ask whether they want to replace/rotate the key; if not, stop
  1. If existing key validation fails:
  • Tell the user the existing key appears invalid or expired
  • Continue to Step 1

Step 1: Request the API key

Tell the user:

To set up ElevenLabs, open the API keys page: https://elevenlabs.io/app/settings/api-keys (Need an account? Create one at https://elevenlabs.io/app/sign-up first) If you don't have an API key yet: 1. Click "Create key" 2. Name it (or use the default) 3. Set permission for your key. If you provide a key with "User" permission set to "Read" this skill will automatically verify if your key works 4. Click "Create key" to confirm 5. Copy the key immediately - it's only shown once! Paste your API key here when ready.

Then wait for the user's next message which should contain the API key.

Step 2: Validate and configure

Once the user provides the API key:

  1. Validate the key by making a request:
   GET https://api.elevenlabs.io/v1/user
   Header: xi-api-key: <the-api-key>
  1. If validation fails:
  • Tell the user the API key appears to be invalid
  • Ask them to try again
  • Remind them of the URL: https://elevenlabs.io/app/settings/api-keys
  • If it fails a second time, display an error and exit
  1. If validation succeeds, save the API key in a .env file:
   ELEVENLABS_API_KEY=<the-api-key>
  • If .env already has ELEVENLABS_API_KEY=..., replace that line
  • Otherwise add a new line for ELEVENLABS_API_KEY
  1. Confirm success:
Done! Your key is stored as an environment variable in .env Keep the key safe! Don't share it with anyone!
来自同一仓库

更多 Skills

全部 Skills
guyronnen
社区

acestep

AI music generation with ACE-Step 1.5 — background music, vocal tracks, covers, stem extraction for video production. Use when generating music, soundtracks, jingles, or working with audio stems. Triggers include background music, soundtrack, jingle, music generation, stem extraction, cover, style transfer, or musical composition tasks.

安装量
2
GitHub Stars
2
最近更新
4月12日
guyronnen
社区

agents

Build voice AI agents with ElevenLabs. Use when creating voice assistants, customer service bots, interactive voice characters, or any real-time voice conversation experience.

安装量
2
GitHub Stars
2
最近更新
4月12日
guyronnen
社区

ai-video-gen

Generate AI videos from text prompts using multiple provider gateways. Use when: (1) Generating videos from text descriptions, (2) Creating AI-generated video clips for content production, (3) Image-to-video generation with a reference image, (4) Choosing between video generation providers (VEO, Kling, Sora, Runway, Seedance, MiniMax). Supports two gateways: HeyGen API and fal.ai API.

安装量
2
GitHub Stars
2
最近更新
4月12日
guyronnen
社区

avatar-video

Create AI avatar videos with precise control over avatars, voices, scripts, scenes, and backgrounds using HeyGen's v2 API. Use when: (1) Choosing a specific avatar and voice for a video, (2) Writing exact scripts for an avatar to speak, (3) Building multi-scene videos with different backgrounds per scene, (4) Creating transparent WebM videos for compositing, (5) Using talking photos as video presenters, (6) Integrating HeyGen avatars with Remotion, (7) Batch video generation with exact specs, (8) Brand-consistent production videos with precise control.

安装量
2
GitHub Stars
2
最近更新
4月12日