Nodes/ComfyUI_OpenAI_GPTImage2/GPT-Image-2 Image Edit (Responses API, file cache)
ComfyUI Node

GPT-Image-2 Image Edit (Responses API, file cache)

Responses API image edit. responses_model is the main model that calls the image_generation tool; image_model is the GPT Image model used by that tool.

By kevinzilin·Created 2 months ago·Updated 2 months ago· 0
GPT-Image-2 Image Edit (Responses API, file cache)
  • image
  • mask
  • image
  • url
  • response
prompt
api_key
width1024
height1024
qualityauto
responses_modelgpt-5.5
image_modelgpt-image-2
proxy
n1
custom_responses_model
custom_image_model
CategoryOpenAI/GPT-Image-2

Inputs (13)

NameTypeDefaultDescription
imageIMAGE
promptSTRING
api_keySTRING
widthINT1024256–3840
heightINT1024256–3840
qualityCOMBOauto4 options: auto, high, medium, low
responses_modelCOMBOgpt-5.55 options: gpt-5.5, gpt-5.4, gpt-5.4-mini, gpt-5.4-nano, custom
image_modelCOMBOgpt-image-23 options: gpt-image-2, auto, custom
maskoptMASK
proxyoptSTRING
noptINT11–4
custom_responses_modeloptSTRING
custom_image_modeloptSTRING

Outputs (3)

NameTypeDescription
imageIMAGE
urlSTRING
responseSTRING