ComfyUI Node
API Edit Images
Edit with one or many reference images. Connect up to four inputs or chain Image Set nodes for more. White mask areas are edited. / 支持单图、多图编辑。可直接接四张或用图像集合扩展。遮罩白色区域为编辑区。
API Edit Images
- connection
- image_1
- options
- image_2
- image_3
- image_4
- image_set
- mask
- images
- text
- response_json
◄model►
◄prompt►
◄sizeauto►
◄count1►
◄run_id0►
CategorySimple API
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| connection | SA_CONNECTION | — | |
| model | STRING | Model ID from your provider; any supported ID is allowed. / 填写平台提供的模型名。 | |
| prompt | STRING | Write your request or connect a text output. / 输入要求,也可连接文本输出。 | |
| size | STRING | auto | Images API: 1024x1024 etc. Gemini/chat: auto or aspect ratio, e.g. 16:9. / Images 接口填像素尺寸;Gemini/chat 可填比例。 |
| count | INT | 11–16 | — |
| run_id | INT | 00–2147483647 | Change this value to request again with identical inputs. / 相同输入再次请求时,更改此数值。 |
| image_1 | IMAGE | — | |
| optionsopt | SA_OPTIONS | — | |
| image_2opt | IMAGE | — | |
| image_3opt | IMAGE | — | |
| image_4opt | IMAGE | — | |
| image_setopt | SA_IMAGES | — | |
| maskopt | MASK | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |
| text | STRING | — |
| response_json | STRING | — |