xueyao commited on
Commit
5ff0f12
·
1 Parent(s): 682c673

Initial 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
+ *.png filter=lfs diff=lfs merge=lfs -text
37
+ *.jpg filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: stabilityai-ai-community
4
+ license_link: LICENSE.md
5
+ language:
6
+ - en
7
+ base_model:
8
+ - stabilityai/stable-diffusion-3.5-medium
9
+ pipeline_tag: text-to-image
10
+ ---
11
+
12
+ <div align="center">
13
+
14
+ **Bokeh_Depth_Control**
15
+
16
+ <img src="show.jpg"/>
17
+ </div>
18
+
19
+ ## Description
20
+
21
+ - Input Image: Depth information map generated by depth estimation model
22
+ - Output Image: Base model integrates depth information for control, generating more realistic depth-of-field effects and spatial structure control.
23
+
24
+ The depth map enables the model to better understand spatial relationships within images, achieving more precise depth-of-field control and three-dimensional effect generation.
25
+
26
+ ## Example
27
+ | input | output | Prompt |
28
+ |---|---|---|
29
+ | ![input](./images/001_depth.png) | ![output](./images/001.png) | a old man |
30
+ | ![input](./images/002_depth.png) | ![output](./images/002.png) | A lone astronaut in a white suit and helmet, with a backpack, strolls on a rocky, red landscape under a star galaxy |
31
+ | ![input](./images/003_depth.png) | ![output](./images/003.png) | a eagle , black background |
32
+ | ![input](./images/004_depth.png) | ![output](./images/004.png) | A crystal heart sits on a gnarly, moss-covered log, with a galaxy background. |
33
+
34
+ ## Use
35
+ We recommend using ComfyUI for local inference
36
+ ![input](./comfy.png)
37
+
38
+ # With Bokeh
39
+ ```python
40
+ import torch
41
+ from diffusers import StableDiffusion3ControlNetPipeline
42
+ from diffusers import SD3ControlNetModel
43
+ from diffusers.utils import load_image
44
+
45
+ controlnet = SD3ControlNetModel.from_pretrained("tensorart/Bokeh_Depth_Control")
46
+ pipe = StableDiffusion3ControlNetPipeline.from_pretrained(
47
+ "tensorart/bokeh_3.5_medium",
48
+ controlnet=controlnet
49
+ )
50
+ pipe.to("cuda", torch.float16)
51
+
52
+ control_image = load_image("https://huggingface.co/tensorart/Bokeh_Depth_Control/resolve/main/images/001_depth.png")
53
+ prompt = "A old man talking"
54
+ negative_prompt ="anime,render,cartoon,3d"
55
+ negative_prompt_3=""
56
+
57
+ image = pipe(
58
+ prompt,
59
+ num_inference_steps=30,
60
+ negative_prompt=negative_prompt,
61
+ control_image=control_image,
62
+ height=1440,
63
+ width=1440,
64
+ guidance_scale=4,
65
+ controlnet_conditioning_scale=0.8
66
+ ).images[0]
67
+ image.save('image.jpg')
68
+ ```
69
+
70
+
71
+ ## Contact
72
+ * Website: https://tensor.art https://tusiart.com
73
+ * Developed by: TensorArt
74
+ * Api: https://tams.tensor.art/
75
+
76
+
77
+
78
+
bokeh_cn_workflow.json ADDED
@@ -0,0 +1,869 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 93,
3
+ "last_link_id": 370,
4
+ "nodes": [
5
+ {
6
+ "id": 17,
7
+ "type": "PrimitiveNode",
8
+ "pos": {
9
+ "0": 40,
10
+ "1": -202
11
+ },
12
+ "size": {
13
+ "0": 298.4656982421875,
14
+ "1": 99.21678161621094
15
+ },
16
+ "flags": {
17
+ "collapsed": false
18
+ },
19
+ "order": 0,
20
+ "mode": 0,
21
+ "inputs": [],
22
+ "outputs": [
23
+ {
24
+ "name": "INT",
25
+ "type": "INT",
26
+ "links": [
27
+ 288
28
+ ],
29
+ "slot_index": 0,
30
+ "widget": {
31
+ "name": "seed"
32
+ }
33
+ }
34
+ ],
35
+ "title": "seed",
36
+ "properties": {
37
+ "Run widget replace on values": false
38
+ },
39
+ "widgets_values": [
40
+ 349829797374617,
41
+ "increment"
42
+ ]
43
+ },
44
+ {
45
+ "id": 52,
46
+ "type": "PrimitiveNode",
47
+ "pos": {
48
+ "0": 37,
49
+ "1": -361
50
+ },
51
+ "size": {
52
+ "0": 309.40350341796875,
53
+ "1": 96.14453887939453
54
+ },
55
+ "flags": {
56
+ "collapsed": false
57
+ },
58
+ "order": 1,
59
+ "mode": 0,
60
+ "inputs": [],
61
+ "outputs": [
62
+ {
63
+ "name": "STRING",
64
+ "type": "STRING",
65
+ "links": [
66
+ 222,
67
+ 223
68
+ ],
69
+ "slot_index": 0,
70
+ "widget": {
71
+ "name": "clip_g"
72
+ }
73
+ }
74
+ ],
75
+ "title": "Negative_prompt",
76
+ "properties": {
77
+ "Run widget replace on values": false
78
+ },
79
+ "widgets_values": [
80
+ "anime,render,cartoon,3d"
81
+ ]
82
+ },
83
+ {
84
+ "id": 30,
85
+ "type": "CLIPTextEncodeSD3",
86
+ "pos": {
87
+ "0": 462,
88
+ "1": -460
89
+ },
90
+ "size": {
91
+ "0": 346.1516418457031,
92
+ "1": 140
93
+ },
94
+ "flags": {
95
+ "collapsed": false
96
+ },
97
+ "order": 7,
98
+ "mode": 0,
99
+ "inputs": [
100
+ {
101
+ "name": "clip",
102
+ "type": "CLIP",
103
+ "link": 370
104
+ },
105
+ {
106
+ "name": "clip_g",
107
+ "type": "STRING",
108
+ "link": 222,
109
+ "widget": {
110
+ "name": "clip_g"
111
+ }
112
+ },
113
+ {
114
+ "name": "clip_l",
115
+ "type": "STRING",
116
+ "link": 223,
117
+ "widget": {
118
+ "name": "clip_l"
119
+ }
120
+ }
121
+ ],
122
+ "outputs": [
123
+ {
124
+ "name": "CONDITIONING",
125
+ "type": "CONDITIONING",
126
+ "links": [
127
+ 347
128
+ ],
129
+ "slot_index": 0
130
+ }
131
+ ],
132
+ "properties": {
133
+ "Node name for S&R": "CLIPTextEncodeSD3"
134
+ },
135
+ "widgets_values": [
136
+ "anime,render,cartoon,3d",
137
+ "anime,render,cartoon,3d",
138
+ "",
139
+ "none"
140
+ ]
141
+ },
142
+ {
143
+ "id": 32,
144
+ "type": "CLIPTextEncodeSD3",
145
+ "pos": {
146
+ "0": 462,
147
+ "1": -626
148
+ },
149
+ "size": {
150
+ "0": 344.10260009765625,
151
+ "1": 118
152
+ },
153
+ "flags": {
154
+ "collapsed": false
155
+ },
156
+ "order": 9,
157
+ "mode": 0,
158
+ "inputs": [
159
+ {
160
+ "name": "clip",
161
+ "type": "CLIP",
162
+ "link": 369
163
+ },
164
+ {
165
+ "name": "clip_g",
166
+ "type": "STRING",
167
+ "link": 122,
168
+ "widget": {
169
+ "name": "clip_g"
170
+ }
171
+ },
172
+ {
173
+ "name": "clip_l",
174
+ "type": "STRING",
175
+ "link": 123,
176
+ "widget": {
177
+ "name": "clip_l"
178
+ }
179
+ },
180
+ {
181
+ "name": "t5xxl",
182
+ "type": "STRING",
183
+ "link": 152,
184
+ "widget": {
185
+ "name": "t5xxl"
186
+ }
187
+ }
188
+ ],
189
+ "outputs": [
190
+ {
191
+ "name": "CONDITIONING",
192
+ "type": "CONDITIONING",
193
+ "links": [
194
+ 346
195
+ ],
196
+ "slot_index": 0
197
+ }
198
+ ],
199
+ "properties": {
200
+ "Node name for S&R": "CLIPTextEncodeSD3"
201
+ },
202
+ "widgets_values": [
203
+ "a eagle , black background",
204
+ "a eagle , black background",
205
+ "a eagle , black background",
206
+ "empty_prompt"
207
+ ]
208
+ },
209
+ {
210
+ "id": 13,
211
+ "type": "CheckpointLoaderSimple",
212
+ "pos": {
213
+ "0": -402,
214
+ "1": -686
215
+ },
216
+ "size": {
217
+ "0": 746.5433349609375,
218
+ "1": 98
219
+ },
220
+ "flags": {},
221
+ "order": 2,
222
+ "mode": 0,
223
+ "inputs": [],
224
+ "outputs": [
225
+ {
226
+ "name": "MODEL",
227
+ "type": "MODEL",
228
+ "links": [
229
+ 368
230
+ ],
231
+ "slot_index": 0
232
+ },
233
+ {
234
+ "name": "CLIP",
235
+ "type": "CLIP",
236
+ "links": [
237
+ 369,
238
+ 370
239
+ ],
240
+ "slot_index": 1
241
+ },
242
+ {
243
+ "name": "VAE",
244
+ "type": "VAE",
245
+ "links": [
246
+ 292,
247
+ 351
248
+ ],
249
+ "slot_index": 2
250
+ }
251
+ ],
252
+ "properties": {
253
+ "Node name for S&R": "CheckpointLoaderSimple"
254
+ },
255
+ "widgets_values": [
256
+ "bokeh_medium_t5xxlfp8.safetensors"
257
+ ]
258
+ },
259
+ {
260
+ "id": 86,
261
+ "type": "LoadImage",
262
+ "pos": {
263
+ "0": -409,
264
+ "1": -537
265
+ },
266
+ "size": {
267
+ "0": 413.1280822753906,
268
+ "1": 623.165771484375
269
+ },
270
+ "flags": {
271
+ "collapsed": false
272
+ },
273
+ "order": 3,
274
+ "mode": 0,
275
+ "inputs": [],
276
+ "outputs": [
277
+ {
278
+ "name": "IMAGE",
279
+ "type": "IMAGE",
280
+ "links": [
281
+ 366
282
+ ],
283
+ "slot_index": 0
284
+ },
285
+ {
286
+ "name": "MASK",
287
+ "type": "MASK",
288
+ "links": null
289
+ }
290
+ ],
291
+ "properties": {
292
+ "Node name for S&R": "LoadImage"
293
+ },
294
+ "widgets_values": [
295
+ "tmptiilbkl9 (2).png",
296
+ "image"
297
+ ]
298
+ },
299
+ {
300
+ "id": 88,
301
+ "type": "ImageScale",
302
+ "pos": {
303
+ "0": 24,
304
+ "1": -49
305
+ },
306
+ "size": {
307
+ "0": 315,
308
+ "1": 130
309
+ },
310
+ "flags": {},
311
+ "order": 8,
312
+ "mode": 0,
313
+ "inputs": [
314
+ {
315
+ "name": "image",
316
+ "type": "IMAGE",
317
+ "link": 366
318
+ }
319
+ ],
320
+ "outputs": [
321
+ {
322
+ "name": "IMAGE",
323
+ "type": "IMAGE",
324
+ "links": [
325
+ 354,
326
+ 355
327
+ ],
328
+ "slot_index": 0
329
+ }
330
+ ],
331
+ "properties": {
332
+ "Node name for S&R": "ImageScale"
333
+ },
334
+ "widgets_values": [
335
+ "nearest-exact",
336
+ 1152,
337
+ 1728,
338
+ "disabled"
339
+ ]
340
+ },
341
+ {
342
+ "id": 87,
343
+ "type": "EmptyLatentImage",
344
+ "pos": {
345
+ "0": 464,
346
+ "1": -140
347
+ },
348
+ "size": {
349
+ "0": 352.0178527832031,
350
+ "1": 106
351
+ },
352
+ "flags": {},
353
+ "order": 4,
354
+ "mode": 0,
355
+ "inputs": [],
356
+ "outputs": [
357
+ {
358
+ "name": "LATENT",
359
+ "type": "LATENT",
360
+ "links": [
361
+ 367
362
+ ],
363
+ "slot_index": 0
364
+ }
365
+ ],
366
+ "properties": {
367
+ "Node name for S&R": "EmptyLatentImage"
368
+ },
369
+ "widgets_values": [
370
+ 1152,
371
+ 1728,
372
+ 1
373
+ ]
374
+ },
375
+ {
376
+ "id": 72,
377
+ "type": "PreviewImage",
378
+ "pos": {
379
+ "0": 1956,
380
+ "1": -611
381
+ },
382
+ "size": {
383
+ "0": 1634.2325439453125,
384
+ "1": 1421.76123046875
385
+ },
386
+ "flags": {},
387
+ "order": 14,
388
+ "mode": 0,
389
+ "inputs": [
390
+ {
391
+ "name": "images",
392
+ "type": "IMAGE",
393
+ "link": 293
394
+ }
395
+ ],
396
+ "outputs": [],
397
+ "properties": {
398
+ "Node name for S&R": "PreviewImage"
399
+ },
400
+ "widgets_values": []
401
+ },
402
+ {
403
+ "id": 89,
404
+ "type": "PreviewImage",
405
+ "pos": {
406
+ "0": 473,
407
+ "1": 13
408
+ },
409
+ "size": {
410
+ "0": 1328.8507080078125,
411
+ "1": 952.4451904296875
412
+ },
413
+ "flags": {},
414
+ "order": 10,
415
+ "mode": 0,
416
+ "inputs": [
417
+ {
418
+ "name": "images",
419
+ "type": "IMAGE",
420
+ "link": 355
421
+ }
422
+ ],
423
+ "outputs": [],
424
+ "properties": {
425
+ "Node name for S&R": "PreviewImage"
426
+ },
427
+ "widgets_values": []
428
+ },
429
+ {
430
+ "id": 85,
431
+ "type": "ControlNetApplyAdvanced",
432
+ "pos": {
433
+ "0": 949,
434
+ "1": -574
435
+ },
436
+ "size": {
437
+ "0": 268.9471435546875,
438
+ "1": 186
439
+ },
440
+ "flags": {},
441
+ "order": 11,
442
+ "mode": 0,
443
+ "inputs": [
444
+ {
445
+ "name": "positive",
446
+ "type": "CONDITIONING",
447
+ "link": 346
448
+ },
449
+ {
450
+ "name": "negative",
451
+ "type": "CONDITIONING",
452
+ "link": 347
453
+ },
454
+ {
455
+ "name": "control_net",
456
+ "type": "CONTROL_NET",
457
+ "link": 345
458
+ },
459
+ {
460
+ "name": "image",
461
+ "type": "IMAGE",
462
+ "link": 354
463
+ },
464
+ {
465
+ "name": "vae",
466
+ "type": "VAE",
467
+ "link": 351,
468
+ "shape": 7
469
+ }
470
+ ],
471
+ "outputs": [
472
+ {
473
+ "name": "positive",
474
+ "type": "CONDITIONING",
475
+ "links": [
476
+ 348
477
+ ],
478
+ "slot_index": 0
479
+ },
480
+ {
481
+ "name": "negative",
482
+ "type": "CONDITIONING",
483
+ "links": [
484
+ 349
485
+ ],
486
+ "slot_index": 1
487
+ }
488
+ ],
489
+ "properties": {
490
+ "Node name for S&R": "ControlNetApplyAdvanced"
491
+ },
492
+ "widgets_values": [
493
+ 0.7000000000000001,
494
+ 0,
495
+ 1
496
+ ]
497
+ },
498
+ {
499
+ "id": 71,
500
+ "type": "VAEDecode",
501
+ "pos": {
502
+ "0": 1417,
503
+ "1": -312
504
+ },
505
+ "size": {
506
+ "0": 210,
507
+ "1": 46
508
+ },
509
+ "flags": {},
510
+ "order": 13,
511
+ "mode": 0,
512
+ "inputs": [
513
+ {
514
+ "name": "samples",
515
+ "type": "LATENT",
516
+ "link": 291
517
+ },
518
+ {
519
+ "name": "vae",
520
+ "type": "VAE",
521
+ "link": 292
522
+ }
523
+ ],
524
+ "outputs": [
525
+ {
526
+ "name": "IMAGE",
527
+ "type": "IMAGE",
528
+ "links": [
529
+ 293
530
+ ],
531
+ "slot_index": 0
532
+ }
533
+ ],
534
+ "properties": {
535
+ "Node name for S&R": "VAEDecode"
536
+ },
537
+ "widgets_values": []
538
+ },
539
+ {
540
+ "id": 70,
541
+ "type": "KSampler",
542
+ "pos": {
543
+ "0": 951,
544
+ "1": -341
545
+ },
546
+ "size": {
547
+ "0": 278.6439514160156,
548
+ "1": 234
549
+ },
550
+ "flags": {},
551
+ "order": 12,
552
+ "mode": 0,
553
+ "inputs": [
554
+ {
555
+ "name": "model",
556
+ "type": "MODEL",
557
+ "link": 368
558
+ },
559
+ {
560
+ "name": "positive",
561
+ "type": "CONDITIONING",
562
+ "link": 348
563
+ },
564
+ {
565
+ "name": "negative",
566
+ "type": "CONDITIONING",
567
+ "link": 349
568
+ },
569
+ {
570
+ "name": "latent_image",
571
+ "type": "LATENT",
572
+ "link": 367
573
+ },
574
+ {
575
+ "name": "seed",
576
+ "type": "INT",
577
+ "link": 288,
578
+ "widget": {
579
+ "name": "seed"
580
+ }
581
+ }
582
+ ],
583
+ "outputs": [
584
+ {
585
+ "name": "LATENT",
586
+ "type": "LATENT",
587
+ "links": [
588
+ 291
589
+ ],
590
+ "slot_index": 0
591
+ }
592
+ ],
593
+ "properties": {
594
+ "Node name for S&R": "KSampler"
595
+ },
596
+ "widgets_values": [
597
+ 349829797374617,
598
+ "randomize",
599
+ 28,
600
+ 4.5,
601
+ "dpmpp_2m",
602
+ "sgm_uniform",
603
+ 1
604
+ ]
605
+ },
606
+ {
607
+ "id": 20,
608
+ "type": "PrimitiveNode",
609
+ "pos": {
610
+ "0": 32,
611
+ "1": -543
612
+ },
613
+ "size": {
614
+ "0": 314.90277099609375,
615
+ "1": 150.342529296875
616
+ },
617
+ "flags": {
618
+ "collapsed": false
619
+ },
620
+ "order": 5,
621
+ "mode": 0,
622
+ "inputs": [],
623
+ "outputs": [
624
+ {
625
+ "name": "STRING",
626
+ "type": "STRING",
627
+ "links": [
628
+ 122,
629
+ 123,
630
+ 152
631
+ ],
632
+ "slot_index": 0,
633
+ "widget": {
634
+ "name": "clip_g"
635
+ }
636
+ }
637
+ ],
638
+ "title": "Positive_prompt",
639
+ "properties": {
640
+ "Run widget replace on values": false
641
+ },
642
+ "widgets_values": [
643
+ "a eagle , black background"
644
+ ]
645
+ },
646
+ {
647
+ "id": 84,
648
+ "type": "ControlNetLoader",
649
+ "pos": {
650
+ "0": 445,
651
+ "1": -268
652
+ },
653
+ "size": {
654
+ "0": 368.3169250488281,
655
+ "1": 78.63841247558594
656
+ },
657
+ "flags": {},
658
+ "order": 6,
659
+ "mode": 0,
660
+ "inputs": [],
661
+ "outputs": [
662
+ {
663
+ "name": "CONTROL_NET",
664
+ "type": "CONTROL_NET",
665
+ "links": [
666
+ 345
667
+ ],
668
+ "slot_index": 0
669
+ }
670
+ ],
671
+ "properties": {
672
+ "Node name for S&R": "ControlNetLoader"
673
+ },
674
+ "widgets_values": [
675
+ "bokeh_depth_cn.safetensors"
676
+ ]
677
+ }
678
+ ],
679
+ "links": [
680
+ [
681
+ 122,
682
+ 20,
683
+ 0,
684
+ 32,
685
+ 1,
686
+ "STRING"
687
+ ],
688
+ [
689
+ 123,
690
+ 20,
691
+ 0,
692
+ 32,
693
+ 2,
694
+ "STRING"
695
+ ],
696
+ [
697
+ 152,
698
+ 20,
699
+ 0,
700
+ 32,
701
+ 3,
702
+ "STRING"
703
+ ],
704
+ [
705
+ 222,
706
+ 52,
707
+ 0,
708
+ 30,
709
+ 1,
710
+ "STRING"
711
+ ],
712
+ [
713
+ 223,
714
+ 52,
715
+ 0,
716
+ 30,
717
+ 2,
718
+ "STRING"
719
+ ],
720
+ [
721
+ 288,
722
+ 17,
723
+ 0,
724
+ 70,
725
+ 4,
726
+ "INT"
727
+ ],
728
+ [
729
+ 291,
730
+ 70,
731
+ 0,
732
+ 71,
733
+ 0,
734
+ "LATENT"
735
+ ],
736
+ [
737
+ 292,
738
+ 13,
739
+ 2,
740
+ 71,
741
+ 1,
742
+ "VAE"
743
+ ],
744
+ [
745
+ 293,
746
+ 71,
747
+ 0,
748
+ 72,
749
+ 0,
750
+ "IMAGE"
751
+ ],
752
+ [
753
+ 345,
754
+ 84,
755
+ 0,
756
+ 85,
757
+ 2,
758
+ "CONTROL_NET"
759
+ ],
760
+ [
761
+ 346,
762
+ 32,
763
+ 0,
764
+ 85,
765
+ 0,
766
+ "CONDITIONING"
767
+ ],
768
+ [
769
+ 347,
770
+ 30,
771
+ 0,
772
+ 85,
773
+ 1,
774
+ "CONDITIONING"
775
+ ],
776
+ [
777
+ 348,
778
+ 85,
779
+ 0,
780
+ 70,
781
+ 1,
782
+ "CONDITIONING"
783
+ ],
784
+ [
785
+ 349,
786
+ 85,
787
+ 1,
788
+ 70,
789
+ 2,
790
+ "CONDITIONING"
791
+ ],
792
+ [
793
+ 351,
794
+ 13,
795
+ 2,
796
+ 85,
797
+ 4,
798
+ "VAE"
799
+ ],
800
+ [
801
+ 354,
802
+ 88,
803
+ 0,
804
+ 85,
805
+ 3,
806
+ "IMAGE"
807
+ ],
808
+ [
809
+ 355,
810
+ 88,
811
+ 0,
812
+ 89,
813
+ 0,
814
+ "IMAGE"
815
+ ],
816
+ [
817
+ 366,
818
+ 86,
819
+ 0,
820
+ 88,
821
+ 0,
822
+ "IMAGE"
823
+ ],
824
+ [
825
+ 367,
826
+ 87,
827
+ 0,
828
+ 70,
829
+ 3,
830
+ "LATENT"
831
+ ],
832
+ [
833
+ 368,
834
+ 13,
835
+ 0,
836
+ 70,
837
+ 0,
838
+ "MODEL"
839
+ ],
840
+ [
841
+ 369,
842
+ 13,
843
+ 1,
844
+ 32,
845
+ 0,
846
+ "CLIP"
847
+ ],
848
+ [
849
+ 370,
850
+ 13,
851
+ 1,
852
+ 30,
853
+ 0,
854
+ "CLIP"
855
+ ]
856
+ ],
857
+ "groups": [],
858
+ "config": {},
859
+ "extra": {
860
+ "ds": {
861
+ "scale": 0.4305676431343139,
862
+ "offset": [
863
+ 636.7262178838369,
864
+ 1199.3097356274905
865
+ ]
866
+ }
867
+ },
868
+ "version": 0.4
869
+ }
comfy.png ADDED

Git LFS Details

  • SHA256: ea00494db4e832d627427c10e020e723aec99dfcec8a9f069c57561b9cb6f9e5
  • Pointer size: 132 Bytes
  • Size of remote file: 2.29 MB
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "SD3ControlNetModel",
3
+ "_diffusers_version": "0.32.0.dev0",
4
+ "_name_or_path": "tensorart/bokeh_3.5_medium",
5
+ "attention_head_dim": 64,
6
+ "caption_projection_dim": 1536,
7
+ "dual_attention_layers": [
8
+ 0,
9
+ 1,
10
+ 2,
11
+ 3,
12
+ 4,
13
+ 5,
14
+ 6,
15
+ 7,
16
+ 8,
17
+ 9,
18
+ 10,
19
+ 11,
20
+ 12
21
+ ],
22
+ "extra_conditioning_channels": 0,
23
+ "in_channels": 16,
24
+ "joint_attention_dim": 4096,
25
+ "num_attention_heads": 24,
26
+ "num_layers": 23,
27
+ "out_channels": 16,
28
+ "patch_size": 2,
29
+ "pooled_projection_dim": 2048,
30
+ "pos_embed_max_size": 384,
31
+ "qk_norm": "rms_norm",
32
+ "sample_size": 128
33
+ }
diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:737a877ad74bd8ad785ad7375e1bf2c2c5cd2f92863aafa4d2a06bbfe4d28793
3
+ size 4930003400
images/001.png ADDED

Git LFS Details

  • SHA256: 7e34191509d80df6d7b389fe0b399c5337f5a0e9e23dc61fe850780ffdb76c89
  • Pointer size: 132 Bytes
  • Size of remote file: 3.05 MB
images/001_depth.png ADDED

Git LFS Details

  • SHA256: def50675ba51a6e675299b20027c72a7094282eebf35775ae1ed4b3da6a5487b
  • Pointer size: 131 Bytes
  • Size of remote file: 123 kB
images/002.png ADDED

Git LFS Details

  • SHA256: 7de28b295b543bfe668d3e4559bff8e58c3c0bfcee7e662a3c34de68cc1943c6
  • Pointer size: 132 Bytes
  • Size of remote file: 1.6 MB
images/002_depth.png ADDED

Git LFS Details

  • SHA256: 1b9cec8e2b573db6079f96e5febc26ddbc537e38d5c9741b0121f8fbbe979043
  • Pointer size: 130 Bytes
  • Size of remote file: 51.9 kB
images/003.png ADDED

Git LFS Details

  • SHA256: 07224e343fedd78d85dcceb3b68560f0b010c960cbb06bc64430d070e84f3d3a
  • Pointer size: 132 Bytes
  • Size of remote file: 2.29 MB
images/003_depth.png ADDED

Git LFS Details

  • SHA256: 998551f5c9f53c28273b56f114d5f6a969355432f5569b5f6758ee020e4e6406
  • Pointer size: 131 Bytes
  • Size of remote file: 139 kB
images/004.png ADDED

Git LFS Details

  • SHA256: 9087f765960b42c08e4f3374d1e0880e92374c9a887dc0264cb5d08997080947
  • Pointer size: 132 Bytes
  • Size of remote file: 2.98 MB
images/004_depth.png ADDED

Git LFS Details

  • SHA256: 7581c9146a2a67236c83ed4005cfe9a58c13f02d5d7623ce5f8592a30fcbf99c
  • Pointer size: 130 Bytes
  • Size of remote file: 78.9 kB
show.jpg ADDED

Git LFS Details

  • SHA256: d5dc07dfee8c32dd5caeb896106e49d7b57a414b52c8363104054c059551a3cd
  • Pointer size: 131 Bytes
  • Size of remote file: 733 kB