analyze_video_music
Analyze a video clip to extract mood, pace, speech, and scene-cut data, then produce a structured profile with search queries for matching background music.
Instructions
Produce a structured VideoSonic profile for BGM matching.
platform_hint: instagram_story | instagram_reel | tiktok | youtube_short | youtube_long | generic.
Uses Gemini video understanding when GEMINI_API_KEY is set; otherwise local ffmpeg/audio heuristics (and optional faster-whisper / PySceneDetect if installed). Always fills search_queries even if analysis is weak.
extra_notes: optional caption/script the user already has — used as a hint, not as a replacement for watching the video.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"asset_id": "<asset_id>"
},
"name": "analyze_video_music"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | ||
| extra_notes | No | ||
| platform_hint | No | generic |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||