WaveSpeedText to musicComing soon
elevenlabs/music-v2
elevenlabs/music-v2 is a text to music tool from WaveSpeed that runs in the background and returns audio. Coming soon: listed with its price, not yet open to runs.
This tool is listed but not yet available to run.
Price pendingPricing
Price pending.
Limits
- Runs
- In the background
- Returns
- audio
- Longest queue wait
- 3600s
- Run deadline
- 1800s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | Describe the genre, mood, instruments, vocals and optional lyrics of the music to generate. Maximum 4,100 characters. |
music_length_ms required | number (whole) 3000 to 600000 | 30000 | Requested music duration in milliseconds (3,000-600,000; 30,000 = 30 seconds). Required for predictable pricing; automatic duration is not supported. |
output_format | one of mp3_22050_32, mp3_24000_48, mp3_44100_32, mp3_44100_64, mp3_44100_96, mp3_44100_128, mp3_44100_192, mp3_48000_128, mp3_48000_192, mp3_48000_240, mp3_48000_320 | mp3_48000_192 | MP3 output format, written as codec_sample_rate_bitrate. Default: mp3_48000_192 (48 kHz, 192 kbps). |
force_instrumental | true or false | false | If true, guarantees instrumental music without vocals. If false, vocals depend on the prompt. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "wavespeed",
"model": "elevenlabs/music-v2",
"input": {
"prompt": "<prompt>",
"music_length_ms": 30000
}
}'