Sonilo 1.1 Video to Music
sonilo/1.1/video-to-musicSonilo 1.1 Video to Music scores a video with a matching music track that follows its pacing and scene changes, optionally steered by a style prompt.
- 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-music
- Ç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 Music
Sonilo 1.1 Video to Music writes a soundtrack that follows a video's pacing and scene changes.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
video | video file or URL, required | — | Video to score. |
prompt | string | — | Optional style; generated from the video when empty. |
duration | number 1–600 | — | Length of the segment to score; defaults to the rest of the video. |
start_offset | number 0–600 | — | Where scoring starts, in seconds. |
prompt_influence | number 0–1 | 0.5 | Higher follows the prompt more. |
Billing
$0.009 per started second of generated music, with a 10-second minimum. The quote uses duration, or the video length minus start_offset; the final charge uses the output length.
| Music length | Price |
|---|---|
| 5 s | $0.09 |
| 30 s | $0.27 |
| 120 s | $1.08 |
Failed runs are not charged.
Prompting
- Name genre and mood; leave
promptempty to let Sonilo read the video.
Also on SandBase
Related: sonilo/1.1/text-to-music, sonilo/1.1/text-to-sound-effects, 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/video-to-music",
"video": "https://v3b.fal.media/files/b/0a9ddd00/2QssaYyFxstvVlmIraSns_Sonilo_Demo_Original_1.mp4",
"prompt_influence": 0.5
}
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 | Source video file or URL to score. |
prompt | string | İsteğe bağlı | Optional music style. If omitted, a prompt is generated from the video. |
duration | number | İsteğe bağlı | Optional length in seconds (1–600) of the segment to score, starting at start_offset. Defaults to the rest of the video. · Min: 1 · Maks: 600 |
start_offset | number | İsteğe bağlı | Optional offset in seconds (0–600) to start scoring from. start_offset + duration must not exceed the video length. · Min: 0 · Maks: 600 |
prompt_influence | number | İsteğe bağlı | How closely the music follows the prompt (0–1). · Min: 0 · Maks: 1 · Varsayılan: 0.5 |
Çı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 Video to MusicBu model Sonilo | Ses | $0.27 / ç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.23 / çalıştırma | 3 Haz 2026 |
Sorular
SSS
Sonilo 1.1 Video 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/video-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 Video to Music ve katalogdaki diğer modellere erişim sağlar; Sonilo için ayrıca kayıt olmanız gerekmez.
