ElevenLabs Music v2
Changed onGenerate a song or instrumental track with ElevenLabs Music v2 — better prompt adherence, composition, and vocal delivery than v1, plus multilingual output. Send a text prompt, or a composition_plan for chunk-by-chunk control of lyrics, styles, and timing. With a prompt, vocals are included by default; set force_instrumental for instrumental-only output.
Request
- Base URLhttps://api.krea.ai
- AuthHTTP bearer
Headers
URL to receive a POST request when the job completes. The webhook will receive the job data including results. Deliveries are signed with Ed25519 (EdDSA); verify them with the keys at https://api.krea.ai/.well-known/jwks.json (see X-Krea-Webhook-* headers). Treat requests without these headers as unauthenticated.
Request body
Text prompt describing the music to generate, e.g. genre, mood, instruments, and lyrics style. Send either prompt or composition_plan.
Up to 30 chunks played in order, each with its own text, length, and styles, totalling 3s to 10 minutes. Send either prompt or composition_plan.
Seed for more consistent results with the same composition_plan. Only applies to a composition_plan.
Length of the track in milliseconds (3s to 600s). Omit to let the model choose. Only applies to a prompt.
When true, generate instrumental music without vocals. Only applies to a prompt.
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.
Motion exports only, while running: frames rendered of the total, then finishing while the sound is added, then saving while the MP4 is filed.
Changes
- info
added the new optional request property
composition_plan - info
added the new optional request property
seed - info
the request property
promptbecame optional
- info