# MAI Image 2.7 (https://docs.fuser.studio/docs/nodes/image/mai-image-2-7)

_Provided by [Fal](https://fal.ai) — [Learn More](https://fal.ai/models/microsoft/mai-image-2.7/text-to-image)._

Model page: https://fuser.studio/models/mai-image-2-7

## Inputs [#inputs]

- **Prompt** (`textarea`) — Describe the image to generate, or the edit to make to the connected images.

- **Images** (`image`) _(accepts multiple)_ — Up to 5 images to edit or combine. Leave empty to generate from text.

   Optional: `true`

- **Model** (`dropdown`) — Flash is faster and costs about a third as much.

   Optional: `true` • Default: `mai-image-2.7` • Accepts: `MAI Image 2.7`, `MAI Image 2.7 Flash`

- **Resolution** (`dropdown`) — Output resolution. 2K doubles each side and costs about four times as much.

   Optional: `true` • Default: `1K` • Accepts: `1K`, `2K`

- **Image Size** (`dropdown`) — Shape of the image. "Auto" is square from text, and keeps the first image's size when editing.

   Optional: `true` • Default: `auto` • Accepts: `Auto`, `Square`, `Portrait 4:3`, `Landscape 4:3`, `Portrait 3:2`, `Landscape 3:2`, `Portrait 16:9`, `Landscape 16:9`

- **Background** (`dropdown`) — Transparent needs PNG or WebP output.

   Optional: `true` • Default: `opaque` • Accepts: `Opaque`, `Transparent`

- **Output Format** (`dropdown`) — The file format for the output image.

   Optional: `true` • Default: `png` • Accepts: `PNG`, `JPEG`, `WebP`

## Outputs [#outputs]

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