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. / 支持单图、多图编辑。可直接接四张或用图像集合扩展。遮罩白色区域为编辑区。

By playboy-dongan·Created 8 days ago·Updated 8 days ago· 0
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)

NameTypeDefaultDescription
connectionSA_CONNECTION—
modelSTRINGModel ID from your provider; any supported ID is allowed. / 填写平台提供的模型名。
promptSTRINGWrite your request or connect a text output. / 输入要求,也可连接文本输出。
sizeSTRINGautoImages API: 1024x1024 etc. Gemini/chat: auto or aspect ratio, e.g. 16:9. / Images 接口填像素尺寸;Gemini/chat 可填比例。
countINT11–16—
run_idINT00–2147483647Change this value to request again with identical inputs. / 相同输入再次请求时,更改此数值。
image_1IMAGE—
optionsoptSA_OPTIONS—
image_2optIMAGE—
image_3optIMAGE—
image_4optIMAGE—
image_setoptSA_IMAGES—
maskoptMASK—

Outputs (3)

NameTypeDescription
imagesIMAGE—
textSTRING—
response_jsonSTRING—