Edit Image
edit_imageEdit an existing image with a text instruction, using Claude Imagine credits. Pass the full-resolution URL of the image to change; the result is a new image, the original is untouched. Say in the prompt what must stay the same, not only what changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Editing model. nano-banana-2 (default) or gpt-image-2.5. The other image models cannot edit through MCP yet. | |
| prompt | Yes | What to change, and what to keep. Example: "replace the sky with a sunset, keep the people and the framing unchanged" | |
| image_urls | Yes | Public URL of the image to edit, normally the full-resolution URL returned by an earlier generation. One image in this version. | |
| resolution | No | Output size: 1k, 2k or 4k. Leave it out unless the user gave a clear size signal: a pixel size or tier (4K, 2K, high resolution) or a physical output (print, poster, wallpaper, billboard). Words like premium, professional or high quality describe the look, not the size, and are not a reason to pass this. Omitted uses the model's default, its cheapest size; 2k and 4k cost roughly two to three times more credits and take longer. When the user asks for 'sharper' or 'bigger' without a size, quote_generation the options and ask which one. | |
| max_credits | No | Budget cap in credits, when the person stated one. If the exact cost of this call is above it, nothing is started and the reply lists what fits. | |
| aspect_ratio | No | Aspect ratio for the result. When omitted, the framing of the source image is kept. |