Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

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.

Базовая цена
$0.27USD / запуск
Выполнение
async
Тип модели
audio
Поля ввода
5
Маршрут продакшена

Попробовать модель

Песочница

Открыть playground
Ввод
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. Диапазон: от 1 до 600.
0600
Optional offset in seconds (0–600) to start scoring from. start_offset + duration must not exceed the video length. Диапазон: от 0 до 600.
01
How closely the music follows the prompt (0–1). Диапазон: от 0 до 1.
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

Карточка модели

Характеристики

Цены

Базовая цена
$0.27 / запуск

Контекст и модальности

Вход
Определяется схемой
Выход
audio

Возможности

Чат
Не поддерживается
Зрение
Не поддерживается
Рассуждение
Не поддерживается
Структурированный вывод
Не поддерживается
Вызов функций
Не поддерживается
Аудиовход
Не поддерживается

Доступ

Провайдер
Sonilo
ID модели
sonilo/1.1/video-to-music
Выполнение
async
Базовый URL
https://api.sandbase.ai
API
Unified Run API
Эндпоинт
/v1/run

README по 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.

Начните разработку

Отправьте свой первый запрос

Совместимая с OpenAI конечная точка с единообразной аутентификацией и учётом использования.

Production API
конечная точка Unified Run API
https://api.sandbase.ai/v1/run
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

Схема ввода

5 параметров · 1 обязательных · 4 необязательных

ПараметрТипОбязательныйОписание
videostringОбязательныйSource video file or URL to score.
promptstringНеобязательныйOptional music style. If omitted, a prompt is generated from the video.
durationnumberНеобязательныйOptional length in seconds (1–600) of the segment to score, starting at start_offset. Defaults to the rest of the video. · Мин.: 1 · Макс.: 600
start_offsetnumberНеобязательныйOptional offset in seconds (0–600) to start scoring from. start_offset + duration must not exceed the video length. · Мин.: 0 · Макс.: 600
prompt_influencenumberНеобязательныйHow closely the music follows the prompt (0–1). · Мин.: 0 · Макс.: 1 · По умолчанию: 0.5
02

Схема вывода

ПолеТипОписание
idstringУникальный идентификатор задачи генерации
statusstringСтатус задачи: pending, running, completed, failed, timeout
modelstringМодель, использованная для генерации
outputsarrayМассив элементов вывода
outputs[].urlstringURL сгенерированного артефакта
outputs[].content_typestringMIME-тип (например, image/png, video/mp4)
errorobject | nullСведения об ошибке, если не удалось; null при успехе
error.typestringКод ошибки для машинной обработки
error.messagestringОписание ошибки, понятное человеку

Асинхронный workflow

Эта модель работает асинхронно. Отправьте запрос, затем опрашивайте результат.

  1. Отправка: выполните POST на /v1/run и прочитайте возвращаемое id.
  2. Опрос: выполняйте GET /v1/run/{id}, пока статус не станет completed, failed или timeout.
  3. Получение: прочитайте outputs из завершенного ответа.

Выберите свою модель

Сравнить модели

Все модели для изображений и видео
МодельТипЦена по умолчаниюВыпущена
Sonilo 1.1 Video to MusicЭта модель
Sonilo
Аудио$0.27 / запуск3 июн. 2026 г.
SoniloАудио$0.27 / запуск21 июл. 2026 г.
SoniloАудио$0.01 / запуск21 июл. 2026 г.
SoniloАудио$0.23 / запуск3 июн. 2026 г.

Вопросы

FAQ

Как вызвать Sonilo 1.1 Video to Music через SandBase?

Создайте API key SandBase, затем отправляйте запросы с идентификатором модели "sonilo/1.1/video-to-music" на Unified Run API (/v1/run) по адресу https://api.sandbase.ai. Примеры запросов на этой странице показывают точный payload.

Нужен ли мне отдельный аккаунт Sonilo?

Нет. Один API key SandBase и один баланс дают вам доступ к Sonilo 1.1 Video to Music и другим моделям в каталоге; отдельно регистрироваться в Sonilo не нужно.