ACE-Step Audio Outpaint
ace/ace-step/audio-outpaintACE-Step Audio Outpaint extends an existing song before its start, after its end, or both, generating up to 107 seconds on each side from genre tags and lyrics.
- Prix de base
- $0.02USD / exécution
- Exécution
- async
- Type de modèle
- audio
- Champs d'entrée
- 6
Essayer le modèle
Bac à sable
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
Fiche modèle
Spécifications
Tarification
- Prix de base
- $0.02 / exécution
Contexte et modalités
- Entrée
- Défini par le schéma
- Sortie
- audio
Fonctionnalités
- Chat
- Non pris en charge
- Vision
- Non pris en charge
- Raisonnement
- Non pris en charge
- Sortie structurée
- Non pris en charge
- Appel de fonction
- Non pris en charge
- Entrée audio
- Non pris en charge
Accès
- Fournisseur
- ACE Studio
- ID du modèle
- ace/ace-step/audio-outpaint
- Exécution
- async
- URL de base
- https://api.sandbase.ai
- API
- Unified Run API
- Point de terminaison
- /v1/run
README de l'API
ACE-Step Audio Outpaint
ACE-Step Audio Outpaint adds new music before and/or after a song, up to 107 seconds on each side.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
audio | audio file or URL, required | — | Source song. |
tags | string, required | — | Style for the new parts. |
lyrics | string | "" | Lyrics for the new parts. |
extend_before_duration | number 0–107 | 0 | Seconds to add at the start. |
extend_after_duration | number 0–107 | 30 | Seconds to add at the end. |
seed | integer | random | Fix it to compare 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. The quote assumes the output is the source plus the added seconds; the final charge uses the output length.
| Source + added | Price |
|---|---|
| 60 s + 30 s | $0.018 |
| 120 s + 60 s | $0.036 |
| 30 s + 214 s | $0.0488 |
Failed runs are not charged.
Prompting
- Use tags close to the source so the new parts match.
Also on SandBase
Related: ace/ace-step, ace/ace-step/prompt-to-audio, ace/ace-step/audio-to-audio, ace/ace-step/audio-inpaint.
Commencer à construire
Envoyez votre première requête
Point de terminaison compatible OpenAI avec authentification unifiée et suivi de l'utilisation.
# 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/audio-outpaint",
"tags": "lofi, hiphop, drum and bass, trap, chill",
"audio": "https://storage.googleapis.com/falserverless/example_inputs/ace-step-audio-to-audio.wav",
"extend_after_duration": 30,
"extend_before_duration": 0
}
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"Schéma d'entrée
6 paramètres · 2 obligatoires · 4 facultatifs
| Paramètre | Type | Obligatoire | Description |
|---|---|---|---|
tags | string | Obligatoire | Comma-separated genre and style tags that control the generated audio. |
audio | string | Obligatoire | Source song file or URL to extend. |
seed | integer | Facultatif | Random seed for reproducible results. Leave empty for a random seed. |
lyrics | string | Facultatif | Lyrics to sing. Leave empty or use [inst] / [instrumental] for no vocals. Use structure tags such as [verse], [chorus], and [bridge]. · Par défaut : "" |
extend_after_duration | number | Facultatif | Seconds of new audio to add after the end (0–107). · Min : 0 · Max : 107 · Par défaut : 30 |
extend_before_duration | number | Facultatif | Seconds of new audio to add before the start (0–107). · Min : 0 · Max : 107 · Par défaut : 0 |
Schéma de sortie
| Champ | Type | Description |
|---|---|---|
id | string | Identifiant unique de la tâche de génération |
status | string | Statut de la tâche : pending, running, completed, failed, timeout |
model | string | Modèle utilisé pour la génération |
outputs | array | Tableau des éléments de sortie |
outputs[].url | string | URL de l'artefact généré |
outputs[].content_type | string | Type MIME (par ex. image/png, video/mp4) |
error | object | null | Détails de l'erreur en cas d'échec, null en cas de succès |
error.type | string | Code de type d'erreur lisible par machine |
error.message | string | Description de l'erreur lisible par l'humain |
Flux de travail asynchrone
Ce modèle s’exécute de manière asynchrone. Envoyez une requête, puis interrogez le résultat.
- Envoyer : faites un POST vers /v1/run et lisez le
idrenvoyé. - Interroger : faites un GET sur /v1/run/{id} jusqu’à ce que le statut soit
completed,failedoutimeout. - Récupérer : lisez
outputsdans la réponse terminée.
Choisissez votre modèle
Comparer les modèles
| Modèle | Type | Prix par défaut | Lancement |
|---|---|---|---|
ACE-Step Audio OutpaintCe modèle ACE Studio | Audio | $0.02 / exécution | 11 mai 2025 |
ACE Studio | Audio | $0.01 / exécution | 11 mai 2025 |
ACE Studio | Audio | $0.01 / exécution | 11 mai 2025 |
ACE Studio | Audio | $0.01 / exécution | 11 mai 2025 |
ACE Studio | Audio | $0.01 / exécution | 8 mai 2025 |
Questions
FAQ
Comment appeler ACE Studio ACE-Step Audio Outpaint via SandBase ?
Créez une clé API SandBase, puis envoyez des requêtes avec l’identifiant de modèle "ace/ace-step/audio-outpaint" à Unified Run API (/v1/run) sur https://api.sandbase.ai. Les exemples de requêtes sur cette page montrent la charge utile exacte.
Ai-je besoin d’un compte ACE Studio distinct ?
Non. Une seule clé API SandBase et un seul solde vous donnent accès à ACE Studio ACE-Step Audio Outpaint et aux autres modèles du catalogue ; vous n’avez pas besoin de créer un compte ACE Studio séparément.
