ComfyUI Node
OpenAI Image Edit
A ComfyUI node in duanyll/models/openai with 16 inputs and 2 outputs.
OpenAI Image Edit
- client
- images
- mask
- extra_body
- image
- response
◄prompt►
◄modelgpt-image-2►
◄sizeauto►
◄custom_size►
◄qualityauto►
◄backgroundauto►
◄input_fidelityauto►
◄output_formatauto►
◄output_compression100►
◄moderationauto►
◄n1►
◄user►
Categoryduanyll/models/openai
Inputs (16)
| Name | Type | Default | Description |
|---|---|---|---|
| client | OPENAI_CLIENT | — | |
| images | IMAGE | — | |
| prompt | STRING | — | |
| maskopt | MASK | — | |
| modelopt | COMBO | gpt-image-2 | 5 options: gpt-image-2, gpt-image-1.5, gpt-image-1, gpt-image-1-mini, dall-e-2 |
| sizeopt | COMBO | auto | 11 options: auto, custom, 1024x1024, 1536x1024, 1024x1536, 2048x2048, +5 |
| custom_sizeopt | STRING | — | |
| qualityopt | COMBO | auto | 5 options: auto, high, medium, low, standard |
| backgroundopt | COMBO | auto | 3 options: auto, transparent, opaque |
| input_fidelityopt | COMBO | auto | 3 options: auto, high, low |
| output_formatopt | COMBO | auto | 4 options: auto, png, jpeg, webp |
| output_compressionopt | INT | 1000–100 | — |
| moderationopt | COMBO | auto | 2 options: auto, low |
| nopt | INT | 11–10 | — |
| useropt | STRING | — | |
| extra_bodyopt | * | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| response | * | — |