find_shots
Search video clips by visual content in English or Vietnamese, returning ranked shot matches with in/out points and optional markers or timeline sequence.
Instructions
Find shots by what is in the picture, in English or Vietnamese ("close-up of a face", "wide shot of the restaurant", "waiter in a red shirt", or "cô gái cầm menu"), through the media engine (SigLIP 2, local): every second of each clip's proxy is compared with the words, the best stretches come back ranked with in/out and a score. Each hit becomes a marker on the source clip in the Project panel (open the clip in the Source Monitor to see it; searching the same words again replaces those markers). With placeOnTimeline, also builds a sequence "Tìm: " with the hits in rank order. Uses the clips kept in the project with their proxies, like describe_sources. The first search on a folder reads the images (about 30 s for 5 minutes of footage); later searches take a few seconds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bin | No | Only the clips in this project bin | |
| top | No | How many hits (default 8) | |
| query | Yes | What to look for, e.g. "girl holding a menu", "close-up", "wide shot of the restaurant" (Vietnamese works too) | |
| markers | No | Put a marker for each hit on its source clip in the project (default true) | |
| waitSeconds | No | How long to wait in this call before returning "running" (default 45) | |
| sourceFolder | No | Footage folder. Default: the clips kept in the project (with their proxies); with a folder, only the project clips inside it, or the whole folder when none are imported | |
| allowOriginal | No | Clips without a proxy: read the original file instead of stopping (heavier on the machine) | |
| placeOnTimeline | No | Also build a sequence "Tìm: <query>" with the hits in rank order (default false) |