edit_image
Edit an existing image using AI. Provide the media ID of the image to edit and a text prompt describing what to change. Creates a new version on the media doc — the original is preserved. Use sparingly — only when the user explicitly asks to modify an existing image. Uses Nano Banana Pro (google-gemini-3-image).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Image edit model ID. Uses the default if omitted. | |
| mediaId | Yes | Media ID of the existing image to edit | |
| editPrompt | Yes | Instructions for what to change in the image (e.g., "make the sky more orange", "add a hat to the character") | |
| workspaceId | Yes | The workspace ID |