SandBase is live — $1 in free credits on signupStart free ›

ElevenLabs modelsaudio generation api

elevenlabs/music

Music is ElevenLabs's AI audio generation model. Produce high-quality music tracks, sound effects, and audio landscapes from natural language prompts.

Input
The text prompt describing the music to generate
If true, guarantees that the generated song will be instrumental.
3000600000
The length of the song to generate in milliseconds (3000-600000). If not provided, the model will choose a length based on the prompt. Range: 3000 to 600000.
Idle

Example output — click Run to generate your own

API README

ElevenLabs Music

elevenlabs/music creates complete music from a written brief, including composition, arrangement, instrumentation, and production character rather than a simple loop or sound effect. Prompts can describe genre, mood, tempo, performance, structure, and sonic references, while an instrumental option supports score and background-music workflows without vocals. This combination makes the model a practical choice when the creative outcome depends on those qualities rather than on a generic media conversion.

For production work, With lengths from three seconds to ten minutes, the model can cover stingers, social cues, song sections, and sustained pieces while keeping the musical idea coherent over time. The result is most reliable when the source material and creative brief clearly describe the intended subject, progression, visual or sonic character, and the qualities that must remain unchanged.

Highlights

Full-track composition develops musical structure, arrangement, and production from text.

Genre and mood control translates descriptive art direction into a distinct sonic identity.

Instrumental generation supports scores, beds, and cues without sung vocals.

Long-duration coherence enables music from brief stingers through ten-minute pieces.

Pricing

Generated lengthPrice
Each started minute$0.800

When to Use

✅ Good fit❌ Consider alternatives
The model's named workflow matches the source material and intended outputA different input modality or model route is required
A managed asynchronous result is suitable for the production pipelineA synchronous, interactive editor is essential
The documented controls cover the required duration, framing, or formatThe project needs controls outside this endpoint's schema
Creative iteration benefits from a repeatable request structureExact deterministic pixels, frames, geometry, or samples are mandatory
A finished downloadable media asset is the desired deliverableEditable source layers or a native project file are required

Prompt Guide

For music generation, state the intended result first, then add the subject or source treatment, progression, style, and delivery constraints. Keep one creative variable per phrase, use the documented field names for controls, and change one setting at a time when comparing results.

{
  "prompt": "Mysterious original soundtrack, themes of jungle, rainforest, nature, woodwinds, busy rhythmic tribal percussion."
}

Technical Specs

SpecValue
Model IDelevenlabs/music
Inputsforce_instrumental, music_length_ms, prompt
Required inputsprompt
Output fieldscontent_type, url
ExecutionAsync (submit, then poll for result)

Related Models

Related Models

elevenlabs/audio-isolationAudio Isolation by ElevenLabs - advanced AI model for audio-to-audio. Delivers high-quality results with fast inference, suitable for both creative and production workflows.elevenlabs/multilingual-v2Multilingual V2 is ElevenLabs's AI audio generation model. Produce high-quality music tracks, sound effects, and audio landscapes from natural language prompts.elevenlabs/scribe-v2Scribe V2 is ElevenLabs's speech recognition model. Transcribe audio content with industry-leading accuracy across multiple languages and accents.elevenlabs/sound-effects-v2Sound Effects V2 by ElevenLabs - generate music, sound effects, and audio from text descriptions with AI. Create original compositions, ambient sounds, and audio content for any creative project.elevenlabs/text-to-dialogueText To Dialogue by ElevenLabs - generate music, sound effects, and audio from text descriptions with AI. Create original compositions, ambient sounds, and audio content for any creative project.elevenlabs/turbo-v2.5Turbo V2.5 by ElevenLabs - convert text to natural-sounding speech with AI. Supports multiple voices, languages, emotions, and speaking styles for content creation and accessibility.elevenlabs/v3V3 by ElevenLabs - generate music, sound effects, and audio from text descriptions with AI. Create original compositions, ambient sounds, and audio content for any creative project.elevenlabs/voice-changerVoice Changer by ElevenLabs - advanced AI model for audio-to-audio. Delivers high-quality results with fast inference, suitable for both creative and production workflows.