xueyao
commited on
Commit
·
bf634e7
1
Parent(s):
613f63a
Initial commit
Browse files- .gitattributes +2 -0
- .ipynb_checkpoints/config-checkpoint.json +33 -0
- README.md +77 -0
- bokeh_cn_workflow.json +869 -0
- comfy.png +3 -0
- config.json +33 -0
- diffusion_pytorch_model.safetensors +3 -0
- images/001.png +3 -0
- images/001_line.png +3 -0
- images/002.png +3 -0
- images/002_line.png +3 -0
- images/003.png +3 -0
- images/003_line.png +3 -0
- images/004.png +3 -0
- images/004_line.png +3 -0
- show.jpg +3 -0
.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
|
.ipynb_checkpoints/config-checkpoint.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "SD3ControlNetModel",
|
3 |
+
"_diffusers_version": "0.32.0.dev0",
|
4 |
+
"_name_or_path": "/mnt/100.9_data/pcm/exp_bokeh",
|
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 |
+
}
|
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_Line_Control**
|
15 |
+
|
16 |
+
<img src="show.jpg"/>
|
17 |
+
</div>
|
18 |
+
|
19 |
+
## Description
|
20 |
+
|
21 |
+
- Input Image: Black and white line art or images processed with edge detection algorithms
|
22 |
+
- Output Image: Generated images incorporating edge information
|
23 |
+
|
24 |
+
This enables better control over the main subject features and composition, resulting in more vivid and realistic images.
|
25 |
+
|
26 |
+
## Example
|
27 |
+
| input | output | Prompt |
|
28 |
+
|---|---|---|
|
29 |
+
|  |  | A cat looks up, close-up, sapphire eyes |
|
30 |
+
|  |  | heron bird standing, closeup, graceful |
|
31 |
+
|  |  | a modern build design |
|
32 |
+
|  |  | A old woman talking |
|
33 |
+
|
34 |
+
## Use
|
35 |
+
We recommend using ComfyUI for local inference
|
36 |
+

|
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_Line_Control/resolve/main/images/001_line.png")
|
53 |
+
prompt = "A cat looks up, close-up, sapphire eyes"
|
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=1728,
|
63 |
+
width=1152,
|
64 |
+
guidance_scale=4,
|
65 |
+
controlnet_conditioning_scale=0.8
|
66 |
+
).images[0]
|
67 |
+
image.save('image.jpg')
|
68 |
+
```
|
69 |
+
|
70 |
+
## Contact
|
71 |
+
* Website: https://tensor.art https://tusiart.com
|
72 |
+
* Developed by: TensorArt
|
73 |
+
* Api: https://tams.tensor.art/
|
74 |
+
|
75 |
+
|
76 |
+
|
77 |
+
|
bokeh_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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
349829797374608,
|
41 |
+
"increment"
|
42 |
+
]
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"id": 72,
|
46 |
+
"type": "PreviewImage",
|
47 |
+
"pos": {
|
48 |
+
"0": 2151,
|
49 |
+
"1": -415
|
50 |
+
},
|
51 |
+
"size": {
|
52 |
+
"0": 1634.2325439453125,
|
53 |
+
"1": 1421.76123046875
|
54 |
+
},
|
55 |
+
"flags": {},
|
56 |
+
"order": 14,
|
57 |
+
"mode": 0,
|
58 |
+
"inputs": [
|
59 |
+
{
|
60 |
+
"name": "images",
|
61 |
+
"type": "IMAGE",
|
62 |
+
"link": 293
|
63 |
+
}
|
64 |
+
],
|
65 |
+
"outputs": [],
|
66 |
+
"properties": {
|
67 |
+
"Node name for S&R": "PreviewImage"
|
68 |
+
},
|
69 |
+
"widgets_values": []
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"id": 85,
|
73 |
+
"type": "ControlNetApplyAdvanced",
|
74 |
+
"pos": {
|
75 |
+
"0": 949,
|
76 |
+
"1": -574
|
77 |
+
},
|
78 |
+
"size": {
|
79 |
+
"0": 268.9471435546875,
|
80 |
+
"1": 186
|
81 |
+
},
|
82 |
+
"flags": {},
|
83 |
+
"order": 11,
|
84 |
+
"mode": 0,
|
85 |
+
"inputs": [
|
86 |
+
{
|
87 |
+
"name": "positive",
|
88 |
+
"type": "CONDITIONING",
|
89 |
+
"link": 346
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"name": "negative",
|
93 |
+
"type": "CONDITIONING",
|
94 |
+
"link": 347
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"name": "control_net",
|
98 |
+
"type": "CONTROL_NET",
|
99 |
+
"link": 345
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"name": "image",
|
103 |
+
"type": "IMAGE",
|
104 |
+
"link": 354
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"name": "vae",
|
108 |
+
"type": "VAE",
|
109 |
+
"link": 351,
|
110 |
+
"shape": 7
|
111 |
+
}
|
112 |
+
],
|
113 |
+
"outputs": [
|
114 |
+
{
|
115 |
+
"name": "positive",
|
116 |
+
"type": "CONDITIONING",
|
117 |
+
"links": [
|
118 |
+
348
|
119 |
+
],
|
120 |
+
"slot_index": 0
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"name": "negative",
|
124 |
+
"type": "CONDITIONING",
|
125 |
+
"links": [
|
126 |
+
349
|
127 |
+
],
|
128 |
+
"slot_index": 1
|
129 |
+
}
|
130 |
+
],
|
131 |
+
"properties": {
|
132 |
+
"Node name for S&R": "ControlNetApplyAdvanced"
|
133 |
+
},
|
134 |
+
"widgets_values": [
|
135 |
+
0.8,
|
136 |
+
0,
|
137 |
+
1
|
138 |
+
]
|
139 |
+
},
|
140 |
+
{
|
141 |
+
"id": 70,
|
142 |
+
"type": "KSampler",
|
143 |
+
"pos": {
|
144 |
+
"0": 951,
|
145 |
+
"1": -341
|
146 |
+
},
|
147 |
+
"size": {
|
148 |
+
"0": 278.6439514160156,
|
149 |
+
"1": 234
|
150 |
+
},
|
151 |
+
"flags": {},
|
152 |
+
"order": 12,
|
153 |
+
"mode": 0,
|
154 |
+
"inputs": [
|
155 |
+
{
|
156 |
+
"name": "model",
|
157 |
+
"type": "MODEL",
|
158 |
+
"link": 368
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"name": "positive",
|
162 |
+
"type": "CONDITIONING",
|
163 |
+
"link": 348
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"name": "negative",
|
167 |
+
"type": "CONDITIONING",
|
168 |
+
"link": 349
|
169 |
+
},
|
170 |
+
{
|
171 |
+
"name": "latent_image",
|
172 |
+
"type": "LATENT",
|
173 |
+
"link": 367
|
174 |
+
},
|
175 |
+
{
|
176 |
+
"name": "seed",
|
177 |
+
"type": "INT",
|
178 |
+
"link": 288,
|
179 |
+
"widget": {
|
180 |
+
"name": "seed"
|
181 |
+
}
|
182 |
+
}
|
183 |
+
],
|
184 |
+
"outputs": [
|
185 |
+
{
|
186 |
+
"name": "LATENT",
|
187 |
+
"type": "LATENT",
|
188 |
+
"links": [
|
189 |
+
291
|
190 |
+
],
|
191 |
+
"slot_index": 0
|
192 |
+
}
|
193 |
+
],
|
194 |
+
"properties": {
|
195 |
+
"Node name for S&R": "KSampler"
|
196 |
+
},
|
197 |
+
"widgets_values": [
|
198 |
+
349829797374608,
|
199 |
+
"randomize",
|
200 |
+
28,
|
201 |
+
4,
|
202 |
+
"dpmpp_2m",
|
203 |
+
"sgm_uniform",
|
204 |
+
1
|
205 |
+
]
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"id": 89,
|
209 |
+
"type": "PreviewImage",
|
210 |
+
"pos": {
|
211 |
+
"0": 409,
|
212 |
+
"1": 89
|
213 |
+
},
|
214 |
+
"size": {
|
215 |
+
"0": 1328.8507080078125,
|
216 |
+
"1": 952.4451904296875
|
217 |
+
},
|
218 |
+
"flags": {},
|
219 |
+
"order": 10,
|
220 |
+
"mode": 0,
|
221 |
+
"inputs": [
|
222 |
+
{
|
223 |
+
"name": "images",
|
224 |
+
"type": "IMAGE",
|
225 |
+
"link": 355
|
226 |
+
}
|
227 |
+
],
|
228 |
+
"outputs": [],
|
229 |
+
"properties": {
|
230 |
+
"Node name for S&R": "PreviewImage"
|
231 |
+
},
|
232 |
+
"widgets_values": []
|
233 |
+
},
|
234 |
+
{
|
235 |
+
"id": 88,
|
236 |
+
"type": "ImageScale",
|
237 |
+
"pos": {
|
238 |
+
"0": 24,
|
239 |
+
"1": -49
|
240 |
+
},
|
241 |
+
"size": {
|
242 |
+
"0": 315,
|
243 |
+
"1": 130
|
244 |
+
},
|
245 |
+
"flags": {},
|
246 |
+
"order": 7,
|
247 |
+
"mode": 0,
|
248 |
+
"inputs": [
|
249 |
+
{
|
250 |
+
"name": "image",
|
251 |
+
"type": "IMAGE",
|
252 |
+
"link": 366
|
253 |
+
}
|
254 |
+
],
|
255 |
+
"outputs": [
|
256 |
+
{
|
257 |
+
"name": "IMAGE",
|
258 |
+
"type": "IMAGE",
|
259 |
+
"links": [
|
260 |
+
354,
|
261 |
+
355
|
262 |
+
],
|
263 |
+
"slot_index": 0
|
264 |
+
}
|
265 |
+
],
|
266 |
+
"properties": {
|
267 |
+
"Node name for S&R": "ImageScale"
|
268 |
+
},
|
269 |
+
"widgets_values": [
|
270 |
+
"nearest-exact",
|
271 |
+
1728,
|
272 |
+
1152,
|
273 |
+
"disabled"
|
274 |
+
]
|
275 |
+
},
|
276 |
+
{
|
277 |
+
"id": 86,
|
278 |
+
"type": "LoadImage",
|
279 |
+
"pos": {
|
280 |
+
"0": -409,
|
281 |
+
"1": -537
|
282 |
+
},
|
283 |
+
"size": {
|
284 |
+
"0": 413.1280822753906,
|
285 |
+
"1": 623.165771484375
|
286 |
+
},
|
287 |
+
"flags": {
|
288 |
+
"collapsed": false
|
289 |
+
},
|
290 |
+
"order": 1,
|
291 |
+
"mode": 0,
|
292 |
+
"inputs": [],
|
293 |
+
"outputs": [
|
294 |
+
{
|
295 |
+
"name": "IMAGE",
|
296 |
+
"type": "IMAGE",
|
297 |
+
"links": [
|
298 |
+
366
|
299 |
+
],
|
300 |
+
"slot_index": 0
|
301 |
+
},
|
302 |
+
{
|
303 |
+
"name": "MASK",
|
304 |
+
"type": "MASK",
|
305 |
+
"links": null
|
306 |
+
}
|
307 |
+
],
|
308 |
+
"properties": {
|
309 |
+
"Node name for S&R": "LoadImage"
|
310 |
+
},
|
311 |
+
"widgets_values": [
|
312 |
+
"ComfyUI_temp_aqxbr_00004_.png",
|
313 |
+
"image"
|
314 |
+
]
|
315 |
+
},
|
316 |
+
{
|
317 |
+
"id": 52,
|
318 |
+
"type": "PrimitiveNode",
|
319 |
+
"pos": {
|
320 |
+
"0": 37,
|
321 |
+
"1": -361
|
322 |
+
},
|
323 |
+
"size": {
|
324 |
+
"0": 309.40350341796875,
|
325 |
+
"1": 96.14453887939453
|
326 |
+
},
|
327 |
+
"flags": {
|
328 |
+
"collapsed": false
|
329 |
+
},
|
330 |
+
"order": 2,
|
331 |
+
"mode": 0,
|
332 |
+
"inputs": [],
|
333 |
+
"outputs": [
|
334 |
+
{
|
335 |
+
"name": "STRING",
|
336 |
+
"type": "STRING",
|
337 |
+
"links": [
|
338 |
+
222,
|
339 |
+
223
|
340 |
+
],
|
341 |
+
"slot_index": 0,
|
342 |
+
"widget": {
|
343 |
+
"name": "clip_g"
|
344 |
+
}
|
345 |
+
}
|
346 |
+
],
|
347 |
+
"title": "Negative_prompt",
|
348 |
+
"properties": {
|
349 |
+
"Run widget replace on values": false
|
350 |
+
},
|
351 |
+
"widgets_values": [
|
352 |
+
"anime,render,cartoon,3d"
|
353 |
+
]
|
354 |
+
},
|
355 |
+
{
|
356 |
+
"id": 20,
|
357 |
+
"type": "PrimitiveNode",
|
358 |
+
"pos": {
|
359 |
+
"0": 32,
|
360 |
+
"1": -543
|
361 |
+
},
|
362 |
+
"size": {
|
363 |
+
"0": 314.90277099609375,
|
364 |
+
"1": 150.342529296875
|
365 |
+
},
|
366 |
+
"flags": {
|
367 |
+
"collapsed": false
|
368 |
+
},
|
369 |
+
"order": 3,
|
370 |
+
"mode": 0,
|
371 |
+
"inputs": [],
|
372 |
+
"outputs": [
|
373 |
+
{
|
374 |
+
"name": "STRING",
|
375 |
+
"type": "STRING",
|
376 |
+
"links": [
|
377 |
+
122,
|
378 |
+
123,
|
379 |
+
152
|
380 |
+
],
|
381 |
+
"slot_index": 0,
|
382 |
+
"widget": {
|
383 |
+
"name": "clip_g"
|
384 |
+
}
|
385 |
+
}
|
386 |
+
],
|
387 |
+
"title": "Positive_prompt",
|
388 |
+
"properties": {
|
389 |
+
"Run widget replace on values": false
|
390 |
+
},
|
391 |
+
"widgets_values": [
|
392 |
+
"heron grey heron ardea cinerea water bird wader shore bird standing fisher hunter wetland fauna closeup graceful"
|
393 |
+
]
|
394 |
+
},
|
395 |
+
{
|
396 |
+
"id": 30,
|
397 |
+
"type": "CLIPTextEncodeSD3",
|
398 |
+
"pos": {
|
399 |
+
"0": 462,
|
400 |
+
"1": -460
|
401 |
+
},
|
402 |
+
"size": {
|
403 |
+
"0": 346.1516418457031,
|
404 |
+
"1": 140
|
405 |
+
},
|
406 |
+
"flags": {
|
407 |
+
"collapsed": false
|
408 |
+
},
|
409 |
+
"order": 9,
|
410 |
+
"mode": 0,
|
411 |
+
"inputs": [
|
412 |
+
{
|
413 |
+
"name": "clip",
|
414 |
+
"type": "CLIP",
|
415 |
+
"link": 370
|
416 |
+
},
|
417 |
+
{
|
418 |
+
"name": "clip_g",
|
419 |
+
"type": "STRING",
|
420 |
+
"link": 222,
|
421 |
+
"widget": {
|
422 |
+
"name": "clip_g"
|
423 |
+
}
|
424 |
+
},
|
425 |
+
{
|
426 |
+
"name": "clip_l",
|
427 |
+
"type": "STRING",
|
428 |
+
"link": 223,
|
429 |
+
"widget": {
|
430 |
+
"name": "clip_l"
|
431 |
+
}
|
432 |
+
}
|
433 |
+
],
|
434 |
+
"outputs": [
|
435 |
+
{
|
436 |
+
"name": "CONDITIONING",
|
437 |
+
"type": "CONDITIONING",
|
438 |
+
"links": [
|
439 |
+
347
|
440 |
+
],
|
441 |
+
"slot_index": 0
|
442 |
+
}
|
443 |
+
],
|
444 |
+
"properties": {
|
445 |
+
"Node name for S&R": "CLIPTextEncodeSD3"
|
446 |
+
},
|
447 |
+
"widgets_values": [
|
448 |
+
"anime,render,cartoon,3d",
|
449 |
+
"anime,render,cartoon,3d",
|
450 |
+
"",
|
451 |
+
"none"
|
452 |
+
]
|
453 |
+
},
|
454 |
+
{
|
455 |
+
"id": 84,
|
456 |
+
"type": "ControlNetLoader",
|
457 |
+
"pos": {
|
458 |
+
"0": 445,
|
459 |
+
"1": -268
|
460 |
+
},
|
461 |
+
"size": {
|
462 |
+
"0": 368.3169250488281,
|
463 |
+
"1": 78.63841247558594
|
464 |
+
},
|
465 |
+
"flags": {},
|
466 |
+
"order": 4,
|
467 |
+
"mode": 0,
|
468 |
+
"inputs": [],
|
469 |
+
"outputs": [
|
470 |
+
{
|
471 |
+
"name": "CONTROL_NET",
|
472 |
+
"type": "CONTROL_NET",
|
473 |
+
"links": [
|
474 |
+
345
|
475 |
+
],
|
476 |
+
"slot_index": 0
|
477 |
+
}
|
478 |
+
],
|
479 |
+
"properties": {
|
480 |
+
"Node name for S&R": "ControlNetLoader"
|
481 |
+
},
|
482 |
+
"widgets_values": [
|
483 |
+
"bokeh_line_cn.safetensors"
|
484 |
+
]
|
485 |
+
},
|
486 |
+
{
|
487 |
+
"id": 87,
|
488 |
+
"type": "EmptyLatentImage",
|
489 |
+
"pos": {
|
490 |
+
"0": 464,
|
491 |
+
"1": -140
|
492 |
+
},
|
493 |
+
"size": {
|
494 |
+
"0": 352.0178527832031,
|
495 |
+
"1": 106
|
496 |
+
},
|
497 |
+
"flags": {},
|
498 |
+
"order": 5,
|
499 |
+
"mode": 0,
|
500 |
+
"inputs": [],
|
501 |
+
"outputs": [
|
502 |
+
{
|
503 |
+
"name": "LATENT",
|
504 |
+
"type": "LATENT",
|
505 |
+
"links": [
|
506 |
+
367
|
507 |
+
],
|
508 |
+
"slot_index": 0
|
509 |
+
}
|
510 |
+
],
|
511 |
+
"properties": {
|
512 |
+
"Node name for S&R": "EmptyLatentImage"
|
513 |
+
},
|
514 |
+
"widgets_values": [
|
515 |
+
1728,
|
516 |
+
1152,
|
517 |
+
1
|
518 |
+
]
|
519 |
+
},
|
520 |
+
{
|
521 |
+
"id": 32,
|
522 |
+
"type": "CLIPTextEncodeSD3",
|
523 |
+
"pos": {
|
524 |
+
"0": 462,
|
525 |
+
"1": -626
|
526 |
+
},
|
527 |
+
"size": {
|
528 |
+
"0": 344.10260009765625,
|
529 |
+
"1": 118
|
530 |
+
},
|
531 |
+
"flags": {
|
532 |
+
"collapsed": false
|
533 |
+
},
|
534 |
+
"order": 8,
|
535 |
+
"mode": 0,
|
536 |
+
"inputs": [
|
537 |
+
{
|
538 |
+
"name": "clip",
|
539 |
+
"type": "CLIP",
|
540 |
+
"link": 369
|
541 |
+
},
|
542 |
+
{
|
543 |
+
"name": "clip_g",
|
544 |
+
"type": "STRING",
|
545 |
+
"link": 122,
|
546 |
+
"widget": {
|
547 |
+
"name": "clip_g"
|
548 |
+
}
|
549 |
+
},
|
550 |
+
{
|
551 |
+
"name": "clip_l",
|
552 |
+
"type": "STRING",
|
553 |
+
"link": 123,
|
554 |
+
"widget": {
|
555 |
+
"name": "clip_l"
|
556 |
+
}
|
557 |
+
},
|
558 |
+
{
|
559 |
+
"name": "t5xxl",
|
560 |
+
"type": "STRING",
|
561 |
+
"link": 152,
|
562 |
+
"widget": {
|
563 |
+
"name": "t5xxl"
|
564 |
+
}
|
565 |
+
}
|
566 |
+
],
|
567 |
+
"outputs": [
|
568 |
+
{
|
569 |
+
"name": "CONDITIONING",
|
570 |
+
"type": "CONDITIONING",
|
571 |
+
"links": [
|
572 |
+
346
|
573 |
+
],
|
574 |
+
"slot_index": 0
|
575 |
+
}
|
576 |
+
],
|
577 |
+
"properties": {
|
578 |
+
"Node name for S&R": "CLIPTextEncodeSD3"
|
579 |
+
},
|
580 |
+
"widgets_values": [
|
581 |
+
"heron grey heron ardea cinerea water bird wader shore bird standing fisher hunter wetland fauna closeup graceful",
|
582 |
+
"heron grey heron ardea cinerea water bird wader shore bird standing fisher hunter wetland fauna closeup graceful",
|
583 |
+
"heron grey heron ardea cinerea water bird wader shore bird standing fisher hunter wetland fauna closeup graceful",
|
584 |
+
"empty_prompt"
|
585 |
+
]
|
586 |
+
},
|
587 |
+
{
|
588 |
+
"id": 71,
|
589 |
+
"type": "VAEDecode",
|
590 |
+
"pos": {
|
591 |
+
"0": 1415,
|
592 |
+
"1": -252
|
593 |
+
},
|
594 |
+
"size": {
|
595 |
+
"0": 210,
|
596 |
+
"1": 46
|
597 |
+
},
|
598 |
+
"flags": {},
|
599 |
+
"order": 13,
|
600 |
+
"mode": 0,
|
601 |
+
"inputs": [
|
602 |
+
{
|
603 |
+
"name": "samples",
|
604 |
+
"type": "LATENT",
|
605 |
+
"link": 291
|
606 |
+
},
|
607 |
+
{
|
608 |
+
"name": "vae",
|
609 |
+
"type": "VAE",
|
610 |
+
"link": 292
|
611 |
+
}
|
612 |
+
],
|
613 |
+
"outputs": [
|
614 |
+
{
|
615 |
+
"name": "IMAGE",
|
616 |
+
"type": "IMAGE",
|
617 |
+
"links": [
|
618 |
+
293
|
619 |
+
],
|
620 |
+
"slot_index": 0
|
621 |
+
}
|
622 |
+
],
|
623 |
+
"properties": {
|
624 |
+
"Node name for S&R": "VAEDecode"
|
625 |
+
},
|
626 |
+
"widgets_values": []
|
627 |
+
},
|
628 |
+
{
|
629 |
+
"id": 13,
|
630 |
+
"type": "CheckpointLoaderSimple",
|
631 |
+
"pos": {
|
632 |
+
"0": -402,
|
633 |
+
"1": -686
|
634 |
+
},
|
635 |
+
"size": {
|
636 |
+
"0": 746.5433349609375,
|
637 |
+
"1": 98
|
638 |
+
},
|
639 |
+
"flags": {},
|
640 |
+
"order": 6,
|
641 |
+
"mode": 0,
|
642 |
+
"inputs": [],
|
643 |
+
"outputs": [
|
644 |
+
{
|
645 |
+
"name": "MODEL",
|
646 |
+
"type": "MODEL",
|
647 |
+
"links": [
|
648 |
+
368
|
649 |
+
],
|
650 |
+
"slot_index": 0
|
651 |
+
},
|
652 |
+
{
|
653 |
+
"name": "CLIP",
|
654 |
+
"type": "CLIP",
|
655 |
+
"links": [
|
656 |
+
369,
|
657 |
+
370
|
658 |
+
],
|
659 |
+
"slot_index": 1
|
660 |
+
},
|
661 |
+
{
|
662 |
+
"name": "VAE",
|
663 |
+
"type": "VAE",
|
664 |
+
"links": [
|
665 |
+
292,
|
666 |
+
351
|
667 |
+
],
|
668 |
+
"slot_index": 2
|
669 |
+
}
|
670 |
+
],
|
671 |
+
"properties": {
|
672 |
+
"Node name for S&R": "CheckpointLoaderSimple"
|
673 |
+
},
|
674 |
+
"widgets_values": [
|
675 |
+
"bokeh_medium_t5xxlfp8.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.6303940863129442,
|
862 |
+
"offset": [
|
863 |
+
-392.5801912838556,
|
864 |
+
947.3094410348016
|
865 |
+
]
|
866 |
+
}
|
867 |
+
},
|
868 |
+
"version": 0.4
|
869 |
+
}
|
comfy.png
ADDED
![]() |
Git LFS Details
|
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:e49e3335f1eae053084fcfe6766c2edd89b3089ba46f7d7cd650826d00825d01
|
3 |
+
size 4930003400
|
images/001.png
ADDED
![]() |
Git LFS Details
|
images/001_line.png
ADDED
![]() |
Git LFS Details
|
images/002.png
ADDED
![]() |
Git LFS Details
|
images/002_line.png
ADDED
![]() |
Git LFS Details
|
images/003.png
ADDED
![]() |
Git LFS Details
|
images/003_line.png
ADDED
![]() |
Git LFS Details
|
images/004.png
ADDED
![]() |
Git LFS Details
|
images/004_line.png
ADDED
![]() |
Git LFS Details
|
show.jpg
ADDED
![]() |
Git LFS Details
|