Skip to main content
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

ParameterDescriptionData TypeRequiredRange
promptPrompt for the image generation (default: empty string). Must be at least 3 characters long.STRINGYes-
modelModel selection for image generation. Different models have different costs.COMBOYesphoton-flash-1
photon-1
photon
aspect_ratioAspect ratio for the generated image (default: 16:9)COMBOYes16:9
1:1
4:3
3:2
21:9
9:16
3:4
2:3
9:21
seedSeed to determine if node should re-run; actual results are nondeterministic regardless of seed (default: 0)INTYes0 to 18446744073709551615
style_image_weightWeight of style image. Ignored if no style_image is provided (default: 1.0)FLOATNo0.0 to 1.0
image_luma_refLuma Reference node connection to influence generation with input images; up to 4 images can be considered.LUMA_REFNo-
style_imageStyle reference image; only 1 image will be used.IMAGENo-
character_imageCharacter reference images; can be a batch of multiple, up to 4 images can be considered.IMAGENo-
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 NameDescriptionData Type
outputThe 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

Source fingerprint (SHA-256): 353d99868c8c09edfab212e49f127585a6cbe1a24d6ee8fe584169adcded2961