ComfyUI Node
GPT Image 2 - Image To Image
GPT Image 2 - Image To Image OpenAPI Specification
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)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | take a photo with Sam Altman in the conference room | Text prompts, up to 20,000 characters. |
| input_urls | IMAGE | — | |
| aspect_ratioopt | COMBO | auto | The 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. |
| resolutionopt | COMBO | 1K | Image 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. |
| backgroundopt | COMBO | transparent | Image background Note: This parameter is only supported when the resolution is 1K. |
| timeout_secondsopt | INT | 120030–7200 | — |
| callback_urlopt | STRING | Optional KIE callback URL. Leave empty for normal ComfyUI use. |
Outputs (7)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| url | STRING | — |
| all_urls_json | STRING | — |
| task_id | STRING | — |
| raw_json | STRING | — |
| credits_consumed | FLOAT | — |
| credits_left | FLOAT | — |