edit_image
Edit an existing image by sending a text instruction, such as changing the background or adding an object. Returns the file path to the edited image.
Instructions
Edit an existing image using a text instruction (e.g. "make the background blue", "add a red hat"). Uses fal or OpenAI. Requires the matching provider key. Returns the path to the edited image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model id. Omit for the default (fal: qwen-image-edit, openai: gpt-image-1). | |
| prompt | Yes | The editing instruction | |
| provider | No | AI provider. Omit to use the first configured key. | |
| image_path | Yes | Local path to the image to edit |