ComfyUI Node
π€ Leon FLUX Kontext API
A ComfyUI node in Leon_API with 12 inputs and 3 outputs.
π€ Leon FLUX Kontext API
- input_image
- image
- image_url
- seed
βmodelflux-kontext-proβΊ
βpromptA detailed artistic sceneβΊ
βresponse_formaturlβΊ
βoutput_formatpngβΊ
βseed0βΊ
βapi_urlhttps://api.hyprlab.io/v1/images/generationsβΊ
βapi_keyYOUR_HYPRLAB_API_KEYβΊ
βinput_image_urlβΊ
βaspect_ratio1:1βΊ
βnum_inference_steps20βΊ
βguidance3.5βΊ
CategoryLeon_API
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| model | COMBO | flux-kontext-pro | 3 options: flux-kontext-max, flux-kontext-pro, flux-kontext-dev |
| prompt | STRING | A detailed artistic scene | β |
| 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_imageopt | IMAGE | Input image (required for flux-kontext-dev) | |
| input_image_urlopt | STRING | Hosted image URL for flux-kontext image inputs | |
| aspect_ratioopt | COMBO | 1:1 | 14 options: match_input_image, 1:1, 16:9, 9:16, 4:3, 3:4, +8 |
| num_inference_stepsopt | INT | 204β50 | Number of inference steps (flux-kontext-dev only) |
| guidanceopt | FLOAT | 3.50β10 | Guidance scale (flux-kontext-dev only) |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | β |
| image_url | STRING | β |
| seed | INT | β |