How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
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 50 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 7 operations across 7 paths, and defines 21 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against the base URL https://api.elevenlabs.io.

7 operations 7 paths 21 schemas 7 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://api.elevenlabs.io
Resource Areas
1

Paths & Operations 7

Across 7 paths, the API surfaces 7 operations — 7 POST. Each is listed below with its method, path, parameters, and response codes.

music-generation 7

Generate music from a text prompt.

POST
/v1/music/plan
Generate Composition Plan
compose_plan 1 param body → 200422
POST
/v1/music
Compose Music
generate 2 params body → 200422
POST
/v1/music/detailed
Compose Music With A Detailed Response
compose_detailed 2 params body → 200422
POST
/v1/music/detailed/stream
Stream Composed Music With A Detailed Response
compose_detailed_stream 2 params body → 200422
POST
/v1/music/stream
Stream Composed Music
stream_compose 2 params body → 200422
POST
/v1/music/upload
Upload Music
upload_song 1 param body → 200422
POST
/v1/music/stem-separation
Stem Separation
separate_song_stems 2 params body → 200422

Schemas 21

The contract defines 21 schemas that model the data the API accepts and returns. The most detailed are Body_Compose_Music_with_a_detailed_response_v1_music_detailed_post (18 properties), Body_Stream_composed_music_with_a_detailed_response_v1_music_detailed_stream_post (15 properties), Body_Compose_music_v1_music_post (15 properties), Body_Stream_composed_music_v1_music_stream_post (13 properties). Each schema is shown below with its type and property counts.

Body_Stream_composed_music_v1_music_stream_post
object
13 properties
ValidationError
object
3 properties 3 required
SectionSource
object
3 properties 2 required
Body_Generate_composition_plan_v1_music_plan_post
object
4 properties 1 required
GenerationChunk-Input
object
7 properties 3 required
Body_Compose_music_v1_music_post
object
15 properties
CompositionPlan
object
Composition plan for the musicv2 and musicv25 models. Using this field with any other model will result in an error.
1 property 1 required
Body_Stem_separation_v1_music_stem_separation_post
object
3 properties 1 required
MusicUploadResponse
object
Response model for music upload endpoint.
4 properties 1 required
MusicGenerationMode
string
HTTPValidationError
object
1 property
MusicModelID
string
SongSection
object
6 properties 5 required
MusicPrompt
object
Composition plan for the musicv1 model. Using this field with any other model will result in an error.
3 properties 3 required
Body_Upload_music_v1_music_upload_post
object
4 properties 1 required
TimeRange
object
2 properties 2 required
AllowedOutputFormats
string
WordTimestamp
object
3 properties 3 required
AudioRefChunk
object
2 properties 2 required
Body_Stream_composed_music_with_a_detailed_response_v1_music_detailed_stream_post
object
15 properties
Body_Compose_Music_with_a_detailed_response_v1_music_detailed_post
object
18 properties

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 Conversations API
elevenlabs Dubbing API
elevenlabs Dubbing Resources API
elevenlabs Instant Voice Cloning API
elevenlabs Knowledge Base API
elevenlabs Professional Voice Cloning API
elevenlabs Speech to Speech API
elevenlabs Speech to Text API
elevenlabs Text to Dialogue API
Where this information came from

This is an independent, third-party profile of elevenlabs Music Generation API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.