Sonilo 1.1 Text to Sound Effects
sonilo/1.1/text-to-sound-effectsSonilo 1.1 Text to Sound Effects generates a sound effect or ambience from 0.5 to 180 seconds long from a text description, in AAC, MP3, WAV, or FLAC.
- Taban fiyat
- $0.01USD / çalıştırma
- Çalıştırma
- async
- Model türü
- audio
- Girdi alanları
- 3
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ı
- Sonilo
- Model kimliği
- sonilo/1.1/text-to-sound-effects
- Ç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 Sound Effects
Sonilo 1.1 Text to Sound Effects generates a sound effect or ambience from 0.5 to 180 seconds from a text prompt.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | The sound, its source, and the space it is in. |
duration | number 0.5–180 | 8 | Length in seconds. |
output_format | wav / mp3 / aac / flac | aac | Output file format. |
Billing
$0.0018 per started second of requested duration.
| Length | Price |
|---|---|
| 8 s | $0.0144 |
| 30 s | $0.054 |
| 180 s | $0.324 |
Failed runs are not charged.
Prompting
- Name the source and the space, e.g. "rain on a tin roof, distant thunder".
Also on SandBase
Related: sonilo/1.1/text-to-music, 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-sound-effects",
"prompt": "Heavy rain on a tin roof with distant rolling thunder",
"duration": 8,
"output_format": "aac"
}
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ı
3 parametre · 1 zorunlu · 2 isteğe bağlı
| Parametre | Tür | Zorunlu | Açıklama |
|---|---|---|---|
prompt | string | Zorunlu | Describe the sound you want to create. |
duration | number | İsteğe bağlı | Length of the audio in seconds (0.5–180). · Min: 0.5 · Maks: 180 · Varsayılan: 8 |
output_format | string | İsteğe bağlı | Audio file format. · Seçenekler: wav, mp3, aac, flac · Varsayılan: "aac" wavmp3aacflac |
Çı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 Sound EffectsBu model Sonilo | Ses | $0.01 / çalıştırma | 21 Tem 2026 |
Sonilo | Ses | $0.27 / çalıştırma | 21 Tem 2026 |
Sonilo | Ses | $0.23 / çalıştırma | 3 Haz 2026 |
Sonilo | Ses | $0.27 / çalıştırma | 3 Haz 2026 |
Sorular
SSS
Sonilo 1.1 Text to Sound Effects'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-sound-effects" 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 Sound Effects ve katalogdaki diğer modellere erişim sağlar; Sonilo için ayrıca kayıt olmanız gerekmez.
