This commit is contained in:
ZHO-ZHO-ZHO
2024-03-19 20:34:18 +08:00
committed by GitHub
parent 1b44e10816
commit 15d6e83eef
2 changed files with 478 additions and 0 deletions
@@ -0,0 +1,177 @@
{
"last_node_id": 23,
"last_link_id": 39,
"nodes": [
{
"id": 2,
"type": "APISR_ModelLoader_Zho",
"pos": [
360,
340
],
"size": {
"0": 400,
"1": 60
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "pipe",
"type": "APISRMODEL",
"links": [
21
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "APISR_ModelLoader_Zho"
},
"widgets_values": [
"4x_APISR_GRL_GAN_generator.pth"
]
},
{
"id": 14,
"type": "APISR_Zho",
"pos": [
360,
450
],
"size": {
"0": 400,
"1": 102
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "pipe",
"type": "APISRMODEL",
"link": 21
},
{
"name": "image",
"type": "IMAGE",
"link": 22,
"slot_index": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
23
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "APISR_Zho"
},
"widgets_values": [
false,
"float32"
]
},
{
"id": 15,
"type": "LoadImage",
"pos": [
360,
600
],
"size": [
400,
314.00008392333984
],
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
22
],
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"u=2147207387,2964797006&fm=253&fmt=auto&app=138&f=JPEG.webp",
"image"
]
},
{
"id": 16,
"type": "PreviewImage",
"pos": [
780,
340
],
"size": {
"0": 1000,
"1": 570
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 23
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
}
],
"links": [
[
21,
2,
0,
14,
0,
"APISRMODEL"
],
[
22,
15,
0,
14,
1,
"IMAGE"
],
[
23,
14,
0,
16,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}
@@ -0,0 +1,301 @@
{
"last_node_id": 13,
"last_link_id": 25,
"nodes": [
{
"id": 3,
"type": "APISR_ModelLoader_Zho",
"pos": [
550,
1970
],
"size": [
550,
60
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "pipe",
"type": "APISRMODEL",
"links": [
21
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "APISR_ModelLoader_Zho"
},
"widgets_values": [
"4x_APISR_GRL_GAN_generator.pth"
]
},
{
"id": 9,
"type": "APISR_Lterative_Zho",
"pos": [
550,
2080
],
"size": [
550,
100
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "pipe",
"type": "APISRMODEL",
"link": 21,
"slot_index": 0
},
{
"name": "image",
"type": "IMAGE",
"link": 23,
"slot_index": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
24
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "APISR_Lterative_Zho"
},
"widgets_values": [
true,
"float32"
]
},
{
"id": 13,
"type": "SplitImageWithAlpha",
"pos": [
550,
2230
],
"size": [
550,
50
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 24
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
25
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SplitImageWithAlpha"
}
},
{
"id": 11,
"type": "VHS_LoadVideo",
"pos": [
550,
2330
],
"size": [
550,
560
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "batch_manager",
"type": "VHS_BatchManager",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
23
],
"shape": 3,
"slot_index": 0
},
{
"name": "frame_count",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "audio",
"type": "VHS_AUDIO",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VHS_LoadVideo"
},
"widgets_values": {
"video": "3月19日.mp4",
"force_rate": 0,
"force_size": "Disabled",
"custom_width": 512,
"custom_height": 512,
"frame_load_cap": 30,
"skip_first_frames": 0,
"select_every_nth": 1,
"choose video to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"frame_load_cap": 30,
"skip_first_frames": 0,
"force_rate": 0,
"select_every_nth": 1,
"filename": "3月19日.mp4",
"type": "input",
"format": "video/mp4"
}
}
}
},
{
"id": 12,
"type": "VHS_VideoCombine",
"pos": [
1120,
1970
],
"size": [
1130,
920
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 25
},
{
"name": "audio",
"type": "VHS_AUDIO",
"link": null
},
{
"name": "batch_manager",
"type": "VHS_BatchManager",
"link": null
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 30,
"loop_count": 0,
"filename_prefix": "APISR",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "APISR_00001.mp4",
"subfolder": "",
"type": "output",
"format": "video/h264-mp4"
}
}
}
}
],
"links": [
[
21,
3,
0,
9,
0,
"APISRMODEL"
],
[
23,
11,
0,
9,
1,
"IMAGE"
],
[
24,
9,
0,
13,
0,
"IMAGE"
],
[
25,
13,
0,
12,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}