Nodes/ComfyUI-KIE-Nodes-Next/GPT Image 2 - Image To Image
ComfyUI Node

GPT Image 2 - Image To Image

GPT Image 2 - Image To Image OpenAPI Specification

By felipederosilva·Created 24 days ago·Updated about 11 hours ago· 0
GPT Image 2 - Image To Image
  • input_urls
  • image
  • url
  • all_urls_json
  • task_id
  • raw_json
  • credits_consumed
  • credits_left
◄prompttake a photo with Sam Altman in the conference room►
◄aspect_ratioauto►
◄resolution1K►
◄backgroundtransparent►
◄timeout_seconds1200►
◄callback_url►
CategoryKIE Next/Image/OpenAI/GPT Image

Inputs (7)

NameTypeDefaultDescription
promptSTRINGtake a photo with Sam Altman in the conference roomText prompts, up to 20,000 characters.
input_urlsIMAGE—
aspect_ratiooptCOMBOautoThe aspect ratio of the generated image is set to auto by default. Note: for 2K resolution, the following aspect ratios are not supported: 5:4, 4:5, 3:1, 1:3, and 9:21. for 4K resolution, the following aspect ratios are not supported: 3:1, 1:3, and 9:21.
resolutionoptCOMBO1KImage resolution: Note: Images with a 1:1 aspect ratio cannot be converted to 4K images. Images with the aspect ratio set to "auto" or without a specified aspect ratio parameter will only be converted to 1K images; otherwise, the task will fail to create.
backgroundoptCOMBOtransparentImage background Note: This parameter is only supported when the resolution is 1K.
timeout_secondsoptINT120030–7200—
callback_urloptSTRINGOptional KIE callback URL. Leave empty for normal ComfyUI use.

Outputs (7)

NameTypeDescription
imageIMAGE—
urlSTRING—
all_urls_jsonSTRING—
task_idSTRING—
raw_jsonSTRING—
credits_consumedFLOAT—
credits_leftFLOAT—