Nodes/Simple API · 简易 API/API Automatic Image
ComfyUI Node

API Automatic Image

Connect images and enter your key and prompt. Upload, synchronous/asynchronous generation and image download are automatic. APIKO defaults to Nano Banana 2.1; custom profiles support other providers. / 接多张图、填密钥和提示词即可出图,自动处理上传、同步或异步请求及下载。APIKO 预设默认 Nano Banana 2.1,也可连接其他平台的流程配置。

By playboy-dongan·Created 8 days ago·Updated 8 days ago· 0
API Automatic Image
  • image_1
  • image_2
  • image_3
  • image_4
  • image_set
  • profile
  • images
  • task_id
  • response_json
◄presetAPIKO►
◄api_key►
◄model►
◄prompt►
◄sizeauto►
◄resolutionauto►
◄run_id0►
CategorySimple API

Inputs (13)

NameTypeDefaultDescription
presetCOMBOAPIKOA connected profile overrides this preset. / 已连接的流程配置优先于预设。
api_keySTRINGPaste your provider key without Bearer, or use env:VARIABLE / key:local_name. Pasted keys are saved in workflows. / 填平台密钥,不加 Bearer;也可用 env:变量名 或 key:本地名称。直接填写会保存到工作流。
modelSTRINGBlank uses the preset model. APIKO defaults to nano-banana-2.1. / 留空跟随预设;APIKO 默认 nano-banana-2.1。
promptSTRINGWrite your request or connect a text output. / 输入要求,也可连接文本输出。
sizeSTRINGautoauto follows the preset; use a pixel size or aspect ratio required by your provider. / auto 跟随预设,也可填平台要求的尺寸或画幅比例。
resolutionCOMBOauto4 options: auto, 1k, 2k, 4k
run_idINT00–2147483647Change this value to request again with identical inputs. / 相同输入再次请求时,更改此数值。
image_1optIMAGE—
image_2optIMAGE—
image_3optIMAGE—
image_4optIMAGE—
image_setoptSA_IMAGES—
profileoptSA_REQUEST_PROFILE—

Outputs (3)

NameTypeDescription
imagesIMAGE—
task_idSTRING—
response_jsonSTRING—