| name | elevenlabs-deploy-integration |
| description | Deploy ElevenLabs TTS applications to Vercel, Fly.io, and Cloud Run.
Use when deploying ElevenLabs-powered apps to production, configuring
platform-specific secrets, or setting up serverless TTS.
Trigger with "deploy elevenlabs", "elevenlabs Vercel", "elevenlabs Cloud Run",
"elevenlabs Fly.io", "elevenlabs serverless", "host TTS API".
|
| allowed-tools | Read, Write, Edit, Bash(vercel:*), Bash(fly:*), Bash(gcloud:*) |
| version | 1.6.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","voice","ai","elevenlabs","deployment","serverless"] |
| compatibility | Designed for Claude Code |
ElevenLabs Deploy Integration
Overview
Deploy ElevenLabs TTS/voice applications to Vercel (serverless), Fly.io
(containers), or Google Cloud Run with proper secrets management, timeout
configuration, and streaming support. Pick the platform that matches your
traffic shape, write the platform config + server code, store the API key as a
platform secret, then deploy and smoke-test the live endpoint.
Prerequisites
- ElevenLabs API key for production
- Platform CLI installed (
vercel, fly, or gcloud)
- Application code tested locally
Instructions
Follow these steps. The lean skeleton is below; the full config files and
server code for each platform are in
references/implementation.md.
-
Inspect the repo and pick a platform. Read the existing app code and
any current deploy config, then choose from the comparison table below —
Vercel for a simple stateless TTS API, Fly.io for streaming/WebSocket, Cloud
Run for bursty variable load.
-
Write the platform config + server code. Use Write/Edit to create
the platform files in the repo — vercel.json + the API route for Vercel,
fly.toml + Express server for Fly.io, Dockerfile for Cloud Run. Full
versions are in references/implementation.md.
-
Set the API key as a platform secret (never commit it):
vercel env add ELEVENLABS_API_KEY production
fly secrets set ELEVENLABS_API_KEY=sk_...
echo -n "sk_..." | gcloud secrets create elevenlabs-api-key --data-file=-
-
Mind the timeout. Vercel Hobby caps functions at 10s (30s on Pro) — use
the eleven_flash_v2_5 model to stay under it. Fly.io and Cloud Run have no
such short cap.
-
Deploy, then smoke-test the live endpoint (see
references/examples.md):
vercel --prod
fly deploy
gcloud run deploy tts-service -- .