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

API Automatic Request

Automatically upload references, submit once, poll tasks and fetch the result. Custom profiles support different endpoints, bodies, auth headers and states. / 自动上传参考图、提交请求、轮询任务并取回结果。自定义流程支持不同平台的地址、请求体、认证和状态格式。

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

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
resultSTRING—
task_idSTRING—
response_jsonSTRING—