aleph65 commited on
Commit
e806e40
·
verified ·
1 Parent(s): d7278ee

Add qwen-edit-turbo-v2.json (full-precision text encoder + 8-step Lightning LoRA)

Browse files
Files changed (1) hide show
  1. workflows/api/qwen-edit-turbo-v2.json +317 -0
workflows/api/qwen-edit-turbo-v2.json ADDED
@@ -0,0 +1,317 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "170:145": {
3
+ "class_type": "ModelSamplingAuraFlow",
4
+ "inputs": {
5
+ "model": [
6
+ "170:161",
7
+ 0
8
+ ],
9
+ "shift": 3.1
10
+ }
11
+ },
12
+ "170:146": {
13
+ "class_type": "VAELoader",
14
+ "inputs": {
15
+ "vae_name": "qwen_image_vae.safetensors"
16
+ }
17
+ },
18
+ "170:147": {
19
+ "class_type": "FluxKontextMultiReferenceLatentMethod",
20
+ "inputs": {
21
+ "conditioning": [
22
+ "170:149",
23
+ 0
24
+ ],
25
+ "reference_latents_method": "index_timestep_zero"
26
+ }
27
+ },
28
+ "170:148": {
29
+ "class_type": "FluxKontextMultiReferenceLatentMethod",
30
+ "inputs": {
31
+ "conditioning": [
32
+ "170:151",
33
+ 0
34
+ ],
35
+ "reference_latents_method": "index_timestep_zero"
36
+ }
37
+ },
38
+ "170:149": {
39
+ "class_type": "TextEncodeQwenImageEditPlus",
40
+ "inputs": {
41
+ "clip": [
42
+ "170:162",
43
+ 0
44
+ ],
45
+ "image1": [
46
+ "170:160",
47
+ 0
48
+ ],
49
+ "image2": [
50
+ "83",
51
+ 0
52
+ ],
53
+ "prompt": "",
54
+ "vae": [
55
+ "170:146",
56
+ 0
57
+ ]
58
+ }
59
+ },
60
+ "170:151": {
61
+ "_meta": {
62
+ "title": "TextEncodeQwenImageEditPlus (Positive)"
63
+ },
64
+ "class_type": "TextEncodeQwenImageEditPlus",
65
+ "inputs": {
66
+ "clip": [
67
+ "170:162",
68
+ 0
69
+ ],
70
+ "image1": [
71
+ "170:160",
72
+ 0
73
+ ],
74
+ "image2": [
75
+ "83",
76
+ 0
77
+ ],
78
+ "prompt": "replace the outfit of the subject in the first image with the outfit in the second image, don't change anything else",
79
+ "vae": [
80
+ "170:146",
81
+ 0
82
+ ]
83
+ }
84
+ },
85
+ "170:152": {
86
+ "class_type": "CFGNorm",
87
+ "inputs": {
88
+ "model": [
89
+ "170:145",
90
+ 0
91
+ ],
92
+ "pre_cfg": false,
93
+ "strength": 1
94
+ }
95
+ },
96
+ "170:153": {
97
+ "class_type": "LoraLoaderModelOnly",
98
+ "inputs": {
99
+ "lora_name": "Qwen-Image-Edit-2511-Lightning-8steps-V1.0-bf16.safetensors",
100
+ "model": [
101
+ "170:152",
102
+ 0
103
+ ],
104
+ "strength_model": 1
105
+ }
106
+ },
107
+ "170:154": {
108
+ "_meta": {
109
+ "title": "CFG"
110
+ },
111
+ "class_type": "PrimitiveFloat",
112
+ "inputs": {
113
+ "value": 4
114
+ }
115
+ },
116
+ "170:155": {
117
+ "_meta": {
118
+ "title": "CFG"
119
+ },
120
+ "class_type": "PrimitiveFloat",
121
+ "inputs": {
122
+ "value": 1
123
+ }
124
+ },
125
+ "170:156": {
126
+ "class_type": "VAEEncode",
127
+ "inputs": {
128
+ "pixels": [
129
+ "170:160",
130
+ 0
131
+ ],
132
+ "vae": [
133
+ "170:146",
134
+ 0
135
+ ]
136
+ }
137
+ },
138
+ "170:158": {
139
+ "class_type": "VAEDecode",
140
+ "inputs": {
141
+ "samples": [
142
+ "170:169",
143
+ 0
144
+ ],
145
+ "vae": [
146
+ "170:146",
147
+ 0
148
+ ]
149
+ }
150
+ },
151
+ "170:160": {
152
+ "class_type": "FluxKontextImageScale",
153
+ "inputs": {
154
+ "image": [
155
+ "41",
156
+ 0
157
+ ]
158
+ }
159
+ },
160
+ "170:161": {
161
+ "class_type": "UNETLoader",
162
+ "inputs": {
163
+ "unet_name": "qwen_image_edit_2511_bf16.safetensors",
164
+ "weight_dtype": "default"
165
+ }
166
+ },
167
+ "170:162": {
168
+ "class_type": "CLIPLoader",
169
+ "inputs": {
170
+ "clip_name": "qwen_2.5_vl_7b.safetensors",
171
+ "device": "default",
172
+ "type": "qwen_image"
173
+ }
174
+ },
175
+ "170:163": {
176
+ "_meta": {
177
+ "title": "Switch (Model)"
178
+ },
179
+ "class_type": "ComfySwitchNode",
180
+ "inputs": {
181
+ "on_false": [
182
+ "170:152",
183
+ 0
184
+ ],
185
+ "on_true": [
186
+ "170:153",
187
+ 0
188
+ ],
189
+ "switch": [
190
+ "170:168",
191
+ 0
192
+ ]
193
+ }
194
+ },
195
+ "170:164": {
196
+ "_meta": {
197
+ "title": "Switch (CFG)"
198
+ },
199
+ "class_type": "ComfySwitchNode",
200
+ "inputs": {
201
+ "on_false": [
202
+ "170:154",
203
+ 0
204
+ ],
205
+ "on_true": [
206
+ "170:155",
207
+ 0
208
+ ],
209
+ "switch": [
210
+ "170:168",
211
+ 0
212
+ ]
213
+ }
214
+ },
215
+ "170:165": {
216
+ "_meta": {
217
+ "title": "Steps"
218
+ },
219
+ "class_type": "PrimitiveInt",
220
+ "inputs": {
221
+ "value": 8
222
+ }
223
+ },
224
+ "170:166": {
225
+ "_meta": {
226
+ "title": "Steps"
227
+ },
228
+ "class_type": "PrimitiveInt",
229
+ "inputs": {
230
+ "value": 40
231
+ }
232
+ },
233
+ "170:167": {
234
+ "_meta": {
235
+ "title": "Switch (Steps)"
236
+ },
237
+ "class_type": "ComfySwitchNode",
238
+ "inputs": {
239
+ "on_false": [
240
+ "170:166",
241
+ 0
242
+ ],
243
+ "on_true": [
244
+ "170:165",
245
+ 0
246
+ ],
247
+ "switch": [
248
+ "170:168",
249
+ 0
250
+ ]
251
+ }
252
+ },
253
+ "170:168": {
254
+ "_meta": {
255
+ "title": "Enable Lightning LoRA?"
256
+ },
257
+ "class_type": "PrimitiveBoolean",
258
+ "inputs": {
259
+ "value": true
260
+ }
261
+ },
262
+ "170:169": {
263
+ "class_type": "KSampler",
264
+ "inputs": {
265
+ "cfg": [
266
+ "170:164",
267
+ 0
268
+ ],
269
+ "denoise": 1,
270
+ "latent_image": [
271
+ "170:156",
272
+ 0
273
+ ],
274
+ "model": [
275
+ "170:163",
276
+ 0
277
+ ],
278
+ "negative": [
279
+ "170:147",
280
+ 0
281
+ ],
282
+ "positive": [
283
+ "170:148",
284
+ 0
285
+ ],
286
+ "sampler_name": "euler",
287
+ "scheduler": "simple",
288
+ "seed": 737456874669845,
289
+ "steps": [
290
+ "170:167",
291
+ 0
292
+ ]
293
+ }
294
+ },
295
+ "41": {
296
+ "class_type": "LoadImage",
297
+ "inputs": {
298
+ "image": "view_cropped_4x5-nanobanana-20260707-161340-place-the-subject-in-the-second-image-into-the-f-r03-i01.jpg"
299
+ }
300
+ },
301
+ "83": {
302
+ "class_type": "LoadImage",
303
+ "inputs": {
304
+ "image": "body 2.jpg"
305
+ }
306
+ },
307
+ "9": {
308
+ "class_type": "SaveImage",
309
+ "inputs": {
310
+ "filename_prefix": "Qwen_Edit_2511_v2",
311
+ "images": [
312
+ "170:158",
313
+ 0
314
+ ]
315
+ }
316
+ }
317
+ }