Nodes/comfyui-PD_comfy-api-node/PD: GPT Image 2 (comfyui_apikey)
ComfyUI Node

PD: GPT Image 2 (comfyui_apikey)

A ComfyUI node in PD_Tools/Image_Generation with 14 inputs and 3 outputs.

By 7BEII·Created 9 months ago·Updated about a month ago· 2
PD: GPT Image 2 (comfyui_apikey)
  • image
  • mask
  • files
  • image
  • info
  • price
api_key
prompt
modelgpt-image-2
seed0
qualityauto
backgroundauto
size1024x1024
use_custom_sizefalse
custom_width0
custom_height0
num_images1
CategoryPD_Tools/Image_Generation

Inputs (14)

NameTypeDefaultDescription
api_keySTRING
promptSTRINGText prompt for GPT Image 2
modelCOMBOgpt-image-21 options: gpt-image-2
seedINT00–2147483647not implemented yet in backend
qualityCOMBOautoGPT Image 2 quality
backgroundCOMBOautoGPT Image 2 does not support transparent background
sizeCOMBO1024x1024Preset output size, or Custom with custom_width/custom_height
use_custom_sizeBOOLEANfalseEnable custom_width/custom_height size override.
custom_widthINT00–3840Custom width. Must be paired with custom_height.
custom_heightINT00–3840Custom height. Must be paired with custom_width.
num_imagesINT11–8How many images to generate
imageoptIMAGEOptional reference image for image editing.
maskoptMASKOptional mask for inpainting (white areas will be replaced)
filesoptGEMINI_INPUT_FILESOptional packed multi-image files input, for example from PD_comfyplus_image.

Outputs (3)

NameTypeDescription
imageIMAGE
infoSTRING
priceSTRING