Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

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.

Precio base
$0.27USD / ejecución
Ejecución
async
Tipo de modelo
audio
Campos de entrada
5
Ruta de producción

Probar el modelo

Entorno de pruebas

Abrir playground
Entrada
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. Rango: de 1 a 600.
0600
Optional offset in seconds (0–600) to start scoring from. start_offset + duration must not exceed the video length. Rango: de 0 a 600.
01
How closely the music follows the prompt (0–1). Rango: de 0 a 1.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

Ficha del modelo

Especificaciones

Precios

Precio base
$0.27 / ejecución

Contexto y modalidades

Entrada
Definido por esquema
Salida
audio

Capacidades

Chat
No compatible
Visión
No compatible
Razonamiento
No compatible
Salida estructurada
No compatible
Llamadas a funciones
No compatible
Entrada de audio
No compatible

Acceso

Proveedor
Sonilo
ID del modelo
sonilo/1.1/video-to-music
Ejecución
async
URL base
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

README de la API

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.

Empiece a construir

Envíe su primera solicitud

Endpoint compatible con OpenAI con autenticación unificada y seguimiento de uso.

API de producción
Endpoint de Unified Run API
https://api.sandbase.ai/v1/run
ID del modelo
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

Esquema de entrada

5 parámetros · 1 obligatorios · 4 opcionales

ParámetroTipoObligatorioDescripción
videostringObligatorioSource video file or URL to score.
promptstringOpcionalOptional music style. If omitted, a prompt is generated from the video.
durationnumberOpcionalOptional length in seconds (1–600) of the segment to score, starting at start_offset. Defaults to the rest of the video. · Mín.: 1 · Máx.: 600
start_offsetnumberOpcionalOptional offset in seconds (0–600) to start scoring from. start_offset + duration must not exceed the video length. · Mín.: 0 · Máx.: 600
prompt_influencenumberOpcionalHow closely the music follows the prompt (0–1). · Mín.: 0 · Máx.: 1 · Valor predeterminado: 0.5
02

Esquema de salida

CampoTipoDescripción
idstringIdentificador único de la tarea de generación
statusstringEstado de la tarea: pending, running, completed, failed, timeout
modelstringModelo usado para la generación
outputsarrayMatriz de elementos de salida
outputs[].urlstringURL del artefacto generado
outputs[].content_typestringTipo MIME (por ejemplo, image/png, video/mp4)
errorobject | nullDetalles del error si falla; null en caso de éxito
error.typestringCódigo de tipo de error legible por máquina
error.messagestringDescripción del error legible por humanos

Flujo asíncrono

Este modelo se ejecuta de forma asíncrona. Envía una solicitud y luego consulta el resultado.

  1. Enviar: haz POST a /v1/run y lee el id devuelto.
  2. Consultar: haz GET a /v1/run/{id} hasta que el estado sea completed, failed o timeout.
  3. Recuperar: lee outputs de la respuesta completada.

Elija su modelo

Comparar modelos

Todos los modelos de imagen y video
ModeloTipoPrecio predeterminadoLanzamiento
SoniloAudio$0.27 / ejecución3 jun 2026
SoniloAudio$0.27 / ejecución21 jul 2026
SoniloAudio$0.01 / ejecución21 jul 2026
SoniloAudio$0.23 / ejecución3 jun 2026

Preguntas

FAQ

¿Cómo llamo a Sonilo 1.1 Video to Music a través de SandBase?

Crea una clave API de SandBase y luego envía solicitudes con el ID de modelo "sonilo/1.1/video-to-music" a Unified Run API (/v1/run) en https://api.sandbase.ai. Los ejemplos de solicitud de esta página muestran el payload exacto.

¿Necesito una cuenta separada de Sonilo?

No. Una sola clave API y saldo de SandBase te dan acceso a Sonilo 1.1 Video to Music y a los demás modelos del catálogo; no necesitas registrarte aparte en Sonilo.