Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

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.

1 operations 1 paths 1 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Base URL
https://api.elevenlabs.io
Authentication
API Key
Terms of Service
Resource Areas
1

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.

Music Generation 1

Endpoints for generating music from text prompts using AI models.

POST
/v1/music
Create music
createMusic body → 200400401422

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.

MusicGenerationRequest
object
4 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

elevenlabs-music-generation-api-openapi.yml Raw ↑

Other APIs elevenlabs publishes across the network.

elevenlabs Agents API
elevenlabs Audio Isolation API
elevenlabs Audio Native API
elevenlabs Chapters API
elevenlabs Conversations API
elevenlabs Dubbing API
elevenlabs Dubbing Resources API
elevenlabs Instant Voice Cloning API
elevenlabs Knowledge Base API
elevenlabs Professional Voice Cloning API
elevenlabs Projects API
elevenlabs Pronunciation Dictionaries API