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. / 自动上传参考图、提交请求、轮询任务并取回结果。自定义流程支持不同平台的地址、请求体、认证和状态格式。
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)
| Name | Type | Default | Description |
|---|---|---|---|
| preset | COMBO | APIKO | A connected profile overrides this preset. / 已连接的流程配置优先于预设。 |
| api_key | STRING | Paste your provider key without Bearer, or use env:VARIABLE / key:local_name. Pasted keys are saved in workflows. / 填平台密钥,不加 Bearer;也可用 env:变量名 或 key:本地名称。直接填写会保存到工作流。 | |
| model | STRING | Blank uses the preset model. APIKO defaults to nano-banana-2.1. / 留空跟随预设;APIKO 默认 nano-banana-2.1。 | |
| prompt | STRING | Write your request or connect a text output. / 输入要求,也可连接文本输出。 | |
| size | STRING | auto | auto follows the preset; use a pixel size or aspect ratio required by your provider. / auto 跟随预设,也可填平台要求的尺寸或画幅比例。 |
| resolution | COMBO | auto | 4 options: auto, 1k, 2k, 4k |
| run_id | INT | 00–2147483647 | Change this value to request again with identical inputs. / 相同输入再次请求时,更改此数值。 |
| image_1opt | IMAGE | — | |
| image_2opt | IMAGE | — | |
| image_3opt | IMAGE | — | |
| image_4opt | IMAGE | — | |
| image_setopt | SA_IMAGES | — | |
| profileopt | SA_REQUEST_PROFILE | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| result | STRING | — |
| task_id | STRING | — |
| response_json | STRING | — |