Skip to main content
Generate images using the Flux.2 [pro] or Flux.2 [max] model from a text prompt and optional reference images. This node sends your request to the BFL API, polls for the result, and returns the generated image as a tensor.

Inputs

ParameterDescriptionData TypeRequiredRange
promptPrompt for the image generation or edit (default: empty string).STRINGYesN/A
modelThe Flux.2 model version to use. Selecting a model unlocks additional parameters for width, height, and optional reference images.COMBOYes"Flux.2 [pro]"
"Flux.2 [max]"
seedThe random seed used for creating the noise. Can be set to randomize after each generation (default: 0).INTYes0 to 18446744073709551615
Additional Parameters (unlocked by model selection): When you select a model, the following parameters become available:
ParameterDescriptionData TypeRequiredRange
model.widthThe width of the generated image in pixels.INTYes256 to 1440
model.heightThe height of the generated image in pixels.INTYes256 to 1440
model.imagesOptional reference images to guide the generation. A maximum of 8 images is supported.IMAGENo0 to 8 images
Constraints:
  • The maximum number of reference images is 8. If more than 8 images are provided, an error will be raised.
  • The model.width and model.height values affect the cost of the generation.

Outputs

Output NameDescriptionData Type
imageThe generated image as a tensor, downloaded from the BFL API result.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): 9627f120df5aedfef1203db2baf39926e1d6891ef30e56b4eac4c2baf5e032e8