ACE-Step
ace/ace-stepACE-Step generates a complete song up to 4 minutes from genre tags and optional lyrics, with vocals or as an instrumental.
- Grundpreis
- $0.01USD / Ausführung
- Ausführung
- async
- Modelltyp
- audio
- Eingabefelder
- 4
Modell testen
Playground
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
Modellkarte
Spezifikationen
Preisgestaltung
- Basispreis
- $0.01 / Ausführung
Kontext & Modalitäten
- Eingabe
- Schema-definiert
- Ausgabe
- audio
Funktionen
- Chat
- Nicht unterstützt
- Vision
- Nicht unterstützt
- Reasoning
- Nicht unterstützt
- Strukturierte Ausgabe
- Nicht unterstützt
- Function Calling
- Nicht unterstützt
- Audioeingabe
- Nicht unterstützt
Zugriff
- Anbieter
- ACE Studio
- Modell-ID
- ace/ace-step
- Ausführung
- async
- Basis-URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpunkt
- /v1/run
API-README
ACE-Step
ACE-Step writes a full song up to 4 minutes from genre tags and optional lyrics.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
tags | string, required | — | Comma-separated genres, moods, instruments. |
lyrics | string | "" | Lyrics with [verse] / [chorus] tags; empty or [inst] for instrumental. |
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 used. |
lyrics | Lyrics used. |
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
- Keep tags short and comma-separated, e.g.
lofi, hiphop, chill.
Also on SandBase
Related: ace/ace-step/prompt-to-audio, ace/ace-step/audio-to-audio, ace/ace-step/audio-inpaint, ace/ace-step/audio-outpaint.
Jetzt loslegen
Senden Sie Ihre erste Anfrage
OpenAI-kompatibler Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
# 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",
"tags": "lofi, hiphop, drum and bass, trap, chill",
"duration": 60
}
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"Eingabeschema
4 Parameter · 1 erforderlich · 3 optional
| Parameter | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
tags | string | Erforderlich | Comma-separated genre and style tags that control the generated audio. |
seed | integer | Optional | Random seed for reproducible results. Leave empty for a random seed. |
lyrics | string | Optional | Lyrics to sing. Leave empty or use [inst] / [instrumental] for no vocals. Use structure tags such as [verse], [chorus], and [bridge]. · Standard: "" |
duration | number | Optional | Length of the generated audio in seconds (5–240). · Min.: 5 · Max.: 240 · Standard: 60 |
Ausgabeschema
| Feld | Typ | Beschreibung |
|---|---|---|
id | string | Eindeutige Kennung für den Generierungsauftrag |
status | string | Status des Auftrags: pending, running, completed, failed, timeout |
model | string | Verwendetes Modell für die Generierung |
outputs | array | Array von Ausgabeelementen |
outputs[].url | string | URL des generierten Artefakts |
outputs[].content_type | string | MIME-Typ (z. B. image/png, video/mp4) |
error | object | null | Fehlerdetails bei Fehlschlag, bei Erfolg null |
error.type | string | Maschinenlesbarer Fehler-Typcode |
error.message | string | Menschenlesbare Fehlerbeschreibung |
Asynchroner Workflow
Dieses Modell läuft asynchron. Senden Sie eine Anfrage und pollen Sie dann das Ergebnis.
- Senden: Per POST an /v1/run senden und das zurückgegebene
idlesen. - Pollen: GET /v1/run/{id}, bis der Status
completed,failedodertimeoutist. - Abrufen:
outputsaus der abgeschlossenen Antwort lesen.
Wählen Sie Ihr Modell
Modelle vergleichen
| Modell | Typ | Standardpreis | Veröffentlicht |
|---|---|---|---|
ACE-StepDieses Modell ACE Studio | Audio | $0.01 / Lauf | 8. Mai 2025 |
ACE Studio | Audio | $0.02 / Lauf | 11. Mai 2025 |
ACE Studio | Audio | $0.01 / Lauf | 11. Mai 2025 |
ACE Studio | Audio | $0.01 / Lauf | 11. Mai 2025 |
ACE Studio | Audio | $0.01 / Lauf | 11. Mai 2025 |
Fragen
FAQ
Wie rufe ich ACE Studio ACE-Step über SandBase auf?
Erstellen Sie einen SandBase API-Schlüssel und senden Sie dann Anfragen mit der Modell-ID "ace/ace-step" an Unified Run API (/v1/run) unter https://api.sandbase.ai. Die Anfragebeispiele auf dieser Seite zeigen die exakte Nutzlast.
Benötige ich ein separates ACE Studio-Konto?
Nein. Mit einem SandBase API-Schlüssel und Guthaben erhalten Sie Zugriff auf ACE Studio ACE-Step und die anderen Modelle im Katalog; Sie müssen sich nicht separat bei ACE Studio registrieren.
