ComfyUI Node
GPT Image 2 — Estimate Cost
A ComfyUI node in OpenAI/GPT-Image-2 with 7 inputs and 5 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| model | COMBO | gpt-image-2 | 5 options: gpt-image-2, gpt-image-2-2026-04-21, gpt-image-1.5, gpt-image-1, gpt-image-1-mini |
| prompt | STRING | — | |
| size | COMBO | 1024x1024 | 10 options: auto, 1024x1024, 1024x1536, 1536x1024, 1792x1024, 1024x1792, +4 |
| quality | COMBO | high | 4 options: auto, low, medium, high |
| n | INT | 11–8 | — |
| input_images | INT | 00–9 | Number of reference images (0 for generate, 1–9 for edit) |
| cached_input | BOOLEAN | false | Bill input images at the cached rate (gpt-image-2 only) |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| text_tokens | INT | — |
| image_in_tokens | INT | — |
| image_out_tokens | INT | — |
| usd_cost | FLOAT | — |
| summary | STRING | — |