> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Krea2ImageNode - ComfyUI Built-in Node Documentation

> Complete documentation for the Krea2ImageNode node in ComfyUI. Learn its inputs, outputs, parameters and usage.

## Overview

The Krea 2 Image node generates images using the Krea 2 AI model. It supports two model variants: Medium for expressive illustrations and Large for expressive photorealism. You can optionally include a moodboard and up to 10 image style references to influence the generated image.

## Inputs

| Parameter | Description                                                                                           | Data Type | Required | Range           |
| --------- | ----------------------------------------------------------------------------------------------------- | --------- | -------- | --------------- |
| `prompt`  | Text prompt for the image.                                                                            | STRING    | Yes      | N/A             |
| `model`   | Krea 2 Medium is best for expressive illustrations; Krea 2 Large is best for expressive photorealism. | DICT      | Yes      | See below       |
| `seed`    | Random seed for reproducibility (default: 0).                                                         | INT       | Yes      | 0 to 2147483647 |

The `model` parameter is a dictionary with the following sub-parameters:

| Sub-Parameter        | Description                                                                                         | Data Type | Required | Range                                   |
| -------------------- | --------------------------------------------------------------------------------------------------- | --------- | -------- | --------------------------------------- |
| `model`              | Selects the Krea 2 model variant.                                                                   | STRING    | Yes      | `"krea 2 medium"`<br />`"krea 2 large"` |
| `aspect_ratio`       | The aspect ratio for the generated image.                                                           | STRING    | Yes      | N/A                                     |
| `resolution`         | The resolution for the generated image.                                                             | STRING    | Yes      | N/A                                     |
| `creativity`         | Controls the creativity level of the generation.                                                    | FLOAT     | Yes      | N/A                                     |
| `moodboard_id`       | The UUID of a Krea moodboard to influence the image. Must be a valid UUID.                          | STRING    | No       | N/A                                     |
| `moodboard_strength` | The strength of the moodboard influence (default: 0.35).                                            | FLOAT     | No       | N/A                                     |
| `style_reference`    | A list of image style references. Each reference must have a `url` (STRING) and `strength` (FLOAT). | LIST      | No       | 0 to 10 items                           |

**Constraints:**

* `moodboard_id` must be a valid UUID (e.g., `"123e4567-e89b-12d3-a456-426614174000"`). Copy it from the Krea website.
* `style_reference` accepts a maximum of 10 image style references.
* The `prompt` must be at least 1 character long.

## Outputs

| Output Name | Description                      | Data Type |
| ----------- | -------------------------------- | --------- |
| `image`     | The generated image as a tensor. | 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/Krea2ImageNode/en.md)

***

**Source fingerprint (SHA-256):** `6aeb2d935ef5df5699a19271c9ceb766892ef4b0e4f67bfa540bf12ffadf362d`
