# GPT Image (https://docs.fuser.studio/docs/nodes/image/gpt-image)

_Provided by [OpenAI](https://openai.com) — [Learn More](https://openai.com/index/introducing-4o-image-generation/)._

## Inputs [#inputs]

- **Prompt** (`textarea`) — A textual prompt to guide image generation.

- **Images** (`image`) _(accepts multiple)_ — Images to edit or create variations from. You can use multiple images to combine their features, or use a single image to edit or create variations from.

   Optional: `true`

- **Mask** (`image`) — The mask is used to edit specific areas of the image. The image to edit and mask must be of the same format and size. The mask image must also contain an alpha channel. If you're using an image editing tool to create the mask, make sure to save the mask with an alpha channel.

   Optional: `true`

- **Model** (`dropdown`) — The model to use for image generation.

   Optional: `true` • Default: `gpt-image-2` • Accepts: `GPT Image 2`, `flow.nodes.OpenAIGPTImageNode.inputs.model.items.gpt-image-1.5`, `GPT Image 1`, `GPT Image 1 Mini`

- **Aspect Ratio** (`dropdown`) — The aspect ratio of the generated image.

   Optional: `true` • Default: `auto` • Accepts: `2560x1440 (2K)`, `3840x2160 (4K)`, `1024x1024`, `1536x1024`, `1024x1536`, `Auto`

- **Quality** (`dropdown`) — The quality of the generated image.

   Optional: `true` • Default: `auto` • Accepts: `Low`, `Medium`, `High`, `Auto`

- **Transparent** (`toggle`) — Whether to generate an image with a transparent background. Only supported when generating images from text without using images.

   Optional: `true` • Default: `false`

- **Number of Results** (`slider`) — Generate multiple results from a single prompt.

   Optional: `true` • Default: `1` • Minimum: `1` • Maximum: `4`

## Outputs [#outputs]

- **Generated Image** (`image`) — The generated image from the model.