Nodes/comfyui-jz/jz OpenAI Image
ComfyUI Node

jz OpenAI Image

A ComfyUI node in jz/api with 16 inputs and 4 outputs.

By j-zhang19·Created 2 months ago·Updated 4 days ago· 3
jz OpenAI Image
  • image
  • mask
  • images
  • mask
  • cost
  • usage
◄prompta photo of a cute dog►
◄modelgpt-image-2.5-sunburst►
◄size1024x1024►
◄custom_width2048►
◄custom_height2048►
◄qualityauto►
◄backgroundauto►
◄output_formatpng►
◄n1►
◄input_fidelityauto►
◄moderationauto►
◄output_compression100►
◄custom_model►
◄api_key►
Categoryjz/api

Inputs (16)

NameTypeDefaultDescription
promptSTRINGa photo of a cute dog—
modelCOMBOgpt-image-2.5-sunburst4 options: gpt-image-2.5-sunburst, gpt-image-2.5-flare, gpt-image-2, custom
sizeCOMBO1024x1024auto lets the model pick. anything beyond the first three, and custom, needs gpt-image-2+
custom_widthINT204816–3840—
custom_heightINT204816–3840—
qualityCOMBOautoauto omits it. xhigh/max: gpt-image-2.5 only. cost scales steeply with quality
backgroundCOMBOautotransparent needs png or webp; the alpha comes out on the mask output
output_formatCOMBOpng3 options: png, jpeg, webp
nINT11–10each image is billed
imageoptIMAGEwired = edit. every frame is one reference, max 16
maskoptMASKapplies to the first image; 1 = area to change
input_fidelityoptCOMBOautoedits only. auto omits it, which gpt-image-2+ requires
moderationoptCOMBOauto2 options: auto, low
output_compressionoptINT1000–100jpeg/webp only
custom_modeloptSTRING—
api_keyoptSTRING—

Outputs (4)

NameTypeDescription
imagesIMAGE—
maskMASK—
costSTRING—
usageSTRING—