Loading...
ElevenLabs Music API
Full tracks from a written brief, with optional lyrics placed across the length you ask for.
Endpoint
POST https://api.hedra.com/v3/models/elevenlabs-music
Example request
curl -X POST "https://api.hedra.com/v3/models/elevenlabs-music" \
-H "Authorization: Key $HEDRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": {"prompt": "a cinematic shot of a city at dusk"}}'Parameters
- promptstringrequired
Generation prompt.
- duration_msintegerrequired
Length of the generated track, in milliseconds. Billed as whole seconds, rounded up. From 3000 to 600000.
- lyricsstring
Words for the track to sing. Sent to the provider inside the prompt, which reads lyrics from the prompt text and places them across the requested length. Cannot be combined with `force_instrumental`. At most 10000 characters.
- force_instrumentalboolean
Compose without vocals.