Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Sonilo 1.1 Video to Music

sonilo/1.1/video-to-music

Sonilo 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
Canlıya alma rotası

Modeli deneyin

Oynatma Alanı

Oynatma alanını aç
Girdi
Source video file or URL to score.
Optional music style. If omitted, a prompt is generated from the video.
1600
Optional length in seconds (1–600) of the segment to score, starting at start_offset. Defaults to the rest of the video. Aralık: 1 ile 600 arasında.
0600
Optional offset in seconds (0–600) to start scoring from. start_offset + duration must not exceed the video length. Aralık: 0 ile 600 arasında.
01
How closely the music follows the prompt (0–1). Aralık: 0 ile 1 arasında.
ÇıktıHazır

Çı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

FieldTypeDefaultNotes
videovideo file or URL, required—Video to score.
promptstring—Optional style; generated from the video when empty.
durationnumber 1–600—Length of the segment to score; defaults to the rest of the video.
start_offsetnumber 0–600—Where scoring starts, in seconds.
prompt_influencenumber 0–10.5Higher 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 lengthPrice
5 s$0.09
30 s$0.27
120 s$1.08

Failed runs are not charged.

Prompting

  • Name genre and mood; leave prompt empty 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.

Production API
Unified Run API uç noktası
https://api.sandbase.ai/v1/run
Model ID
sonilo/1.1/video-to-music
# 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"
01

Giriş Şeması

5 parametre · 1 zorunlu · 4 isteğe bağlı

ParametreTürZorunluAçıklama
videostringZorunluSource video file or URL to score.
promptstringİsteğe bağlıOptional music style. If omitted, a prompt is generated from the video.
durationnumberİ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_offsetnumberİ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_influencenumberİsteğe bağlıHow closely the music follows the prompt (0–1). · Min: 0 · Maks: 1 · Varsayılan: 0.5
02

Çıkış Şeması

AlanTürAçıklama
idstringÜretim görevinin benzersiz tanımlayıcısı
statusstringGörev durumu: pending, running, completed, failed, timeout
modelstringÜretimde kullanılan model
outputsarrayÇıkış öğelerinin dizisi
outputs[].urlstringOluşturulan çıktının URL'si
outputs[].content_typestringMIME türü (örn. image/png, video/mp4)
errorobject | nullBaşarısız olursa hata ayrıntıları, başarıda null
error.typestringMakine tarafından okunabilir hata türü kodu
error.messagestringİ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.

  1. Gönder: /v1/run adresine POST yapın ve dönen id alanını okuyun.
  2. Sorgula: durum completed, failed veya timeout olana kadar /v1/run/{id} adresine GET yapın.
  3. Al: tamamlanan yanıttan outputs alanını okuyun.

Modelinizi seçin

Modelleri karşılaştırın

Tüm görsel ve video modelleri
ModelTürVarsayılan fiyatYayınlanma
SoniloSes$0.27 / çalıştırma3 Haz 2026
SoniloSes$0.27 / çalıştırma21 Tem 2026
SoniloSes$0.01 / çalıştırma21 Tem 2026
SoniloSes$0.23 / çalıştırma3 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.