ComfyUI Node
π€ Leon FLUX Image API
A ComfyUI node in Leon_API with 18 inputs and 3 outputs.
π€ Leon FLUX Image API
- input_image_prompt_socket
- image
- image_url
- seed
βmodel_choiceFLUX 1.1 ProβΊ
βpromptA stunning artistic photoβΊ
βresponse_formaturlβΊ
βoutput_formatpngβΊ
βseed0βΊ
βapi_urlhttps://api.hyprlab.io/v1/images/generationsβΊ
βapi_keyYOUR_HYPRLAB_API_KEYβΊ
βinput_image_prompt_urlβΊ
βimage_prompt_strength0.50βΊ
βaspect_ratio1:1βΊ
βrawfalseβΊ
βsteps30βΊ
βheight1024βΊ
βwidth1024βΊ
βprompt_strength0.80βΊ
βnum_inference_steps28βΊ
βguidance4.5βΊ
CategoryLeon_API
Inputs (18)
| Name | Type | Default | Description |
|---|---|---|---|
| model_choice | COMBO | FLUX 1.1 Pro | 6 options: FLUX 1.1 Pro Ultra, FLUX 1.1 Pro, FLUX Pro Canny, FLUX Dev, FLUX Schnell, FLUX Krea Dev |
| 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_image_prompt_socketopt | IMAGE | Image for image guidance. Must be at least 256x256 pixels (FLUX 1.1 Pro Ultra, FLUX 1.1 Pro, FLUX Pro Canny). | |
| input_image_prompt_urlopt | STRING | Image guidance URL (hosted image for image_prompt/image fields) | |
| image_prompt_strengthopt | FLOAT | 0.500β1 | Strength of image_prompt (FLUX 1.1 Pro Ultra only) |
| aspect_ratioopt | COMBO | 1:1 | Aspect ratio (FLUX 1.1 Pro Ultra, FLUX Krea Dev) |
| rawopt | BOOLEAN | false | Return raw output (FLUX 1.1 Pro Ultra only) |
| stepsopt | INT | 301β50 | Number of steps (FLUX 1.1 Pro, FLUX Pro Canny, FLUX Dev, FLUX Schnell) |
| heightopt | INT | 1024256β1440 | Image height, multiple of 32 (FLUX 1.1 Pro, FLUX Pro Canny, FLUX Dev, FLUX Schnell) |
| widthopt | INT | 1024256β1440 | Image width, multiple of 32 (FLUX 1.1 Pro, FLUX Pro Canny, FLUX Dev, FLUX Schnell) |
| prompt_strengthopt | FLOAT | 0.800β1 | Prompt strength for image-to-image (FLUX Krea Dev only) |
| num_inference_stepsopt | INT | 284β50 | Number of inference steps (FLUX Krea Dev only) |
| guidanceopt | FLOAT | 4.50β10 | Guidance scale (FLUX Krea Dev only) |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | β |
| image_url | STRING | β |
| seed | INT | β |