Sonilo 1.1 Video to Sound Effects
sonilo/1.1/video-to-sound-effectsSonilo 1.1 Video to Sound Effects generates synchronized sound effects and foley that match the length of a video, scene by scene or from your own timed prompts.
- Taban fiyat
- $0.27USD / çalıştırma
- Çalıştırma
- async
- Model türü
- audio
- Girdi alanları
- 5
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.27 / ç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/video-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 Video to Sound Effects
Sonilo 1.1 Video to Sound Effects adds synchronized sound effects and foley to a video, scene by scene or from timed prompts.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
video | video file or URL, required | — | Video to add sound to. |
prompt | string | — | Optional sound description for all scenes. |
keep_speech_vocal | boolean | false | Keep the original speech and mix the new sound under it. |
output_format | wav / mp3 / aac / flac | aac | Output file format. |
segments | array of objects | — | {start, end, prompt} ranges; first starts at 0, no gaps. |
Output
| Field | Notes |
|---|---|
url | Audio file, same length as the video. |
segments | Segments used, with start, end, and sound tags. |
Billing
$0.009 per started second of video. The quote uses the video length; the final charge uses the output length.
| Video length | Price |
|---|---|
| 10 s | $0.09 |
| 30 s | $0.27 |
| 120 s | $1.08 |
Failed runs are not charged.
Prompting
- Use
segmentswhen different shots need different sounds.
Also on SandBase
Related: sonilo/1.1/text-to-music, sonilo/1.1/text-to-sound-effects, sonilo/1.1/video-to-music.
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/video-to-sound-effects",
"video": "https://storage.googleapis.com/falserverless/model_tests/video_models/mmaudio_input.mp4",
"output_format": "aac",
"keep_speech_vocal": 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ı
5 parametre · 1 zorunlu · 4 isteğe bağlı
| Parametre | Tür | Zorunlu | Açıklama |
|---|---|---|---|
video | string | Zorunlu | Video file or URL to add sound to. The generated audio matches the video length. |
prompt | string | İsteğe bağlı | Optional description of the sound for every scene. Leave empty to caption the video automatically. |
segments | object[] | İsteğe bağlı | Optional contiguous time ranges, each with its own sound description. Leave empty to split into scenes automatically. |
output_format | string | İsteğe bağlı | Audio file format. · Seçenekler: wav, mp3, aac, flac · Varsayılan: "aac" wavmp3aacflac |
keep_speech_vocal | boolean | İsteğe bağlı | Keep the original video's speech and vocals and mix the generated sound under them; the rest of the original soundtrack is dropped. · 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 |
|---|---|---|---|
Sonilo | Ses | $0.27 / çalıştırma | 21 Tem 2026 |
Sonilo | Ses | $0.01 / ç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 Video 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/video-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 Video to Sound Effects ve katalogdaki diğer modellere erişim sağlar; Sonilo için ayrıca kayıt olmanız gerekmez.
