ComfyUI Node
π€ Leon FLUX 2 Image API
A ComfyUI node in Leon_API with 12 inputs and 3 outputs.
π€ Leon FLUX 2 Image API
- input_images_array
- image
- image_url
- seed
βmodel_choiceFLUX 2 ProβΊ
βpromptA stunning artistic photoβΊ
βresponse_formaturlβΊ
βoutput_formatpngβΊ
βseed0βΊ
βapi_urlhttps://api.hyprlab.io/v1/images/generationsβΊ
βapi_keyYOUR_HYPRLAB_API_KEYβΊ
βaspect_ratio1:1βΊ
βresolution1 MPβΊ
βsteps30βΊ
βguidance3.5βΊ
CategoryLeon_API
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| model_choice | COMBO | FLUX 2 Pro | 3 options: FLUX 2 Pro, FLUX 2 Max, FLUX 2 Flex |
| prompt | STRING | A stunning artistic photo | β |
| response_format | COMBO | url | 2 options: url, b64_json |
| output_format | COMBO | png | 3 options: png, jpeg, webp |
| seed | INT | 00β18446744073709550000 | β |
| api_url | STRING | https://api.hyprlab.io/v1/images/generations | β |
| api_key | STRING | YOUR_HYPRLAB_API_KEY | β |
| input_images_arrayopt | IMAGE_ARRAY | Array of input images for FLUX 2 models. Connect Image Array Builder node output here. | |
| aspect_ratioopt | COMBO | 1:1 | Aspect ratio for generated image |
| resolutionopt | COMBO | 1 MP | Image resolution |
| stepsopt | INT | 301β50 | Number of steps (FLUX 2 Flex only) |
| guidanceopt | FLOAT | 3.51.5β10 | Guidance scale (FLUX 2 Flex only, range: 1.5-10) |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | β |
| image_url | STRING | β |
| seed | INT | β |