Add a description of what you changed

This commit is contained in:
SS-snap
2024-10-03 18:18:20 +08:00
parent d60c06e805
commit cf5d0b46e6
4 changed files with 142 additions and 201 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 464 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

@@ -1,86 +1,17 @@
{
"last_node_id": 17,
"last_link_id": 32,
"last_node_id": 36,
"last_link_id": 39,
"nodes": [
{
"id": 3,
"type": "PreviewImage",
"id": 29,
"type": "PyQtCanvasNode",
"pos": {
"0": 913.2920532226562,
"1": 353.52850341796875
},
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 2,
"label": "图像"
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 2,
"type": "LoadImage",
"pos": {
"0": 307.2921142578125,
"1": 162.52877807617188
"0": 1484,
"1": 287
},
"size": {
"0": 315,
"1": 314.00006103515625
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
1
],
"shape": 3,
"label": "图像"
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3,
"label": "遮罩"
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"1.png",
"image"
]
},
{
"id": 4,
"type": "Snapload",
"pos": {
"0": 663.2920532226562,
"1": 353.52850341796875
},
"size": {
"0": 210,
"1": 54
"1": 122
},
"flags": {},
"order": 2,
@@ -88,8 +19,64 @@
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 33,
"label": "image"
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": null,
"shape": 3,
"label": "IMAGE"
},
{
"name": "INT",
"type": "INT",
"links": null,
"shape": 3,
"label": "INT"
},
{
"name": "STRING",
"type": "STRING",
"link": 3,
"links": [
38
],
"slot_index": 2,
"shape": 3,
"label": "STRING"
}
],
"properties": {
"Node name for S&R": "PyQtCanvasNode"
},
"widgets_values": [
957347885612995,
"randomize"
]
},
{
"id": 34,
"type": "Snapload",
"pos": {
"0": 1486,
"1": 479
},
"size": [
210,
54
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "STRING",
"link": 38,
"widget": {
"name": "image"
},
@@ -101,7 +88,7 @@
"name": "IMAGE",
"type": "IMAGE",
"links": [
2
39
],
"slot_index": 0,
"shape": 3,
@@ -119,183 +106,137 @@
"Node name for S&R": "Snapload"
},
"widgets_values": [
"123"
"请转换为输入并SnapCanvas的string输出"
]
},
{
"id": 1,
"type": "PyQtCanvasNode",
"id": 35,
"type": "PreviewImage",
"pos": {
"0": 653.2920532226562,
"1": 163.52877807617188
"0": 1746,
"1": 478
},
"size": {
"0": 315,
"1": 122
"0": 210,
"1": 246
},
"flags": {},
"order": 1,
"order": 4,
"mode": 0,
"inputs": [
{
"name": "image",
"name": "images",
"type": "IMAGE",
"link": 1,
"slot_index": 0,
"label": "image"
"link": 39,
"label": "图像"
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 1,
"type": "LoadImage",
"pos": {
"0": 1071,
"1": 286
},
"size": [
374.88444003954146,
358.9410806811363
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"links": [
33
],
"slot_index": 0,
"shape": 3,
"label": "IMAGE"
"label": "图像"
},
{
"name": "INT",
"type": "INT",
"name": "MASK",
"type": "MASK",
"links": null,
"slot_index": 1,
"shape": 3,
"label": "INT"
},
{
"name": "STRING",
"type": "STRING",
"links": [
3
],
"slot_index": 2,
"shape": 3,
"label": "STRING"
"label": "遮罩"
}
],
"properties": {
"Node name for S&R": "PyQtCanvasNode"
"Node name for S&R": "LoadImage"
},
"widgets_values": [
867571087443497,
"randomize"
"R (1).jpg",
"image"
]
},
{
"id": 36,
"type": "Note",
"pos": {
"0": 1825,
"1": 290
},
"size": [
294.04107481327173,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"https://github.com/SS-snap/ComfyUI-Snap_Processing"
],
"color": "#432",
"bgcolor": "#653"
}
],
"links": [
[
33,
1,
2,
0,
1,
29,
0,
"IMAGE"
],
[
38,
29,
2,
4,
0,
3,
0,
"IMAGE"
],
[
3,
1,
2,
4,
34,
0,
"STRING"
],
[
23,
10,
2,
13,
1,
"VAE"
],
[
24,
10,
1,
15,
39,
34,
0,
"CLIP"
],
[
25,
10,
1,
16,
35,
0,
"CLIP"
],
[
26,
11,
0,
5,
0,
"MODEL"
],
[
27,
10,
2,
5,
1,
"VAE"
],
[
28,
10,
2,
13,
1,
"VAE"
],
[
29,
10,
1,
15,
0,
"CLIP"
],
[
30,
10,
1,
16,
0,
"CLIP"
],
[
31,
11,
0,
5,
0,
"MODEL"
],
[
32,
10,
2,
5,
1,
"VAE"
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.8769226950000005,
"scale": 1.061076460950001,
"offset": [
-155.482269502211,
130.50066223270278
-549.6248065456915,
66.60047903269883
]
}
},