ComfyUI Node
Nanaix_Image
Edit or regenerate images with up to 8 reference IMAGE inputs and ComfyUI-native IMAGE output. When n > 1, the node returns an IMAGE batch that still plugs directly into PreviewImage or SaveImage. Use image_1 for the main subject/layout cue and image_2 for style/environment when you want to blend references. A batched reference input is expanded into individual images before the Nanaix request. New nodes prefill from saved local config when available, but an empty visible key still raises an error.
Nanaix_Image
- image_1
- image_2
- image_3
- image_4
- image_5
- image_6
- image_7
- image_8
- image
◄prompt►
◄modelgpt-image-2►
◄resolution_presetcustom►
◄width1024►
◄height1024►
◄n1►
◄qualityhigh►
◄output_formatpng►
◄backgroundauto►
◄stylenatural►
◄moderationauto►
◄output_compression0►
◄partial_images0►
◄streamfalse►
◄api_key►
◄official_websitehttps://ai.nanaix.com►
CategoryNanaix
Inputs (24)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | Describe how the reference image should change. Mention the subject you want to preserve when useful. | |
| model | STRING | gpt-image-2 | Enter the Nanaix model name. Use gpt-image-* when you want image-2 controls such as transparent background, style, moderation, compression, or SSE streaming during edits. Use nano-banana-* for the simpler shared path when you do not need those gpt-image-2-only controls. This node routes by model family and always uses the single api_key field. |
| resolution_preset | COMBO | custom | Choose a resolution preset for common output sizes. Use custom to keep the width and height fields. |
| width | INT | 10241–4096 | Set the requested output width in pixels. |
| height | INT | 10241–4096 | Set the requested output height in pixels. |
| n | INT | 11–8 | Choose the number of images to request in one run. When n > 1, the node returns a ComfyUI IMAGE batch that still connects directly to PreviewImage and SaveImage. |
| quality | COMBO | high | Shared quality setting passed to the Nanaix backend. |
| output_format | COMBO | png | Preferred output file format for returned images. |
| background | COMBO | auto | Background mode for gpt-image-2 image editing. transparent is useful for cutout-style PNG output. Banana models currently ignore this field. |
| style | COMBO | natural | Image style hint for gpt-image-2 edits. vivid pushes a stronger stylized look. Banana models currently ignore this field. |
| moderation | COMBO | auto | moderation level for gpt-image-2 edit requests. Banana models currently ignore this field. |
| output_compression | INT | 00–100 | Output compression level for gpt-image-2 edits. Use 0 for the backend default. Banana models currently ignore this field. |
| partial_images | INT | 00–8 | Streamed preview segment count for gpt-image-2 edits. Use 0 to disable partial image requests. Banana models currently ignore this field. |
| stream | BOOLEAN | false | Enable SSE streaming for gpt-image-2 edits and wait for the completed event before returning the final IMAGE output. Banana models currently ignore this field. |
| api_key | STRING | Single API key field used for both gpt-image-* and nano-banana-* image editing. | |
| official_website | STRING | https://ai.nanaix.com | Nanaix official website. This display-only field is not sent to the API. |
| image_1opt | IMAGE | Optional reference image slot 1. Connect at least one reference image before queueing the workflow. Use image_1 as the main subject or composition guide. | |
| image_2opt | IMAGE | Optional reference image slot 2. Connect at least one reference image before queueing the workflow. Use image_2 as a secondary style or environment guide. | |
| image_3opt | IMAGE | Optional reference image slot 3. Connect at least one reference image before queueing the workflow. Additional slots can add more supporting reference cues. | |
| image_4opt | IMAGE | Optional reference image slot 4. Connect at least one reference image before queueing the workflow. Additional slots can add more supporting reference cues. | |
| image_5opt | IMAGE | Optional reference image slot 5. Connect at least one reference image before queueing the workflow. Additional slots can add more supporting reference cues. | |
| image_6opt | IMAGE | Optional reference image slot 6. Connect at least one reference image before queueing the workflow. Additional slots can add more supporting reference cues. | |
| image_7opt | IMAGE | Optional reference image slot 7. Connect at least one reference image before queueing the workflow. Additional slots can add more supporting reference cues. | |
| image_8opt | IMAGE | Optional reference image slot 8. Connect at least one reference image before queueing the workflow. Additional slots can add more supporting reference cues. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |