edit_image
Edit an existing image by providing its file path and a text prompt for modifications. Optionally include reference images for style transfer or additional elements.
Instructions
Edit a SPECIFIC existing image file, optionally using additional reference images. Use this when you have the exact file path of an image to modify.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text describing the modifications to make to the existing image | |
| imagePath | Yes | Full file path to the main image file to edit | |
| aspectRatio | No | Aspect ratio for the edited image. Supported: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9. Defaults to 1:1 if not specified. | |
| referenceImages | No | Optional array of file paths to additional reference images to use during editing (e.g., for style transfer, adding elements, etc.) |