frame_diff
Compare two composited frames pixel by pixel to count changed pixels, report change bounding box, and confirm whether they are identical for verifying animation movement or catching unintended edits.
Instructions
Pixel-exact diff of two composited frames: changed-pixel count and ratio,
the bounding box of the change, and whether they're identical. Use it to
verify an animation actually moves — or that an edit didn't leak into
frames it shouldn't touch. Headless: pass file.
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": {
"frame_a": "<frame_a>",
"frame_b": "<frame_b>"
},
"name": "frame_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| frame_a | Yes | ||
| frame_b | Yes |