ingest_video
Accepts a local video path or public HTTP(S) URL, extracts audio, keyframes, and proxy, and returns an asset_id for video-aware music analysis.
Instructions
Ingest a local video path or public http(s) URL.
Accepts a filesystem path or an HTTPS video URL. YouTube/TikTok/Instagram via yt-dlp is OFF unless SONICMATCH_ALLOW_YTDLP=1 (ToS + extractor risk). Rejects file://, http, loopback, and private IPs (SSRF). Size-capped.
Extracts duration/fps/aspect with ffprobe, a 16 kHz mono wav, up to 12 scene keyframes, and a 360p proxy. Returns an asset_id. Never returns video bytes.
Call this first. Then call analyze_video_music with the asset_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| max_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||