custom node name begin with Haiper

This commit is contained in:
Tuo He
2024-11-21 00:15:41 +08:00
parent 803fad0074
commit 19af85820d
7 changed files with 129 additions and 129 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 501 KiB

After

Width:  |  Height:  |  Size: 410 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 388 KiB

After

Width:  |  Height:  |  Size: 442 KiB

+3 -3
View File
@@ -16,7 +16,7 @@ NODE_CLASS_MAPPINGS = {
# A dictionary that contains the friendly/humanly readable titles for the nodes
NODE_DISPLAY_NAME_MAPPINGS = {
"ImgBBUpload": "ImgBB Upload",
"HaiperImage2Video": "Image to Video",
"HaiperText2Video": "Text to Video",
"HaiperText2Image": "Text to Image",
"HaiperImage2Video": "Haiper Image to Video",
"HaiperText2Video": "Haiper Text to Video",
"HaiperText2Image": "Haiper Text to Image",
}
+54 -54
View File
@@ -76,55 +76,6 @@
},
"widgets_values": []
},
{
"id": 2,
"type": "HaiperImage2Video",
"pos": [
755,
257
],
"size": [
315,
250
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "source_image",
"type": "STRING",
"link": 2,
"widget": {
"name": "source_image"
}
}
],
"outputs": [
{
"name": "output_video_path",
"type": "STRING",
"links": [
3
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "HaiperImage2Video"
},
"widgets_values": [
"She is smiling.",
"add source image url here",
6,
1161,
"randomize",
720,
false,
false,
50
]
},
{
"id": 4,
"type": "VHS_VideoCombine",
@@ -188,10 +139,10 @@
"hidden": false,
"paused": false,
"params": {
"filename": "AnimateDiff_00001.gif",
"filename": "AnimateDiff_00004.mp4",
"subfolder": "",
"type": "output",
"format": "image/gif",
"format": "video/h264-mp4",
"frame_rate": 8
},
"muted": false
@@ -283,6 +234,55 @@
"muted": false
}
}
},
{
"id": 2,
"type": "HaiperImage2Video",
"pos": [
755,
257
],
"size": [
315,
250
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "source_image",
"type": "STRING",
"link": 2,
"widget": {
"name": "source_image"
}
}
],
"outputs": [
{
"name": "output_video_path",
"type": "STRING",
"links": [
3
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "HaiperImage2Video"
},
"widgets_values": [
"She is dancing.",
"add source image url here",
6,
210,
"randomize",
720,
false,
false,
50
]
}
],
"links": [
@@ -323,10 +323,10 @@
"config": {},
"extra": {
"ds": {
"scale": 1,
"scale": 0.8264462809917354,
"offset": [
-9.889691519640792,
-1.1716572097846054
108.10898408685355,
84.20134915968002
]
}
},
+69 -69
View File
@@ -2,69 +2,6 @@
"last_node_id": 9,
"last_link_id": 9,
"nodes": [
{
"id": 1,
"type": "HaiperText2Image",
"pos": [
370,
243
],
"size": [
315,
306
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "output_image_dir_path",
"type": "STRING",
"links": [
2,
3,
4,
5
],
"slot_index": 0
},
{
"name": "output_image_0_path",
"type": "STRING",
"links": [],
"slot_index": 1
},
{
"name": "output_image_1_path",
"type": "STRING",
"links": null
},
{
"name": "output_image_2_path",
"type": "STRING",
"links": null
},
{
"name": "output_image_3_path",
"type": "STRING",
"links": null
}
],
"properties": {
"Node name for S&R": "HaiperText2Image"
},
"widgets_values": [
"a boy is smiling",
"bad, slow",
1083,
"randomize",
"16:9",
720,
false,
true
]
},
{
"id": 2,
"type": "VHS_LoadImagesPath",
@@ -358,7 +295,7 @@
],
"size": [
300.1227111816406,
187.67401123046875
246
],
"flags": {},
"order": 7,
@@ -385,7 +322,7 @@
],
"size": [
297.2323303222656,
196.14889526367188
246
],
"flags": {},
"order": 6,
@@ -412,7 +349,7 @@
],
"size": [
289.838623046875,
198.70523071289062
246
],
"flags": {},
"order": 5,
@@ -439,7 +376,7 @@
],
"size": [
307.3887023925781,
193.6510467529297
246
],
"flags": {},
"order": 8,
@@ -456,6 +393,69 @@
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 1,
"type": "HaiperText2Image",
"pos": [
370,
243
],
"size": [
315,
306
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "output_image_dir_path",
"type": "STRING",
"links": [
2,
3,
4,
5
],
"slot_index": 0
},
{
"name": "output_image_0_path",
"type": "STRING",
"links": [],
"slot_index": 1
},
{
"name": "output_image_1_path",
"type": "STRING",
"links": null
},
{
"name": "output_image_2_path",
"type": "STRING",
"links": null
},
{
"name": "output_image_3_path",
"type": "STRING",
"links": null
}
],
"properties": {
"Node name for S&R": "HaiperText2Image"
},
"widgets_values": [
"a girl is smiling",
"bad, slow",
1115,
"randomize",
"16:9",
720,
false,
true
]
}
],
"links": [
@@ -530,8 +530,8 @@
"ds": {
"scale": 0.8264462809917354,
"offset": [
-22.57561434659083,
88.04004545454586
-23.436623157464044,
48.06179176040323
]
}
},
+3 -3
View File
@@ -225,10 +225,10 @@
"config": {},
"extra": {
"ds": {
"scale": 0.9090909090909091,
"scale": 1,
"offset": [
82.35540791217758,
43.9236552902156
27.296015336853458,
23.27400540967993
]
}
},