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.
- Harga dasar
- $0.27USD / run
- Eksekusi
- async
- Jenis model
- audio
- Field input
- 5
Coba model ini
Playground
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
Kartu model
Spesifikasi
Harga
- Harga dasar
- $0.27 / run
Konteks & modalitas
- Input
- Didefinisikan oleh skema
- Output
- audio
Kemampuan
- Chat
- Tidak didukung
- Vision
- Tidak didukung
- Penalaran
- Tidak didukung
- Output terstruktur
- Tidak didukung
- Pemanggilan fungsi
- Tidak didukung
- Input audio
- Tidak didukung
Akses
- Penyedia
- Sonilo
- Model ID
- sonilo/1.1/video-to-sound-effects
- Eksekusi
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README API
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.
Mulai membangun
Kirim permintaan pertama Anda
Endpoint yang kompatibel dengan OpenAI dengan autentikasi dan pelacakan penggunaan terpadu.
# 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"Skema Input
5 parameter · 1 wajib · 4 opsional
| Parameter | Tipe | Wajib | Deskripsi |
|---|---|---|---|
video | string | Wajib | Video file or URL to add sound to. The generated audio matches the video length. |
prompt | string | Opsional | Optional description of the sound for every scene. Leave empty to caption the video automatically. |
segments | object[] | Opsional | Optional contiguous time ranges, each with its own sound description. Leave empty to split into scenes automatically. |
output_format | string | Opsional | Audio file format. · Opsi: wav, mp3, aac, flac · Bawaan: "aac" wavmp3aacflac |
keep_speech_vocal | boolean | Opsional | Keep the original video's speech and vocals and mix the generated sound under them; the rest of the original soundtrack is dropped. · Bawaan: false |
Skema Output
| Field | Tipe | Deskripsi |
|---|---|---|
id | string | Pengidentifikasi unik untuk tugas generasi |
status | string | Status tugas: pending, running, completed, failed, timeout |
model | string | Model yang digunakan untuk generasi |
outputs | array | Array item output |
outputs[].url | string | URL artefak yang dihasilkan |
outputs[].content_type | string | Tipe MIME (mis. image/png, video/mp4) |
error | object | null | Detail error jika gagal, null jika berhasil |
error.type | string | Kode jenis error yang dapat dibaca mesin |
error.message | string | Deskripsi error yang dapat dibaca manusia |
Alur Kerja Asinkron
Model ini berjalan secara asinkron. Kirim permintaan, lalu polling untuk hasilnya.
- Kirim: POST ke /v1/run dan baca
idyang dikembalikan. - Polling: GET /v1/run/{id} sampai status menjadi
completed,failed, atautimeout. - Ambil: baca
outputsdari response yang selesai.
Pilih model Anda
Bandingkan model
| Model | Tipe | Harga default | Rilis |
|---|---|---|---|
Sonilo 1.1 Video to Sound EffectsModel ini Sonilo | Audio | $0.27 / run | 21 Jul 2026 |
Sonilo | Audio | $0.01 / run | 21 Jul 2026 |
Sonilo | Audio | $0.23 / run | 3 Jun 2026 |
Sonilo | Audio | $0.27 / run | 3 Jun 2026 |
Pertanyaan
FAQ
Bagaimana cara memanggil Sonilo 1.1 Video to Sound Effects melalui SandBase?
Buat kunci API SandBase, lalu kirim permintaan dengan model ID "sonilo/1.1/video-to-sound-effects" ke Unified Run API (/v1/run) di https://api.sandbase.ai. Contoh permintaan di halaman ini menunjukkan payload yang tepat.
Apakah saya memerlukan akun Sonilo terpisah?
Tidak. Satu kunci API dan saldo SandBase memberi Anda akses ke Sonilo 1.1 Video to Sound Effects dan model lain di katalog; Anda tidak perlu mendaftar ke Sonilo secara terpisah.
