ElevenLabs
Official ElevenLabs REST operations for text-to-speech and speech-to-text.
Connect this API to an AI agent Browse all specs
What you can do with ElevenLabs via MCP
Every endpoint below becomes a governed tool your AI agent (Claude, ChatGPT, or a customer-facing VX agent) can call — with scoped permissions, sandbox testing, and audit logs.
| Method | Path | Operation | Description |
|---|---|---|---|
| POST | /v1/text-to-speech/{voice_id} |
convertTextToSpeech | Create speech Method: POST Path: /v1/text-to-speech/{voice_id} IMPORTANT: This function has 2 REQUIRED parameter(s) and 3 OPTIONAL parameter(s) REQUIRED parameters MUST be provided OPTIONAL parameters can be omitted if not needed Parameters: Path Parameters: REQUIRED: - voice_id: No description Request Body: REQUIRED: - text: text parameter from application/json OPTIONAL: - model_id: model_id parameter from application/json - language_code: language_code parameter from application/json - voice_settings: voice_settings parameter from application/json |
| POST | /v1/speech-to-text |
createTranscript | Create transcript Method: POST Path: /v1/speech-to-text IMPORTANT: This function has 1 REQUIRED parameter(s) and 2 OPTIONAL parameter(s) REQUIRED parameters MUST be provided OPTIONAL parameters can be omitted if not needed Parameters: Form Data: REQUIRED: - file: file parameter from multipart/form-data OPTIONAL: - model_id: model_id parameter from multipart/form-data - language_code: language_code parameter from multipart/form-data |
Usage guide
## Authentication Create an ElevenLabs API key and send it in the `xi-api-key` header. ## Text to speech Call `POST /v1/text-to-speech/{voice_id}` with `text`, optional `model_id`, and voice settings. ## Speech to text Call `POST /v1/speech-to-text` as multipart form data with the audio `file`. Official docs: https://elevenlabs.io/docs/api-reference/introduction
How to use this spec
- Create a free VX Agents account (sandbox tools included).
- Open the marketplace and connect “ElevenLabs” to an agent.
- Expose it as an MCP server for Claude/ChatGPT, or chat with it directly.