Limbicnation commited on
Commit
c162e9f
·
verified ·
1 Parent(s): 2d5c4db

Add lightweight ComfyUI workflow for LoRA inference verification

Browse files
Files changed (1) hide show
  1. comfyui_workflow.json +229 -0
comfyui_workflow.json ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "spriteforge-lora-verify-v1",
3
+ "revision": 1,
4
+ "last_node_id": 15,
5
+ "last_link_id": 22,
6
+ "nodes": [
7
+ {
8
+ "id": 1,
9
+ "type": "CheckpointLoaderSimple",
10
+ "pos": [-400, -200],
11
+ "size": [320, 110],
12
+ "flags": {},
13
+ "order": 0,
14
+ "mode": 0,
15
+ "inputs": [],
16
+ "outputs": [
17
+ {"name": "MODEL", "type": "MODEL", "links": [1]},
18
+ {"name": "CLIP", "type": "CLIP", "links": [2, 3]},
19
+ {"name": "VAE", "type": "VAE", "links": [11]}
20
+ ],
21
+ "widgets_values": ["flux2-klein/FLUX.2-klein-4B.safetensors"],
22
+ "properties": {"Node name for S&R": "CheckpointLoaderSimple"}
23
+ },
24
+ {
25
+ "id": 2,
26
+ "type": "LoraLoader",
27
+ "pos": [-50, -200],
28
+ "size": [320, 130],
29
+ "flags": {},
30
+ "order": 1,
31
+ "mode": 0,
32
+ "inputs": [
33
+ {"name": "model", "type": "MODEL", "link": 1},
34
+ {"name": "clip", "type": "CLIP", "link": 2}
35
+ ],
36
+ "outputs": [
37
+ {"name": "MODEL", "type": "MODEL", "links": [4]},
38
+ {"name": "CLIP", "type": "CLIP", "links": [5, 6]}
39
+ ],
40
+ "widgets_values": ["pixel-art-lora.safetensors", 1.0, 1.0],
41
+ "properties": {"Node name for S&R": "LoraLoader"}
42
+ },
43
+ {
44
+ "id": 3,
45
+ "type": "CLIPTextEncode",
46
+ "pos": [-50, 50],
47
+ "size": [320, 110],
48
+ "flags": {},
49
+ "order": 2,
50
+ "mode": 0,
51
+ "inputs": [{"name": "clip", "type": "CLIP", "link": 5}],
52
+ "outputs": [{"name": "CONDITIONING", "type": "CONDITIONING", "links": [7]}],
53
+ "widgets_values": ["pixel art sprite, a brave knight in shining armor holding a sword and shield, game asset, transparent background"],
54
+ "properties": {"Node name for S&R": "CLIPTextEncode"}
55
+ },
56
+ {
57
+ "id": 4,
58
+ "type": "CLIPTextEncode",
59
+ "pos": [-50, 200],
60
+ "size": [320, 110],
61
+ "flags": {},
62
+ "order": 3,
63
+ "mode": 0,
64
+ "inputs": [{"name": "clip", "type": "CLIP", "link": 6}],
65
+ "outputs": [{"name": "CONDITIONING", "type": "CONDITIONING", "links": [8]}],
66
+ "widgets_values": ["blurry, low quality, photorealistic, 3d render, watermark, text, deformed"],
67
+ "properties": {"Node name for S&R": "CLIPTextEncode"}
68
+ },
69
+ {
70
+ "id": 5,
71
+ "type": "EmptyLatentImage",
72
+ "pos": [-400, 100],
73
+ "size": [320, 110],
74
+ "flags": {},
75
+ "order": 0,
76
+ "inputs": [],
77
+ "outputs": [{"name": "LATENT", "type": "LATENT", "links": [9]}],
78
+ "widgets_values": [512, 512, 1],
79
+ "properties": {"Node name for S&R": "EmptyLatentImage"}
80
+ },
81
+ {
82
+ "id": 6,
83
+ "type": "KSampler",
84
+ "pos": [300, -50],
85
+ "size": [320, 260],
86
+ "flags": {},
87
+ "order": 4,
88
+ "mode": 0,
89
+ "inputs": [
90
+ {"name": "model", "type": "MODEL", "link": 4},
91
+ {"name": "positive", "type": "CONDITIONING", "link": 7},
92
+ {"name": "negative", "type": "CONDITIONING", "link": 8},
93
+ {"name": "latent_image", "type": "LATENT", "link": 9}
94
+ ],
95
+ "outputs": [{"name": "LATENT", "type": "LATENT", "links": [10]}],
96
+ "widgets_values": [42, "randomize", 4, 1.0, "euler", "normal", 1, "disable"],
97
+ "properties": {"Node name for S&R": "KSampler"}
98
+ },
99
+ {
100
+ "id": 7,
101
+ "type": "VAEDecode",
102
+ "pos": [650, 0],
103
+ "size": [210, 50],
104
+ "flags": {},
105
+ "order": 5,
106
+ "mode": 0,
107
+ "inputs": [
108
+ {"name": "samples", "type": "LATENT", "link": 10},
109
+ {"name": "vae", "type": "VAE", "link": 11}
110
+ ],
111
+ "outputs": [{"name": "IMAGE", "type": "IMAGE", "links": [12]}],
112
+ "properties": {"Node name for S&R": "VAEDecode"}
113
+ },
114
+ {
115
+ "id": 8,
116
+ "type": "SaveImage",
117
+ "pos": [900, 0],
118
+ "size": [320, 280],
119
+ "flags": {},
120
+ "order": 6,
121
+ "mode": 0,
122
+ "inputs": [{"name": "images", "type": "IMAGE", "link": 12}],
123
+ "outputs": [],
124
+ "widgets_values": ["pixel_art_lora_verify"],
125
+ "properties": {"Node name for S&R": "SaveImage"}
126
+ },
127
+ {
128
+ "id": 9,
129
+ "type": "Note",
130
+ "pos": [-400, -350],
131
+ "size": [320, 120],
132
+ "flags": {},
133
+ "order": 0,
134
+ "mode": 0,
135
+ "inputs": [],
136
+ "outputs": [],
137
+ "widgets_values": ["SPRITEFORGE LoRA INFERENCE VERIFICATION WORKFLOW\n===========================================\nOptimized for: FLUX.2-klein-4B + Pixel Art LoRA\nPurpose: Quick verification of LoRA functionality\nTrigger Word: 'pixel art sprite' (REQUIRED)"],
138
+ "properties": {}
139
+ },
140
+ {
141
+ "id": 10,
142
+ "type": "Note",
143
+ "pos": [300, -350],
144
+ "size": [320, 120],
145
+ "flags": {},
146
+ "order": 0,
147
+ "mode": 0,
148
+ "inputs": [],
149
+ "outputs": [],
150
+ "widgets_values": ["SAMPLER SETTINGS (FLUX.2-klein optimized):\n- Steps: 4 (fast, quality)\n- CFG: 1.0 (FLUX native)\n- Sampler: euler\n- Scheduler: normal\n- Seed: 42 (fixed for reproducibility)"],
151
+ "properties": {}
152
+ },
153
+ {
154
+ "id": 11,
155
+ "type": "Note",
156
+ "pos": [900, -350],
157
+ "size": [320, 100],
158
+ "flags": {},
159
+ "order": 0,
160
+ "mode": 0,
161
+ "inputs": [],
162
+ "outputs": [],
163
+ "widgets_values": ["VERIFICATION CHECKLIST:\n☐ Output shows pixel art style\n☐ No blur/photorealistic artifacts\n☐ Clean edges, sprite-like appearance\n☐ Consistent with training style"],
164
+ "properties": {}
165
+ }
166
+ ],
167
+ "links": [
168
+ [1, 1, 0, 2, 0, "MODEL"],
169
+ [2, 1, 1, 2, 1, "CLIP"],
170
+ [2, 1, 1, 3, 0, "CLIP"],
171
+ [3, 2, 0, 3, 0, "CLIP"],
172
+ [4, 2, 0, 4, 0, "CLIP"],
173
+ [5, 2, 1, 3, 0, "CLIP"],
174
+ [6, 2, 1, 4, 0, "CLIP"],
175
+ [7, 3, 0, 6, 1, "CONDITIONING"],
176
+ [8, 4, 0, 6, 2, "CONDITIONING"],
177
+ [9, 5, 0, 6, 3, "LATENT"],
178
+ [10, 6, 0, 7, 0, "LATENT"],
179
+ [11, 1, 2, 7, 1, "VAE"],
180
+ [12, 7, 0, 8, 0, "IMAGE"]
181
+ ],
182
+ "groups": [
183
+ {
184
+ "id": 1,
185
+ "title": "🎯 LoRA Verification Workflow",
186
+ "bounding": [-450, -400, 1700, 750],
187
+ "color": "#3f789e"
188
+ },
189
+ {
190
+ "id": 2,
191
+ "title": "📥 Model Loading",
192
+ "bounding": [-450, -250, 350, 200],
193
+ "color": "#5a7e38"
194
+ },
195
+ {
196
+ "id": 3,
197
+ "title": "📝 Prompting",
198
+ "bounding": [-100, 0, 400, 350],
199
+ "color": "#8f3232"
200
+ },
201
+ {
202
+ "id": 4,
203
+ "title": "🎨 Generation",
204
+ "bounding": [250, -100, 400, 400],
205
+ "color": "#7e387e"
206
+ },
207
+ {
208
+ "id": 5,
209
+ "title": "💾 Output",
210
+ "bounding": [850, -50, 400, 400],
211
+ "color": "#387e5a"
212
+ }
213
+ ],
214
+ "config": {},
215
+ "extra": {
216
+ "ds": {
217
+ "scale": 0.75,
218
+ "offset": [500, 300]
219
+ },
220
+ "workspace_info": {
221
+ "name": "SpriteForge LoRA Verification",
222
+ "description": "Lightweight workflow for verifying pixel art LoRA inference on FLUX.2-klein",
223
+ "created": "2026-02-08",
224
+ "version": "1.0.0",
225
+ "author": "SpriteForge ML Team"
226
+ }
227
+ },
228
+ "version": 0.4
229
+ }