Nodes/ComfyUI-QING/URL Gemini图像编辑丨API
ComfyUI Node

URL Gemini图像编辑丨API

A ComfyUI node in QING/API with 14 inputs and 4 outputs.

By sheengoa·Created 12 months ago·Updated 3 months ago· 16
URL Gemini图像编辑丨API
  • image
  • image2
  • image3
  • image
  • raw_response
  • status
  • debug_info
prompt
custom_headers_json
extra_body_json
base_url
model
api_key_override
api_key_modeAuthorization Bearer
aspect_ratio1:1
image_size1K
response_modalitiesIMAGE
timeout_sec300
CategoryQING/API

Inputs (14)

NameTypeDefaultDescription
promptSTRING图像编辑指令,只作为第一个 text part 发送
custom_headers_jsonSTRING可选JSON对象,例如 {"X-API-Key":"..."}
extra_body_jsonSTRING可选JSON对象,会合并进请求体顶层
imageIMAGE要编辑的主图像
base_urlSTRINGGemini兼容服务根地址,如 https://api.apiyi.com
modelSTRINGGemini图像模型ID,如 gemini-3-pro-image-preview
api_key_overrideSTRING仅当前节点生效;留空时读取 CUSTOM_URL_API_KEY 或 QING custom_url_api_key
api_key_modeCOMBOAuthorization BearerAPI密钥发送方式:网关常用Bearer,Gemini原生常用x-goog-api-key或query key
aspect_ratioCOMBO1:110 options: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, +4
image_sizeCOMBO1K3 options: 1K, 2K, 4K
response_modalitiesCOMBOIMAGEgenerationConfig.responseModalities
timeout_secINT3005–900
image2optIMAGE可选第二张参考图,作为独立 inlineData part 发送
image3optIMAGE可选第三张参考图,作为独立 inlineData part 发送

Outputs (4)

NameTypeDescription
imageIMAGE
raw_responseSTRING
statusSTRING
debug_infoSTRING