List (リスト) とは?
List(リスト)は、複数のデータを「ひとまとめ」にして扱うための仕組みです。
Queue が「同じ workflow を何回も実行する」のに対し、List は 1 回の実行で、複数の入力を順番に処理させる イメージです。
- Queue
- 同じ workflow を、外側から何度も回す
- List
- 複数の入力を、内側で順番にさばく
「Run を何度も押すか」「1 回の Run で複数入力を流し込むか」の違い、と考えると分かりやすいです。
必要なカスタムノード
ComfyUI の標準ノードだけでは List を作れないため、 カスタムノードを導入します。
List を作る
Make List (Any) ノード
手動で List を組み立てるためのノードです。
任意の型(画像 / テキスト / 数値など)をまとめて 1 本の List にします。

{
"id": "df61f910-9862-4ca4-9f9b-bdd1a3654446",
"revision": 0,
"last_node_id": 14,
"last_link_id": 20,
"nodes": [
{
"id": 2,
"type": "LoadImage",
"pos": [
-82.41541907172392,
258.46508350474323
],
"size": [
214.080078125,
314
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
17
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"a6e07600049875412da66a0ac4ca5351.png",
"image"
]
},
{
"id": 4,
"type": "LoadImage",
"pos": [
155.15674618041572,
349.66829658024227
],
"size": [
214.080078125,
314
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
3,
9,
18
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"b369caad1dbcdb433e3d6e7981480573.png",
"image"
]
},
{
"id": 5,
"type": "LoadImage",
"pos": [
392.7289114325554,
440.8715096557413
],
"size": [
214.080078125,
314
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
19
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"46ade239632308009a1c4c53ce041343.png",
"image"
]
},
{
"id": 14,
"type": "PreviewImage",
"pos": [
846.3253178431996,
261.687153222155
],
"size": [
289.28923024007986,
328.6997894135694
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 20
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 11,
"type": "ImpactMakeAnyList",
"pos": [
639.0504964896542,
261.687153222155
],
"size": [
171.14667393498075,
86
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "value1",
"shape": 7,
"type": "IMAGE",
"link": 17
},
{
"name": "value2",
"type": "IMAGE",
"link": 18
},
{
"name": "value3",
"type": "IMAGE",
"link": 19
},
{
"name": "value4",
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"label": "IMAGE",
"name": "IMAGE",
"shape": 6,
"type": "IMAGE",
"links": [
20
]
}
],
"properties": {
"cnr_id": "comfyui-impact-pack",
"ver": "61bd8397a18e7e7668e6a24e95168967768c2bed",
"Node name for S&R": "ImpactMakeAnyList"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
}
],
"links": [
[
3,
4,
0,
1,
0,
"IMAGE"
],
[
9,
4,
0,
8,
0,
"IMAGE"
],
[
17,
2,
0,
11,
0,
"*"
],
[
18,
4,
0,
11,
1,
"IMAGE"
],
[
19,
5,
0,
11,
2,
"IMAGE"
],
[
20,
11,
0,
14,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.9310785498489531,
"offset": [
277.22201240389944,
-3.159108091675634
]
},
"frontendVersion": "1.30.6",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
- ノードを接続するとスロットが増えるため、好きな数だけ追加できます。
- 一度接続すると「そのデータ型で固定」されます。
- 他のデータ型に切り替える場合は、Fix node (recreate) でリセットするか、新しくノードを置いてください
Load Image List From Dir (Inspire) ノード
フォルダ内の画像をまとめて読み込み、IMAGE の List を作ります。

{
"id": "07465823-cf3e-4ed5-9338-756f89a8c8d0",
"revision": 0,
"last_node_id": 2,
"last_link_id": 1,
"nodes": [
{
"id": 2,
"type": "PreviewImage",
"pos": [
615.7174981704006,
317.7762338051898
],
"size": [
358.7379292503758,
384.04497364276756
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 1
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 1,
"type": "LoadImageListFromDir //Inspire",
"pos": [
293.08432757798823,
317.7762338051898
],
"size": [
279.70738628801064,
194
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"shape": 6,
"type": "IMAGE",
"links": [
1
]
},
{
"name": "MASK",
"shape": 6,
"type": "MASK",
"links": null
},
{
"name": "FILE PATH",
"shape": 6,
"type": "STRING",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-inspire-pack",
"ver": "1.23.0",
"Node name for S&R": "LoadImageListFromDir //Inspire"
},
"widgets_values": [
"E:\\working\\Vivi",
0,
0,
true,
"None"
],
"color": "#232",
"bgcolor": "#353"
}
],
"links": [
[
1,
1,
0,
2,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.024186404833849,
"offset": [
-193.08432757798823,
-217.7762338051898
]
},
"frontendVersion": "1.30.6",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
directory: 読み込むフォルダのパスを入力load_always:フォルダの中身が変わったときに、毎回読み直すかどうか- load_always を disabled のまま使うと、ComfyUI は「前回と同じパスなら中身は同じ」とみなし、フォルダ内の変更(画像を追加・削除など)があっても読み直しません。
- 画像を差し替えて再実行したい場合は、
load_alwaysをenabledに設定してください。
Split String
1 つの長い STRING を、区切り文字で分割して List に変換します。

{
"id": "af16b824-91c9-4ba6-a0e6-40095ed11517",
"revision": 0,
"last_node_id": 4,
"last_link_id": 2,
"nodes": [
{
"id": 1,
"type": "ShowText|pysssss",
"pos": [
1031.5563035846048,
734.7163301987326
],
"size": [
210,
226
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 1
}
],
"outputs": [
{
"name": "STRING",
"shape": 6,
"type": "STRING",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-custom-scripts",
"ver": "f2838ed5e59de4d73cde5c98354b87a8d3200190",
"Node name for S&R": "ShowText|pysssss"
},
"widgets_values": [
"pen",
"pineapple",
"apple",
"pen"
]
},
{
"id": 3,
"type": "ShowText|pysssss",
"pos": [
1031.5563035846048,
415.7876690701402
],
"size": [
210,
226
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 2
}
],
"outputs": [
{
"name": "STRING",
"shape": 6,
"type": "STRING",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-custom-scripts",
"ver": "f2838ed5e59de4d73cde5c98354b87a8d3200190",
"Node name for S&R": "ShowText|pysssss"
},
"widgets_values": [
"pen",
"pineapple",
"apple",
"pen"
]
},
{
"id": 2,
"type": "GODMT_SplitString",
"pos": [
631.1430519298154,
734.7163301987326
],
"size": [
350.85065431172916,
227.87574830081013
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "STRING",
"shape": 6,
"type": "STRING",
"links": [
1
]
},
{
"name": "LIST",
"type": "LIST",
"links": null
},
{
"name": "length",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-list-utils",
"ver": "1.5.0",
"Node name for S&R": "GODMT_SplitString"
},
"widgets_values": [
"pen\npineapple\napple\npen",
",",
true,
false
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 4,
"type": "GODMT_SplitString",
"pos": [
631.1430519298154,
415.7876690701402
],
"size": [
350.85065431172916,
227.87574830081013
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "STRING",
"shape": 6,
"type": "STRING",
"links": [
2
]
},
{
"name": "LIST",
"type": "LIST",
"links": null
},
{
"name": "length",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-list-utils",
"ver": "1.5.0",
"Node name for S&R": "GODMT_SplitString"
},
"widgets_values": [
"pen ✒️ pineapple ✒️ apple ✒️ pen",
"✒️",
false,
true
],
"color": "#232",
"bgcolor": "#353"
}
],
"links": [
[
1,
2,
0,
1,
0,
"STRING"
],
[
2,
4,
0,
3,
0,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.1266050453172343,
"offset": [
-531.1430519298154,
-315.7876690701402
]
},
"frontendVersion": "1.30.6",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
delimiter:区切り文字(,はプロンプトで多用するため避けたほうが無難かもしれません)splitlines:改行ごとに区切るstrip: 前後の空白を削除
Listから取り出す
Select Nth Item (Any list) ノード
List から、指定した位置の要素を 1 件だけ取り出します。

{
"id": "df61f910-9862-4ca4-9f9b-bdd1a3654446",
"revision": 0,
"last_node_id": 15,
"last_link_id": 22,
"nodes": [
{
"id": 2,
"type": "LoadImage",
"pos": [
-82.41541907172392,
258.46508350474323
],
"size": [
214.080078125,
314
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
17
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"a6e07600049875412da66a0ac4ca5351.png",
"image"
]
},
{
"id": 4,
"type": "LoadImage",
"pos": [
155.15674618041572,
349.66829658024227
],
"size": [
214.080078125,
314
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
3,
9,
18
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"b369caad1dbcdb433e3d6e7981480573.png",
"image"
]
},
{
"id": 5,
"type": "LoadImage",
"pos": [
392.7289114325554,
440.8715096557413
],
"size": [
214.080078125,
314
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
19
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"46ade239632308009a1c4c53ce041343.png",
"image"
]
},
{
"id": 11,
"type": "ImpactMakeAnyList",
"pos": [
639.0504964896542,
261.687153222155
],
"size": [
171.14667393498075,
86
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "value1",
"shape": 7,
"type": "*",
"link": 17
},
{
"name": "value2",
"type": "*",
"link": 18
},
{
"name": "value3",
"type": "*",
"link": 19
},
{
"name": "value4",
"type": "*",
"link": null
}
],
"outputs": [
{
"label": "*",
"name": "*",
"shape": 6,
"type": "*",
"links": [
21
]
}
],
"properties": {
"cnr_id": "comfyui-impact-pack",
"ver": "61bd8397a18e7e7668e6a24e95168967768c2bed",
"Node name for S&R": "ImpactMakeAnyList"
},
"widgets_values": []
},
{
"id": 14,
"type": "PreviewImage",
"pos": [
1083.0276130338884,
261.687153222155
],
"size": [
285.69125238897004,
326.22953596355376
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 22
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 15,
"type": "ImpactSelectNthItemOfAnyList",
"pos": [
834.6312406748693,
261.687153222155
],
"size": [
223.96230210878457,
58
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "any_list",
"type": "IMAGE",
"link": 21
}
],
"outputs": [
{
"label": "IMAGE",
"name": "*",
"type": "IMAGE",
"links": [
22
]
}
],
"properties": {
"cnr_id": "comfyui-impact-pack",
"ver": "61bd8397a18e7e7668e6a24e95168967768c2bed",
"Node name for S&R": "ImpactSelectNthItemOfAnyList"
},
"widgets_values": [
1
],
"color": "#232",
"bgcolor": "#353"
}
],
"links": [
[
3,
4,
0,
1,
0,
"IMAGE"
],
[
9,
4,
0,
8,
0,
"IMAGE"
],
[
17,
2,
0,
11,
0,
"*"
],
[
18,
4,
0,
11,
1,
"IMAGE"
],
[
19,
5,
0,
11,
2,
"IMAGE"
],
[
21,
11,
0,
15,
0,
"*"
],
[
22,
15,
0,
14,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7694864048338454,
"offset": [
182.41541907172393,
-158.46508350474323
]
},
"frontendVersion": "1.30.6",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
index:抽出したい位置(0, 1, 2…)
複数の List があるときの挙動

{
"id": "8b9f7796-0873-4025-be3c-0f997f67f866",
"revision": 0,
"last_node_id": 18,
"last_link_id": 19,
"nodes": [
{
"id": 8,
"type": "VAEDecode",
"pos": [
1209,
188
],
"size": [
210,
46
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 8
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
9
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.33",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 11,
"type": "LoadImage",
"pos": [
-230.63108516464496,
538.579562482285
],
"size": [
214.080078125,
314
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
13
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"A.png",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 12,
"type": "ImpactMakeAnyList",
"pos": [
506.077758208855,
538.579562482285
],
"size": [
140,
86
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "value1",
"shape": 7,
"type": "IMAGE",
"link": 13
},
{
"name": "value2",
"type": "IMAGE",
"link": 14
},
{
"name": "value3",
"type": "IMAGE",
"link": 15
},
{
"name": "value4",
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"label": "IMAGE",
"name": "IMAGE",
"shape": 6,
"type": "IMAGE",
"links": [
16
]
}
],
"properties": {
"cnr_id": "comfyui-impact-pack",
"ver": "61bd8397a18e7e7668e6a24e95168967768c2bed",
"Node name for S&R": "ImpactMakeAnyList"
},
"color": "#232",
"bgcolor": "#353"
},
{
"id": 14,
"type": "LoadImage",
"pos": [
242.6198576484819,
730.1944157431409
],
"size": [
214.080078125,
314
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
15
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"C.png",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 13,
"type": "LoadImage",
"pos": [
5.994386241918581,
634.386989112713
],
"size": [
214.080078125,
314
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
14
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"B.png",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 10,
"type": "VAEEncode",
"pos": [
675.4805324276258,
538.579562482285
],
"size": [
140,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 16
},
{
"name": "vae",
"type": "VAE",
"link": 12
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
11
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "VAEEncode"
}
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
483.3270416987081,
364.69378007508453
],
"size": [
323.9976236860739,
96.29525482928636
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
6
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.33",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"text, watermark"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
477.05706275735116,
200.68082365576754
],
"size": [
328.0087797224596,
103.0937246855816
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 3
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 17
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
4
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.33",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": [
113.84045251244716,
286.1547875446273
],
"size": [
281.25567310954546,
98
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
1
]
},
{
"name": "CLIP",
"type": "CLIP",
"slot_index": 1,
"links": [
3,
5
]
},
{
"name": "VAE",
"type": "VAE",
"slot_index": 2,
"links": [
8,
12
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.33",
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"unrealworldUltra_v30.safetensors"
]
},
{
"id": 17,
"type": "PrimitiveStringMultiline",
"pos": [
-123.2226841888691,
-58.838507336815766
],
"size": [
304.8667065444441,
111.47507281602753
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
18
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "PrimitiveStringMultiline"
},
"widgets_values": [
"a highly detailed, photorealistic red apple on a clean tabletop, soft studio lighting"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 18,
"type": "PrimitiveStringMultiline",
"pos": [
-125.92993284950396,
105.47817202607048
],
"size": [
307.974466801001,
103.74603730851743
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
19
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "PrimitiveStringMultiline"
},
"widgets_values": [
"interior room with a large window, bright daylight, realistic blue sky and soft white clouds outside"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 9,
"type": "SaveImage",
"pos": [
1451,
189
],
"size": [
510.5443526170784,
583.2012868810157
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.33"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 3,
"type": "KSampler",
"pos": [
863,
186
],
"size": [
315,
262
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 1
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 4
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 6
},
{
"name": "latent_image",
"type": "LATENT",
"link": 11
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
7
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.33",
"Node name for S&R": "KSampler"
},
"widgets_values": [
1234,
"fixed",
20,
8,
"euler",
"normal",
0.7
]
},
{
"id": 15,
"type": "ImpactMakeAnyList",
"pos": [
249.83736766067386,
31.38059110066437
],
"size": [
140,
66
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "value1",
"shape": 7,
"type": "STRING",
"link": 18
},
{
"name": "value2",
"type": "STRING",
"link": 19
},
{
"name": "value3",
"type": "STRING",
"link": null
}
],
"outputs": [
{
"label": "STRING",
"name": "STRING",
"shape": 6,
"type": "STRING",
"links": [
17
]
}
],
"properties": {
"cnr_id": "comfyui-impact-pack",
"ver": "61bd8397a18e7e7668e6a24e95168967768c2bed",
"Node name for S&R": "ImpactMakeAnyList"
},
"color": "#232",
"bgcolor": "#353"
}
],
"links": [
[
1,
4,
0,
3,
0,
"MODEL"
],
[
3,
4,
1,
6,
0,
"CLIP"
],
[
4,
6,
0,
3,
1,
"CONDITIONING"
],
[
5,
4,
1,
7,
0,
"CLIP"
],
[
6,
7,
0,
3,
2,
"CONDITIONING"
],
[
7,
3,
0,
8,
0,
"LATENT"
],
[
8,
4,
2,
8,
1,
"VAE"
],
[
9,
8,
0,
9,
0,
"IMAGE"
],
[
11,
10,
0,
3,
3,
"LATENT"
],
[
12,
4,
2,
10,
1,
"VAE"
],
[
13,
11,
0,
12,
0,
"*"
],
[
14,
13,
0,
12,
1,
"IMAGE"
],
[
15,
14,
0,
12,
2,
"IMAGE"
],
[
16,
12,
0,
10,
0,
"IMAGE"
],
[
17,
15,
0,
6,
1,
"STRING"
],
[
18,
17,
0,
15,
0,
"STRING"
],
[
19,
18,
0,
15,
1,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6995330953034927,
"offset": [
330.63108516464496,
158.83850733681578
]
},
"frontendVersion": "1.30.6",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
例えばimage2imageで以下のような状況を考えましょう:
- 画像の List:3 枚
- プロンプトの List:2 個
このとき、「3 × 2 = 6 枚できそう」と思うかもしれませんが、実際の挙動は “足並みを揃えて進む” 形になります。
- 1 番目の画像 × 1 番目のプロンプト
- 2 番目の画像 × 2 番目のプロンプト
- 3 番目の画像 × 2 番目のプロンプトが再利用される
つまり3枚の画像しか生成されません。