ComfyUI は画像生成エンジンですが、そもそも Stable Diffusion や Qwen-Image といったモデルがオープンウェイトとして公開されていなければ意味がありません。
APIノード(公式ドキュメント上の呼び名は Partner Nodes)は、ComfyUI から外部のクローズドモデルを API 経由で呼び出すためのノード群です。
{
"id": "dba15c18-c2e7-4547-8472-85361bc55454",
"revision": 0,
"last_node_id": 5,
"last_link_id": 2,
"nodes": [
{
"id": 3,
"type": "LoadImage",
"pos": [
853.4487244959269,
220.07485850425167
],
"size": [
351.798828125,
481
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
1
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"pasted/image (104).png",
"image"
]
},
{
"id": 5,
"type": "PreviewAny",
"pos": [
1669.4487244959269,
220.07485850425167
],
"size": [
264.5454545454545,
181.90909090909088
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 2
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PreviewAny"
},
"widgets_values": [
null,
null,
false
]
},
{
"id": 1,
"type": "GeminiNode",
"pos": [
1243.3481385584269,
220.07485850425167
],
"size": [
393,
426
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "images",
"shape": 7,
"type": "IMAGE",
"link": 1
},
{
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"name": "video",
"shape": 7,
"type": "VIDEO",
"link": null
},
{
"name": "files",
"shape": 7,
"type": "GEMINI_INPUT_FILES",
"link": null
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
2
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "GeminiNode"
},
"widgets_values": [
"You are an image captioning model. Given an image, describe only the visible content in English using concise, objective, quantitative language (counts, colors, positions, sizes). Avoid figurative or emotional wording. Output a single caption under 300 characters.\n",
"gemini-3-pro-preview",
1234,
"fixed",
"",
"Status: Completed\nPrice: $0.0225\nTime elapsed: 20s"
],
"color": "#432",
"bgcolor": "#653"
}
],
"links": [
[
1,
3,
0,
1,
0,
"IMAGE"
],
[
2,
1,
0,
5,
0,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.1,
"offset": [
-753.4487244959269,
-120.07485850425167
]
},
"frontendVersion": "1.35.0",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
ComfyUI はローカルな環境でモデルを動かせるのが強みですが、クローズドモデルとローカルモデルを同じ workflow の中で混ぜて使える、というのもまた強みと言えるでしょう。