Introduction
Explore the ElevenLabs API reference with comprehensive guides, code examples, and endpoint documentation
Installation
You can interact with the API through HTTP or Websocket requests from any language, via our official Python bindings or our official Node.js libraries.
To install the official Python bindings, run the following command:
To install the official Node.js library, run the following command in your Node.js project directory:
Tracking generation costs
Access response headers to retrieve generation metadata including character costs.
The raw response provides access to:
- Response data - The actual API response content
- HTTP headers - Metadata including character costs and request IDs