ComfyUI Node
vLLM-I2I丨API
A ComfyUI node in QING/API with 20 inputs and 4 outputs.
vLLM-I2I丨API
- image
- mask
- image
- raw_response
- status
- debug_info
◄prompt►
◄negative_prompt►
◄platformvLLM►
◄modeldefault►
◄base_urlhttp://127.0.0.1:8091►
◄i2i_endpointchat_completions►
◄width1024►
◄height1024►
◄num_inference_steps50►
◄guidance_scale4.00►
◄top_p0.90►
◄repetition_penalty1.10►
◄seed0►
◄n1►
◄response_formatb64_json►
◄timeout_sec120►
◄api_key►
◄advanced_options►
CategoryQING/API
Inputs (20)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | 编辑指令 | |
| negative_prompt | STRING | 负面提示词(edits 模式常用) | |
| image | IMAGE | 输入图像 | |
| platform | COMBO | vLLM | 服务平台(用于动态拉取 /v1/models) |
| model | STRING | default | 模型 id |
| base_url | STRING | http://127.0.0.1:8091 | 服务根地址 |
| i2i_endpoint | COMBO | chat_completions | 含 mask 时自动改用 images_edits;与官方 I2I 示例一致请用 chat_completions |
| width | STRING | 1024 | 宽度(字符串整数) |
| height | STRING | 1024 | 高度(字符串整数) |
| num_inference_steps | INT | 501–250 | — |
| guidance_scale | FLOAT | 4.000–30 | chat 模式写入 extra_body.guidance_scale;更多参数请使用 advanced_options |
| top_p | FLOAT | 0.900–1 | — |
| repetition_penalty | FLOAT | 1.100.5–2 | — |
| seed | INT | 00–2147483647 | — |
| n | INT | 11–4 | 仅 images_edits 生效;n>1 时输出 IMAGE 批次 |
| response_format | COMBO | b64_json | 仅 images_edits 生效 |
| timeout_sec | INT | 1205–600 | — |
| maskopt | MASK | 可选遮罩;连接时强制走 /v1/images/edits | |
| api_keyopt | STRING | 留空时使用环境变量或 QING 配置 | |
| advanced_optionsopt | STRING | 高级选项节点输出的 JSON(可通过 custom_json 兜底扩展) |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| raw_response | STRING | — |
| status | STRING | — |
| debug_info | STRING | — |