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.
- Grundpreis
- $0.27USD / Ausführung
- Ausführung
- async
- Modelltyp
- audio
- Eingabefelder
- 5
Modell testen
Playground
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
Modellkarte
Spezifikationen
Preisgestaltung
- Basispreis
- $0.27 / Ausführung
Kontext & Modalitäten
- Eingabe
- Schema-definiert
- Ausgabe
- audio
Funktionen
- Chat
- Nicht unterstützt
- Vision
- Nicht unterstützt
- Reasoning
- Nicht unterstützt
- Strukturierte Ausgabe
- Nicht unterstützt
- Function Calling
- Nicht unterstützt
- Audioeingabe
- Nicht unterstützt
Zugriff
- Anbieter
- Sonilo
- Modell-ID
- sonilo/1.1/video-to-music
- Ausführung
- async
- Basis-URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpunkt
- /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.
Jetzt loslegen
Senden Sie Ihre erste Anfrage
OpenAI-kompatibler Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
# 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"Eingabeschema
5 Parameter · 1 erforderlich · 4 optional
| Parameter | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
video | string | Erforderlich | Source video file or URL to score. |
prompt | string | Optional | Optional music style. If omitted, a prompt is generated from the video. |
duration | number | Optional | Optional length in seconds (1–600) of the segment to score, starting at start_offset. Defaults to the rest of the video. · Min.: 1 · Max.: 600 |
start_offset | number | Optional | Optional offset in seconds (0–600) to start scoring from. start_offset + duration must not exceed the video length. · Min.: 0 · Max.: 600 |
prompt_influence | number | Optional | How closely the music follows the prompt (0–1). · Min.: 0 · Max.: 1 · Standard: 0.5 |
Ausgabeschema
| Feld | Typ | Beschreibung |
|---|---|---|
id | string | Eindeutige Kennung für den Generierungsauftrag |
status | string | Status des Auftrags: pending, running, completed, failed, timeout |
model | string | Verwendetes Modell für die Generierung |
outputs | array | Array von Ausgabeelementen |
outputs[].url | string | URL des generierten Artefakts |
outputs[].content_type | string | MIME-Typ (z. B. image/png, video/mp4) |
error | object | null | Fehlerdetails bei Fehlschlag, bei Erfolg null |
error.type | string | Maschinenlesbarer Fehler-Typcode |
error.message | string | Menschenlesbare Fehlerbeschreibung |
Asynchroner Workflow
Dieses Modell läuft asynchron. Senden Sie eine Anfrage und pollen Sie dann das Ergebnis.
- Senden: Per POST an /v1/run senden und das zurückgegebene
idlesen. - Pollen: GET /v1/run/{id}, bis der Status
completed,failedodertimeoutist. - Abrufen:
outputsaus der abgeschlossenen Antwort lesen.
Wählen Sie Ihr Modell
Modelle vergleichen
| Modell | Typ | Standardpreis | Veröffentlicht |
|---|---|---|---|
Sonilo 1.1 Video to MusicDieses Modell Sonilo | Audio | $0.27 / Lauf | 3. Juni 2026 |
Sonilo | Audio | $0.27 / Lauf | 21. Juli 2026 |
Sonilo | Audio | $0.01 / Lauf | 21. Juli 2026 |
Sonilo | Audio | $0.23 / Lauf | 3. Juni 2026 |
Fragen
FAQ
Wie rufe ich Sonilo 1.1 Video to Music über SandBase auf?
Erstellen Sie einen SandBase API-Schlüssel und senden Sie dann Anfragen mit der Modell-ID "sonilo/1.1/video-to-music" an Unified Run API (/v1/run) unter https://api.sandbase.ai. Die Anfragebeispiele auf dieser Seite zeigen die exakte Nutzlast.
Benötige ich ein separates Sonilo-Konto?
Nein. Mit einem SandBase API-Schlüssel und Guthaben erhalten Sie Zugriff auf Sonilo 1.1 Video to Music und die anderen Modelle im Katalog; Sie müssen sich nicht separat bei Sonilo registrieren.
