diff --git a/assets/Image2Video.png b/assets/Image2Video.png index aba4b6a..91e1816 100644 Binary files a/assets/Image2Video.png and b/assets/Image2Video.png differ diff --git a/assets/Text2Image.png b/assets/Text2Image.png index ceccfd8..1f1cbd1 100644 Binary files a/assets/Text2Image.png and b/assets/Text2Image.png differ diff --git a/assets/Text2Video.png b/assets/Text2Video.png index 8f80769..0bfb8e6 100644 Binary files a/assets/Text2Video.png and b/assets/Text2Video.png differ diff --git a/py/nodes.py b/py/nodes.py index f637747..904023d 100644 --- a/py/nodes.py +++ b/py/nodes.py @@ -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", } diff --git a/workflows/Image2Video.json b/workflows/Image2Video.json index 1a33a27..9ea8c21 100644 --- a/workflows/Image2Video.json +++ b/workflows/Image2Video.json @@ -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 ] } }, diff --git a/workflows/Text2Image.json b/workflows/Text2Image.json index 8bbbce9..20173d6 100644 --- a/workflows/Text2Image.json +++ b/workflows/Text2Image.json @@ -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 ] } }, diff --git a/workflows/Text2Video.json b/workflows/Text2Video.json index c9b22df..a44affc 100644 --- a/workflows/Text2Video.json +++ b/workflows/Text2Video.json @@ -225,10 +225,10 @@ "config": {}, "extra": { "ds": { - "scale": 0.9090909090909091, + "scale": 1, "offset": [ - 82.35540791217758, - 43.9236552902156 + 27.296015336853458, + 23.27400540967993 ] } },