leeyichuan commited on
Commit
dac4ce8
1 Parent(s): 2fbc6ad

init commit

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ T2I.png filter=lfs diff=lfs merge=lfs -text
37
+ inpaint.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: flux-1-dev-non-commercial-license
4
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
5
+ language:
6
+ - en
7
+ base_model: black-forest-labs/FLUX.1-dev
8
+ library_name: diffusers
9
+ tags:
10
+ - Text-to-Image
11
+ - FLUX
12
+ - Stable Diffusion
13
+ ---
14
+
15
+ <div style="display: flex; justify-content: center; align-items: center;">
16
+ <img src="./images_alibaba.png" alt="alibaba" style="width: 20%; height: auto; margin-right: 5%;">
17
+ <img src="./images_alimama.png" alt="alimama" style="width: 20%; height: auto;">
18
+ </div>
19
+
20
+ This repository provides a 8-step distilled lora for [FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev) model released by AlimamaCreative Team.
21
+
22
+ # Description
23
+ This checkpoint is a 8-step distilled Lora, trained based on FLUX.1-dev model. We use a multi-head discriminator to improve the distill quality. Our model can be used for T2I, inpainting controlnet and other FLUX related models. The recommended guidance_scale=3.5 and lora_scale=1. Our Lower steps version will release later.
24
+
25
+ - Text-to-Image.
26
+
27
+ ![](./T2I.png)
28
+
29
+ - With [alimama-creative/FLUX.1-dev-Controlnet-Inpainting-Beta](https://huggingface.co/alimama-creative/FLUX.1-dev-Controlnet-Inpainting-Beta). Our distilled lora can be well adapted to the Inpainting controlnet, and the accelerated generated effect can follow the original output well.
30
+
31
+ ![](./inpaint.png)
32
+
33
+ # How to use
34
+ ## diffusers
35
+ This model can be used ditrectly with diffusers
36
+
37
+ ```json
38
+ import torch
39
+ from diffusers.pipelines import FluxPipeline
40
+
41
+ model_id = "black-forest-labs/FLUX.1-dev"
42
+ adapter_id = "alimama-creative/FLUX.1-Turbo-Alpha"
43
+
44
+ pipe = FluxPipeline.from_pretrained(
45
+ model_id,
46
+ torch_dtype=torch.bfloat16
47
+ )
48
+ pipe.to("cuda")
49
+
50
+ pipe.load_lora_weights(adapter_id)
51
+ pipe.fuse_lora()
52
+
53
+ prompt = "A DSLR photo of a shiny VW van that has a cityscape painted on it. A smiling sloth stands on grass in front of the van and is wearing a leather jacket, a cowboy hat, a kilt and a bowtie. The sloth is holding a quarterstaff and a big book."
54
+ image = pipe(
55
+ prompt=prompt,
56
+ guidance_scale=3.5,
57
+ height=1024,
58
+ width=1024,
59
+ num_inference_steps=8,
60
+ max_sequence_length=512).images[0]
61
+ ```
62
+
63
+ ## comfyui
64
+
65
+ - T2I turbo workflow: [click here](./t2I_flux_turbo.json)
66
+ - Inpainting controlnet turbo workflow: [click here](./alimama_flux_inpainting_turbo_8step.json)
67
+
68
+
69
+ # Training Details
70
+
71
+ The model is trained on 1M open source and internal sources images, with the aesthetic 6.3+ and resolution greater than 800. We use adversarial training to improve the quality. Our method fix the original FLUX.1-dev transformer as the discriminator backbone, and add multi heads to every transformer layer. We fix the guideline scale as 3.5 during training, and use the time shift as 3.
72
+
73
+ Mixed precision: bf16
74
+
75
+ Learning rate: 2e-5
76
+
77
+ Batch size: 64
78
+
79
+ Image size: 1024x1024
T2I.png ADDED

Git LFS Details

  • SHA256: b519e6578c674441c24edf6cea01203d5acae8a151135269cc6636135a55203e
  • Pointer size: 132 Bytes
  • Size of remote file: 9.96 MB
alimama_flux_inpainting_turbo_8step.json ADDED
@@ -0,0 +1,1666 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 146,
3
+ "last_link_id": 238,
4
+ "nodes": [
5
+ {
6
+ "id": 88,
7
+ "type": "Reroute",
8
+ "pos": {
9
+ "0": 156.76731872558594,
10
+ "1": -115.1278305053711
11
+ },
12
+ "size": [
13
+ 75,
14
+ 26
15
+ ],
16
+ "flags": {},
17
+ "order": 9,
18
+ "mode": 0,
19
+ "inputs": [
20
+ {
21
+ "name": "",
22
+ "type": "*",
23
+ "link": 223,
24
+ "label": ""
25
+ }
26
+ ],
27
+ "outputs": [
28
+ {
29
+ "name": "",
30
+ "type": "CLIP",
31
+ "links": [
32
+ 147,
33
+ 210
34
+ ],
35
+ "slot_index": 0,
36
+ "label": ""
37
+ }
38
+ ],
39
+ "properties": {
40
+ "showOutputText": false,
41
+ "horizontal": false
42
+ }
43
+ },
44
+ {
45
+ "id": 89,
46
+ "type": "Reroute",
47
+ "pos": {
48
+ "0": 155.76731872558594,
49
+ "1": -64.12783813476562
50
+ },
51
+ "size": [
52
+ 75,
53
+ 26
54
+ ],
55
+ "flags": {},
56
+ "order": 10,
57
+ "mode": 0,
58
+ "inputs": [
59
+ {
60
+ "name": "",
61
+ "type": "*",
62
+ "link": 150,
63
+ "label": ""
64
+ }
65
+ ],
66
+ "outputs": [
67
+ {
68
+ "name": "",
69
+ "type": "VAE",
70
+ "links": [
71
+ 151,
72
+ 207
73
+ ],
74
+ "slot_index": 0,
75
+ "label": ""
76
+ }
77
+ ],
78
+ "properties": {
79
+ "showOutputText": false,
80
+ "horizontal": false
81
+ }
82
+ },
83
+ {
84
+ "id": 72,
85
+ "type": "CLIPTextEncodeFlux",
86
+ "pos": {
87
+ "0": 635.7671508789062,
88
+ "1": -120.12781524658203
89
+ },
90
+ "size": {
91
+ "0": 219.3687286376953,
92
+ "1": 108
93
+ },
94
+ "flags": {},
95
+ "order": 17,
96
+ "mode": 0,
97
+ "inputs": [
98
+ {
99
+ "name": "clip",
100
+ "type": "CLIP",
101
+ "link": 147,
102
+ "label": "clip"
103
+ },
104
+ {
105
+ "name": "t5xxl",
106
+ "type": "STRING",
107
+ "link": 199,
108
+ "widget": {
109
+ "name": "t5xxl"
110
+ },
111
+ "label": "t5xxl"
112
+ },
113
+ {
114
+ "name": "clip_l",
115
+ "type": "STRING",
116
+ "link": 200,
117
+ "widget": {
118
+ "name": "clip_l"
119
+ },
120
+ "label": "clip_l"
121
+ }
122
+ ],
123
+ "outputs": [
124
+ {
125
+ "name": "CONDITIONING",
126
+ "type": "CONDITIONING",
127
+ "links": [
128
+ 208
129
+ ],
130
+ "slot_index": 0,
131
+ "shape": 3,
132
+ "label": "CONDITIONING"
133
+ }
134
+ ],
135
+ "properties": {
136
+ "Node name for S&R": "CLIPTextEncodeFlux"
137
+ },
138
+ "widgets_values": [
139
+ "",
140
+ "",
141
+ 3.5
142
+ ]
143
+ },
144
+ {
145
+ "id": 131,
146
+ "type": "CLIPTextEncodeFlux",
147
+ "pos": {
148
+ "0": 897.7671508789062,
149
+ "1": -151.12783813476562
150
+ },
151
+ "size": {
152
+ "0": 222.8309326171875,
153
+ "1": 160
154
+ },
155
+ "flags": {},
156
+ "order": 14,
157
+ "mode": 0,
158
+ "inputs": [
159
+ {
160
+ "name": "clip",
161
+ "type": "CLIP",
162
+ "link": 210,
163
+ "label": "clip"
164
+ }
165
+ ],
166
+ "outputs": [
167
+ {
168
+ "name": "CONDITIONING",
169
+ "type": "CONDITIONING",
170
+ "links": [
171
+ 209
172
+ ],
173
+ "slot_index": 0,
174
+ "shape": 3,
175
+ "label": "CONDITIONING"
176
+ }
177
+ ],
178
+ "properties": {
179
+ "Node name for S&R": "CLIPTextEncodeFlux"
180
+ },
181
+ "widgets_values": [
182
+ "",
183
+ "bad,ugly,deformed",
184
+ 3.5
185
+ ]
186
+ },
187
+ {
188
+ "id": 13,
189
+ "type": "SamplerCustomAdvanced",
190
+ "pos": {
191
+ "0": 1215.767333984375,
192
+ "1": 133.8721466064453
193
+ },
194
+ "size": {
195
+ "0": 266.6016845703125,
196
+ "1": 106
197
+ },
198
+ "flags": {},
199
+ "order": 23,
200
+ "mode": 0,
201
+ "inputs": [
202
+ {
203
+ "name": "noise",
204
+ "type": "NOISE",
205
+ "link": 174,
206
+ "slot_index": 0,
207
+ "label": "noise"
208
+ },
209
+ {
210
+ "name": "guider",
211
+ "type": "GUIDER",
212
+ "link": 228,
213
+ "slot_index": 1,
214
+ "label": "guider"
215
+ },
216
+ {
217
+ "name": "sampler",
218
+ "type": "SAMPLER",
219
+ "link": 172,
220
+ "slot_index": 2,
221
+ "label": "sampler"
222
+ },
223
+ {
224
+ "name": "sigmas",
225
+ "type": "SIGMAS",
226
+ "link": 20,
227
+ "slot_index": 3,
228
+ "label": "sigmas"
229
+ },
230
+ {
231
+ "name": "latent_image",
232
+ "type": "LATENT",
233
+ "link": 222,
234
+ "slot_index": 4,
235
+ "label": "latent_image"
236
+ }
237
+ ],
238
+ "outputs": [
239
+ {
240
+ "name": "output",
241
+ "type": "LATENT",
242
+ "links": [
243
+ 24
244
+ ],
245
+ "slot_index": 0,
246
+ "shape": 3,
247
+ "label": "output"
248
+ },
249
+ {
250
+ "name": "denoised_output",
251
+ "type": "LATENT",
252
+ "links": null,
253
+ "shape": 3,
254
+ "label": "denoised_output"
255
+ }
256
+ ],
257
+ "properties": {
258
+ "Node name for S&R": "SamplerCustomAdvanced"
259
+ }
260
+ },
261
+ {
262
+ "id": 87,
263
+ "type": "Reroute",
264
+ "pos": {
265
+ "0": 159.76731872558594,
266
+ "1": -170.12783813476562
267
+ },
268
+ "size": [
269
+ 75,
270
+ 26
271
+ ],
272
+ "flags": {},
273
+ "order": 18,
274
+ "mode": 0,
275
+ "inputs": [
276
+ {
277
+ "name": "",
278
+ "type": "*",
279
+ "link": 238,
280
+ "label": ""
281
+ }
282
+ ],
283
+ "outputs": [
284
+ {
285
+ "name": "",
286
+ "type": "MODEL",
287
+ "links": [
288
+ 148,
289
+ 227
290
+ ],
291
+ "slot_index": 0,
292
+ "label": ""
293
+ }
294
+ ],
295
+ "properties": {
296
+ "showOutputText": false,
297
+ "horizontal": false
298
+ }
299
+ },
300
+ {
301
+ "id": 8,
302
+ "type": "VAEDecode",
303
+ "pos": {
304
+ "0": 1513.767333984375,
305
+ "1": 140.87216186523438
306
+ },
307
+ "size": {
308
+ "0": 210,
309
+ "1": 46
310
+ },
311
+ "flags": {},
312
+ "order": 24,
313
+ "mode": 0,
314
+ "inputs": [
315
+ {
316
+ "name": "samples",
317
+ "type": "LATENT",
318
+ "link": 24,
319
+ "label": "samples"
320
+ },
321
+ {
322
+ "name": "vae",
323
+ "type": "VAE",
324
+ "link": 151,
325
+ "label": "vae"
326
+ }
327
+ ],
328
+ "outputs": [
329
+ {
330
+ "name": "IMAGE",
331
+ "type": "IMAGE",
332
+ "links": [
333
+ 127,
334
+ 225,
335
+ 232
336
+ ],
337
+ "slot_index": 0,
338
+ "label": "IMAGE"
339
+ }
340
+ ],
341
+ "properties": {
342
+ "Node name for S&R": "VAEDecode"
343
+ }
344
+ },
345
+ {
346
+ "id": 134,
347
+ "type": "MaskToImage",
348
+ "pos": {
349
+ "0": 440,
350
+ "1": -815
351
+ },
352
+ "size": {
353
+ "0": 176.39999389648438,
354
+ "1": 29.597196578979492
355
+ },
356
+ "flags": {},
357
+ "order": 15,
358
+ "mode": 0,
359
+ "inputs": [
360
+ {
361
+ "name": "mask",
362
+ "type": "MASK",
363
+ "link": 219,
364
+ "label": "mask"
365
+ }
366
+ ],
367
+ "outputs": [
368
+ {
369
+ "name": "IMAGE",
370
+ "type": "IMAGE",
371
+ "links": [
372
+ 215
373
+ ],
374
+ "slot_index": 0,
375
+ "shape": 3,
376
+ "label": "IMAGE"
377
+ }
378
+ ],
379
+ "properties": {
380
+ "Node name for S&R": "MaskToImage"
381
+ }
382
+ },
383
+ {
384
+ "id": 136,
385
+ "type": "PreviewImage",
386
+ "pos": {
387
+ "0": 668,
388
+ "1": -886
389
+ },
390
+ "size": {
391
+ "0": 408.4986267089844,
392
+ "1": 246
393
+ },
394
+ "flags": {},
395
+ "order": 19,
396
+ "mode": 0,
397
+ "inputs": [
398
+ {
399
+ "name": "images",
400
+ "type": "IMAGE",
401
+ "link": 215,
402
+ "label": "images"
403
+ }
404
+ ],
405
+ "outputs": [],
406
+ "properties": {
407
+ "Node name for S&R": "PreviewImage"
408
+ }
409
+ },
410
+ {
411
+ "id": 144,
412
+ "type": "ImageCompositeMasked",
413
+ "pos": {
414
+ "0": 1607,
415
+ "1": -460
416
+ },
417
+ "size": {
418
+ "0": 315,
419
+ "1": 146
420
+ },
421
+ "flags": {},
422
+ "order": 27,
423
+ "mode": 0,
424
+ "inputs": [
425
+ {
426
+ "name": "destination",
427
+ "type": "IMAGE",
428
+ "link": 234
429
+ },
430
+ {
431
+ "name": "source",
432
+ "type": "IMAGE",
433
+ "link": 232
434
+ },
435
+ {
436
+ "name": "mask",
437
+ "type": "MASK",
438
+ "link": 236
439
+ }
440
+ ],
441
+ "outputs": [
442
+ {
443
+ "name": "IMAGE",
444
+ "type": "IMAGE",
445
+ "links": [
446
+ 235
447
+ ],
448
+ "slot_index": 0,
449
+ "shape": 3
450
+ }
451
+ ],
452
+ "properties": {
453
+ "Node name for S&R": "ImageCompositeMasked"
454
+ },
455
+ "widgets_values": [
456
+ 0,
457
+ 0,
458
+ true
459
+ ]
460
+ },
461
+ {
462
+ "id": 11,
463
+ "type": "DualCLIPLoader",
464
+ "pos": {
465
+ "0": -564.7698974609375,
466
+ "1": -22.488271713256836
467
+ },
468
+ "size": {
469
+ "0": 315,
470
+ "1": 106
471
+ },
472
+ "flags": {},
473
+ "order": 0,
474
+ "mode": 0,
475
+ "inputs": [],
476
+ "outputs": [
477
+ {
478
+ "name": "CLIP",
479
+ "type": "CLIP",
480
+ "links": [
481
+ 223
482
+ ],
483
+ "slot_index": 0,
484
+ "shape": 3,
485
+ "label": "CLIP"
486
+ }
487
+ ],
488
+ "properties": {
489
+ "Node name for S&R": "DualCLIPLoader"
490
+ },
491
+ "widgets_values": [
492
+ "t5xxl_fp16.safetensors",
493
+ "clip_l.safetensors",
494
+ "flux"
495
+ ]
496
+ },
497
+ {
498
+ "id": 10,
499
+ "type": "VAELoader",
500
+ "pos": {
501
+ "0": -557.7698974609375,
502
+ "1": 134.51173400878906
503
+ },
504
+ "size": {
505
+ "0": 305.9473876953125,
506
+ "1": 68.47245788574219
507
+ },
508
+ "flags": {},
509
+ "order": 1,
510
+ "mode": 0,
511
+ "inputs": [],
512
+ "outputs": [
513
+ {
514
+ "name": "VAE",
515
+ "type": "VAE",
516
+ "links": [
517
+ 150
518
+ ],
519
+ "slot_index": 0,
520
+ "shape": 3,
521
+ "label": "VAE"
522
+ }
523
+ ],
524
+ "properties": {
525
+ "Node name for S&R": "VAELoader"
526
+ },
527
+ "widgets_values": [
528
+ "ae.safetensors"
529
+ ]
530
+ },
531
+ {
532
+ "id": 25,
533
+ "type": "RandomNoise",
534
+ "pos": {
535
+ "0": 825.7671508789062,
536
+ "1": 134.8721466064453
537
+ },
538
+ "size": {
539
+ "0": 290.9759216308594,
540
+ "1": 82
541
+ },
542
+ "flags": {},
543
+ "order": 2,
544
+ "mode": 0,
545
+ "inputs": [],
546
+ "outputs": [
547
+ {
548
+ "name": "NOISE",
549
+ "type": "NOISE",
550
+ "links": [
551
+ 174
552
+ ],
553
+ "shape": 3,
554
+ "label": "NOISE"
555
+ }
556
+ ],
557
+ "properties": {
558
+ "Node name for S&R": "RandomNoise"
559
+ },
560
+ "widgets_values": [
561
+ 24,
562
+ "fixed"
563
+ ]
564
+ },
565
+ {
566
+ "id": 76,
567
+ "type": "SaveImage",
568
+ "pos": {
569
+ "0": 1232,
570
+ "1": 312
571
+ },
572
+ "size": {
573
+ "0": 367.42144775390625,
574
+ "1": 406.4285888671875
575
+ },
576
+ "flags": {},
577
+ "order": 25,
578
+ "mode": 0,
579
+ "inputs": [
580
+ {
581
+ "name": "images",
582
+ "type": "IMAGE",
583
+ "link": 127,
584
+ "label": "images"
585
+ }
586
+ ],
587
+ "outputs": [],
588
+ "title": "Model Output",
589
+ "properties": {
590
+ "Node name for S&R": "SaveImage"
591
+ },
592
+ "widgets_values": [
593
+ "pl"
594
+ ]
595
+ },
596
+ {
597
+ "id": 130,
598
+ "type": "LoadImage",
599
+ "pos": {
600
+ "0": 240,
601
+ "1": -611
602
+ },
603
+ "size": {
604
+ "0": 417.38385009765625,
605
+ "1": 314
606
+ },
607
+ "flags": {},
608
+ "order": 3,
609
+ "mode": 0,
610
+ "inputs": [],
611
+ "outputs": [
612
+ {
613
+ "name": "IMAGE",
614
+ "type": "IMAGE",
615
+ "links": [
616
+ 205,
617
+ 226,
618
+ 234
619
+ ],
620
+ "slot_index": 0,
621
+ "shape": 3,
622
+ "label": "IMAGE"
623
+ },
624
+ {
625
+ "name": "MASK",
626
+ "type": "MASK",
627
+ "links": [
628
+ 217
629
+ ],
630
+ "slot_index": 1,
631
+ "shape": 3,
632
+ "label": "MASK"
633
+ }
634
+ ],
635
+ "properties": {
636
+ "Node name for S&R": "LoadImage"
637
+ },
638
+ "widgets_values": [
639
+ "clipspace/clipspace-mask-506435.7999997139.png [input]",
640
+ "image"
641
+ ]
642
+ },
643
+ {
644
+ "id": 138,
645
+ "type": "GrowMaskWithBlur",
646
+ "pos": {
647
+ "0": 715.314453125,
648
+ "1": -571.8499755859375
649
+ },
650
+ "size": {
651
+ "0": 315,
652
+ "1": 246
653
+ },
654
+ "flags": {},
655
+ "order": 11,
656
+ "mode": 0,
657
+ "inputs": [
658
+ {
659
+ "name": "mask",
660
+ "type": "MASK",
661
+ "link": 217,
662
+ "label": "mask"
663
+ }
664
+ ],
665
+ "outputs": [
666
+ {
667
+ "name": "mask",
668
+ "type": "MASK",
669
+ "links": [
670
+ 218,
671
+ 219,
672
+ 236
673
+ ],
674
+ "slot_index": 0,
675
+ "shape": 3,
676
+ "label": "mask"
677
+ },
678
+ {
679
+ "name": "mask_inverted",
680
+ "type": "MASK",
681
+ "links": null,
682
+ "shape": 3,
683
+ "label": "mask_inverted"
684
+ }
685
+ ],
686
+ "properties": {
687
+ "Node name for S&R": "GrowMaskWithBlur"
688
+ },
689
+ "widgets_values": [
690
+ 0,
691
+ 0,
692
+ false,
693
+ false,
694
+ 0,
695
+ 1,
696
+ 1,
697
+ false
698
+ ]
699
+ },
700
+ {
701
+ "id": 16,
702
+ "type": "KSamplerSelect",
703
+ "pos": {
704
+ "0": 823.7671508789062,
705
+ "1": 283.8721923828125
706
+ },
707
+ "size": {
708
+ "0": 256.2611999511719,
709
+ "1": 58
710
+ },
711
+ "flags": {},
712
+ "order": 4,
713
+ "mode": 0,
714
+ "inputs": [],
715
+ "outputs": [
716
+ {
717
+ "name": "SAMPLER",
718
+ "type": "SAMPLER",
719
+ "links": [
720
+ 172
721
+ ],
722
+ "slot_index": 0,
723
+ "shape": 3,
724
+ "label": "SAMPLER"
725
+ }
726
+ ],
727
+ "properties": {
728
+ "Node name for S&R": "KSamplerSelect"
729
+ },
730
+ "widgets_values": [
731
+ "euler"
732
+ ]
733
+ },
734
+ {
735
+ "id": 111,
736
+ "type": "ShowText|pysssss",
737
+ "pos": {
738
+ "0": 251,
739
+ "1": 518
740
+ },
741
+ "size": {
742
+ "0": 407.2326354980469,
743
+ "1": 219.7727508544922
744
+ },
745
+ "flags": {},
746
+ "order": 16,
747
+ "mode": 0,
748
+ "inputs": [
749
+ {
750
+ "name": "text",
751
+ "type": "STRING",
752
+ "link": 180,
753
+ "widget": {
754
+ "name": "text"
755
+ },
756
+ "label": "text"
757
+ }
758
+ ],
759
+ "outputs": [
760
+ {
761
+ "name": "STRING",
762
+ "type": "STRING",
763
+ "links": [],
764
+ "slot_index": 0,
765
+ "shape": 6,
766
+ "label": "STRING"
767
+ }
768
+ ],
769
+ "properties": {
770
+ "Node name for S&R": "ShowText|pysssss"
771
+ },
772
+ "widgets_values": [
773
+ "",
774
+ "Albert Einstein"
775
+ ]
776
+ },
777
+ {
778
+ "id": 139,
779
+ "type": "EmptySD3LatentImage",
780
+ "pos": {
781
+ "0": 821.7671508789062,
782
+ "1": 573.8721313476562
783
+ },
784
+ "size": {
785
+ "0": 315,
786
+ "1": 106
787
+ },
788
+ "flags": {},
789
+ "order": 5,
790
+ "mode": 0,
791
+ "inputs": [],
792
+ "outputs": [
793
+ {
794
+ "name": "LATENT",
795
+ "type": "LATENT",
796
+ "links": [
797
+ 222
798
+ ],
799
+ "slot_index": 0,
800
+ "shape": 3
801
+ }
802
+ ],
803
+ "properties": {
804
+ "Node name for S&R": "EmptySD3LatentImage"
805
+ },
806
+ "widgets_values": [
807
+ 1024,
808
+ 1024,
809
+ 1
810
+ ]
811
+ },
812
+ {
813
+ "id": 124,
814
+ "type": "Text Concatenate (JPS)",
815
+ "pos": {
816
+ "0": 312,
817
+ "1": -154
818
+ },
819
+ "size": {
820
+ "0": 219.5895233154297,
821
+ "1": 138
822
+ },
823
+ "flags": {},
824
+ "order": 6,
825
+ "mode": 0,
826
+ "inputs": [
827
+ {
828
+ "name": "text1",
829
+ "type": "STRING",
830
+ "link": null,
831
+ "widget": {
832
+ "name": "text1"
833
+ },
834
+ "label": "text1"
835
+ },
836
+ {
837
+ "name": "text2",
838
+ "type": "STRING",
839
+ "link": null,
840
+ "widget": {
841
+ "name": "text2"
842
+ },
843
+ "label": "text2"
844
+ },
845
+ {
846
+ "name": "text3",
847
+ "type": "STRING",
848
+ "link": null,
849
+ "widget": {
850
+ "name": "text3"
851
+ },
852
+ "label": "text3"
853
+ },
854
+ {
855
+ "name": "text4",
856
+ "type": "STRING",
857
+ "link": null,
858
+ "widget": {
859
+ "name": "text4"
860
+ },
861
+ "label": "text4"
862
+ },
863
+ {
864
+ "name": "text5",
865
+ "type": "STRING",
866
+ "link": null,
867
+ "widget": {
868
+ "name": "text5"
869
+ },
870
+ "label": "text5"
871
+ }
872
+ ],
873
+ "outputs": [
874
+ {
875
+ "name": "text",
876
+ "type": "STRING",
877
+ "links": [
878
+ 198
879
+ ],
880
+ "slot_index": 0,
881
+ "shape": 3,
882
+ "label": "text"
883
+ }
884
+ ],
885
+ "properties": {
886
+ "Node name for S&R": "Text Concatenate (JPS)"
887
+ },
888
+ "widgets_values": [
889
+ "comma",
890
+ "",
891
+ "",
892
+ "",
893
+ "",
894
+ ""
895
+ ]
896
+ },
897
+ {
898
+ "id": 140,
899
+ "type": "Image Comparer (rgthree)",
900
+ "pos": {
901
+ "0": 1613,
902
+ "1": 321
903
+ },
904
+ "size": {
905
+ "0": 357.58453369140625,
906
+ "1": 424.3191223144531
907
+ },
908
+ "flags": {},
909
+ "order": 26,
910
+ "mode": 0,
911
+ "inputs": [
912
+ {
913
+ "name": "image_a",
914
+ "type": "IMAGE",
915
+ "link": 225,
916
+ "dir": 3
917
+ },
918
+ {
919
+ "name": "image_b",
920
+ "type": "IMAGE",
921
+ "link": 226,
922
+ "dir": 3
923
+ }
924
+ ],
925
+ "outputs": [],
926
+ "properties": {
927
+ "comparer_mode": "Slide"
928
+ },
929
+ "widgets_values": [
930
+ [
931
+ {
932
+ "name": "A",
933
+ "selected": true,
934
+ "url": "/api/view?filename=rgthree.compare._temp_dmora_02633_.png&type=temp&subfolder=&rand=0.39816085595232487"
935
+ },
936
+ {
937
+ "name": "B",
938
+ "selected": true,
939
+ "url": "/api/view?filename=rgthree.compare._temp_dmora_02634_.png&type=temp&subfolder=&rand=0.9050946330845266"
940
+ }
941
+ ]
942
+ ]
943
+ },
944
+ {
945
+ "id": 133,
946
+ "type": "ControlNetLoader",
947
+ "pos": {
948
+ "0": 1109.0059814453125,
949
+ "1": -691.749755859375
950
+ },
951
+ "size": {
952
+ "0": 435.60980224609375,
953
+ "1": 100.55636596679688
954
+ },
955
+ "flags": {},
956
+ "order": 7,
957
+ "mode": 0,
958
+ "inputs": [],
959
+ "outputs": [
960
+ {
961
+ "name": "CONTROL_NET",
962
+ "type": "CONTROL_NET",
963
+ "links": [
964
+ 212
965
+ ],
966
+ "slot_index": 0,
967
+ "shape": 3,
968
+ "label": "CONTROL_NET"
969
+ }
970
+ ],
971
+ "properties": {
972
+ "Node name for S&R": "ControlNetLoader"
973
+ },
974
+ "widgets_values": [
975
+ "0930_inpaint_cn.safetensors"
976
+ ]
977
+ },
978
+ {
979
+ "id": 145,
980
+ "type": "PreviewImage",
981
+ "pos": {
982
+ "0": 2014,
983
+ "1": 317
984
+ },
985
+ "size": {
986
+ "0": 434.4592590332031,
987
+ "1": 423.6662292480469
988
+ },
989
+ "flags": {},
990
+ "order": 28,
991
+ "mode": 0,
992
+ "inputs": [
993
+ {
994
+ "name": "images",
995
+ "type": "IMAGE",
996
+ "link": 235,
997
+ "label": "images"
998
+ }
999
+ ],
1000
+ "outputs": [],
1001
+ "title": "Compose",
1002
+ "properties": {
1003
+ "Node name for S&R": "PreviewImage"
1004
+ }
1005
+ },
1006
+ {
1007
+ "id": 35,
1008
+ "type": "StringFunction|pysssss",
1009
+ "pos": {
1010
+ "0": 234,
1011
+ "1": 72
1012
+ },
1013
+ "size": {
1014
+ "0": 438.01171875,
1015
+ "1": 381.4057922363281
1016
+ },
1017
+ "flags": {},
1018
+ "order": 12,
1019
+ "mode": 0,
1020
+ "inputs": [
1021
+ {
1022
+ "name": "text_c",
1023
+ "type": "STRING",
1024
+ "link": 198,
1025
+ "widget": {
1026
+ "name": "text_c"
1027
+ },
1028
+ "label": "text_c"
1029
+ }
1030
+ ],
1031
+ "outputs": [
1032
+ {
1033
+ "name": "STRING",
1034
+ "type": "STRING",
1035
+ "links": [
1036
+ 180,
1037
+ 199,
1038
+ 200
1039
+ ],
1040
+ "slot_index": 0,
1041
+ "shape": 3,
1042
+ "label": "STRING"
1043
+ }
1044
+ ],
1045
+ "properties": {
1046
+ "Node name for S&R": "StringFunction|pysssss"
1047
+ },
1048
+ "widgets_values": [
1049
+ "append",
1050
+ "no",
1051
+ "Albert Einstein",
1052
+ "",
1053
+ "",
1054
+ "Albert Einstein"
1055
+ ]
1056
+ },
1057
+ {
1058
+ "id": 141,
1059
+ "type": "CFGGuider",
1060
+ "pos": {
1061
+ "0": 1295,
1062
+ "1": -166
1063
+ },
1064
+ "size": {
1065
+ "0": 315,
1066
+ "1": 98
1067
+ },
1068
+ "flags": {},
1069
+ "order": 22,
1070
+ "mode": 0,
1071
+ "inputs": [
1072
+ {
1073
+ "name": "model",
1074
+ "type": "MODEL",
1075
+ "link": 227
1076
+ },
1077
+ {
1078
+ "name": "positive",
1079
+ "type": "CONDITIONING",
1080
+ "link": 230
1081
+ },
1082
+ {
1083
+ "name": "negative",
1084
+ "type": "CONDITIONING",
1085
+ "link": 229
1086
+ }
1087
+ ],
1088
+ "outputs": [
1089
+ {
1090
+ "name": "GUIDER",
1091
+ "type": "GUIDER",
1092
+ "links": [
1093
+ 228
1094
+ ],
1095
+ "slot_index": 0,
1096
+ "shape": 3
1097
+ }
1098
+ ],
1099
+ "properties": {
1100
+ "Node name for S&R": "CFGGuider"
1101
+ },
1102
+ "widgets_values": [
1103
+ 1
1104
+ ]
1105
+ },
1106
+ {
1107
+ "id": 12,
1108
+ "type": "UNETLoader",
1109
+ "pos": {
1110
+ "0": -558.7698974609375,
1111
+ "1": -155.48825073242188
1112
+ },
1113
+ "size": {
1114
+ "0": 308.9964904785156,
1115
+ "1": 83.4256591796875
1116
+ },
1117
+ "flags": {},
1118
+ "order": 8,
1119
+ "mode": 0,
1120
+ "inputs": [],
1121
+ "outputs": [
1122
+ {
1123
+ "name": "MODEL",
1124
+ "type": "MODEL",
1125
+ "links": [
1126
+ 237
1127
+ ],
1128
+ "slot_index": 0,
1129
+ "shape": 3,
1130
+ "label": "MODEL"
1131
+ }
1132
+ ],
1133
+ "properties": {
1134
+ "Node name for S&R": "UNETLoader"
1135
+ },
1136
+ "widgets_values": [
1137
+ "flux1-dev-fp8.safetensors",
1138
+ "fp8_e4m3fn"
1139
+ ]
1140
+ },
1141
+ {
1142
+ "id": 17,
1143
+ "type": "BasicScheduler",
1144
+ "pos": {
1145
+ "0": 826,
1146
+ "1": 410
1147
+ },
1148
+ "size": {
1149
+ "0": 315,
1150
+ "1": 106
1151
+ },
1152
+ "flags": {},
1153
+ "order": 21,
1154
+ "mode": 0,
1155
+ "inputs": [
1156
+ {
1157
+ "name": "model",
1158
+ "type": "MODEL",
1159
+ "link": 148,
1160
+ "slot_index": 0,
1161
+ "label": "model"
1162
+ }
1163
+ ],
1164
+ "outputs": [
1165
+ {
1166
+ "name": "SIGMAS",
1167
+ "type": "SIGMAS",
1168
+ "links": [
1169
+ 20
1170
+ ],
1171
+ "shape": 3,
1172
+ "label": "SIGMAS"
1173
+ }
1174
+ ],
1175
+ "properties": {
1176
+ "Node name for S&R": "BasicScheduler"
1177
+ },
1178
+ "widgets_values": [
1179
+ "simple",
1180
+ 8,
1181
+ 1
1182
+ ]
1183
+ },
1184
+ {
1185
+ "id": 128,
1186
+ "type": "ControlNetInpaintingAliMamaApply",
1187
+ "pos": {
1188
+ "0": 1080,
1189
+ "1": -538
1190
+ },
1191
+ "size": {
1192
+ "0": 403.1999816894531,
1193
+ "1": 206
1194
+ },
1195
+ "flags": {},
1196
+ "order": 20,
1197
+ "mode": 0,
1198
+ "inputs": [
1199
+ {
1200
+ "name": "positive",
1201
+ "type": "CONDITIONING",
1202
+ "link": 208,
1203
+ "label": "positive"
1204
+ },
1205
+ {
1206
+ "name": "negative",
1207
+ "type": "CONDITIONING",
1208
+ "link": 209,
1209
+ "label": "negative"
1210
+ },
1211
+ {
1212
+ "name": "control_net",
1213
+ "type": "CONTROL_NET",
1214
+ "link": 212,
1215
+ "label": "control_net"
1216
+ },
1217
+ {
1218
+ "name": "vae",
1219
+ "type": "VAE",
1220
+ "link": 207,
1221
+ "label": "vae"
1222
+ },
1223
+ {
1224
+ "name": "image",
1225
+ "type": "IMAGE",
1226
+ "link": 205,
1227
+ "label": "image"
1228
+ },
1229
+ {
1230
+ "name": "mask",
1231
+ "type": "MASK",
1232
+ "link": 218,
1233
+ "label": "mask"
1234
+ }
1235
+ ],
1236
+ "outputs": [
1237
+ {
1238
+ "name": "positive",
1239
+ "type": "CONDITIONING",
1240
+ "links": [
1241
+ 230
1242
+ ],
1243
+ "slot_index": 0,
1244
+ "shape": 3,
1245
+ "label": "positive"
1246
+ },
1247
+ {
1248
+ "name": "negative",
1249
+ "type": "CONDITIONING",
1250
+ "links": [
1251
+ 229
1252
+ ],
1253
+ "slot_index": 1,
1254
+ "shape": 3,
1255
+ "label": "negative"
1256
+ }
1257
+ ],
1258
+ "properties": {
1259
+ "Node name for S&R": "ControlNetInpaintingAliMamaApply"
1260
+ },
1261
+ "widgets_values": [
1262
+ 1,
1263
+ 0,
1264
+ 1
1265
+ ]
1266
+ },
1267
+ {
1268
+ "id": 146,
1269
+ "type": "LoraLoaderModelOnly",
1270
+ "pos": {
1271
+ "0": -196,
1272
+ "1": -201
1273
+ },
1274
+ "size": {
1275
+ "0": 315,
1276
+ "1": 82
1277
+ },
1278
+ "flags": {},
1279
+ "order": 13,
1280
+ "mode": 0,
1281
+ "inputs": [
1282
+ {
1283
+ "name": "model",
1284
+ "type": "MODEL",
1285
+ "link": 237
1286
+ }
1287
+ ],
1288
+ "outputs": [
1289
+ {
1290
+ "name": "MODEL",
1291
+ "type": "MODEL",
1292
+ "links": [
1293
+ 238
1294
+ ],
1295
+ "slot_index": 0,
1296
+ "shape": 3
1297
+ }
1298
+ ],
1299
+ "properties": {
1300
+ "Node name for S&R": "LoraLoaderModelOnly"
1301
+ },
1302
+ "widgets_values": [
1303
+ "flux_turbo_v1_1.safetensors",
1304
+ 1
1305
+ ]
1306
+ }
1307
+ ],
1308
+ "links": [
1309
+ [
1310
+ 20,
1311
+ 17,
1312
+ 0,
1313
+ 13,
1314
+ 3,
1315
+ "SIGMAS"
1316
+ ],
1317
+ [
1318
+ 24,
1319
+ 13,
1320
+ 0,
1321
+ 8,
1322
+ 0,
1323
+ "LATENT"
1324
+ ],
1325
+ [
1326
+ 127,
1327
+ 8,
1328
+ 0,
1329
+ 76,
1330
+ 0,
1331
+ "IMAGE"
1332
+ ],
1333
+ [
1334
+ 147,
1335
+ 88,
1336
+ 0,
1337
+ 72,
1338
+ 0,
1339
+ "CLIP"
1340
+ ],
1341
+ [
1342
+ 148,
1343
+ 87,
1344
+ 0,
1345
+ 17,
1346
+ 0,
1347
+ "MODEL"
1348
+ ],
1349
+ [
1350
+ 150,
1351
+ 10,
1352
+ 0,
1353
+ 89,
1354
+ 0,
1355
+ "*"
1356
+ ],
1357
+ [
1358
+ 151,
1359
+ 89,
1360
+ 0,
1361
+ 8,
1362
+ 1,
1363
+ "VAE"
1364
+ ],
1365
+ [
1366
+ 172,
1367
+ 16,
1368
+ 0,
1369
+ 13,
1370
+ 2,
1371
+ "SAMPLER"
1372
+ ],
1373
+ [
1374
+ 174,
1375
+ 25,
1376
+ 0,
1377
+ 13,
1378
+ 0,
1379
+ "NOISE"
1380
+ ],
1381
+ [
1382
+ 180,
1383
+ 35,
1384
+ 0,
1385
+ 111,
1386
+ 0,
1387
+ "STRING"
1388
+ ],
1389
+ [
1390
+ 198,
1391
+ 124,
1392
+ 0,
1393
+ 35,
1394
+ 0,
1395
+ "STRING"
1396
+ ],
1397
+ [
1398
+ 199,
1399
+ 35,
1400
+ 0,
1401
+ 72,
1402
+ 1,
1403
+ "STRING"
1404
+ ],
1405
+ [
1406
+ 200,
1407
+ 35,
1408
+ 0,
1409
+ 72,
1410
+ 2,
1411
+ "STRING"
1412
+ ],
1413
+ [
1414
+ 205,
1415
+ 130,
1416
+ 0,
1417
+ 128,
1418
+ 4,
1419
+ "IMAGE"
1420
+ ],
1421
+ [
1422
+ 207,
1423
+ 89,
1424
+ 0,
1425
+ 128,
1426
+ 3,
1427
+ "VAE"
1428
+ ],
1429
+ [
1430
+ 208,
1431
+ 72,
1432
+ 0,
1433
+ 128,
1434
+ 0,
1435
+ "CONDITIONING"
1436
+ ],
1437
+ [
1438
+ 209,
1439
+ 131,
1440
+ 0,
1441
+ 128,
1442
+ 1,
1443
+ "CONDITIONING"
1444
+ ],
1445
+ [
1446
+ 210,
1447
+ 88,
1448
+ 0,
1449
+ 131,
1450
+ 0,
1451
+ "CLIP"
1452
+ ],
1453
+ [
1454
+ 212,
1455
+ 133,
1456
+ 0,
1457
+ 128,
1458
+ 2,
1459
+ "CONTROL_NET"
1460
+ ],
1461
+ [
1462
+ 215,
1463
+ 134,
1464
+ 0,
1465
+ 136,
1466
+ 0,
1467
+ "IMAGE"
1468
+ ],
1469
+ [
1470
+ 217,
1471
+ 130,
1472
+ 1,
1473
+ 138,
1474
+ 0,
1475
+ "MASK"
1476
+ ],
1477
+ [
1478
+ 218,
1479
+ 138,
1480
+ 0,
1481
+ 128,
1482
+ 5,
1483
+ "MASK"
1484
+ ],
1485
+ [
1486
+ 219,
1487
+ 138,
1488
+ 0,
1489
+ 134,
1490
+ 0,
1491
+ "MASK"
1492
+ ],
1493
+ [
1494
+ 222,
1495
+ 139,
1496
+ 0,
1497
+ 13,
1498
+ 4,
1499
+ "LATENT"
1500
+ ],
1501
+ [
1502
+ 223,
1503
+ 11,
1504
+ 0,
1505
+ 88,
1506
+ 0,
1507
+ "*"
1508
+ ],
1509
+ [
1510
+ 225,
1511
+ 8,
1512
+ 0,
1513
+ 140,
1514
+ 0,
1515
+ "IMAGE"
1516
+ ],
1517
+ [
1518
+ 226,
1519
+ 130,
1520
+ 0,
1521
+ 140,
1522
+ 1,
1523
+ "IMAGE"
1524
+ ],
1525
+ [
1526
+ 227,
1527
+ 87,
1528
+ 0,
1529
+ 141,
1530
+ 0,
1531
+ "MODEL"
1532
+ ],
1533
+ [
1534
+ 228,
1535
+ 141,
1536
+ 0,
1537
+ 13,
1538
+ 1,
1539
+ "GUIDER"
1540
+ ],
1541
+ [
1542
+ 229,
1543
+ 128,
1544
+ 1,
1545
+ 141,
1546
+ 2,
1547
+ "CONDITIONING"
1548
+ ],
1549
+ [
1550
+ 230,
1551
+ 128,
1552
+ 0,
1553
+ 141,
1554
+ 1,
1555
+ "CONDITIONING"
1556
+ ],
1557
+ [
1558
+ 232,
1559
+ 8,
1560
+ 0,
1561
+ 144,
1562
+ 1,
1563
+ "IMAGE"
1564
+ ],
1565
+ [
1566
+ 234,
1567
+ 130,
1568
+ 0,
1569
+ 144,
1570
+ 0,
1571
+ "IMAGE"
1572
+ ],
1573
+ [
1574
+ 235,
1575
+ 144,
1576
+ 0,
1577
+ 145,
1578
+ 0,
1579
+ "IMAGE"
1580
+ ],
1581
+ [
1582
+ 236,
1583
+ 138,
1584
+ 0,
1585
+ 144,
1586
+ 2,
1587
+ "MASK"
1588
+ ],
1589
+ [
1590
+ 237,
1591
+ 12,
1592
+ 0,
1593
+ 146,
1594
+ 0,
1595
+ "MODEL"
1596
+ ],
1597
+ [
1598
+ 238,
1599
+ 146,
1600
+ 0,
1601
+ 87,
1602
+ 0,
1603
+ "*"
1604
+ ]
1605
+ ],
1606
+ "groups": [
1607
+ {
1608
+ "title": "AliMama Inpainting",
1609
+ "bounding": [
1610
+ 214,
1611
+ -963,
1612
+ 1341,
1613
+ 687
1614
+ ],
1615
+ "color": "#3f789e",
1616
+ "font_size": 24,
1617
+ "flags": {}
1618
+ },
1619
+ {
1620
+ "title": "FLUX-Text2Image",
1621
+ "bounding": [
1622
+ 146,
1623
+ -241,
1624
+ 1747,
1625
+ 989
1626
+ ],
1627
+ "color": "#3f789e",
1628
+ "font_size": 24,
1629
+ "flags": {}
1630
+ },
1631
+ {
1632
+ "title": "Load Model",
1633
+ "bounding": [
1634
+ -585,
1635
+ -250,
1636
+ 365,
1637
+ 491
1638
+ ],
1639
+ "color": "#3f789e",
1640
+ "font_size": 24,
1641
+ "flags": {}
1642
+ }
1643
+ ],
1644
+ "config": {},
1645
+ "extra": {
1646
+ "ds": {
1647
+ "scale": 0.6115909044841532,
1648
+ "offset": [
1649
+ 876.5983955698489,
1650
+ 1007.0029507778453
1651
+ ]
1652
+ },
1653
+ "workspace_info": {
1654
+ "id": "sSr80zkRsolLQHBh3oFSe",
1655
+ "saveLock": false,
1656
+ "cloudID": null,
1657
+ "coverMediaPath": null
1658
+ },
1659
+ "0246.VERSION": [
1660
+ 0,
1661
+ 0,
1662
+ 4
1663
+ ]
1664
+ },
1665
+ "version": 0.4
1666
+ }
diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77f7523a5e9c3da6cfc730c6b07461129fa52997ea06168e9ed5312228aa0bff
3
+ size 694082424
images_alibaba.png ADDED
images_alimama.png ADDED
inpaint.png ADDED

Git LFS Details

  • SHA256: 4bc09f02adb59efe0300355b7c093e56ff9d3e9842b436702429d41fa41ef8f4
  • Pointer size: 132 Bytes
  • Size of remote file: 6.92 MB
t2I_flux_turbo.json ADDED
@@ -0,0 +1,528 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 106,
3
+ "last_link_id": 196,
4
+ "nodes": [
5
+ {
6
+ "id": 4,
7
+ "type": "DualCLIPLoader",
8
+ "pos": {
9
+ "0": -182.46112060546875,
10
+ "1": 35.274688720703125
11
+ },
12
+ "size": {
13
+ "0": 315,
14
+ "1": 106
15
+ },
16
+ "flags": {},
17
+ "order": 0,
18
+ "mode": 0,
19
+ "inputs": [],
20
+ "outputs": [
21
+ {
22
+ "name": "CLIP",
23
+ "type": "CLIP",
24
+ "links": [
25
+ 2,
26
+ 27
27
+ ],
28
+ "slot_index": 0,
29
+ "shape": 3,
30
+ "label": "CLIP"
31
+ }
32
+ ],
33
+ "properties": {
34
+ "Node name for S&R": "DualCLIPLoader"
35
+ },
36
+ "widgets_values": [
37
+ "clip_l.safetensors",
38
+ "t5xxl_fp16.safetensors",
39
+ "flux"
40
+ ]
41
+ },
42
+ {
43
+ "id": 7,
44
+ "type": "VAEDecode",
45
+ "pos": {
46
+ "0": 1028,
47
+ "1": -107
48
+ },
49
+ "size": {
50
+ "0": 210,
51
+ "1": 46
52
+ },
53
+ "flags": {},
54
+ "order": 8,
55
+ "mode": 0,
56
+ "inputs": [
57
+ {
58
+ "name": "samples",
59
+ "type": "LATENT",
60
+ "link": 6,
61
+ "slot_index": 0,
62
+ "label": "samples"
63
+ },
64
+ {
65
+ "name": "vae",
66
+ "type": "VAE",
67
+ "link": 7,
68
+ "label": "vae"
69
+ }
70
+ ],
71
+ "outputs": [
72
+ {
73
+ "name": "IMAGE",
74
+ "type": "IMAGE",
75
+ "links": [
76
+ 79
77
+ ],
78
+ "slot_index": 0,
79
+ "shape": 3,
80
+ "label": "IMAGE"
81
+ }
82
+ ],
83
+ "properties": {
84
+ "Node name for S&R": "VAEDecode"
85
+ }
86
+ },
87
+ {
88
+ "id": 6,
89
+ "type": "EmptyLatentImage",
90
+ "pos": {
91
+ "0": 665,
92
+ "1": -145
93
+ },
94
+ "size": {
95
+ "0": 315,
96
+ "1": 106
97
+ },
98
+ "flags": {},
99
+ "order": 1,
100
+ "mode": 0,
101
+ "inputs": [],
102
+ "outputs": [
103
+ {
104
+ "name": "LATENT",
105
+ "type": "LATENT",
106
+ "links": [
107
+ 177
108
+ ],
109
+ "slot_index": 0,
110
+ "shape": 3,
111
+ "label": "LATENT"
112
+ }
113
+ ],
114
+ "properties": {
115
+ "Node name for S&R": "EmptyLatentImage"
116
+ },
117
+ "widgets_values": [
118
+ 832,
119
+ 1248,
120
+ 1
121
+ ]
122
+ },
123
+ {
124
+ "id": 19,
125
+ "type": "CLIPTextEncodeFlux",
126
+ "pos": {
127
+ "0": 206,
128
+ "1": 116
129
+ },
130
+ "size": {
131
+ "0": 400,
132
+ "1": 200
133
+ },
134
+ "flags": {},
135
+ "order": 5,
136
+ "mode": 0,
137
+ "inputs": [
138
+ {
139
+ "name": "clip",
140
+ "type": "CLIP",
141
+ "link": 27,
142
+ "slot_index": 0,
143
+ "label": "clip"
144
+ }
145
+ ],
146
+ "outputs": [
147
+ {
148
+ "name": "CONDITIONING",
149
+ "type": "CONDITIONING",
150
+ "links": [
151
+ 26
152
+ ],
153
+ "slot_index": 0,
154
+ "shape": 3,
155
+ "label": "CONDITIONING"
156
+ }
157
+ ],
158
+ "properties": {
159
+ "Node name for S&R": "CLIPTextEncodeFlux"
160
+ },
161
+ "widgets_values": [
162
+ "",
163
+ "(bad hand,bad finger),logo,Backlight,nsfw,(worst quality,low resolution,bad hands),distorted,twisted,watermark,",
164
+ 3.5
165
+ ]
166
+ },
167
+ {
168
+ "id": 5,
169
+ "type": "CLIPTextEncodeFlux",
170
+ "pos": {
171
+ "0": 202,
172
+ "1": -146
173
+ },
174
+ "size": {
175
+ "0": 400,
176
+ "1": 200
177
+ },
178
+ "flags": {},
179
+ "order": 4,
180
+ "mode": 0,
181
+ "inputs": [
182
+ {
183
+ "name": "clip",
184
+ "type": "CLIP",
185
+ "link": 2,
186
+ "slot_index": 0,
187
+ "label": "clip"
188
+ }
189
+ ],
190
+ "outputs": [
191
+ {
192
+ "name": "CONDITIONING",
193
+ "type": "CONDITIONING",
194
+ "links": [
195
+ 18
196
+ ],
197
+ "slot_index": 0,
198
+ "shape": 3,
199
+ "label": "CONDITIONING"
200
+ }
201
+ ],
202
+ "properties": {
203
+ "Node name for S&R": "CLIPTextEncodeFlux"
204
+ },
205
+ "widgets_values": [
206
+ "((Asian Face)), baby girl, age 2, , , , , , , , , , (falling white curtain as background, minimalist, white tone, very soft, bright), photography, masterpiece, best quality, 8K, HDR, highres, front to camera",
207
+ "((Asian Face)), baby girl, age 2, , , , , , , , , , (falling white curtain as background, minimalist, white tone, very soft, bright), photography, masterpiece, best quality, 8K, HDR, highres, front to camera",
208
+ 3.5
209
+ ]
210
+ },
211
+ {
212
+ "id": 55,
213
+ "type": "UNETLoader",
214
+ "pos": {
215
+ "0": -177,
216
+ "1": 204
217
+ },
218
+ "size": {
219
+ "0": 308.9964904785156,
220
+ "1": 83.4256591796875
221
+ },
222
+ "flags": {},
223
+ "order": 2,
224
+ "mode": 0,
225
+ "inputs": [],
226
+ "outputs": [
227
+ {
228
+ "name": "MODEL",
229
+ "type": "MODEL",
230
+ "links": [
231
+ 195
232
+ ],
233
+ "slot_index": 0,
234
+ "shape": 3,
235
+ "label": "MODEL"
236
+ }
237
+ ],
238
+ "properties": {
239
+ "Node name for S&R": "UNETLoader"
240
+ },
241
+ "widgets_values": [
242
+ "flux1-dev-fp8.safetensors",
243
+ "fp8_e4m3fn"
244
+ ]
245
+ },
246
+ {
247
+ "id": 106,
248
+ "type": "LoraLoaderModelOnly",
249
+ "pos": {
250
+ "0": -184,
251
+ "1": 375
252
+ },
253
+ "size": {
254
+ "0": 315,
255
+ "1": 82
256
+ },
257
+ "flags": {},
258
+ "order": 6,
259
+ "mode": 0,
260
+ "inputs": [
261
+ {
262
+ "name": "model",
263
+ "type": "MODEL",
264
+ "link": 195
265
+ }
266
+ ],
267
+ "outputs": [
268
+ {
269
+ "name": "MODEL",
270
+ "type": "MODEL",
271
+ "links": [
272
+ 196
273
+ ],
274
+ "shape": 3,
275
+ "slot_index": 0
276
+ }
277
+ ],
278
+ "properties": {
279
+ "Node name for S&R": "LoraLoaderModelOnly"
280
+ },
281
+ "widgets_values": [
282
+ "flux_turbo_v1_1.safetensors",
283
+ 1
284
+ ]
285
+ },
286
+ {
287
+ "id": 8,
288
+ "type": "VAELoader",
289
+ "pos": {
290
+ "0": -179.46112060546875,
291
+ "1": -70.72531127929688
292
+ },
293
+ "size": {
294
+ "0": 315,
295
+ "1": 58
296
+ },
297
+ "flags": {},
298
+ "order": 3,
299
+ "mode": 0,
300
+ "inputs": [],
301
+ "outputs": [
302
+ {
303
+ "name": "VAE",
304
+ "type": "VAE",
305
+ "links": [
306
+ 7
307
+ ],
308
+ "slot_index": 0,
309
+ "shape": 3,
310
+ "label": "VAE"
311
+ }
312
+ ],
313
+ "properties": {
314
+ "Node name for S&R": "VAELoader"
315
+ },
316
+ "widgets_values": [
317
+ "ae.safetensors"
318
+ ]
319
+ },
320
+ {
321
+ "id": 3,
322
+ "type": "XlabsSampler",
323
+ "pos": {
324
+ "0": 654,
325
+ "1": 12
326
+ },
327
+ "size": {
328
+ "0": 342.5999755859375,
329
+ "1": 282
330
+ },
331
+ "flags": {},
332
+ "order": 7,
333
+ "mode": 0,
334
+ "inputs": [
335
+ {
336
+ "name": "model",
337
+ "type": "MODEL",
338
+ "link": 196,
339
+ "slot_index": 0,
340
+ "label": "model"
341
+ },
342
+ {
343
+ "name": "conditioning",
344
+ "type": "CONDITIONING",
345
+ "link": 18,
346
+ "label": "conditioning"
347
+ },
348
+ {
349
+ "name": "neg_conditioning",
350
+ "type": "CONDITIONING",
351
+ "link": 26,
352
+ "label": "neg_conditioning"
353
+ },
354
+ {
355
+ "name": "latent_image",
356
+ "type": "LATENT",
357
+ "link": 177,
358
+ "label": "latent_image"
359
+ },
360
+ {
361
+ "name": "controlnet_condition",
362
+ "type": "ControlNetCondition",
363
+ "link": null,
364
+ "label": "controlnet_condition"
365
+ }
366
+ ],
367
+ "outputs": [
368
+ {
369
+ "name": "latent",
370
+ "type": "LATENT",
371
+ "links": [
372
+ 6
373
+ ],
374
+ "shape": 3,
375
+ "label": "latent"
376
+ }
377
+ ],
378
+ "properties": {
379
+ "Node name for S&R": "XlabsSampler"
380
+ },
381
+ "widgets_values": [
382
+ 24,
383
+ "fixed",
384
+ 8,
385
+ 1,
386
+ 2,
387
+ 0,
388
+ 1
389
+ ]
390
+ },
391
+ {
392
+ "id": 21,
393
+ "type": "PreviewImage",
394
+ "pos": {
395
+ "0": 1026,
396
+ "1": 19
397
+ },
398
+ "size": {
399
+ "0": 210,
400
+ "1": 318
401
+ },
402
+ "flags": {},
403
+ "order": 9,
404
+ "mode": 0,
405
+ "inputs": [
406
+ {
407
+ "name": "images",
408
+ "type": "IMAGE",
409
+ "link": 79,
410
+ "slot_index": 0,
411
+ "label": "images"
412
+ }
413
+ ],
414
+ "outputs": [],
415
+ "title": "t2i output",
416
+ "properties": {
417
+ "Node name for S&R": "PreviewImage"
418
+ }
419
+ }
420
+ ],
421
+ "links": [
422
+ [
423
+ 2,
424
+ 4,
425
+ 0,
426
+ 5,
427
+ 0,
428
+ "CLIP"
429
+ ],
430
+ [
431
+ 6,
432
+ 3,
433
+ 0,
434
+ 7,
435
+ 0,
436
+ "LATENT"
437
+ ],
438
+ [
439
+ 7,
440
+ 8,
441
+ 0,
442
+ 7,
443
+ 1,
444
+ "VAE"
445
+ ],
446
+ [
447
+ 18,
448
+ 5,
449
+ 0,
450
+ 3,
451
+ 1,
452
+ "CONDITIONING"
453
+ ],
454
+ [
455
+ 26,
456
+ 19,
457
+ 0,
458
+ 3,
459
+ 2,
460
+ "CONDITIONING"
461
+ ],
462
+ [
463
+ 27,
464
+ 4,
465
+ 0,
466
+ 19,
467
+ 0,
468
+ "CLIP"
469
+ ],
470
+ [
471
+ 79,
472
+ 7,
473
+ 0,
474
+ 21,
475
+ 0,
476
+ "IMAGE"
477
+ ],
478
+ [
479
+ 177,
480
+ 6,
481
+ 0,
482
+ 3,
483
+ 3,
484
+ "LATENT"
485
+ ],
486
+ [
487
+ 195,
488
+ 55,
489
+ 0,
490
+ 106,
491
+ 0,
492
+ "MODEL"
493
+ ],
494
+ [
495
+ 196,
496
+ 106,
497
+ 0,
498
+ 3,
499
+ 0,
500
+ "MODEL"
501
+ ]
502
+ ],
503
+ "groups": [
504
+ {
505
+ "title": "Load Model",
506
+ "bounding": [
507
+ -210,
508
+ -187,
509
+ 371,
510
+ 700
511
+ ],
512
+ "color": "#3f789e",
513
+ "font_size": 24,
514
+ "flags": {}
515
+ }
516
+ ],
517
+ "config": {},
518
+ "extra": {
519
+ "ds": {
520
+ "scale": 1.1918176537727374,
521
+ "offset": [
522
+ 438.12831553640723,
523
+ 376.2590792694179
524
+ ]
525
+ }
526
+ },
527
+ "version": 0.4
528
+ }