Overview
This node generates images from text descriptions using the Luma UNI-1 model. It takes a text prompt and optional settings like aspect ratio and style, then sends the request to the Luma API to create an image.Inputs
| Parameter | Description | Data Type | Required | Range |
|---|---|---|---|---|
prompt | Text description of the desired image. | STRING | Yes | 1–6000 characters |
model | Model to use for generation. Selecting a model reveals additional settings for that model. | COMBO | Yes | "uni-1""uni-1-max" |
seed | Seed controls whether the node should re-run; results are non-deterministic regardless of seed. (default: 0) | INT | Yes | 0 to 2147483647 |
Model-specific Inputs
When"uni-1" or "uni-1-max" is selected for the model parameter, the following inputs become available:
| Parameter | Description | Data Type | Required | Range |
|---|---|---|---|---|
aspect_ratio | Output image aspect ratio. "auto" lets the model pick based on the prompt. (default: "auto") | COMBO | Yes | "auto""3:1""2:1""16:9""3:2""1:1""2:3""9:16""1:2""1:3" |
style | The visual style for the generated image. (default: "auto") | COMBO | Yes | "auto""manga" |
web_search | Whether to allow the model to search the web for additional context. (default: False) | BOOLEAN | Yes | True / False |
image_ref | Reference images to guide the generation. | IMAGE | No | Up to 9 images |
style and aspect_ratio constraints: If style is set to "manga", the aspect_ratio must be either "auto" or one of the following portrait ratios: "2:3", "9:16", "1:2", "1:3". Using a landscape or square ratio with "manga" style will cause an error.
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
Source fingerprint (SHA-256):
cd680f8b9e6bcf5fa415aa2d9ec3126bf8873d14bd6f4cd127491cfa242e5548