# Setup Api Key > Guía al usuario para configurar una clave de API de ElevenLabs. Comprueba primero si ELEVENLABS_API_KEY ya está configurada y es válida, y solo entonces ejecuta la configuración completa. Fuente: https://skillsagentes.com/skills/calesthio/openmontage/setup-api-key Markdown: https://skillsagentes.com/skills/calesthio/openmontage/setup-api-key.md Repositorio: https://github.com/calesthio/OpenMontage Autor: calesthio Licencia: MIT Actualizado: hace 4 meses Coste de contexto: 89 tok instalada, 717 tok al activarse, 717 tok con todos los archivos del bundle Bundle: 1 archivo, 3 KB Permisos que pide: ninguno declarado ## Instalación Un skill son archivos markdown: los mismos archivos valen para cualquier agente y lo único que cambia es el directorio de destino, es decir la bandera `--agent`. Añade `-g` para instalarlo en todos los proyectos de la máquina. ```bash # Claude Code npx -y skills add calesthio/OpenMontage --skill setup-api-key --agent claude-code # Cursor npx -y skills add calesthio/OpenMontage --skill setup-api-key --agent cursor # Codex npx -y skills add calesthio/OpenMontage --skill setup-api-key --agent codex # Gemini CLI npx -y skills add calesthio/OpenMontage --skill setup-api-key --agent gemini # Windsurf npx -y skills add calesthio/OpenMontage --skill setup-api-key --agent windsurf # Cline npx -y skills add calesthio/OpenMontage --skill setup-api-key --agent cline ``` ## Qué hace - Comprueba primero si `ELEVENLABS_API_KEY` ya está configurada y es válida - Solo si hace falta, pide la clave al usuario y ejecuta la configuración completa - Valida la clave contra la API y la deja configurada ## Cuándo usarla - El usuario necesita configurar una clave de API de ElevenLabs - Las herramientas de ElevenLabs fallan por falta de clave - El usuario menciona que necesita acceso a ElevenLabs ## Qué la activa - "Configúrame la clave de ElevenLabs" - "Me falla ElevenLabs por la API key" - "¿Tengo bien puesta la clave de ElevenLabs?" ## Antes de instalar - Necesita acceso a internet a elevenlabs.io y api.elevenlabs.io. - makes network requests ## Archivos - SKILL.md — 3 KB ## SKILL.md Reproducido tal cual desde calesthio/OpenMontage bajo MIT. Esta sección es el documento original y está en inglés. # 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=`. 3. If an existing key is found, **validate it**: ``` GET https://api.elevenlabs.io/v1/user Header: xi-api-key: ``` 4. **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 5. **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: ``` 2. **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 3. **If validation succeeds**, save the API key in a `.env` file: ``` ELEVENLABS_API_KEY= ``` - If `.env` already has `ELEVENLABS_API_KEY=...`, replace that line - Otherwise add a new line for `ELEVENLABS_API_KEY` 4. **Confirm success:** > Done! Your key is stored as an environment variable in .env > Keep the key safe! Don't share it with anyone! ## Dónde encaja - Categoría: [Herramientas para desarrolladores](https://skillsagentes.com/categorias/herramientas-desarrollo.md) — Skills que cambian cómo tu agente escribe, revisa y despliega código. - Creador: [calesthio](https://skillsagentes.com/creators/calesthio.md) — 0 skills en el directorio - [Todas las skills](https://skillsagentes.com/skills.md) - [Ranking de instalaciones](https://skillsagentes.com/ranking.md) ## Otras skills del mismo repositorio - [Seedance 2 5](https://skillsagentes.com/skills/calesthio/openmontage/seedance-2-5.md): Genera vídeo cinematográfico de 4-30 s con ByteDance Seedance 2.5 por fal.ai, Volcengine Ark, Runway o ComfyUI. Cubre el contrato de prompt 2.5, cortes duros, locks de continuidad y voz. - [Comfyui](https://skillsagentes.com/skills/calesthio/openmontage/comfyui.md): Úsalo al trabajar con workflows de ComfyUI en OpenMontage: comfyui_image/video/music, workflows propios, selección de output_node, modelos que faltan, LoRAs, poca VRAM e importación de workflows de la comunidad. - [Fish Audio Tts](https://skillsagentes.com/skills/calesthio/openmontage/fish-audio-tts.md): Genera narración expresiva y multilingüe con fish.audio (modelos S1 / S2) y reutiliza voces clonadas mediante reference_id. - [Minimax H3](https://skillsagentes.com/skills/calesthio/openmontage/minimax-h3.md): Genera vídeo con MiniMax H3 (Hailuo 3.0) por la API oficial v2, fal.ai, Runway, nodos partner de ComfyUI o pesos abiertos locales. Clips de 4-15s a 2K con animación de primer/último fotograma. - [Gemini Omni](https://skillsagentes.com/skills/calesthio/openmontage/gemini-omni.md): Genera y edita conversacionalmente vídeos cortos con Google Gemini Omni Flash: itera con ediciones en lenguaje natural, clips de 3-10s a 720p con audio y texto en pantalla, e imágenes de referencia por etiquetas. --- Skills Agentes · [Índice de páginas en markdown](https://skillsagentes.com/sitemap.md) · [Inicio](https://skillsagentes.com/index.md)