edit_image
Modify an image using text instructions to add or remove elements, change styles, and more. Supports reference images for style transfer.
Instructions
Edit an existing image file using text instructions. Can add/remove elements, change styles, transfer styles from reference images, and more.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imagePath | Yes | Full file path to the image to edit. | |
| prompt | Yes | Text describing the modifications to make to the image. | |
| referenceImages | No | Optional array of file paths to reference images (for style transfer, adding elements, etc.). Up to 14 images supported. | |
| aspectRatio | No | Aspect ratio for the output image. | |
| resolution | No | Output resolution. |