Before/after comparison GIF
animateMake a looping before/after comparison GIF from two images.
A slider sweeps across the frame and reveals the before image over the after image, with Before and After labels. Use it to show the effect of an edit such as upscaling, retouching or colour correction. Both images should show the same scene: the before image is resized to the after image's size. The GIF is at most 800 px on its longer side and loops one 3 s back-and-forth sweep. A small crisp.photos mark sits in the bottom right corner.
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": {
"url_before": "<url_before>",
"url_after": "<url_after>"
},
"name": "animate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url_after | Yes | Public https URL of the edited image, showing the same scene. JPEG, PNG or WebP, at most 20 MB. | |
| url_before | Yes | Public https URL of the original image. JPEG, PNG or WebP, at most 20 MB. |