Audio

ElevenLabs Music v2

Generate a song or instrumental track from a text prompt with ElevenLabs Music v2 — better prompt adherence, composition, and vocal delivery than v1, plus multilingual output. Vocals are included by default; set force_instrumental for instrumental-only output.

post/generate/audio/elevenlabs/music-v2

Headers

X-Webhook-URLstring uri

URL to receive a POST request when the job completes. The webhook will receive the job data including results.

Request body

promptstring required

Text prompt describing the music to generate, e.g. genre, mood, instruments, and lyrics style.

music_length_msinteger

Length of the track in milliseconds (3s to 600s). Omit to let the model choose.

force_instrumentalboolean

When true, generate instrumental music without vocals.

Response

The resulting job data. This will be returned in a pending state until the job is completed. See /jobs/{id} for retrieving the results.

job_idstring uuid required
status'backlogged' | 'queued' | 'scheduled' | 'processing' | 'sampling' | 'intermediate-complete' | 'completed' | 'failed' | 'cancelled' required
created_atstring date-time required
{"stackTrail":"paths:/generate/audio/elevenlabs/music-v2:post:responses:200:content:application/json:schema:properties:completed_at","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/generate/audio/elevenlabs/music-v2:post:responses:200:content:application/json:schema:properties:result","oasType":"schema","type":"unknown"}

Changes

Changed in 1 of the 81 revisions of this API.1