---
title: "GPT Image 2 Edit"
description: "OpenAI GPT Image 2 Edit — inpainting/outpainting with mask support. Non-primary variant of gpt-image-2 family."
updated: 2026-09-10
---

# GPT Image 2 Edit

**Node type:** `edit:openai_gpt_image_2_edit`  
**Category:** `edit`  
**Hidden in sidebar:** yes (auto-selected by routing)

## Description

OpenAI GPT Image 2 Edit — inpainting/outpainting with mask support. Non-primary variant of gpt-image-2 family.

## Pricing

- **Cost:** ~44 credits per images
- **Notes:** Token-metered. Pre-charge by quality+image_size; default high. Edit endpoint uses same per-image rates as generate.

## Variant family

- **Family:** `gpt-image-2`
- **Is primary:** no
- **All variants:** `generate:openai_gpt_image_2`, `edit:openai_gpt_image_2_edit`

## Canvas ports

These appear as port handles on the left side of the node.

| ID         | Label       | Details                         |
| ---------- | ----------- | ------------------------------- |
| `prompt`   | **Prompt**  | `TEXT` _(required)_ · multiline |
| `image1`   | **Image 1** | `IMAGE` _(required)_            |
| `mask_url` | **Mask**    | `IMAGE`                         |

## Sidebar config

These render as form fields in the right-side config panel when the node is selected.

| ID              | Label                | Details                                                                                      |
| --------------- | -------------------- | -------------------------------------------------------------------------------------------- |
| `quality`       | **Quality**          | `TEXT` · options: `low`, `medium`, `high`, `auto`                                            |
| `image_size`    | **Image Size**       | `IMAGE_SIZE` · options: `custom`, `square_hd`, `square`, `portrait_4_3`, `portrait_16_9`, +3 |
| `num_images`    | **Number of Images** | `NUMBER` · `1…4`                                                                             |
| `output_format` | **Output Format**    | `TEXT` · options: `jpeg`, `png`, `webp`                                                      |
| `sync_mode`     | **Sync Mode**        | `BOOLEAN`                                                                                    |

## Outputs

| ID       | Label                | Type    |
| -------- | -------------------- | ------- |
| `images` | **Generated Images** | `IMAGE` |

---

_Auto-generated from the Wireflow node registry._

---

Documentation index: fetch https://www.wireflow.ai/llms.txt for the full list of Wireflow docs.
