ACE-Step 1.5 ace-step-1.5
Songs with or without vocals from a style caption and lyrics, 10 s to 10 minutes, as 48 kHz stereo. quality turbo (default) or hifi.
Audio
$0.0002–$0.0015 / second
region ATL Hugging Face ACE-Step/acestep-v15-xl-turbo
Pricing
Send quality with a tier or one of its aliases; without it a request gets the default. Each tier renders on its own engine, and a dearer one takes longer.
| Tier | Also accepts | Price |
|---|---|---|
turbo default | auto, low, fast | $0.0002 / second |
hifi | high, hd | $0.0015 / second |
Limits
What one subscription may send this model. Limits says what happens past them.
| Requests a minute | At once |
|---|---|
| 10 | 3 jobs pending or rendering |
Inputs
| Input | Accepts |
|---|---|
text | max prompt 750 characters |
Parameters
Does not stream.
| Parameter | Type | Values | Default |
|---|---|---|---|
task | string | text2music | |
lyrics | any | ||
duration | integer | 10–600 seconds | 120 |
n | integer | 1–1 | 1 |
seed | integer | ||
response_format | string | mp3, wav, flac, opus, aac, pcm | mp3 |
sample_rate | integer | 8000, 16000–48000 | 48000 |
bitrate | integer | 32000, 64000–320000 | 256000 |
bpm | integer | 30–300 | |
key | any | ||
time_signature | string | 2/4, 3/4, 4/4, 6/8 | |
language | string | ar, az, bg, bn, ca, cs, da, de, el, en, es, fa, fi, fr, he, hi, hr, ht, hu, id, is, it, ja, ko, la, lt, ms, ne, nl, no, pa, pl, pt, ro, ru, sa, sk, sr, sv, sw, ta, te, th, tl, tr, uk, ur, vi, yue, zh, unknown | en |
quality | string | turbo, auto, low, fast, hifi, high, hd |
Endpoints
A request
curl https://api.vultrinference.com/v1/music \
-H "Authorization: Bearer $VULTR_INFERENCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ace-step-1.5",
"prompt": "Global Metadata\nBasic Attributes: bpm is 118. key is F, and scale is minor. Disco Pop / Nu-Disco.\nVocal Details\nBright female lead, close-miked, light doubles on the chorus.\nArrangement\nFour-on-the-floor kick, slap bass, string stabs, filtered synth swells into the chorus.",
"lyrics": "[Verse]\nCity lights are humming low\nEvery window starts to glow\n[Chorus]\nWe keep on running through the night",
"duration": 180,
"response_format": "mp3",
"callback_url": "https://example.com/hooks/music"
}'import os
import requests
response = requests.post(
"https://api.vultrinference.com/v1/music",
headers={"Authorization": f"Bearer {os.environ['VULTR_INFERENCE_API_KEY']}"},
json={
"model": "ace-step-1.5",
"prompt": "Global Metadata\nBasic Attributes: bpm is 118. key is F, and scale is minor. Disco Pop / Nu-Disco.\nVocal Details\nBright female lead, close-miked, light doubles on the chorus.\nArrangement\nFour-on-the-floor kick, slap bass, string stabs, filtered synth swells into the chorus.",
"lyrics": "[Verse]\nCity lights are humming low\nEvery window starts to glow\n[Chorus]\nWe keep on running through the night",
"duration": 180,
"response_format": "mp3",
"callback_url": "https://example.com/hooks/music",
},
)
print(response.json())const response = await fetch("https://api.vultrinference.com/v1/music", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.VULTR_INFERENCE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "ace-step-1.5",
"prompt": "Global Metadata\nBasic Attributes: bpm is 118. key is F, and scale is minor. Disco Pop / Nu-Disco.\nVocal Details\nBright female lead, close-miked, light doubles on the chorus.\nArrangement\nFour-on-the-floor kick, slap bass, string stabs, filtered synth swells into the chorus.",
"lyrics": "[Verse]\nCity lights are humming low\nEvery window starts to glow\n[Chorus]\nWe keep on running through the night",
"duration": 180,
"response_format": "mp3",
"callback_url": "https://example.com/hooks/music"
}),
});
console.log(await response.json());