Nodes/comfyui-gpt-image-2/GPT Image 2 — Estimate Cost
ComfyUI Node

GPT Image 2 — Estimate Cost

A ComfyUI node in OpenAI/GPT-Image-2 with 7 inputs and 5 outputs.

By graedance·Created 4 months ago·Updated 4 months ago· 0
GPT Image 2 — Estimate Cost
    • text_tokens
    • image_in_tokens
    • image_out_tokens
    • usd_cost
    • summary
    modelgpt-image-2
    prompt
    size1024x1024
    qualityhigh
    n1
    input_images0
    cached_inputfalse
    CategoryOpenAI/GPT-Image-2

    Inputs (7)

    NameTypeDefaultDescription
    modelCOMBOgpt-image-25 options: gpt-image-2, gpt-image-2-2026-04-21, gpt-image-1.5, gpt-image-1, gpt-image-1-mini
    promptSTRING
    sizeCOMBO1024x102410 options: auto, 1024x1024, 1024x1536, 1536x1024, 1792x1024, 1024x1792, +4
    qualityCOMBOhigh4 options: auto, low, medium, high
    nINT11–8
    input_imagesINT00–9Number of reference images (0 for generate, 1–9 for edit)
    cached_inputBOOLEANfalseBill input images at the cached rate (gpt-image-2 only)

    Outputs (5)

    NameTypeDescription
    text_tokensINT
    image_in_tokensINT
    image_out_tokensINT
    usd_costFLOAT
    summarySTRING