Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

ACE-Step Audio Outpaint

ace/ace-step/audio-outpaint

ACE-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.

Cena bazowa
$0.02USD / uruchomienie
Wykonanie
async
Typ modelu
audio
Pola wejściowe
6
Trasa produkcyjna

Wypróbuj model

Playground

Otwórz Playground
Wejście
Source song file or URL to extend.
Comma-separated genre and style tags that control the generated audio.
Lyrics to sing. Leave empty or use [inst] / [instrumental] for no vocals. Use structure tags such as [verse], [chorus], and [bridge].
0107
Seconds of new audio to add before the start (0–107). Zakres: od 0 do 107.
0107
Seconds of new audio to add after the end (0–107). Zakres: od 0 do 107.
Random seed for reproducible results. Leave empty for a random seed.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

Karta modelu

Specyfikacja

Cennik

Cena bazowa
$0.02 / uruchomienie

Kontekst i modalności

Wejście
Zdefiniowane przez schemat
Wyjście
audio

Możliwości

Czat
Nieobsługiwane
Wizja
Nieobsługiwane
Rozumowanie
Nieobsługiwane
Ustrukturyzowany wynik
Nieobsługiwane
Wywoływanie funkcji
Nieobsługiwane
Wejście audio
Nieobsługiwane

Dostęp

Dostawca
ACE Studio
ID modelu
ace/ace-step/audio-outpaint
Wykonanie
async
Bazowy URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

README 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

FieldTypeDefaultNotes
audioaudio file or URL, required—Source song.
tagsstring, required—Style for the new parts.
lyricsstring""Lyrics for the new parts.
extend_before_durationnumber 0–1070Seconds to add at the start.
extend_after_durationnumber 0–10730Seconds to add at the end.
seedintegerrandomFix it to compare changes.

Output

FieldNotes
urlWAV file.
tagsGenre tags used.
lyricsLyrics used.
seedSeed 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 + addedPrice
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.

Zacznij tworzyć

Wyślij pierwsze żądanie

Kompatybilny z OpenAI endpoint z jednolitym uwierzytelnianiem i śledzeniem użycia.

API produkcyjne
endpoint Unified Run API
https://api.sandbase.ai/v1/run
ID modelu
ace/ace-step/audio-outpaint
# 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"
01

Schemat wejścia

6 parametrów · 2 wymaganych · 4 opcjonalnych

ParametrTypWymaganeOpis
tagsstringWymaganeComma-separated genre and style tags that control the generated audio.
audiostringWymaganeSource song file or URL to extend.
seedintegerOpcjonalneRandom seed for reproducible results. Leave empty for a random seed.
lyricsstringOpcjonalneLyrics to sing. Leave empty or use [inst] / [instrumental] for no vocals. Use structure tags such as [verse], [chorus], and [bridge]. · Domyślnie: ""
extend_after_durationnumberOpcjonalneSeconds of new audio to add after the end (0–107). · Min.: 0 · Maks.: 107 · Domyślnie: 30
extend_before_durationnumberOpcjonalneSeconds of new audio to add before the start (0–107). · Min.: 0 · Maks.: 107 · Domyślnie: 0
02

Schemat wyjścia

PoleTypOpis
idstringUnikalny identyfikator zadania generowania
statusstringStatus zadania: pending, running, completed, failed, timeout
modelstringModel użyty do generowania
outputsarrayTablica elementów wyjściowych
outputs[].urlstringURL wygenerowanego artefaktu
outputs[].content_typestringTyp MIME (np. image/png, video/mp4)
errorobject | nullSzczegóły błędu, jeśli wystąpił; null w przypadku powodzenia
error.typestringMaszynowo czytelny kod typu błędu
error.messagestringOpis błędu czytelny dla człowieka

Asynchroniczny przepływ pracy

Ten model działa asynchronicznie. Wyślij żądanie, a następnie odpytyuj o wynik.

  1. Wyślij: wykonaj POST do /v1/run i odczytaj zwrócone id.
  2. Odpytywanie: wykonuj GET /v1/run/{id}, aż status będzie równy completed, failed lub timeout.
  3. Pobierz: odczytaj outputs z ukończonej odpowiedzi.

Wybierz swój model

Porównaj modele

Wszystkie modele obrazu i wideo
ModelTypCena domyślnaWydano
ACE StudioAudio$0.02 / uruchomienie11 maj 2025
ACE StudioAudio$0.01 / uruchomienie11 maj 2025
ACE StudioAudio$0.01 / uruchomienie11 maj 2025
ACE StudioAudio$0.01 / uruchomienie11 maj 2025
ACE StudioAudio$0.01 / uruchomienie8 maj 2025

Pytania

FAQ

Jak wywołać ACE Studio ACE-Step Audio Outpaint przez SandBase?

Utwórz klucz API SandBase, a następnie wysyłaj żądania z identyfikatorem modelu "ace/ace-step/audio-outpaint" do Unified Run API (/v1/run) na https://api.sandbase.ai. Przykłady żądań na tej stronie pokazują dokładny payload.

Czy potrzebuję osobnego konta ACE Studio?

Nie. Jeden klucz API SandBase i saldo daje Ci dostęp do ACE Studio ACE-Step Audio Outpaint oraz innych modeli w katalogu; nie musisz osobno zakładać konta u ACE Studio.