Spaces:
Running
Running
Upload index.html with huggingface_hub
Browse files- index.html +46 -180
index.html
CHANGED
|
@@ -93,7 +93,7 @@
|
|
| 93 |
</head>
|
| 94 |
<body>
|
| 95 |
<div class="header">
|
| 96 |
-
<h1>ComfyUI Workflow</h1>
|
| 97 |
<p>Built with <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank">anycoder</a></p>
|
| 98 |
</div>
|
| 99 |
|
|
@@ -102,20 +102,14 @@
|
|
| 102 |
|
| 103 |
<div class="json-container">
|
| 104 |
<pre id="json-content">{
|
| 105 |
-
"last_node_id":
|
| 106 |
-
"last_link_id":
|
| 107 |
"nodes": [
|
| 108 |
{
|
| 109 |
"id": 1,
|
| 110 |
"type": "LoadImage",
|
| 111 |
-
"pos": [
|
| 112 |
-
|
| 113 |
-
100
|
| 114 |
-
],
|
| 115 |
-
"size": [
|
| 116 |
-
320,
|
| 117 |
-
314
|
| 118 |
-
],
|
| 119 |
"flags": {},
|
| 120 |
"order": 0,
|
| 121 |
"mode": 0,
|
|
@@ -123,9 +117,7 @@
|
|
| 123 |
{
|
| 124 |
"name": "IMAGE",
|
| 125 |
"type": "IMAGE",
|
| 126 |
-
"links": [
|
| 127 |
-
1
|
| 128 |
-
],
|
| 129 |
"slot_index": 0
|
| 130 |
},
|
| 131 |
{
|
|
@@ -137,22 +129,13 @@
|
|
| 137 |
"properties": {
|
| 138 |
"Node name for S&R": "LoadImage"
|
| 139 |
},
|
| 140 |
-
"widgets_values": [
|
| 141 |
-
"input_photo.png",
|
| 142 |
-
"image"
|
| 143 |
-
]
|
| 144 |
},
|
| 145 |
{
|
| 146 |
"id": 2,
|
| 147 |
"type": "QwenImageEditPlusPipelineLoader",
|
| 148 |
-
"pos": [
|
| 149 |
-
|
| 150 |
-
450
|
| 151 |
-
],
|
| 152 |
-
"size": [
|
| 153 |
-
400,
|
| 154 |
-
100
|
| 155 |
-
],
|
| 156 |
"flags": {},
|
| 157 |
"order": 1,
|
| 158 |
"mode": 0,
|
|
@@ -160,31 +143,21 @@
|
|
| 160 |
{
|
| 161 |
"name": "PIPE",
|
| 162 |
"type": "PIPE",
|
| 163 |
-
"links": [
|
| 164 |
-
2
|
| 165 |
-
],
|
| 166 |
"slot_index": 0
|
| 167 |
}
|
| 168 |
],
|
| 169 |
"properties": {
|
| 170 |
"Node name for S&R": "QwenImageEditPlusPipelineLoader"
|
| 171 |
},
|
| 172 |
-
"widgets_values": [
|
| 173 |
-
"Qwen/Qwen-Image-Edit-2509"
|
| 174 |
-
],
|
| 175 |
"title": "Load QwenImageEditPlus Pipeline"
|
| 176 |
},
|
| 177 |
{
|
| 178 |
"id": 3,
|
| 179 |
"type": "QwenImageTransformer2DModelLoader",
|
| 180 |
-
"pos": [
|
| 181 |
-
|
| 182 |
-
600
|
| 183 |
-
],
|
| 184 |
-
"size": [
|
| 185 |
-
400,
|
| 186 |
-
120
|
| 187 |
-
],
|
| 188 |
"flags": {},
|
| 189 |
"order": 2,
|
| 190 |
"mode": 0,
|
|
@@ -192,33 +165,21 @@
|
|
| 192 |
{
|
| 193 |
"name": "TRANSFORMER",
|
| 194 |
"type": "TRANSFORMER",
|
| 195 |
-
"links": [
|
| 196 |
-
3
|
| 197 |
-
],
|
| 198 |
"slot_index": 0
|
| 199 |
}
|
| 200 |
],
|
| 201 |
"properties": {
|
| 202 |
"Node name for S&R": "QwenImageTransformer2DModelLoader"
|
| 203 |
},
|
| 204 |
-
"widgets_values": [
|
| 205 |
-
"linoyts/Qwen-Image-Edit-Rapid-AIO",
|
| 206 |
-
"transformer",
|
| 207 |
-
"bfloat16"
|
| 208 |
-
],
|
| 209 |
"title": "Load Rapid-AIO Transformer"
|
| 210 |
},
|
| 211 |
{
|
| 212 |
"id": 4,
|
| 213 |
"type": "LoadLoRAWeights",
|
| 214 |
-
"pos": [
|
| 215 |
-
|
| 216 |
-
450
|
| 217 |
-
],
|
| 218 |
-
"size": [
|
| 219 |
-
400,
|
| 220 |
-
150
|
| 221 |
-
],
|
| 222 |
"flags": {},
|
| 223 |
"order": 3,
|
| 224 |
"mode": 0,
|
|
@@ -233,9 +194,7 @@
|
|
| 233 |
{
|
| 234 |
"name": "PIPE",
|
| 235 |
"type": "PIPE",
|
| 236 |
-
"links": [
|
| 237 |
-
4
|
| 238 |
-
],
|
| 239 |
"slot_index": 0
|
| 240 |
}
|
| 241 |
],
|
|
@@ -254,14 +213,8 @@
|
|
| 254 |
{
|
| 255 |
"id": 5,
|
| 256 |
"type": "TextInput",
|
| 257 |
-
"pos": [
|
| 258 |
-
|
| 259 |
-
100
|
| 260 |
-
],
|
| 261 |
-
"size": [
|
| 262 |
-
400,
|
| 263 |
-
100
|
| 264 |
-
],
|
| 265 |
"flags": {},
|
| 266 |
"order": 4,
|
| 267 |
"mode": 0,
|
|
@@ -269,30 +222,20 @@
|
|
| 269 |
{
|
| 270 |
"name": "TEXT",
|
| 271 |
"type": "STRING",
|
| 272 |
-
"links": [
|
| 273 |
-
6
|
| 274 |
-
],
|
| 275 |
"slot_index": 0
|
| 276 |
}
|
| 277 |
],
|
| 278 |
"properties": {
|
| 279 |
"Node name for S&R": "TextInput"
|
| 280 |
},
|
| 281 |
-
"widgets_values": [
|
| 282 |
-
"Convert this photo to anime style"
|
| 283 |
-
]
|
| 284 |
},
|
| 285 |
{
|
| 286 |
"id": 6,
|
| 287 |
"type": "QwenImageEditPlusSampler",
|
| 288 |
-
"pos": [
|
| 289 |
-
|
| 290 |
-
100
|
| 291 |
-
],
|
| 292 |
-
"size": [
|
| 293 |
-
400,
|
| 294 |
-
520
|
| 295 |
-
],
|
| 296 |
"flags": {},
|
| 297 |
"order": 5,
|
| 298 |
"mode": 0,
|
|
@@ -322,37 +265,21 @@
|
|
| 322 |
{
|
| 323 |
"name": "IMAGE",
|
| 324 |
"type": "IMAGE",
|
| 325 |
-
"links": [
|
| 326 |
-
7
|
| 327 |
-
],
|
| 328 |
"slot_index": 0
|
| 329 |
}
|
| 330 |
],
|
| 331 |
"properties": {
|
| 332 |
"Node name for S&R": "QwenImageEditPlusSampler"
|
| 333 |
},
|
| 334 |
-
"widgets_values": [
|
| 335 |
-
0,
|
| 336 |
-
true,
|
| 337 |
-
4,
|
| 338 |
-
1.0,
|
| 339 |
-
1024,
|
| 340 |
-
1024,
|
| 341 |
-
1
|
| 342 |
-
],
|
| 343 |
"title": "Qwen Image Edit Plus Sampler"
|
| 344 |
},
|
| 345 |
{
|
| 346 |
"id": 7,
|
| 347 |
"type": "SaveImage",
|
| 348 |
-
"pos": [
|
| 349 |
-
|
| 350 |
-
100
|
| 351 |
-
],
|
| 352 |
-
"size": [
|
| 353 |
-
320,
|
| 354 |
-
400
|
| 355 |
-
],
|
| 356 |
"flags": {},
|
| 357 |
"order": 6,
|
| 358 |
"mode": 0,
|
|
@@ -366,21 +293,13 @@
|
|
| 366 |
"properties": {
|
| 367 |
"Node name for S&R": "SaveImage"
|
| 368 |
},
|
| 369 |
-
"widgets_values": [
|
| 370 |
-
"anime_output"
|
| 371 |
-
]
|
| 372 |
},
|
| 373 |
{
|
| 374 |
"id": 8,
|
| 375 |
"type": "Note",
|
| 376 |
-
"pos": [
|
| 377 |
-
|
| 378 |
-
770
|
| 379 |
-
],
|
| 380 |
-
"size": [
|
| 381 |
-
850,
|
| 382 |
-
220
|
| 383 |
-
],
|
| 384 |
"flags": {},
|
| 385 |
"order": 7,
|
| 386 |
"mode": 0,
|
|
@@ -394,86 +313,29 @@
|
|
| 394 |
}
|
| 395 |
],
|
| 396 |
"links": [
|
| 397 |
-
[
|
| 398 |
-
|
| 399 |
-
|
| 400 |
-
|
| 401 |
-
|
| 402 |
-
|
| 403 |
-
"IMAGE"
|
| 404 |
-
],
|
| 405 |
-
[
|
| 406 |
-
2,
|
| 407 |
-
2,
|
| 408 |
-
0,
|
| 409 |
-
4,
|
| 410 |
-
0,
|
| 411 |
-
"PIPE"
|
| 412 |
-
],
|
| 413 |
-
[
|
| 414 |
-
3,
|
| 415 |
-
3,
|
| 416 |
-
0,
|
| 417 |
-
6,
|
| 418 |
-
3,
|
| 419 |
-
"TRANSFORMER"
|
| 420 |
-
],
|
| 421 |
-
[
|
| 422 |
-
4,
|
| 423 |
-
4,
|
| 424 |
-
0,
|
| 425 |
-
6,
|
| 426 |
-
0,
|
| 427 |
-
"PIPE"
|
| 428 |
-
],
|
| 429 |
-
[
|
| 430 |
-
6,
|
| 431 |
-
5,
|
| 432 |
-
0,
|
| 433 |
-
6,
|
| 434 |
-
2,
|
| 435 |
-
"STRING"
|
| 436 |
-
],
|
| 437 |
-
[
|
| 438 |
-
7,
|
| 439 |
-
6,
|
| 440 |
-
0,
|
| 441 |
-
7,
|
| 442 |
-
0,
|
| 443 |
-
"IMAGE"
|
| 444 |
-
]
|
| 445 |
],
|
| 446 |
"groups": [
|
| 447 |
{
|
| 448 |
"title": "Model Loading",
|
| 449 |
-
"bounding": [
|
| 450 |
-
25,
|
| 451 |
-
25,
|
| 452 |
-
900,
|
| 453 |
-
750
|
| 454 |
-
],
|
| 455 |
"color": "#3f789e",
|
| 456 |
"font_size": 24
|
| 457 |
},
|
| 458 |
{
|
| 459 |
"title": "Generation",
|
| 460 |
-
"bounding": [
|
| 461 |
-
925,
|
| 462 |
-
25,
|
| 463 |
-
450,
|
| 464 |
-
670
|
| 465 |
-
],
|
| 466 |
"color": "#8A8A8A",
|
| 467 |
"font_size": 24
|
| 468 |
},
|
| 469 |
{
|
| 470 |
"title": "Output",
|
| 471 |
-
"bounding": [
|
| 472 |
-
1375,
|
| 473 |
-
25,
|
| 474 |
-
375,
|
| 475 |
-
550
|
| 476 |
-
],
|
| 477 |
"color": "#a1309b",
|
| 478 |
"font_size": 24
|
| 479 |
}
|
|
@@ -486,7 +348,11 @@
|
|
| 486 |
"version": "1.0.0",
|
| 487 |
"author": "anycoder",
|
| 488 |
"created_with": "https://huggingface.co/spaces/akhaliq/anycoder",
|
| 489 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 490 |
"lora_weight_name": "Qwen-Image-Edit-2509-Photo-to-Anime_000001000.safetensors",
|
| 491 |
"adapter_name": "anime",
|
| 492 |
"adapter_weight": 1.0
|
|
@@ -516,7 +382,7 @@
|
|
| 516 |
const url = URL.createObjectURL(blob);
|
| 517 |
const a = document.createElement('a');
|
| 518 |
a.href = url;
|
| 519 |
-
a.download = '
|
| 520 |
document.body.appendChild(a);
|
| 521 |
a.click();
|
| 522 |
document.body.removeChild(a);
|
|
|
|
| 93 |
</head>
|
| 94 |
<body>
|
| 95 |
<div class="header">
|
| 96 |
+
<h1>ComfyUI Workflow - Photo to Anime</h1>
|
| 97 |
<p>Built with <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank">anycoder</a></p>
|
| 98 |
</div>
|
| 99 |
|
|
|
|
| 102 |
|
| 103 |
<div class="json-container">
|
| 104 |
<pre id="json-content">{
|
| 105 |
+
"last_node_id": 8,
|
| 106 |
+
"last_link_id": 7,
|
| 107 |
"nodes": [
|
| 108 |
{
|
| 109 |
"id": 1,
|
| 110 |
"type": "LoadImage",
|
| 111 |
+
"pos": [50, 100],
|
| 112 |
+
"size": [320, 314],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
"flags": {},
|
| 114 |
"order": 0,
|
| 115 |
"mode": 0,
|
|
|
|
| 117 |
{
|
| 118 |
"name": "IMAGE",
|
| 119 |
"type": "IMAGE",
|
| 120 |
+
"links": [1],
|
|
|
|
|
|
|
| 121 |
"slot_index": 0
|
| 122 |
},
|
| 123 |
{
|
|
|
|
| 129 |
"properties": {
|
| 130 |
"Node name for S&R": "LoadImage"
|
| 131 |
},
|
| 132 |
+
"widgets_values": ["input_photo.png", "image"]
|
|
|
|
|
|
|
|
|
|
| 133 |
},
|
| 134 |
{
|
| 135 |
"id": 2,
|
| 136 |
"type": "QwenImageEditPlusPipelineLoader",
|
| 137 |
+
"pos": [50, 450],
|
| 138 |
+
"size": [400, 100],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 139 |
"flags": {},
|
| 140 |
"order": 1,
|
| 141 |
"mode": 0,
|
|
|
|
| 143 |
{
|
| 144 |
"name": "PIPE",
|
| 145 |
"type": "PIPE",
|
| 146 |
+
"links": [2],
|
|
|
|
|
|
|
| 147 |
"slot_index": 0
|
| 148 |
}
|
| 149 |
],
|
| 150 |
"properties": {
|
| 151 |
"Node name for S&R": "QwenImageEditPlusPipelineLoader"
|
| 152 |
},
|
| 153 |
+
"widgets_values": ["Qwen/Qwen-Image-Edit-2509"],
|
|
|
|
|
|
|
| 154 |
"title": "Load QwenImageEditPlus Pipeline"
|
| 155 |
},
|
| 156 |
{
|
| 157 |
"id": 3,
|
| 158 |
"type": "QwenImageTransformer2DModelLoader",
|
| 159 |
+
"pos": [50, 600],
|
| 160 |
+
"size": [400, 120],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 161 |
"flags": {},
|
| 162 |
"order": 2,
|
| 163 |
"mode": 0,
|
|
|
|
| 165 |
{
|
| 166 |
"name": "TRANSFORMER",
|
| 167 |
"type": "TRANSFORMER",
|
| 168 |
+
"links": [3],
|
|
|
|
|
|
|
| 169 |
"slot_index": 0
|
| 170 |
}
|
| 171 |
],
|
| 172 |
"properties": {
|
| 173 |
"Node name for S&R": "QwenImageTransformer2DModelLoader"
|
| 174 |
},
|
| 175 |
+
"widgets_values": ["linoyts/Qwen-Image-Edit-Rapid-AIO", "transformer", "bfloat16"],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 176 |
"title": "Load Rapid-AIO Transformer"
|
| 177 |
},
|
| 178 |
{
|
| 179 |
"id": 4,
|
| 180 |
"type": "LoadLoRAWeights",
|
| 181 |
+
"pos": [500, 450],
|
| 182 |
+
"size": [400, 150],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 183 |
"flags": {},
|
| 184 |
"order": 3,
|
| 185 |
"mode": 0,
|
|
|
|
| 194 |
{
|
| 195 |
"name": "PIPE",
|
| 196 |
"type": "PIPE",
|
| 197 |
+
"links": [4],
|
|
|
|
|
|
|
| 198 |
"slot_index": 0
|
| 199 |
}
|
| 200 |
],
|
|
|
|
| 213 |
{
|
| 214 |
"id": 5,
|
| 215 |
"type": "TextInput",
|
| 216 |
+
"pos": [500, 100],
|
| 217 |
+
"size": [400, 100],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 218 |
"flags": {},
|
| 219 |
"order": 4,
|
| 220 |
"mode": 0,
|
|
|
|
| 222 |
{
|
| 223 |
"name": "TEXT",
|
| 224 |
"type": "STRING",
|
| 225 |
+
"links": [6],
|
|
|
|
|
|
|
| 226 |
"slot_index": 0
|
| 227 |
}
|
| 228 |
],
|
| 229 |
"properties": {
|
| 230 |
"Node name for S&R": "TextInput"
|
| 231 |
},
|
| 232 |
+
"widgets_values": ["Convert this photo to anime style"]
|
|
|
|
|
|
|
| 233 |
},
|
| 234 |
{
|
| 235 |
"id": 6,
|
| 236 |
"type": "QwenImageEditPlusSampler",
|
| 237 |
+
"pos": [950, 100],
|
| 238 |
+
"size": [400, 520],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 239 |
"flags": {},
|
| 240 |
"order": 5,
|
| 241 |
"mode": 0,
|
|
|
|
| 265 |
{
|
| 266 |
"name": "IMAGE",
|
| 267 |
"type": "IMAGE",
|
| 268 |
+
"links": [7],
|
|
|
|
|
|
|
| 269 |
"slot_index": 0
|
| 270 |
}
|
| 271 |
],
|
| 272 |
"properties": {
|
| 273 |
"Node name for S&R": "QwenImageEditPlusSampler"
|
| 274 |
},
|
| 275 |
+
"widgets_values": [0, true, 4, 1.0, 1024, 1024, 1],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 276 |
"title": "Qwen Image Edit Plus Sampler"
|
| 277 |
},
|
| 278 |
{
|
| 279 |
"id": 7,
|
| 280 |
"type": "SaveImage",
|
| 281 |
+
"pos": [1400, 100],
|
| 282 |
+
"size": [320, 400],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 283 |
"flags": {},
|
| 284 |
"order": 6,
|
| 285 |
"mode": 0,
|
|
|
|
| 293 |
"properties": {
|
| 294 |
"Node name for S&R": "SaveImage"
|
| 295 |
},
|
| 296 |
+
"widgets_values": ["anime_output"]
|
|
|
|
|
|
|
| 297 |
},
|
| 298 |
{
|
| 299 |
"id": 8,
|
| 300 |
"type": "Note",
|
| 301 |
+
"pos": [50, 770],
|
| 302 |
+
"size": [850, 220],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 303 |
"flags": {},
|
| 304 |
"order": 7,
|
| 305 |
"mode": 0,
|
|
|
|
| 313 |
}
|
| 314 |
],
|
| 315 |
"links": [
|
| 316 |
+
[1, 1, 0, 6, 1, "IMAGE"],
|
| 317 |
+
[2, 2, 0, 4, 0, "PIPE"],
|
| 318 |
+
[3, 3, 0, 6, 3, "TRANSFORMER"],
|
| 319 |
+
[4, 4, 0, 6, 0, "PIPE"],
|
| 320 |
+
[6, 5, 0, 6, 2, "STRING"],
|
| 321 |
+
[7, 6, 0, 7, 0, "IMAGE"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 322 |
],
|
| 323 |
"groups": [
|
| 324 |
{
|
| 325 |
"title": "Model Loading",
|
| 326 |
+
"bounding": [25, 25, 900, 750],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 327 |
"color": "#3f789e",
|
| 328 |
"font_size": 24
|
| 329 |
},
|
| 330 |
{
|
| 331 |
"title": "Generation",
|
| 332 |
+
"bounding": [925, 25, 450, 670],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 333 |
"color": "#8A8A8A",
|
| 334 |
"font_size": 24
|
| 335 |
},
|
| 336 |
{
|
| 337 |
"title": "Output",
|
| 338 |
+
"bounding": [1375, 25, 375, 550],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 339 |
"color": "#a1309b",
|
| 340 |
"font_size": 24
|
| 341 |
}
|
|
|
|
| 348 |
"version": "1.0.0",
|
| 349 |
"author": "anycoder",
|
| 350 |
"created_with": "https://huggingface.co/spaces/akhaliq/anycoder",
|
| 351 |
+
"models": {
|
| 352 |
+
"pipeline": "Qwen/Qwen-Image-Edit-2509",
|
| 353 |
+
"transformer": "linoyts/Qwen-Image-Edit-Rapid-AIO",
|
| 354 |
+
"transformer_subfolder": "transformer",
|
| 355 |
+
"lora_repo": "autoweeb/Qwen-Image-Edit-2509-Photo-to-Anime",
|
| 356 |
"lora_weight_name": "Qwen-Image-Edit-2509-Photo-to-Anime_000001000.safetensors",
|
| 357 |
"adapter_name": "anime",
|
| 358 |
"adapter_weight": 1.0
|
|
|
|
| 382 |
const url = URL.createObjectURL(blob);
|
| 383 |
const a = document.createElement('a');
|
| 384 |
a.href = url;
|
| 385 |
+
a.download = 'photo_to_anime_workflow.json';
|
| 386 |
document.body.appendChild(a);
|
| 387 |
a.click();
|
| 388 |
document.body.removeChild(a);
|