From aa1fd99861967c4becc5930624c0f6dc828f3af7 Mon Sep 17 00:00:00 2001 From: shea-c4 Date: Tue, 24 Jun 2025 05:44:45 -0400 Subject: [PATCH 1/2] initial save from ltxv_image_to_video_simple.0.9.5.webp onto canvas and json format --- ltxv/ltxv_image_to_video_simple.0.9.5.json | 426 +++++++++++++++++++-- 1 file changed, 388 insertions(+), 38 deletions(-) diff --git a/ltxv/ltxv_image_to_video_simple.0.9.5.json b/ltxv/ltxv_image_to_video_simple.0.9.5.json index 547d5cb..4f35c10 100644 --- a/ltxv/ltxv_image_to_video_simple.0.9.5.json +++ b/ltxv/ltxv_image_to_video_simple.0.9.5.json @@ -11,21 +11,51 @@ ], "size": [ 315, - 98 + 106 ], "flags": {}, "order": 0, "mode": 0, - "inputs": [], + "inputs": [ + { + "localized_name": "clip_name", + "name": "clip_name", + "type": "COMBO", + "widget": { + "name": "clip_name" + }, + "link": null + }, + { + "localized_name": "type", + "name": "type", + "type": "COMBO", + "widget": { + "name": "type" + }, + "link": null + }, + { + "localized_name": "device", + "name": "device", + "shape": 7, + "type": "COMBO", + "widget": { + "name": "device" + }, + "link": null + } + ], "outputs": [ { + "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", + "slot_index": 0, "links": [ 74, 75 - ], - "slot_index": 0 + ] } ], "properties": { @@ -74,29 +104,42 @@ "flags": {}, "order": 2, "mode": 0, - "inputs": [], + "inputs": [ + { + "localized_name": "ckpt_name", + "name": "ckpt_name", + "type": "COMBO", + "widget": { + "name": "ckpt_name" + }, + "link": null + } + ], "outputs": [ { + "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", + "slot_index": 0, "links": [ 181 - ], - "slot_index": 0 + ] }, { + "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", "links": null }, { + "localized_name": "VAE", "name": "VAE", "type": "VAE", + "slot_index": 2, "links": [ 87, 250 - ], - "slot_index": 2 + ] } ], "properties": { @@ -122,20 +165,67 @@ "mode": 0, "inputs": [ { + "localized_name": "latent", "name": "latent", - "type": "LATENT", "shape": 7, + "type": "LATENT", "link": 249 + }, + { + "localized_name": "steps", + "name": "steps", + "type": "INT", + "widget": { + "name": "steps" + }, + "link": null + }, + { + "localized_name": "max_shift", + "name": "max_shift", + "type": "FLOAT", + "widget": { + "name": "max_shift" + }, + "link": null + }, + { + "localized_name": "base_shift", + "name": "base_shift", + "type": "FLOAT", + "widget": { + "name": "base_shift" + }, + "link": null + }, + { + "localized_name": "stretch", + "name": "stretch", + "type": "BOOLEAN", + "widget": { + "name": "stretch" + }, + "link": null + }, + { + "localized_name": "terminal", + "name": "terminal", + "type": "FLOAT", + "widget": { + "name": "terminal" + }, + "link": null } ], "outputs": [ { + "localized_name": "SIGMAS", "name": "SIGMAS", "type": "SIGMAS", + "slot_index": 0, "links": [ 182 - ], - "slot_index": 0 + ] } ], "properties": { @@ -163,9 +253,20 @@ "flags": {}, "order": 3, "mode": 0, - "inputs": [], + "inputs": [ + { + "localized_name": "sampler_name", + "name": "sampler_name", + "type": "COMBO", + "widget": { + "name": "sampler_name" + }, + "link": null + } + ], "outputs": [ { + "localized_name": "SAMPLER", "name": "SAMPLER", "type": "SAMPLER", "links": [ @@ -194,17 +295,38 @@ "flags": {}, "order": 4, "mode": 0, - "inputs": [], + "inputs": [ + { + "localized_name": "image", + "name": "image", + "type": "COMBO", + "widget": { + "name": "image" + }, + "link": null + }, + { + "localized_name": "choose file to upload", + "name": "upload", + "type": "IMAGEUPLOAD", + "widget": { + "name": "upload" + }, + "link": null + } + ], "outputs": [ { + "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", + "slot_index": 0, "links": [ 226 - ], - "slot_index": 0 + ] }, { + "localized_name": "MASK", "name": "MASK", "type": "MASK", "links": null @@ -234,11 +356,13 @@ "mode": 0, "inputs": [ { + "localized_name": "samples", "name": "samples", "type": "LATENT", "link": 235 }, { + "localized_name": "vae", "name": "vae", "type": "VAE", "link": 87 @@ -246,13 +370,14 @@ ], "outputs": [ { + "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", + "slot_index": 0, "links": [ 106, 217 - ], - "slot_index": 0 + ] } ], "properties": { @@ -276,9 +401,46 @@ "mode": 4, "inputs": [ { + "localized_name": "images", "name": "images", "type": "IMAGE", "link": 217 + }, + { + "localized_name": "filename_prefix", + "name": "filename_prefix", + "type": "STRING", + "widget": { + "name": "filename_prefix" + }, + "link": null + }, + { + "localized_name": "codec", + "name": "codec", + "type": "COMBO", + "widget": { + "name": "codec" + }, + "link": null + }, + { + "localized_name": "fps", + "name": "fps", + "type": "FLOAT", + "widget": { + "name": "fps" + }, + "link": null + }, + { + "localized_name": "crf", + "name": "crf", + "type": "FLOAT", + "widget": { + "name": "crf" + }, + "link": null } ], "outputs": [], @@ -308,9 +470,55 @@ "mode": 0, "inputs": [ { + "localized_name": "images", "name": "images", "type": "IMAGE", "link": 106 + }, + { + "localized_name": "filename_prefix", + "name": "filename_prefix", + "type": "STRING", + "widget": { + "name": "filename_prefix" + }, + "link": null + }, + { + "localized_name": "fps", + "name": "fps", + "type": "FLOAT", + "widget": { + "name": "fps" + }, + "link": null + }, + { + "localized_name": "lossless", + "name": "lossless", + "type": "BOOLEAN", + "widget": { + "name": "lossless" + }, + "link": null + }, + { + "localized_name": "quality", + "name": "quality", + "type": "INT", + "widget": { + "name": "quality" + }, + "link": null + }, + { + "localized_name": "method", + "name": "method", + "type": "COMBO", + "widget": { + "name": "method" + }, + "link": null } ], "outputs": [], @@ -339,32 +547,45 @@ "mode": 0, "inputs": [ { + "localized_name": "positive", "name": "positive", "type": "CONDITIONING", "link": 245 }, { + "localized_name": "negative", "name": "negative", "type": "CONDITIONING", "link": 246 + }, + { + "localized_name": "frame_rate", + "name": "frame_rate", + "type": "FLOAT", + "widget": { + "name": "frame_rate" + }, + "link": null } ], "outputs": [ { + "localized_name": "positive", "name": "positive", "type": "CONDITIONING", + "slot_index": 0, "links": [ 199 - ], - "slot_index": 0 + ] }, { + "localized_name": "negative", "name": "negative", "type": "CONDITIONING", + "slot_index": 1, "links": [ 167 - ], - "slot_index": 1 + ] } ], "properties": { @@ -390,19 +611,30 @@ "mode": 0, "inputs": [ { + "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 74 + }, + { + "localized_name": "text", + "name": "text", + "type": "STRING", + "widget": { + "name": "text" + }, + "link": null } ], "outputs": [ { + "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", + "slot_index": 0, "links": [ 239 - ], - "slot_index": 0 + ] } ], "title": "CLIP Text Encode (Positive Prompt)", @@ -431,19 +663,30 @@ "mode": 0, "inputs": [ { + "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 75 + }, + { + "localized_name": "text", + "name": "text", + "type": "STRING", + "widget": { + "name": "text" + }, + "link": null } ], "outputs": [ { + "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", + "slot_index": 0, "links": [ 240 - ], - "slot_index": 0 + ] } ], "title": "CLIP Text Encode (Negative Prompt)", @@ -472,19 +715,30 @@ "mode": 0, "inputs": [ { + "localized_name": "image", "name": "image", "type": "IMAGE", "link": 226 + }, + { + "localized_name": "img_compression", + "name": "img_compression", + "type": "INT", + "widget": { + "name": "img_compression" + }, + "link": null } ], "outputs": [ { + "localized_name": "output_image", "name": "output_image", "type": "IMAGE", + "slot_index": 0, "links": [ 248 - ], - "slot_index": 0 + ] } ], "properties": { @@ -503,58 +757,110 @@ ], "size": [ 315, - 190 + 214 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { + "localized_name": "positive", "name": "positive", "type": "CONDITIONING", "link": 239 }, { + "localized_name": "negative", "name": "negative", "type": "CONDITIONING", "link": 240 }, { + "localized_name": "vae", "name": "vae", "type": "VAE", "link": 250 }, { + "localized_name": "image", "name": "image", "type": "IMAGE", "link": 248 + }, + { + "localized_name": "width", + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": null + }, + { + "localized_name": "height", + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": null + }, + { + "localized_name": "length", + "name": "length", + "type": "INT", + "widget": { + "name": "length" + }, + "link": null + }, + { + "localized_name": "batch_size", + "name": "batch_size", + "type": "INT", + "widget": { + "name": "batch_size" + }, + "link": null + }, + { + "localized_name": "strength", + "name": "strength", + "type": "FLOAT", + "widget": { + "name": "strength" + }, + "link": null } ], "outputs": [ { + "localized_name": "positive", "name": "positive", "type": "CONDITIONING", + "slot_index": 0, "links": [ 245 - ], - "slot_index": 0 + ] }, { + "localized_name": "negative", "name": "negative", "type": "CONDITIONING", + "slot_index": 1, "links": [ 246 - ], - "slot_index": 1 + ] }, { + "localized_name": "latent", "name": "latent", "type": "LATENT", + "slot_index": 2, "links": [ 247, 249 - ], - "slot_index": 2 + ] } ], "properties": { @@ -564,6 +870,7 @@ 768, 512, 97, + 1, 1 ] }, @@ -583,46 +890,81 @@ "mode": 0, "inputs": [ { + "localized_name": "model", "name": "model", "type": "MODEL", "link": 181 }, { + "localized_name": "positive", "name": "positive", "type": "CONDITIONING", "link": 199 }, { + "localized_name": "negative", "name": "negative", "type": "CONDITIONING", "link": 167 }, { + "localized_name": "sampler", "name": "sampler", "type": "SAMPLER", "link": 172 }, { + "localized_name": "sigmas", "name": "sigmas", "type": "SIGMAS", "link": 182 }, { + "localized_name": "latent_image", "name": "latent_image", "type": "LATENT", "link": 247 + }, + { + "localized_name": "add_noise", + "name": "add_noise", + "type": "BOOLEAN", + "widget": { + "name": "add_noise" + }, + "link": null + }, + { + "localized_name": "noise_seed", + "name": "noise_seed", + "type": "INT", + "widget": { + "name": "noise_seed" + }, + "link": null + }, + { + "localized_name": "cfg", + "name": "cfg", + "type": "FLOAT", + "widget": { + "name": "cfg" + }, + "link": null } ], "outputs": [ { + "localized_name": "output", "name": "output", "type": "LATENT", + "slot_index": 0, "links": [ 235 - ], - "slot_index": 0 + ] }, { + "localized_name": "denoised_output", "name": "denoised_output", "type": "LATENT", "links": null @@ -803,6 +1145,14 @@ ], "groups": [], "config": {}, - "extra": {}, + "extra": { + "ds": { + "scale": 0.7627768444385561, + "offset": [ + 24.90243898352245, + 269.4444976470696 + ] + } + }, "version": 0.4 } \ No newline at end of file From 7c5e65b9a8248a97ac7939795e2dbf85b5193c13 Mon Sep 17 00:00:00 2001 From: shea-c4 Date: Tue, 24 Jun 2025 05:54:15 -0400 Subject: [PATCH 2/2] add CreateVideo and SaveVideo nodes --- ltxv/ltxv_image_to_video_simple.0.9.5.json | 229 ++++++++++++++++----- 1 file changed, 180 insertions(+), 49 deletions(-) diff --git a/ltxv/ltxv_image_to_video_simple.0.9.5.json b/ltxv/ltxv_image_to_video_simple.0.9.5.json index 4f35c10..64985ad 100644 --- a/ltxv/ltxv_image_to_video_simple.0.9.5.json +++ b/ltxv/ltxv_image_to_video_simple.0.9.5.json @@ -1,6 +1,6 @@ { - "last_node_id": 95, - "last_link_id": 250, + "last_node_id": 97, + "last_link_id": 252, "nodes": [ { "id": 38, @@ -340,51 +340,6 @@ "image" ] }, - { - "id": 8, - "type": "VAEDecode", - "pos": [ - 1740, - 30 - ], - "size": [ - 210, - 46 - ], - "flags": {}, - "order": 12, - "mode": 0, - "inputs": [ - { - "localized_name": "samples", - "name": "samples", - "type": "LATENT", - "link": 235 - }, - { - "localized_name": "vae", - "name": "vae", - "type": "VAE", - "link": 87 - } - ], - "outputs": [ - { - "localized_name": "IMAGE", - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 106, - 217 - ] - } - ], - "properties": { - "Node name for S&R": "VAEDecode" - }, - "widgets_values": [] - }, { "id": 86, "type": "SaveWEBM", @@ -975,10 +930,170 @@ }, "widgets_values": [ true, - 1092847494041144, + 657734780364241, "randomize", 3 ] + }, + { + "id": 8, + "type": "VAEDecode", + "pos": [ + 1740, + 30 + ], + "size": [ + 210, + 46 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "localized_name": "samples", + "name": "samples", + "type": "LATENT", + "link": 235 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 87 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 106, + 217, + 251 + ] + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + }, + "widgets_values": [] + }, + { + "id": 96, + "type": "CreateVideo", + "pos": [ + 1982.8934326171875, + 601.714111328125 + ], + "size": [ + 270, + 78 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "localized_name": "images", + "name": "images", + "type": "IMAGE", + "link": 251 + }, + { + "localized_name": "audio", + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "localized_name": "fps", + "name": "fps", + "type": "FLOAT", + "widget": { + "name": "fps" + }, + "link": null + } + ], + "outputs": [ + { + "localized_name": "VIDEO", + "name": "VIDEO", + "type": "VIDEO", + "links": [ + 252 + ] + } + ], + "properties": { + "Node name for S&R": "CreateVideo" + }, + "widgets_values": [ + 30 + ] + }, + { + "id": 97, + "type": "SaveVideo", + "pos": [ + 2334.2412109375, + 600.4036865234375 + ], + "size": [ + 516.4678955078125, + 485.1379089355469 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "localized_name": "video", + "name": "video", + "type": "VIDEO", + "link": 252 + }, + { + "localized_name": "filename_prefix", + "name": "filename_prefix", + "type": "STRING", + "widget": { + "name": "filename_prefix" + }, + "link": null + }, + { + "localized_name": "format", + "name": "format", + "type": "COMBO", + "widget": { + "name": "format" + }, + "link": null + }, + { + "localized_name": "codec", + "name": "codec", + "type": "COMBO", + "widget": { + "name": "codec" + }, + "link": null + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "SaveVideo" + }, + "widgets_values": [ + "video/ComfyUI", + "mp4", + "h264" + ] } ], "links": [ @@ -1141,6 +1256,22 @@ 95, 2, "VAE" + ], + [ + 251, + 8, + 0, + 96, + 0, + "IMAGE" + ], + [ + 252, + 96, + 0, + 97, + 0, + "VIDEO" ] ], "groups": [], @@ -1150,7 +1281,7 @@ "scale": 0.7627768444385561, "offset": [ 24.90243898352245, - 269.4444976470696 + 270.7554970662196 ] } },