All models

ElevenLabs Music v2

elevenlabs/music-v2
ElevenLabs MusicAudio Generation

ElevenLabs' studio-grade music generation — up to 10 minutes per track.

Quick start

# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
  -H "content-type: application/json" \
  -d '{
    "model": "elevenlabs/music-v2",
    "prompt": "<your prompt>"
  }'

# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
  -J '{"model": "elevenlabs/music-v2", "prompt": "<your prompt>"}'

Examples

Parameters

Input
prompt string optional

Text prompt describing what to generate.

composition_plan object optional
music_length_ms integer optional
output_format string optional

File format of the output (e.g. png, jpeg, mp4).

seed integer optional

Random seed for reproducible results — same seed + inputs gives the same output.

force_instrumental boolean optional
store_for_inpainting boolean optional
sign_with_c2pa boolean optional
Output
Audio file (hosted URL)