elevenlabs Music Generation API
Endpoints for generating music from text prompts using AI models.
elevenlabs Music Generation API is one of 22 APIs that elevenlabs publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.
Tagged areas include Music Generation. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an AsyncAPI specification.
This API exposes 1 operation across 1 path, and defines 1 schema. It is described by OpenAPI 3.1.0, at version 1.0.
Requests are made against a single base URL, https://api.elevenlabs.io.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
elevenlabs Music Generation API declares
1 security scheme
for authenticating requests.
An API key is passed in the header as xi-api-key (apiKeyAuth).
By default, every request must be authenticated.
apiKeyAuth— ElevenLabs API key passed in the xi-api-key header for authentication.
Paths & Operations 1
Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.
Endpoints for generating music from text prompts using AI models.
Schemas 1
The contract defines 1 schema that model the data the API accepts and returns. The most detailed is MusicGenerationRequest (4 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from elevenlabs 12
Other APIs elevenlabs publishes across the network.