Sonilo 1.1 Text to Music
sonilo/1.1/text-to-musicSonilo 1.1 Text to Music generates an instrumental music track up to 10 minutes long from a text description of style, mood, and instruments.
- Taban fiyat
- $0.23USD / çalıştırma
- Çalıştırma
- async
- Model türü
- audio
- Girdi alanları
- 2
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.23 / ç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ı
- Sonilo
- Model kimliği
- sonilo/1.1/text-to-music
- Çalıştırma
- async
- Temel URL
- https://api.sandbase.ai
- API
- Unified Run API
- Uç nokta
- /v1/run
API README
Sonilo 1.1 Text to Music
Sonilo 1.1 Text to Music generates a music track up to 10 minutes from a text prompt.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Style, mood, instruments. |
duration | integer 1–600 | 90 | Track length in seconds. |
Billing
$0.0025 per second of requested duration, with a 10-second minimum.
| Length | Price |
|---|---|
| 5 s | $0.025 |
| 90 s | $0.225 |
| 600 s | $1.50 |
Failed runs are not charged.
Prompting
- List genre, mood, and lead instruments in one sentence.
Also on SandBase
Related: sonilo/1.1/text-to-sound-effects, sonilo/1.1/video-to-music, sonilo/1.1/video-to-sound-effects.
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": "sonilo/1.1/text-to-music",
"prompt": "A blend of R&B warmth, soul depth, neo-soul texture, gospel spirit, pop clarity, and jazz sophistication.",
"duration": 90
}
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ı
2 parametre · 1 zorunlu · 1 isteğe bağlı
| Parametre | Tür | Zorunlu | Açıklama |
|---|---|---|---|
prompt | string | Zorunlu | Description of the music to generate: style, mood, instruments. |
duration | integer | İsteğe bağlı | Length of the track in seconds (1–600). Tracks shorter than 10 seconds are billed as 10 seconds. · Min: 1 · Maks: 600 · Varsayılan: 90 |
Çı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 |
|---|---|---|---|
Sonilo 1.1 Text to MusicBu model Sonilo | Ses | $0.23 / çalıştırma | 3 Haz 2026 |
Sonilo | Ses | $0.27 / çalıştırma | 21 Tem 2026 |
Sonilo | Ses | $0.01 / çalıştırma | 21 Tem 2026 |
Sonilo | Ses | $0.27 / çalıştırma | 3 Haz 2026 |
Sorular
SSS
Sonilo 1.1 Text to Music'i SandBase üzerinden nasıl çağırırım?
Bir SandBase API anahtarı oluşturun, ardından model kimliği "sonilo/1.1/text-to-music" 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 Sonilo hesabına ihtiyacım var mı?
Hayır. Tek bir SandBase API anahtarı ve bakiyesi size Sonilo 1.1 Text to Music ve katalogdaki diğer modellere erişim sağlar; Sonilo için ayrıca kayıt olmanız gerekmez.
