Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/elevenlabs-deploy-integration

@0d57af8
Run it yourself

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".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/elevenlabs-deploy-integration

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesexamples.md

≈668 tokens on demand. Your agent reads this file only when SKILL.md points to it.

ElevenLabs Deploy — Worked Examples

Each example is an end-to-end flow: set the secret, ship the code, verify. The full server/config code these commands deploy lives in implementation.md.

Example 1 — Simple TTS API on Vercel (Flash model)

Best when you have a stateless request/response TTS endpoint and want the free tier or a quick Pro deploy. Stay under the 30s Pro timeout with the Flash model.

# 1. Store the production + preview secret
vercel env add ELEVENLABS_API_KEY production
vercel env add ELEVENLABS_API_KEY preview

# 2. Ship (app/api/tts/route.ts + vercel.json already in the repo)
vercel --prod

# 3. Verify the live endpoint returns audio/mpeg
curl -s -o /tmp/out.mp3 -w '%{content_type}\n' \
  -X POST https://your-app.vercel.app/api/tts \
  -H 'Content-Type: application/json' \
  -d '{"text":"Deployment smoke test"}'
# → audio/mpeg

Example 2 — Streaming service on Fly.io (WebSocket / long-running)

Best when you need chunked/streaming audio or persistent connections that a serverless function can't hold open.

# 1. Store the prod key and webhook secret
fly secrets set ELEVENLABS_API_KEY=sk_your_prod_key
fly secrets set ELEVENLABS_WEBHOOK_SECRET=whsec_your_secret

# 2. Deploy the container (fly.toml + server.ts)
fly deploy

# 3. Confirm the health check reports quota
curl -s https://my-tts-service.fly.dev/health | jq
# → { "status": "healthy", "quota": { "used": ..., "limit": ... } }

# 4. Tail logs if the stream misbehaves
fly logs

Example 3 — Variable-load service on Cloud Run (scale to zero)

Best for bursty traffic — scales to zero when idle, up to a capped max under load.

# 1. Create the secret in Secret Manager
echo -n "sk_your_prod_key" | gcloud secrets create elevenlabs-api-key --data-file=-

# 2. Deploy from source (Dockerfile builds the container)
gcloud run deploy tts-service \
  --source . \
  --region us-central1 \
  --set-secrets=ELEVENLABS_API_KEY=elevenlabs-api-key:latest \
  --timeout=60 --concurrency=10 --min-instances=0 --max-instances=5 \
  --allow-unauthenticated

# 3. Hit the deployed URL printed by the deploy command
curl -s -o /tmp/out.mp3 -w '%{http_code}\n' \
  -X POST "$(gcloud run services describe tts-service --region us-central1 --format='value(status.url)')/api/tts" \
  -H 'Content-Type: application/json' -d '{"text":"hello"}'
# → 200

Choosing between them

You need... Deploy to
A simple stateless TTS endpoint, minimal ops Vercel
Streaming / WebSocket / persistent connections Fly.io
Bursty load that should scale to zero when idle Cloud Run

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides a secure framework for deploying ElevenLabs voice applications to Vercel, Fly.io, and Google Cloud Run. It emphasizes best practices for secret management and provides well-structured implementation templates for serverless and containerized environments.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 4 months ago
What it can do
Reads files Edits files Runs commands
version
1.6.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "saas",
  "voice",
  "ai",
  "elevenlabs",
  "deployment",
  "serverless"
]
All 6 allowed tools
ReadWriteEditBash(vercel:*)Bash(fly:*)Bash(gcloud:*)
Other metadata
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/elevenlabs-deploy-integration