Nodes/Leon's Utility and API Integration Nodes/πŸ€– Leon FLUX Kontext API
ComfyUI Node

πŸ€– Leon FLUX Kontext API

A ComfyUI node in Leon_API with 12 inputs and 3 outputs.

By l3ony2kΒ·Created about a year agoΒ·Updated about a month agoΒ· 3
πŸ€– 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)

NameTypeDefaultDescription
modelCOMBOflux-kontext-pro3 options: flux-kontext-max, flux-kontext-pro, flux-kontext-dev
promptSTRINGA detailed artistic sceneβ€”
response_formatCOMBOurl2 options: url, b64_json
output_formatCOMBOpng3 options: png, jpeg, webp
seedINT00–18446744073709550000β€”
api_urlSTRINGhttps://api.hyprlab.io/v1/images/generationsβ€”
api_keySTRINGYOUR_HYPRLAB_API_KEYβ€”
input_imageoptIMAGEInput image (required for flux-kontext-dev)
input_image_urloptSTRINGHosted image URL for flux-kontext image inputs
aspect_ratiooptCOMBO1:114 options: match_input_image, 1:1, 16:9, 9:16, 4:3, 3:4, +8
num_inference_stepsoptINT204–50Number of inference steps (flux-kontext-dev only)
guidanceoptFLOAT3.50–10Guidance scale (flux-kontext-dev only)

Outputs (3)

NameTypeDescription
imageIMAGEβ€”
image_urlSTRINGβ€”
seedINTβ€”