Make thumbnails
image_thumbnailsCall this tool to write one thumbnail per input into out_dir as -thumb., fit inside size by size, aspect kept. Paths are reserved before writing, so a collision leaves nothing half-done. Free: 5/call, 4 MP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Longest side of the thumbnail in pixels, default 256 | |
| paths | Yes | Names of images uploaded with image_upload | |
| out_dir | Yes | Not a directory here: every output comes back as its own download link valid for one hour. Any value is accepted and ignored | |
| overwrite | No | Replace out_path if it already exists. Default false. Never allows an output to be one of the inputs |