ACE-Step Prompt to Audio
ace/ace-step/prompt-to-audioACE-Step Prompt to Audio turns a plain-language music brief into a complete song up to 4 minutes, writing the genre tags and lyrics for you, or an instrumental track.
- Prezzo base
- $0.01USD / esecuzione
- Esecuzione
- async
- Tipo di modello
- audio
- Campi di input
- 4
Prova il modello
Playground
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Scheda del modello
Specifiche
Prezzi
- Prezzo base
- $0.01 / esecuzione
Contesto e modalità
- Input
- Definito dallo schema
- Output
- audio
Funzionalità
- Chat
- Non supportato
- Vision
- Non supportato
- Ragionamento
- Non supportato
- Output strutturato
- Non supportato
- Chiamata di funzione
- Non supportato
- Input audio
- Non supportato
Accesso
- Provider
- ACE Studio
- ID modello
- ace/ace-step/prompt-to-audio
- Esecuzione
- async
- URL base
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README API
ACE-Step Prompt to Audio
ACE-Step Prompt to Audio writes a full song up to 4 minutes from a plain-language brief; it generates the tags and lyrics itself.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Genre, mood, and what the song is about. |
instrumental | boolean | false | Generate without vocals. |
duration | number 5–240 | 60 | Length in seconds. |
seed | integer | random | Fix it to compare prompt changes. |
Output
| Field | Notes |
|---|---|
url | WAV file. |
tags | Genre tags ACE-Step wrote. |
lyrics | Lyrics ACE-Step wrote. |
seed | Seed used; pass it back to reproduce. |
Billing
$0.0002 per second of generated audio.
| Length | Price |
|---|---|
| 30 s | $0.006 |
| 60 s | $0.012 |
| 240 s | $0.048 |
Failed runs are not charged.
Prompting
- Say what the song is about; the returned
tagsandlyricscan be edited and sent toace/ace-step.
Also on SandBase
Related: ace/ace-step, ace/ace-step/audio-to-audio, ace/ace-step/audio-inpaint, ace/ace-step/audio-outpaint.
Inizia a costruire
Invia la tua prima richiesta
Endpoint compatibile con OpenAI con autenticazione unificata e tracciamento dell'utilizzo.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "ace/ace-step/prompt-to-audio",
"prompt": "A lofi hiphop song with a chill vibe about a sunny day on the boardwalk.",
"duration": 60,
"instrumental": false
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Schema di input
4 parametri · 1 obbligatori · 3 facoltativi
| Parametro | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
prompt | string | Obbligatorio | Description of the song to generate. ACE-Step writes the tags and lyrics from it. |
seed | integer | Facoltativo | Random seed for reproducible results. Leave empty for a random seed. |
duration | number | Facoltativo | Length of the generated audio in seconds (5–240). · Min: 5 · Max: 240 · Predefinito: 60 |
instrumental | boolean | Facoltativo | When true, generates an instrumental track without vocals. · Predefinito: false |
Schema di output
| Campo | Tipo | Descrizione |
|---|---|---|
id | string | Identificatore univoco dell'attività di generazione |
status | string | Stato dell'attività: pending, running, completed, failed, timeout |
model | string | Modello usato per la generazione |
outputs | array | Array di elementi di output |
outputs[].url | string | URL dell'artefatto generato |
outputs[].content_type | string | Tipo MIME (ad esempio image/png, video/mp4) |
error | object | null | Dettagli dell'errore in caso di fallimento, null in caso di successo |
error.type | string | Codice del tipo di errore leggibile dalla macchina |
error.message | string | Descrizione dell'errore leggibile dall'utente |
Workflow asincrono
Questo modello funziona in modo asincrono. Invia una richiesta, quindi esegui il polling per ottenere il risultato.
- Invio: esegui POST su /v1/run e leggi il
idrestituito. - Polling: esegui GET /v1/run/{id} finché lo stato non è
completed,failedotimeout. - Recupero: leggi
outputsdalla risposta completata.
Scegli il tuo modello
Confronta i modelli
| Modello | Tipo | Prezzo predefinito | Rilasciato |
|---|---|---|---|
ACE-Step Prompt to AudioQuesto modello ACE Studio | Audio | $0.01 / esecuzione | 11 mag 2025 |
ACE Studio | Audio | $0.02 / esecuzione | 11 mag 2025 |
ACE Studio | Audio | $0.01 / esecuzione | 11 mag 2025 |
ACE Studio | Audio | $0.01 / esecuzione | 11 mag 2025 |
ACE Studio | Audio | $0.01 / esecuzione | 8 mag 2025 |
Domande
FAQ
Come chiamo ACE Studio ACE-Step Prompt to Audio tramite SandBase?
Crea una chiave API SandBase, poi invia richieste con l'ID modello "ace/ace-step/prompt-to-audio" a Unified Run API (/v1/run) su https://api.sandbase.ai. Gli esempi di richiesta in questa pagina mostrano il payload esatto.
Mi serve un account ACE Studio separato?
No. Una sola chiave API e un solo saldo SandBase ti danno accesso a ACE Studio ACE-Step Prompt to Audio e agli altri modelli del catalogo; non è necessario registrarsi separatamente su ACE Studio.
