ElevenLabs API Stinger
Purpose
Guide secure, observable ElevenLabs API integrations. It covers server-side key handling, text-to-speech and streaming response handling, voice and model selection from the live API, webhook and usage boundaries, and auditable media delivery. Every domain claim is grounded in this skill's primary-source captures.
When to use
- Adding ElevenLabs text-to-speech, speech-to-text, voices, dubbing, or streaming to an application
- Debugging an ElevenLabs request, audio response, cost record, or API credential boundary
- Designing a server endpoint that fronts the ElevenLabs API
When not to use
Procedure
- Read guides/01-integration-boundary.md before adding a call.
- Keep API keys on a trusted server. Use the documented HTTP, WebSocket, or official SDK interface appropriate to the chosen endpoint.
- Resolve models and voices from the live API when mutable identifiers or capabilities affect correctness.
- Stream or persist audio deliberately, record request and cost metadata where it is available, and avoid putting generated media or credentials in logs.
- Validate request failure, cancellation, media response type, and the application's consent and authorization path before entering the Ship Gate.
References map
- references/REFERENCE.md, load for integration decisions and verification checklist.
- references/research/distilled-elevenlabs-api.md, load to verify a domain claim.
references/research/raw/, load to trace a claim to the primary source capture.
- guides/01-integration-boundary.md, load for implementation work.
Related bees and stingers
Critical Directive
- You must read all files and context contained within your skill.
- In the event your core knowledge does not provide sufficient guidance you must make every attempt to search the internet, related knowledge base documentation files, and other available resources to supplement your knowledge prior to proceeding with your task.
- Additional related skills can be found here:
Ship Gate
Prior to committing any code to the repository you must utilize in order the security-stinger, quality-stinger, and github-repo-health-stinger. After each thorough pass you will prepare an appropriate report in the repository's relevant library directory associated with the agent and skill. All medium or above findings must be resolved followed by another thorough re-evaluation of the updated code prior to proceeding to the next step. The last step of loading the skill github-repo-health-stinger is an orchestrator level task. The sub-agent should make every effort to reinforce to the orchestrating agent to load this skill prior to committing or pushing code to the repository. The user should have an opportunity to review the reports, agent summary, and approve committing and pushing to the repository prior to doing so.
1---2name: elevenlabs-api-stinger3description: ElevenLabs API integration for speech, voices, streaming, webhooks, usage, and key boundaries. Use for ElevenLabs API implementation, review, or troubleshooting.4license: MIT5---67# ElevenLabs API Stinger89## Purpose1011Guide secure, observable ElevenLabs API integrations. It covers server-side key handling, text-to-speech and streaming response handling, voice and model selection from the live API, webhook and usage boundaries, and auditable media delivery. Every domain claim is grounded in this skill's primary-source captures.1213## When to use1415- Adding ElevenLabs text-to-speech, speech-to-text, voices, dubbing, or streaming to an application16- Debugging an ElevenLabs request, audio response, cost record, or API credential boundary17- Designing a server endpoint that fronts the ElevenLabs API1819## When not to use2021- General provider or model selection outside the ElevenLabs API, use [ai-tools-platform-stinger](../ai-tools-platform-stinger).22- Browser-side secrets, webhook acceptance, or a formal security finding, use [security-stinger](../security-stinger).2324## Procedure25261. Read [guides/01-integration-boundary.md](guides/01-integration-boundary.md) before adding a call.272. Keep API keys on a trusted server. Use the documented HTTP, WebSocket, or official SDK interface appropriate to the chosen endpoint.283. Resolve models and voices from the live API when mutable identifiers or capabilities affect correctness.294. Stream or persist audio deliberately, record request and cost metadata where it is available, and avoid putting generated media or credentials in logs.305. Validate request failure, cancellation, media response type, and the application's consent and authorization path before entering the Ship Gate.3132## References map3334- [references/REFERENCE.md](references/REFERENCE.md), load for integration decisions and verification checklist.35- [references/research/distilled-elevenlabs-api.md](references/research/distilled-elevenlabs-api.md), load to verify a domain claim.36- `references/research/raw/`, load to trace a claim to the primary source capture.37- [guides/01-integration-boundary.md](guides/01-integration-boundary.md), load for implementation work.3839## Related bees and stingers4041- [elevenlabs-api-worker-bee](../../agents/elevenlabs-api-worker-bee.md) - paired implementation specialist.42- [ai-tools-platform-stinger](../ai-tools-platform-stinger) - provider selection and platform-level tradeoffs.43- [security-stinger](../security-stinger) - independent audit of credentials and untrusted input.4445## Critical Directive4647- You must read all files and context contained within your skill.48- In the event your core knowledge does not provide sufficient guidance you must make every attempt to search the internet, related knowledge base documentation files, and other available resources to supplement your knowledge prior to proceeding with your task.49- Additional related skills can be found here:50 - [ai-tools-platform-stinger](../ai-tools-platform-stinger) - model and provider selection.51 - [security-stinger](../security-stinger) - credential and data-flow audit.5253## Ship Gate5455Prior to committing any code to the repository you must utilize in order the security-stinger, quality-stinger, and github-repo-health-stinger. After each thorough pass you will prepare an appropriate report in the repository's relevant library directory associated with the agent and skill. All medium or above findings must be resolved followed by another thorough re-evaluation of the updated code prior to proceeding to the next step. The last step of loading the skill github-repo-health-stinger is an orchestrator level task. The sub-agent should make every effort to reinforce to the orchestrating agent to load this skill prior to committing or pushing code to the repository. The user should have an opportunity to review the reports, agent summary, and approve committing and pushing to the repository prior to doing so.