ComfyUI Node
π€ Leon GPT-Image API
A ComfyUI node in Leon_API with 14 inputs and 3 outputs.
π€ Leon GPT-Image API
- input_images_array
- mask_image
- image
- image_url
- seed
βmodelgpt-image-2βΊ
βpromptA cute cat.βΊ
βqualitymediumβΊ
βsize1024x1024βΊ
βresponse_formaturlβΊ
βoutput_formatpngβΊ
βseed0βΊ
βapi_urlhttps://api.hyprlab.io/v1/images/generationsβΊ
βapi_keyYOUR_HYPRLAB_API_KEYβΊ
βmask_image_urlβΊ
βbackgroundautoβΊ
βinput_fidelitylowβΊ
CategoryLeon_API
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| model | COMBO | gpt-image-2 | 4 options: gpt-image-2, gpt-image-1.5, gpt-image-1, gpt-image-1-mini |
| prompt | STRING | A cute cat. | Text description of the image to generate |
| quality | COMBO | medium | Image generation quality |
| size | COMBO | 1024x1024 | Size of the generated image |
| response_format | COMBO | url | Format of the response |
| output_format | COMBO | png | Output image format |
| seed | INT | 00β18446744073709550000 | Random seed for reproducible results |
| api_url | STRING | https://api.hyprlab.io/v1/images/generations | API URL |
| api_key | STRING | YOUR_HYPRLAB_API_KEY | Your HyprLab API key |
| input_images_arrayopt | IMAGE_ARRAY | Optional multiple input images. Connect Image Array Builder node output here. | |
| mask_imageopt | IMAGE | Optional mask image for inpainting | |
| mask_image_urlopt | STRING | Optional mask image URL for inpainting | |
| backgroundopt | COMBO | auto | Background setting (for gpt-image-1.5, gpt-image-1, gpt-image-1-mini) |
| input_fidelityopt | COMBO | low | Input fidelity setting (for gpt-image-1.5, gpt-image-1) |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | β |
| image_url | STRING | β |
| seed | INT | β |