ComfyUI Node

Nanaix_Text

Generate Nanaix images with ComfyUI-native IMAGE output. When n > 1, the node returns an IMAGE batch that still plugs directly into PreviewImage or SaveImage. New nodes prefill from saved local config when available, but an empty visible key still raises an error. Use resolution_preset for common sizes or custom width and height for manual control.

By nan-boop·Created 3 months ago·Updated 3 months ago· 0
Nanaix_Text
    • 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 (16)

    NameTypeDefaultDescription
    promptSTRINGDescribe the image to generate. A more specific prompt usually produces more controllable results.
    modelSTRINGgpt-image-2Enter the Nanaix model name. Use gpt-image-* when you want image-2 controls such as transparent background, style, moderation, compression, or SSE streaming. 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_presetCOMBOcustomChoose a resolution preset for common output sizes. Use custom to keep the width and height fields.
    widthINT10241–4096Set the requested output width in pixels.
    heightINT10241–4096Set the requested output height in pixels.
    nINT11–8Choose 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.
    qualityCOMBOhighShared quality setting passed to the Nanaix backend.
    output_formatCOMBOpngPreferred output file format for returned images.
    backgroundCOMBOautoBackground mode. transparent is especially useful for gpt-image-2 PNG assets. Banana models currently ignore this field.
    styleCOMBOnaturalImage style hint for gpt-image-2. vivid pushes a stronger stylized look. Banana models currently ignore this field.
    moderationCOMBOautomoderation level for gpt-image-2 requests. Banana models currently ignore this field.
    output_compressionINT00–100Output compression level for gpt-image-2. Use 0 for the backend default. Banana models currently ignore this compression field.
    partial_imagesINT00–8Streamed preview segment count for gpt-image-2. Use 0 to disable partial image requests. Banana models currently ignore this field.
    streamBOOLEANfalseEnable SSE streaming for gpt-image-2 requests and wait for the completed event before returning the final IMAGE output. Banana models currently ignore this field.
    api_keySTRINGSingle API key field used for both gpt-image-* and nano-banana-* models.
    official_websiteSTRINGhttps://ai.nanaix.comNanaix official website. This display-only field is not sent to the API.

    Outputs (1)

    NameTypeDescription
    imageIMAGE