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.
- Taban fiyat
- $0.01USD / çalıştırma
- Çalıştırma
- async
- Model türü
- audio
- Girdi alanları
- 4
Modeli deneyin
Oynatma Alanı
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
Model kartı
Teknik özellikler
Fiyatlandırma
- Temel fiyat
- $0.01 / çalıştırma
Bağlam ve modaliteler
- Girdi
- Şemada tanımlı
- Çıktı
- audio
Yetenekler
- Sohbet
- Desteklenmiyor
- Görsel
- Desteklenmiyor
- Akıl yürütme
- Desteklenmiyor
- Yapılandırılmış çıktı
- Desteklenmiyor
- Fonksiyon çağırma
- Desteklenmiyor
- Ses girdisi
- Desteklenmiyor
Erişim
- Sağlayıcı
- ACE Studio
- Model kimliği
- ace/ace-step/prompt-to-audio
- Çalıştırma
- async
- Temel URL
- https://api.sandbase.ai
- API
- Unified Run API
- Uç nokta
- /v1/run
API README
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.
Geliştirmeye başlayın
İlk isteğinizi gönderin
Birleşik kimlik doğrulama ve kullanım takibi sunan OpenAI uyumlu uç nokta.
# 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"Giriş Şeması
4 parametre · 1 zorunlu · 3 isteğe bağlı
| Parametre | Tür | Zorunlu | Açıklama |
|---|---|---|---|
prompt | string | Zorunlu | Description of the song to generate. ACE-Step writes the tags and lyrics from it. |
seed | integer | İsteğe bağlı | Random seed for reproducible results. Leave empty for a random seed. |
duration | number | İsteğe bağlı | Length of the generated audio in seconds (5–240). · Min: 5 · Maks: 240 · Varsayılan: 60 |
instrumental | boolean | İsteğe bağlı | When true, generates an instrumental track without vocals. · Varsayılan: false |
Çıkış Şeması
| Alan | Tür | Açıklama |
|---|---|---|
id | string | Üretim görevinin benzersiz tanımlayıcısı |
status | string | Görev durumu: pending, running, completed, failed, timeout |
model | string | Üretimde kullanılan model |
outputs | array | Çıkış öğelerinin dizisi |
outputs[].url | string | Oluşturulan çıktının URL'si |
outputs[].content_type | string | MIME türü (örn. image/png, video/mp4) |
error | object | null | Başarısız olursa hata ayrıntıları, başarıda null |
error.type | string | Makine tarafından okunabilir hata türü kodu |
error.message | string | İnsan tarafından okunabilir hata açıklaması |
Asenkron İş Akışı
Bu model asenkron çalışır. Bir istek gönderin, ardından sonuç için sorgulayın.
- Gönder: /v1/run adresine POST yapın ve dönen
idalanını okuyun. - Sorgula: durum
completed,failedveyatimeoutolana kadar /v1/run/{id} adresine GET yapın. - Al: tamamlanan yanıttan
outputsalanını okuyun.
Modelinizi seçin
Modelleri karşılaştırın
| Model | Tür | Varsayılan fiyat | Yayınlanma |
|---|---|---|---|
ACE-Step Prompt to AudioBu model ACE Studio | Ses | $0.01 / çalıştırma | 11 May 2025 |
ACE Studio | Ses | $0.02 / çalıştırma | 11 May 2025 |
ACE Studio | Ses | $0.01 / çalıştırma | 11 May 2025 |
ACE Studio | Ses | $0.01 / çalıştırma | 11 May 2025 |
ACE Studio | Ses | $0.01 / çalıştırma | 8 May 2025 |
Sorular
SSS
ACE Studio ACE-Step Prompt to Audio'i SandBase üzerinden nasıl çağırırım?
Bir SandBase API anahtarı oluşturun, ardından model kimliği "ace/ace-step/prompt-to-audio" ile https://api.sandbase.ai adresindeki Unified Run API (/v1/run) uç noktalarına istek gönderin. Bu sayfadaki istek örnekleri tam yükü gösterir.
Ayrı bir ACE Studio hesabına ihtiyacım var mı?
Hayır. Tek bir SandBase API anahtarı ve bakiyesi size ACE Studio ACE-Step Prompt to Audio ve katalogdaki diğer modellere erişim sağlar; ACE Studio için ayrıca kayıt olmanız gerekmez.
