Resize Image
resize_imageResize an image to a target width and height with contain, cover, or fill fit options and optional output format. Prepare images for web, print, or exact size needs.
Instructions
Resize an image to the given width/height.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | How to fit within width/height. | contain |
| width | No | Target width in pixels. | |
| format | No | Output format (jpeg, png, webp, ...). Defaults to source format. | |
| height | No | Target height in pixels. | |
| source_url | No | Public URL of the image. | |
| file_base64 | No | Base64-encoded image. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||