# Modify Image

> Change an existing image with a text instruction. Restyle it, fix one detail or repaint a masked area with more than 20 image-editing models.

Source: https://nodaro.ai/docs/nodes/image/modify-image

The **Modify Image** node changes an existing image according to a text instruction. You connect a picture, choose one of more than 20 image-editing models, and describe the change: a new style, a new background or one fixed detail. The node returns a new image and leaves the original untouched.

- Found in: Image › Edit & Retouch
- Output: image
- API type: `modify-image`

## When to use it
- Restyle a photo or a render, for example into watercolor, anime or a film look.
- Make a targeted change, such as "add a hat to the person" or "make the sky stormy".
- Repaint one area only. Paint a mask, or wire one from [Generate Mask](https://nodaro.ai/docs/nodes/image/generate-mask) or [Paint Mask](https://nodaro.ai/docs/nodes/image/paint-mask).
- Give an image a new shape and let the model fill the new space.
- Apply the same edit to many images. Wire a [List](https://nodaro.ai/docs/nodes/automate/list) of images into the **Image** input, and the node runs once for each image.

To enlarge an image without changing it, use [Upscale Image](https://nodaro.ai/docs/nodes/image/upscale-image). To cut out the subject, use [Remove Background](https://nodaro.ai/docs/nodes/image/remove-background). Neither needs a prompt.

## Quick start
### Add the node

Press Tab on the canvas and choose **Image › Edit & Retouch › Modify Image**.

### Connect the image

Drag from an image node, such as [Upload Image](https://nodaro.ai/docs/nodes/image/upload-image) or [Generate Image](https://nodaro.ai/docs/nodes/image/generate-image), to the **Image** input.

### Choose a model and describe the change

Open the settings panel and choose a model under **Provider**. Write the change in **Transformation Prompt**. With **Nano Banana Edit**, the same field is called **Edit Instructions**.

### Run it

Click **Run** on the node. The new image appears on the node. Every run adds a version, and earlier versions stay on the node.

Workflow: A photo is edited by instruction with a Lighting picker, then upscaled for the final file.

- Upload Image → Modify Image (image)
- Lighting → Modify Image (cinematography)
- Modify Image → Upscale Image (image)

## Inputs
| Input | Accepts | What it does |
| --- | --- | --- |
| **Image** | Image nodes, such as Upload Image, Generate Image and Extract Frame, or a List of images | The picture to change. Required. |
| **Mask** | Image nodes, such as Generate Mask, Paint Mask and Image Overlay | The area to repaint: white areas change, black areas stay. This input appears only when the selected model supports masks, such as Ideogram Edit. |
| **Cinematography** | Look pickers, such as Style, Lighting, Lens, Color / Look and Mood | Each picker adds its choice to the end of the prompt. |

The output, **Image**, is the new picture. It can feed any number of nodes at once.

## Settings
The settings panel shows only the settings that the selected model supports. When you switch models, a value the new model does not accept is reset.

| Setting | What it does |
| --- | --- |
| **Provider** | The editing model. The default is **Nano Banana**. |
| **Transformation Prompt** | What to change. With **Nano Banana Edit**, the field is called **Edit Instructions**. |
| **Style** | **No style**, one of 16 style presets such as Photorealistic, Anime or Watercolor, or **Custom...** for your own words. The style is added to the prompt. When a [Style](https://nodaro.ai/docs/nodes/creative-controls/style) picker is connected, the picker is used instead. |
| **Negative Prompt** | What to avoid. Some models receive it as a real negative prompt; for the others, it is added to the prompt. |
| **Assets** | Characters, locations and objects from your library, added with **Add from Library** or **Create new**. Their pictures and descriptions help the model keep them consistent. |
| **Inpainting Mask** | Paint the area to change over the connected image. Shown only on models that support masks. See [Change one area with a mask](#change-one-area-with-a-mask). |
| **Aspect Ratio** | The shape of the result. The choices depend on the model. |
| **Resolution** | The output size, on models that have it, such as `1K`, `2K` or `4K`. The two Flux 2 (Safety Tolerance) models set it in megapixels, from `0.5 MP` to `4 MP`. |
| **Quality** | A quality tier on models that have one: medium or high on GPT Image, basic or high on Seedream. |
| **Strength** | How far the result may move away from the original. Lower stays closer to the original; higher is more creative. |
| **Guidance Scale** | How strictly the model follows the prompt. Higher is stricter. |
| **Rendering Speed** | On Ideogram models: **Turbo** is faster and cheaper, **Balanced** is the default, and **Quality** is the best and costs more. |
| **Seed** | A fixed number that makes a run repeatable. Leave it empty for a random seed. |
| **Reference Image** | An optional extra picture that guides the style, added with **Upload Reference**. Shown on models that accept references. |
| **Pre & post text** | Text that is always added before and after the prompt. It is hidden from people who use your workflow as an app. See [Prompt pre and post text](https://nodaro.ai/docs/concepts/prompt-pre-post-text). |

## Models
Modify Image can run every model in the table. Click a model for its settings, credit prices and prompt tips.

| Model | Maker | Modes | Credits | Details |
| --- | --- | --- | --- | --- |
| [Nano Banana 2](https://nodaro.ai/docs/models/image/nano-banana-2) | Google | Text to image, Image to image | from 20 | Newer Nano Banana with native resolution control (1K/2K/4K) and Google Search context. |
| [Nano Banana 2 Lite](https://nodaro.ai/docs/models/image/nano-banana-2-lite) | Google | Text to image, Image to image | 10 | Lightweight Nano Banana 2 (Gemini 3.1 Flash-Lite) — fast, low-cost 1K generation and editing. |
| [Nano Banana Pro](https://nodaro.ai/docs/models/image/nano-banana-pro) | Google | Text to image, Image to image | from 45 | Top-tier Nano Banana — best for text rendering, diagrams, and complex compositions. |
| [Nano Banana Edit](https://nodaro.ai/docs/models/image/nano-banana-edit) | Google | Image editing | 10 | Image-to-image edits via Google's Nano Banana family. Good general-purpose editor. |
| [Flux 2 Flex (I2I)](https://nodaro.ai/docs/models/image/flux-2-flex-i2i) | Black Forest Labs | Image to image | 60 | Image-to-image with Flux Flex. Honors source image structure while applying prompt. |
| [Flux 2 Pro (I2I)](https://nodaro.ai/docs/models/image/flux-2-pro-i2i) | Black Forest Labs | Image to image | from 13 | Image-to-image with Flux Pro. Cheaper than Flex variant, good general edits. |
| [Flux Kontext Pro](https://nodaro.ai/docs/models/image/flux-kontext-pro) | Black Forest Labs | Text to image, Image editing | 13 | Context-aware editing and style transfer. Strong at preserving subject identity through edits. |
| [Flux Kontext Max](https://nodaro.ai/docs/models/image/flux-kontext-max) | Black Forest Labs | Text to image, Image editing | 25 | Premium Kontext — highest fidelity context-aware edits. |
| [Kontext Multi (Open)](https://nodaro.ai/docs/models/image/kontext-multi-open) | Black Forest Labs | Image to image, Image editing | 30 | Multi-image Flux Kontext Pro — up to 4 input images. |
| [Flux 2 Pro (Safety Tolerance)](https://nodaro.ai/docs/models/image/flux-2-pro-safety-tolerance) | Black Forest Labs | Text to image, Image to image | from 12 | Accepts up to 4 reference images. |
| [Flux 2 Max (Safety Tolerance)](https://nodaro.ai/docs/models/image/flux-2-max-safety-tolerance) | Black Forest Labs | Text to image, Image to image | from 18 | BFL Flux 2 Max — even larger sibling of Pro, safety_tolerance=5, up to 8 reference images. Variable pricing by MP and ref count. |
| [GPT Image 2 (I2I)](https://nodaro.ai/docs/models/image/gpt-image-2-i2i) | OpenAI | Image to image | from 15 | Image-to-image with GPT Image 2. |
| [GPT Image 2.5 Flare (I2I)](https://nodaro.ai/docs/models/image/gpt-image-2-5-flare-i2i) | OpenAI | Image to image | from 15 | Fast GPT Image 2.5 edits (up to 16 source images) - the default when you are iterating rather than finishing. |
| [GPT Image 2.5 Sunburst (I2I)](https://nodaro.ai/docs/models/image/gpt-image-2-5-sunburst-i2i) | OpenAI | Image to image | from 15 | Precision GPT Image 2.5 edits (up to 16 source images) - the most controlled edit in the GPT family, at the cost of a longer run. |
| [Ideogram Edit](https://nodaro.ai/docs/models/image/ideogram-edit) | Ideogram | Image editing | from 30 | Inpainting / mask-based editing with Ideogram. Pair with a mask URL. |
| [Ideogram Remix](https://nodaro.ai/docs/models/image/ideogram-remix) | Ideogram | Image to image | from 30 | Ideogram remix — character-aware restyling driven by reference images. |
| [Seedream 5 Lite (I2I)](https://nodaro.ai/docs/models/image/seedream-5-lite-i2i) | Bytedance | Image to image | from 14 | Image-to-image with Seedream 5 Lite. |
| [Seedream 5 Pro (I2I)](https://nodaro.ai/docs/models/image/seedream-5-pro-i2i) | Bytedance | Image to image | from 19 | Image-to-image with Seedream 5 Pro — multi-reference instruction edits. Basic = 1K, high = 2K. |
| [Qwen (I2I)](https://nodaro.ai/docs/models/image/qwen-i2i) | Alibaba | Image to image | 10 | Image-to-image with Qwen. |
| [Qwen Edit](https://nodaro.ai/docs/models/image/qwen-edit) | Alibaba | Image editing | 13 | Qwen image edit endpoint with native negative prompt. |
| [Grok Imagine (I2I)](https://nodaro.ai/docs/models/image/grok-imagine-i2i) | xAI | Image to image | 10 | Image-to-image with Grok. |

The **Provider** list also offers **Nano Banana**, the default, plus **GPT Image** and **Seedream Edit**. These three models have no model page.

### Which model to choose

- **Nano Banana** — the default. Fast, for quick transforms and iteration.
- [Nano Banana Pro](https://nodaro.ai/docs/models/image/nano-banana-pro) — more detail, for production images.
- [Nano Banana Edit](https://nodaro.ai/docs/models/image/nano-banana-edit) — edits from a plain instruction, such as "add a hat to the person".
- [Flux Kontext Pro](https://nodaro.ai/docs/models/image/flux-kontext-pro) and [Flux Kontext Max](https://nodaro.ai/docs/models/image/flux-kontext-max) — context-aware edits that keep the subject's identity. Max is the higher-fidelity tier.
- [Ideogram Remix](https://nodaro.ai/docs/models/image/ideogram-remix) — restyles an image while keeping a character recognizable.
- [Ideogram Edit](https://nodaro.ai/docs/models/image/ideogram-edit) — repaints a masked area. Choose it for mask edits.
- [Seedream 5 Pro](https://nodaro.ai/docs/models/image/seedream-5-pro-i2i) — follows detailed instructions and accepts several reference images. [Seedream 5 Lite](https://nodaro.ai/docs/models/image/seedream-5-lite-i2i) is the budget option.
- [GPT Image 2.5 Flare](https://nodaro.ai/docs/models/image/gpt-image-2-5-flare-i2i) — fast edits from up to 16 source images, for iteration. [GPT Image 2.5 Sunburst](https://nodaro.ai/docs/models/image/gpt-image-2-5-sunburst-i2i) is slower and gives the tightest control for demanding retouches.
- [Flux 2 Max (Safety Tolerance)](https://nodaro.ai/docs/models/image/flux-2-max-safety-tolerance) — accepts up to 8 reference images. [Flux 2 Pro (Safety Tolerance)](https://nodaro.ai/docs/models/image/flux-2-pro-safety-tolerance) accepts up to 4.

For a comparison of every image model, read [Choosing a model](https://nodaro.ai/docs/guides/choosing-models).

## Change one area with a mask

A mask tells the model which pixels it may repaint. White areas change; black areas stay as they are.

### Choose a model that supports masks

Choose **Ideogram Edit** under **Provider**. The **Mask** input and the **Inpainting Mask** section appear.

### Paint the mask

Click **Paint Mask** in the **Inpainting Mask** section. Paint over the area to change, then click **Save mask**. The section now shows the mask, with **Edit Mask** and **Clear Mask**.

### Describe the change and run

Write what the painted area should become, for example `a red umbrella`, and run the node.

Instead of painting in the panel, you can wire a mask into the **Mask** input. [Generate Mask](https://nodaro.ai/docs/nodes/image/generate-mask) finds a subject from a description such as "the red car". [Paint Mask](https://nodaro.ai/docs/nodes/image/paint-mask) keeps a hand-painted mask as its own node, which several nodes can share. When you reopen the painter on a saved mask, it starts from that mask, so you can touch it up instead of starting again.

## Change the aspect ratio

To extend an image to a new shape, choose **Nano Banana Edit**, set the target **Aspect Ratio**, and use an instruction such as:

```
extend the scene naturally into the new space, matching light and perspective
```

## Start from a preset

Modify Image shares a set of transform presets with Generate Image. Open the preset menu on the node and choose one:

- **Stylized Subject** — change the style of the person but not the world around them, or the other way round. For example, a cartoon person in a real photo, or a real person in a cartoon world.
- **Edits** — remove or replace the background, colorize, restore an old photo, relight or restyle. Two **Doodle Overlay** presets draw marker doodles over the photo and leave the pixels underneath unchanged.

These presets keep their instruction in the pre and post text, so the prompt field stays free for your own words. See [Presets](https://nodaro.ai/docs/concepts/presets).

## Credits
The cost depends on the model and on its quality, resolution or rendering-speed setting. The **Run** button shows the exact price before you run. Flux 2 Max (Safety Tolerance) is priced by output size and by the number of reference images. Each model page lists its prices.

## Tips
- **Describe the change, not the scene.** "Make the sky purple" works better than "a landscape with a purple sky".
- **Start with a low Strength.** On models that have it, begin around `0.3` to `0.5` to keep the original structure, then raise it for bigger changes.
- **Restyle a character with Ideogram Remix.** It keeps the identity while the style changes.
- **Keep brand assets as files.** A model redraws a logo slightly wrong. Edit the picture first, then place the real logo with [Image Overlay](https://nodaro.ai/docs/nodes/image/image-overlay).
- **Chain simple steps.** For example, remove the background, then upscale the cut-out, instead of asking one model for both.

## Frequently asked questions

### What is the difference between Modify Image and Generate Image?

Generate Image starts from a text prompt. Modify Image starts from an image you connect and changes it according to your instruction, so the result keeps the structure of the original.

### Which model should I use to edit an image?

Start with the default, Nano Banana, for quick changes. Use Nano Banana Edit for plain instructions such as "make the sky purple", Flux Kontext to keep a subject's identity, Ideogram Remix to restyle a character and Ideogram Edit to repaint a masked area.

### How do I change only one part of an image?

Choose a model that supports masks, such as Ideogram Edit. Then paint the area in the Inpainting Mask section of the settings panel, or wire a mask from Generate Mask or Paint Mask into the Mask input. White areas change and black areas stay.

### How many credits does Modify Image cost?

The price depends on the model and on its quality or resolution setting. The node shows the exact cost on its Run button before you run it, and each model page lists its prices.

### What happened to the Image to Image and Edit Image nodes?

Their features now live in dedicated nodes. Prompt-driven edits are in Modify Image, and upscaling and background removal are in Upscale Image and Remove Background.
