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