Edit an image
edit_imageUse this when the user wants an existing image changed: edit it by instruction, upscale, remove the background, enhance, erase something, restyle, colorize, restore, expand the canvas, or make a variation. Saves the result as a new image in their Xenition library; the original is kept.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | https URL of the image to edit (e.g. from create_image) | |
| title | No | ||
| prompt | No | what to change, for edit / erase / stylize | |
| operation | Yes | one of: edit, upscale, background-removal, enhance, erase, stylize, colorize, restore, expand, variation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| kind | No | ||
| error | No | ||
| title | Yes | ||
| status | Yes | ||
| openUrl | No | ||
| artifactId | No |