From 4e963520e55ed93ba0d71f0a1b74c81978e8d4f9 Mon Sep 17 00:00:00 2001 From: VjumpKunG Date: Wed, 24 Dec 2025 22:24:51 +0700 Subject: [PATCH] update workflow --- README.md | 4 +- workflows/STAR-example-workflow.json | 187 +++++++++++++++------------ 2 files changed, 107 insertions(+), 84 deletions(-) diff --git a/README.md b/README.md index bf10249..230d43b 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ pip install -r requirements.txt 3. Configure the parameters: - **Model**: Choose "Light Degradation" or "Heavy Degradation" - **Prompt**: Describe the desired output (e.g., "a high quality video") - - **Upscale**: Select upscaling factor (2-4x) + - **Resolution**: Target Resolution (720p, 1080p, 2160p, ...) - **Steps**: Number of denoising steps (15-50 recommended) - **CFG**: Guidance scale (7.5 default) - **Sampler**: Choose sampling method @@ -62,7 +62,7 @@ pip install -r requirements.txt | ------------- | ----------------------------- | ----------------- | ----------------- | | model | Degradation type | Light Degradation | Light/Heavy | | prompt | Text guidance for enhancement | "a good video" | - | -| upscale | Upscaling factor | 4 | 2-4 | +| resolution | Target Resolution | 720 | 16-16384 | | max_chunk_len | Maximum frames per chunk | 32 | 1-128 | | cfg | Guidance scale | 7.5 | 0.0-20.0 | | sampler | Sampling method | dpmpp_2m_sde | heun/dpmpp_2m_sde | diff --git a/workflows/STAR-example-workflow.json b/workflows/STAR-example-workflow.json index beb8610..cbaf845 100644 --- a/workflows/STAR-example-workflow.json +++ b/workflows/STAR-example-workflow.json @@ -1,86 +1,9 @@ { "id": "f0bce436-ca7c-453d-8f96-d287c25cf130", "revision": 0, - "last_node_id": 6, + "last_node_id": 7, "last_link_id": 5, "nodes": [ - { - "id": 2, - "type": "VHS_VideoCombine", - "pos": [ - 1154.958677685951, - 306.6942148760332 - ], - "size": [ - 334.1807744573441, - 334 - ], - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 4 - }, - { - "name": "audio", - "shape": 7, - "type": "AUDIO", - "link": null - }, - { - "name": "meta_batch", - "shape": 7, - "type": "VHS_BatchManager", - "link": null - }, - { - "name": "vae", - "shape": 7, - "type": "VAE", - "link": null - } - ], - "outputs": [ - { - "name": "Filenames", - "type": "VHS_FILENAMES", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-videohelpersuite", - "ver": "1.7.9", - "Node name for S&R": "VHS_VideoCombine" - }, - "widgets_values": { - "frame_rate": 16, - "loop_count": 0, - "filename_prefix": "STAR-Upscaled", - "format": "video/h264-mp4", - "pix_fmt": "yuv420p", - "crf": 19, - "save_metadata": true, - "trim_to_audio": true, - "pingpong": false, - "save_output": true, - "videopreview": { - "hidden": false, - "paused": false, - "params": { - "filename": "AnimateDiff_00002.mp4", - "subfolder": "", - "type": "output", - "format": "video/h264-mp4", - "frame_rate": 15, - "workflow": "AnimateDiff_00002.png", - "fullpath": "/notebooks/output_images/AnimateDiff_00002.mp4" - } - } - } - }, { "id": 3, "type": "VHS_LoadVideo", @@ -164,6 +87,83 @@ } } }, + { + "id": 2, + "type": "VHS_VideoCombine", + "pos": [ + 1154.958677685951, + 306.6942148760332 + ], + "size": [ + 334.1807744573441, + 334 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 4 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.9", + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "STAR-Upscaled", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": true, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "AnimateDiff_00002.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 15, + "workflow": "AnimateDiff_00002.png", + "fullpath": "/notebooks/output_images/AnimateDiff_00002.mp4" + } + } + } + }, { "id": 5, "type": "STARVSRNode", @@ -176,7 +176,7 @@ 447.8347107438017 ], "flags": {}, - "order": 1, + "order": 2, "mode": 0, "inputs": [ { @@ -203,7 +203,7 @@ "Light Degradation", "fp8", "An alpaca turning it's head", - 2, + 720, 32, 5.5, "dpmpp_2m_sde", @@ -212,6 +212,29 @@ 42, "fixed" ] + }, + { + "id": 7, + "type": "MarkdownNote", + "pos": [ + 700, + 810 + ], + "size": [ + 407.29999999999995, + 232.70000000000005 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "# Recommended for Video Upscale Only Single Frame Output is weird.\n\n# VRAM Comsumption\n\n## 960p 45 GB\n\n## 720p 33 GB" + ], + "color": "#432", + "bgcolor": "#653" } ], "links": [ @@ -238,8 +261,8 @@ "ds": { "scale": 0.9090909090909091, "offset": [ - 93.97723448237635, - -134.0369738564675 + 188.19998248026926, + -115.73694602483096 ] }, "frontendVersion": "1.35.9",