Skip to main content

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

ParameterDescriptionData TypeRequiredRange
promptText description of the desired image.STRINGYes1–6000 characters
modelModel to use for generation. Selecting a model reveals additional settings for that model.COMBOYes"uni-1"
"uni-1-max"
seedSeed controls whether the node should re-run; results are non-deterministic regardless of seed. (default: 0)INTYes0 to 2147483647

Model-specific Inputs

When "uni-1" or "uni-1-max" is selected for the model parameter, the following inputs become available:
ParameterDescriptionData TypeRequiredRange
aspect_ratioOutput image aspect ratio. "auto" lets the model pick based on the prompt. (default: "auto")COMBOYes"auto"
"3:1"
"2:1"
"16:9"
"3:2"
"1:1"
"2:3"
"9:16"
"1:2"
"1:3"
styleThe visual style for the generated image. (default: "auto")COMBOYes"auto"
"manga"
web_searchWhether to allow the model to search the web for additional context. (default: False)BOOLEANYesTrue / False
image_refReference images to guide the generation.IMAGENoUp to 9 images
Note on 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 NameDescriptionData Type
imageThe 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