Generates images synchronously based on a text prompt and aspect ratio. This node creates images using text descriptions and allows you to control the image dimensions and style through various reference inputs, including character and style images.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| --- | --- | --- | --- | --- |
| `prompt` | Prompt for the image generation (default: empty string). Must be at least 3 characters long. | STRING | Yes | - |
| `model` | Model selection for image generation. Different models have different costs. | COMBO | Yes | `photon-flash-1`<br>`photon-1`<br>`photon` |
| `aspect_ratio` | Aspect ratio for the generated image (default: `16:9`) | COMBO | Yes | `16:9`<br>`1:1`<br>`4:3`<br>`3:2`<br>`21:9`<br>`9:16`<br>`3:4`<br>`2:3`<br>`9:21` |
| `seed` | Seed to determine if node should re-run; actual results are nondeterministic regardless of seed (default: 0) | INT | Yes | 0 to 18446744073709551615 |
| `style_image_weight` | Weight of style image. Ignored if no `style_image` is provided (default: 1.0) | FLOAT | No | 0.0 to 1.0 |
| `image_luma_ref` | Luma Reference node connection to influence generation with input images; up to 4 images can be considered. | LUMA_REF | No | - |
| `style_image` | Style reference image; only 1 image will be used. | IMAGE | No | - |
| `character_image` | Character reference images; can be a batch of multiple, up to 4 images can be considered. | IMAGE | No | - |

**Parameter Constraints:**

- The `prompt` must be at least 3 characters long after stripping whitespace.
- The `image_luma_ref` parameter can accept up to 4 reference images.
- The `character_image` parameter can accept up to 4 character reference images.
- The `style_image` parameter accepts only 1 style reference image.
- The `style_image_weight` parameter is only used when `style_image` is provided.

## Outputs

| Output Name | Description | Data Type |
| --- | --- | --- |
| `output` | The generated image based on the input parameters. | IMAGE |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/LumaImageNode/en.md)

---
**Source fingerprint (SHA-256):** `353d99868c8c09edfab212e49f127585a6cbe1a24d6ee8fe584169adcded2961`
