diff --git a/README.md b/README.md index 8e1ae6a..432249c 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ To use MagCache node, simply add `MagCache` node to your workflow after `Load Di | Chroma | 0.10 | 0.25 | 2 | | Qwen-Image | 0.10 | 0.20 | 2 | | HunyuanVideo-T2V | 0.24 | 0.2 | 6 | -| HunyuanVideo1.5-T2V | 0.03 | 0.25 | 2 | +| HunyuanVideo1.5-T2V(20 steps)| 0.03 | 0.25 | 2 | | Wan2.1-T2V-1.3B | 0.12 | 0.2 | 4 | | Wan2.1-T2V-14B | 0.24 | 0.2 | 6 | | Wan2.1-I2V-480P-14B | 0.24 | 0.2 | 6 | @@ -62,7 +62,7 @@ To use MagCache node, simply add `MagCache` node to your workflow after `Load Di **If the image/video after applying MagCache is of low quality, please decrease `magcache_thresh` and `magcache_K`**. The default parameters are configured for extremely fast inference(2x-3x), which may lead to failures in some cases. -The demo workflows ([flux](./examples/flux.json), [flux-kontext](./examples/flux_1_kontext_dev.json), [qwen-image](./examples/qwen_image_basic_example.json), [chroma](./examples/chroma.json), [hunyuanvideo](./examples/hunyuanvideo.json), [hunyuanvideo1.5](./examples/video_hunyuan_video_1.5_720p_t2v_magcache_fast.json), [wan2.1_t2v](./examples/wan2.1_t2v.json), [wan2.1_i2v](./examples/wan2.1_i2v.json), and [wan2.1_vace](./examples/wan2.1_vace.json)) are placed in examples folder. The workflow [chroma_calibration](./examples/chroma_calibration.json) is used to calibrate the `mag_ratios` for `Chroma` when the number of inference steps differs from the pre-defined value. +The demo workflows ([flux](./examples/flux.json), [flux-kontext](./examples/flux_1_kontext_dev.json), [qwen-image](./examples/qwen_image_basic_example.json), [chroma](./examples/chroma.json), [hunyuanvideo](./examples/hunyuanvideo.json), [hunyuanvideo1.5](./examples/video_hunyuan_video_1.5_720p_t2v_magcache.json), [wan2.1_t2v](./examples/wan2.1_t2v.json), [wan2.1_i2v](./examples/wan2.1_i2v.json), and [wan2.1_vace](./examples/wan2.1_vace.json)) are placed in examples folder. The workflow [chroma_calibration](./examples/chroma_calibration.json) is used to calibrate the `mag_ratios` for `Chroma` when the number of inference steps differs from the pre-defined value. **In our experiments, the videos generated by Wan2.1 are not as high-quality as those produced by the [original unquantized version](https://github.com/Wan-Video/Wan2.1).** diff --git a/examples/video_hunyuan_video_1.5_720p_t2v_magcache.json b/examples/video_hunyuan_video_1.5_720p_t2v_magcache.json index 9b8abc3..3114195 100644 --- a/examples/video_hunyuan_video_1.5_720p_t2v_magcache.json +++ b/examples/video_hunyuan_video_1.5_720p_t2v_magcache.json @@ -1,8 +1,8 @@ { "id": "ecc20583-98c5-4707-83f4-631b49a2bf0b", "revision": 0, - "last_node_id": 112, - "last_link_id": 287, + "last_node_id": 114, + "last_link_id": 291, "nodes": [ { "id": 8, @@ -16,7 +16,7 @@ 46 ], "flags": {}, - "order": 9, + "order": 11, "mode": 0, "inputs": [ { @@ -138,49 +138,6 @@ "hunyuanvideo15_vae_fp16.safetensors" ] }, - { - "id": 44, - "type": "CLIPTextEncode", - "pos": [ - -220, - 50 - ], - "size": [ - 422.84503173828125, - 164.31304931640625 - ], - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "CLIP", - "link": 205 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "slot_index": 0, - "links": [ - 272 - ] - } - ], - "title": "CLIP Text Encode (Positive Prompt)", - "properties": { - "Node name for S&R": "CLIPTextEncode", - "cnr_id": "comfy-core", - "ver": "0.3.68" - }, - "widgets_values": [ - "A paper airplane released from the top of a skyscraper, gliding through urban canyons, crossing traffic, flying over streets, spiraling upward between buildings. The camera follows the paper airplane's perspective, shooting cityscape in first-person POV, finally flying toward the sunset, disappearing in golden light. Creative camera movement, free perspective, dreamlike colors." - ], - "color": "#232", - "bgcolor": "#353" - }, { "id": 107, "type": "EmptyHunyuanVideo15Latent", @@ -229,7 +186,7 @@ 78 ], "flags": {}, - "order": 10, + "order": 12, "mode": 0, "inputs": [ { @@ -274,7 +231,7 @@ 200 ], "flags": {}, - "order": 6, + "order": 8, "mode": 0, "inputs": [ { @@ -351,7 +308,7 @@ "type": "MODEL", "slot_index": 0, "links": [ - 286 + 290 ] } ], @@ -372,6 +329,141 @@ "default" ] }, + { + "id": 102, + "type": "SaveVideo", + "pos": [ + 650, + 20 + ], + "size": [ + 730, + 828 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "video", + "type": "VIDEO", + "link": 269 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "SaveVideo", + "cnr_id": "comfy-core", + "ver": "0.3.68" + }, + "widgets_values": [ + "video/hunyuan_video_1.5", + "auto", + "h264" + ] + }, + { + "id": 44, + "type": "CLIPTextEncode", + "pos": [ + -220, + 50 + ], + "size": [ + 422.84503173828125, + 164.31304931640625 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 205 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 272 + ] + } + ], + "title": "CLIP Text Encode (Positive Prompt)", + "properties": { + "Node name for S&R": "CLIPTextEncode", + "cnr_id": "comfy-core", + "ver": "0.3.68" + }, + "widgets_values": [ + "俯视角度,一位有着深色,略带凌乱的长卷发的年轻中国女性,佩戴着闪耀的珍珠项链和圆形金色耳环,她凌乱的头发被风吹散,她微微抬头,望向天空,神情十分哀伤,眼中含着泪水。嘴唇涂着红色口红。背景是带有华丽红色花纹的图案。画面呈现复古电影风格,色调低饱和,带着轻微柔焦,烘托情绪氛围,质感仿佛20世纪90年代的经典胶片风格,营造出怀旧且富有戏剧性的感觉。" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 114, + "type": "MagCacheCalibration", + "pos": [ + 754.4683378022584, + -146.804079623664 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": null + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [] + } + ], + "properties": { + "Node name for S&R": "MagCacheCalibration" + }, + "widgets_values": [ + "hunyuanvideo1.5" + ] + }, + { + "id": 113, + "type": "Note", + "pos": [ + 226.07364043667747, + -362.4529623566771 + ], + "size": [ + 468.035417554187, + 249.77239862739282 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note for MagCache", + "properties": {}, + "widgets_values": [ + "We calibrate the MagCache using the MagCache Calibration node with 20 euler sampling steps. The calibrated mag_ratios can also be utilized with a different inference steps. \n\nThe following config achieves 1.5x speedup without degrading visual quality.\nmagcache_thresh: 0.03\nmagcache_K: 1\nretention_ratio: 0.25\n\nFor a faster generateing, please utilize the following hyper-parameters, achieving a 1.7x speedup with a balance between quality and speed. \nmagcache_thresh: 0.03\nmagcache_K: 2\nretention_ratio: 0.25\n\nWith more inference steps (30-50), please increase the magcache_thresh to 0.06 and decrease the retension ratio to 0.2\n\nThe following config achieves 1.7x speedup without degrading visual quality.\nmagcache_thresh: 0.06\nmagcache_K: 2\nretention_ratio: 0.2\n\nThe following config achieves 2.1x speedup without degrading visual quality.\nmagcache_thresh: 0.06\nmagcache_K: 3\nretention_ratio: 0.2\n\n" + ], + "color": "#432", + "bgcolor": "#653" + }, { "id": 100, "type": "23f96f01-8d55-4804-b218-e42e2bafa41b", @@ -384,7 +476,7 @@ 520 ], "flags": {}, - "order": 8, + "order": 10, "mode": 0, "inputs": [ { @@ -395,7 +487,7 @@ { "name": "model", "type": "MODEL", - "link": 287 + "link": 291 }, { "name": "positive", @@ -457,39 +549,6 @@ }, "widgets_values": [] }, - { - "id": 102, - "type": "SaveVideo", - "pos": [ - 650, - 20 - ], - "size": [ - 730, - 828 - ], - "flags": {}, - "order": 11, - "mode": 0, - "inputs": [ - { - "name": "video", - "type": "VIDEO", - "link": 269 - } - ], - "outputs": [], - "properties": { - "Node name for S&R": "SaveVideo", - "cnr_id": "comfy-core", - "ver": "0.3.68" - }, - "widgets_values": [ - "video/hunyuan_video_1.5", - "auto", - "h264" - ] - }, { "id": 112, "type": "MagCache", @@ -502,13 +561,13 @@ 178 ], "flags": {}, - "order": 7, + "order": 9, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", - "link": 286 + "link": 290 } ], "outputs": [ @@ -516,7 +575,7 @@ "name": "model", "type": "MODEL", "links": [ - 287 + 291 ] } ], @@ -525,9 +584,9 @@ }, "widgets_values": [ "hunyuan_video1.5", - 0.03, - 0.25, - 1, + 0.06, + 0.2, + 2, 0, -2 ] @@ -607,7 +666,7 @@ "LATENT" ], [ - 286, + 290, 12, 0, 112, @@ -615,7 +674,7 @@ "MODEL" ], [ - 287, + 291, 112, 0, 100, @@ -877,7 +936,7 @@ }, "widgets_values": [ "simple", - 20, + 40, 1 ] }, @@ -1148,10 +1207,10 @@ "config": {}, "extra": { "ds": { - "scale": 0.5200099198249751, + "scale": 0.6292120029882204, "offset": [ - 1340.6097763776763, - 190.8478393197784 + 709.8860997402827, + 370.80609259161525 ] }, "frontendVersion": "1.28.9", diff --git a/examples/video_hunyuan_video_1.5_720p_t2v_magcache_fast.json b/examples/video_hunyuan_video_1.5_720p_t2v_magcache_fast.json deleted file mode 100644 index 7bb3c4f..0000000 --- a/examples/video_hunyuan_video_1.5_720p_t2v_magcache_fast.json +++ /dev/null @@ -1,1166 +0,0 @@ -{ - "id": "ecc20583-98c5-4707-83f4-631b49a2bf0b", - "revision": 0, - "last_node_id": 112, - "last_link_id": 287, - "nodes": [ - { - "id": 8, - "type": "VAEDecode", - "pos": [ - 400, - 800 - ], - "size": [ - 210, - 46 - ], - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": 267 - }, - { - "name": "vae", - "type": "VAE", - "link": 206 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 268 - ] - } - ], - "properties": { - "Node name for S&R": "VAEDecode", - "cnr_id": "comfy-core", - "ver": "0.3.68" - }, - "widgets_values": [] - }, - { - "id": 11, - "type": "DualCLIPLoader", - "pos": [ - -620, - 180 - ], - "size": [ - 350, - 130 - ], - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "CLIP", - "type": "CLIP", - "slot_index": 0, - "links": [ - 205, - 240 - ] - } - ], - "properties": { - "Node name for S&R": "DualCLIPLoader", - "cnr_id": "comfy-core", - "ver": "0.3.68", - "models": [ - { - "name": "qwen_2.5_vl_7b_fp8_scaled.safetensors", - "url": "https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors", - "directory": "text_encoders" - }, - { - "name": "byt5_small_glyphxl_fp16.safetensors", - "url": "https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/main/split_files/text_encoders/byt5_small_glyphxl_fp16.safetensors", - "directory": "text_encoders" - } - ] - }, - "widgets_values": [ - "qwen_2.5_vl_7b_fp8_scaled.safetensors", - "byt5_small_glyphxl_fp16.safetensors", - "hunyuan_video_15", - "default" - ] - }, - { - "id": 10, - "type": "VAELoader", - "pos": [ - -620, - 350 - ], - "size": [ - 350, - 60 - ], - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "VAE", - "type": "VAE", - "slot_index": 0, - "links": [ - 206 - ] - } - ], - "properties": { - "Node name for S&R": "VAELoader", - "cnr_id": "comfy-core", - "ver": "0.3.68", - "models": [ - { - "name": "hunyuanvideo15_vae_fp16.safetensors", - "url": "https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/main/split_files/vae/hunyuanvideo15_vae_fp16.safetensors", - "directory": "vae" - } - ] - }, - "widgets_values": [ - "hunyuanvideo15_vae_fp16.safetensors" - ] - }, - { - "id": 44, - "type": "CLIPTextEncode", - "pos": [ - -220, - 50 - ], - "size": [ - 422.84503173828125, - 164.31304931640625 - ], - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "CLIP", - "link": 205 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "slot_index": 0, - "links": [ - 272 - ] - } - ], - "title": "CLIP Text Encode (Positive Prompt)", - "properties": { - "Node name for S&R": "CLIPTextEncode", - "cnr_id": "comfy-core", - "ver": "0.3.68" - }, - "widgets_values": [ - "A paper airplane released from the top of a skyscraper, gliding through urban canyons, crossing traffic, flying over streets, spiraling upward between buildings. The camera follows the paper airplane's perspective, shooting cityscape in first-person POV, finally flying toward the sunset, disappearing in golden light. Creative camera movement, free perspective, dreamlike colors." - ], - "color": "#232", - "bgcolor": "#353" - }, - { - "id": 107, - "type": "EmptyHunyuanVideo15Latent", - "pos": [ - -580, - 540 - ], - "size": [ - 285.6666015625, - 130 - ], - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - 275 - ] - } - ], - "properties": { - "Node name for S&R": "EmptyHunyuanVideo15Latent", - "cnr_id": "comfy-core", - "ver": "0.3.68" - }, - "widgets_values": [ - 848, - 480, - 121, - 1 - ] - }, - { - "id": 101, - "type": "CreateVideo", - "pos": [ - 360, - 900 - ], - "size": [ - 270, - 78 - ], - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 268 - }, - { - "name": "audio", - "shape": 7, - "type": "AUDIO", - "link": null - } - ], - "outputs": [ - { - "name": "VIDEO", - "type": "VIDEO", - "links": [ - 269 - ] - } - ], - "properties": { - "Node name for S&R": "CreateVideo", - "cnr_id": "comfy-core", - "ver": "0.3.68" - }, - "widgets_values": [ - 24 - ] - }, - { - "id": 93, - "type": "CLIPTextEncode", - "pos": [ - -220, - 260 - ], - "size": [ - 422.84503173828125, - 200 - ], - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "CLIP", - "link": 240 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - 273 - ] - } - ], - "title": "CLIP Text Encode (Negative Prompt)", - "properties": { - "Node name for S&R": "CLIPTextEncode", - "cnr_id": "comfy-core", - "ver": "0.3.68" - }, - "widgets_values": [ - "" - ], - "color": "#223", - "bgcolor": "#335" - }, - { - "id": 104, - "type": "MarkdownNote", - "pos": [ - -1220, - 10 - ], - "size": [ - 560, - 550 - ], - "flags": { - "collapsed": false - }, - "order": 3, - "mode": 0, - "inputs": [], - "outputs": [], - "title": "Model links", - "properties": {}, - "widgets_values": [ - "\n\n## Report issue\n\nIf you found any issues when running this workflow, [report template issue here](https://github.com/Comfy-Org/workflow_templates/issues)\n\n## Model links\n\n[HunyuanVideo_1.5_repackaged](https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/tree/main/split_files)\n\n**text_encoders**\n\n- [qwen_2.5_vl_7b_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors)\n- [byt5_small_glyphxl_fp16.safetensors](https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/main/split_files/text_encoders/byt5_small_glyphxl_fp16.safetensors)\n\n**clip_vision**\n\n- [sigclip_vision_patch14_384.safetensors](https://huggingface.co/Comfy-Org/sigclip_vision_384/resolve/main/sigclip_vision_patch14_384.safetensors)\n\n**diffusion_models**\n\n- [hunyuanvideo1.5_720p_t2v_fp16.safetensors](https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/main/split_files/diffusion_models/hunyuanvideo1.5_720p_t2v_fp16.safetensors)\n\n**vae**\n\n- [hunyuanvideo15_vae_fp16.safetensors](https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/main/split_files/vae/hunyuanvideo15_vae_fp16.safetensors)\n\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ ├── qwen_2.5_vl_7b_fp8_scaled.safetensors\n│ │ └── byt5_small_glyphxl_fp16.safetensors\n│ ├── 📂 clip_vision/\n│ │ └── sigclip_vision_patch14_384.safetensors\n│ ├── 📂 diffusion_models/\n│ │ └── hunyuanvideo1.5_720p_t2v_fp16.safetensors\n│ └── 📂 vae/\n│ └── hunyuanvideo15_vae_fp16.safetensors\n```\n" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 12, - "type": "UNETLoader", - "pos": [ - -620, - 50 - ], - "size": [ - 350, - 82 - ], - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "slot_index": 0, - "links": [ - 286 - ] - } - ], - "properties": { - "Node name for S&R": "UNETLoader", - "cnr_id": "comfy-core", - "ver": "0.3.68", - "models": [ - { - "name": "hunyuanvideo1.5_720p_t2v_fp16.safetensors", - "url": "https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/main/split_files/diffusion_models/hunyuanvideo1.5_720p_t2v_fp16.safetensors", - "directory": "diffusion_models" - } - ] - }, - "widgets_values": [ - "hunyuanvideo1.5_720p_t2v_fp16.safetensors", - "default" - ] - }, - { - "id": 100, - "type": "23f96f01-8d55-4804-b218-e42e2bafa41b", - "pos": [ - 240, - 220 - ], - "size": [ - 370, - 520 - ], - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "latent_image", - "type": "LATENT", - "link": 275 - }, - { - "name": "model", - "type": "MODEL", - "link": 287 - }, - { - "name": "positive", - "type": "CONDITIONING", - "link": 272 - }, - { - "name": "negative", - "type": "CONDITIONING", - "link": 273 - } - ], - "outputs": [ - { - "name": "output", - "type": "LATENT", - "links": [ - 267 - ] - } - ], - "properties": { - "proxyWidgets": [ - [ - "67", - "shift" - ], - [ - "98", - "cfg" - ], - [ - "95", - "steps" - ], - [ - "95", - "scheduler" - ], - [ - "95", - "denoise" - ], - [ - "96", - "noise_seed" - ], - [ - "96", - "control_after_generate" - ], - [ - "97", - "sampler_name" - ] - ], - "cnr_id": "comfy-core", - "ver": "0.3.68" - }, - "widgets_values": [] - }, - { - "id": 102, - "type": "SaveVideo", - "pos": [ - 650, - 20 - ], - "size": [ - 730, - 828 - ], - "flags": {}, - "order": 11, - "mode": 0, - "inputs": [ - { - "name": "video", - "type": "VIDEO", - "link": 269 - } - ], - "outputs": [], - "properties": { - "Node name for S&R": "SaveVideo", - "cnr_id": "comfy-core", - "ver": "0.3.68" - }, - "widgets_values": [ - "video/hunyuan_video_1.5", - "auto", - "h264" - ] - }, - { - "id": 112, - "type": "MagCache", - "pos": [ - 261.87700171411234, - -62.59853522611362 - ], - "size": [ - 270, - 178 - ], - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": 286 - } - ], - "outputs": [ - { - "name": "model", - "type": "MODEL", - "links": [ - 287 - ] - } - ], - "properties": { - "Node name for S&R": "MagCache" - }, - "widgets_values": [ - "hunyuan_video1.5", - 0.03, - 0.25, - 2, - 0, - -2 - ] - } - ], - "links": [ - [ - 205, - 11, - 0, - 44, - 0, - "CLIP" - ], - [ - 206, - 10, - 0, - 8, - 1, - "VAE" - ], - [ - 240, - 11, - 0, - 93, - 0, - "CLIP" - ], - [ - 267, - 100, - 0, - 8, - 0, - "LATENT" - ], - [ - 268, - 8, - 0, - 101, - 0, - "IMAGE" - ], - [ - 269, - 101, - 0, - 102, - 0, - "VIDEO" - ], - [ - 272, - 44, - 0, - 100, - 2, - "CONDITIONING" - ], - [ - 273, - 93, - 0, - 100, - 3, - "CONDITIONING" - ], - [ - 275, - 107, - 0, - 100, - 0, - "LATENT" - ], - [ - 286, - 12, - 0, - 112, - 0, - "MODEL" - ], - [ - 287, - 112, - 0, - 100, - 1, - "MODEL" - ] - ], - "groups": [ - { - "id": 1, - "title": "Step 1 - Load models", - "bounding": [ - -630, - -20, - 370, - 450 - ], - "color": "#3f789e", - "font_size": 24, - "flags": {} - }, - { - "id": 2, - "title": "Step 3 - Prompt", - "bounding": [ - -230, - -20, - 442.84503173828125, - 493.6 - ], - "color": "#3f789e", - "font_size": 24, - "flags": {} - }, - { - "id": 4, - "title": "Step 4 - Video Size", - "bounding": [ - -630, - 450, - 370, - 250 - ], - "color": "#3f789e", - "font_size": 24, - "flags": {} - } - ], - "definitions": { - "subgraphs": [ - { - "id": "23f96f01-8d55-4804-b218-e42e2bafa41b", - "version": 1, - "state": { - "lastGroupId": 0, - "lastNodeId": 99, - "lastLinkId": 262, - "lastRerouteId": 0 - }, - "revision": 0, - "config": {}, - "name": "Custom Sampler", - "inputNode": { - "id": -10, - "bounding": [ - 330, - 219, - 120, - 120 - ] - }, - "outputNode": { - "id": -20, - "bounding": [ - 1222.3617858886719, - 249, - 120, - 60 - ] - }, - "inputs": [ - { - "id": "b6ce2f7f-46fc-45cd-a290-fe56bc07e9b3", - "name": "latent_image", - "type": "LATENT", - "linkIds": [ - 261 - ], - "localized_name": "latent_image", - "pos": [ - 430, - 239 - ] - }, - { - "id": "ddd20e16-5169-4e71-816e-d7eb8aaf3192", - "name": "model", - "type": "MODEL", - "linkIds": [ - 257, - 209 - ], - "localized_name": "model", - "pos": [ - 430, - 259 - ] - }, - { - "id": "19b99916-4450-4ada-b874-f8874b30770b", - "name": "positive", - "type": "CONDITIONING", - "linkIds": [ - 259 - ], - "localized_name": "positive", - "pos": [ - 430, - 279 - ] - }, - { - "id": "88f87754-2ae4-400b-b565-90acf4048efa", - "name": "negative", - "type": "CONDITIONING", - "linkIds": [ - 260 - ], - "localized_name": "negative", - "pos": [ - 430, - 299 - ] - } - ], - "outputs": [ - { - "id": "39b0438d-e723-4b9d-8aff-3f0c16ed84a0", - "name": "output", - "type": "LATENT", - "linkIds": [ - 262 - ], - "localized_name": "output", - "pos": [ - 1242.3617858886719, - 269 - ] - } - ], - "widgets": [], - "nodes": [ - { - "id": 99, - "type": "SamplerCustomAdvanced", - "pos": [ - 890, - 20 - ], - "size": [ - 272.3617858886719, - 326 - ], - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "localized_name": "噪波", - "name": "noise", - "type": "NOISE", - "link": 253 - }, - { - "localized_name": "引导器", - "name": "guider", - "type": "GUIDER", - "link": 254 - }, - { - "localized_name": "采样器", - "name": "sampler", - "type": "SAMPLER", - "link": 255 - }, - { - "localized_name": "西格玛", - "name": "sigmas", - "type": "SIGMAS", - "link": 256 - }, - { - "localized_name": "Latent图像", - "name": "latent_image", - "type": "LATENT", - "link": 261 - } - ], - "outputs": [ - { - "localized_name": "Latent", - "name": "output", - "type": "LATENT", - "slot_index": 0, - "links": [ - 262 - ] - }, - { - "localized_name": "降噪Latent", - "name": "denoised_output", - "type": "LATENT", - "links": [] - } - ], - "properties": { - "Node name for S&R": "SamplerCustomAdvanced", - "cnr_id": "comfy-core", - "ver": "0.3.68" - }, - "widgets_values": [] - }, - { - "id": 95, - "type": "BasicScheduler", - "pos": [ - 510, - 250 - ], - "size": [ - 315, - 106 - ], - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [ - { - "localized_name": "模型", - "name": "model", - "type": "MODEL", - "link": 257 - } - ], - "outputs": [ - { - "localized_name": "Sigmas", - "name": "SIGMAS", - "type": "SIGMAS", - "links": [ - 256 - ] - } - ], - "properties": { - "Node name for S&R": "BasicScheduler", - "cnr_id": "comfy-core", - "ver": "0.3.68" - }, - "widgets_values": [ - "simple", - 20, - 1 - ] - }, - { - "id": 96, - "type": "RandomNoise", - "pos": [ - 510, - 390 - ], - "size": [ - 315, - 82 - ], - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "localized_name": "噪波", - "name": "NOISE", - "type": "NOISE", - "links": [ - 253 - ] - } - ], - "properties": { - "Node name for S&R": "RandomNoise", - "cnr_id": "comfy-core", - "ver": "0.3.68" - }, - "widgets_values": [ - 881192839971727, - "fixed" - ], - "color": "#2a363b", - "bgcolor": "#3f5159" - }, - { - "id": 97, - "type": "KSamplerSelect", - "pos": [ - 510, - 520 - ], - "size": [ - 315, - 58 - ], - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "localized_name": "采样器", - "name": "SAMPLER", - "type": "SAMPLER", - "links": [ - 255 - ] - } - ], - "properties": { - "Node name for S&R": "KSamplerSelect", - "cnr_id": "comfy-core", - "ver": "0.3.68" - }, - "widgets_values": [ - "euler" - ] - }, - { - "id": 98, - "type": "CFGGuider", - "pos": [ - 510, - 110 - ], - "size": [ - 315, - 98 - ], - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "localized_name": "模型", - "name": "model", - "type": "MODEL", - "link": 258 - }, - { - "localized_name": "正面条件", - "name": "positive", - "type": "CONDITIONING", - "link": 259 - }, - { - "localized_name": "负面条件", - "name": "negative", - "type": "CONDITIONING", - "link": 260 - } - ], - "outputs": [ - { - "localized_name": "引导器", - "name": "GUIDER", - "type": "GUIDER", - "links": [ - 254 - ] - } - ], - "properties": { - "Node name for S&R": "CFGGuider", - "cnr_id": "comfy-core", - "ver": "0.3.68" - }, - "widgets_values": [ - 6 - ] - }, - { - "id": 67, - "type": "ModelSamplingSD3", - "pos": [ - 510, - 10 - ], - "size": [ - 315, - 58 - ], - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [ - { - "localized_name": "模型", - "name": "model", - "type": "MODEL", - "link": 209 - } - ], - "outputs": [ - { - "localized_name": "模型", - "name": "MODEL", - "type": "MODEL", - "slot_index": 0, - "links": [ - 258 - ] - } - ], - "properties": { - "Node name for S&R": "ModelSamplingSD3", - "cnr_id": "comfy-core", - "ver": "0.3.68" - }, - "widgets_values": [ - 7 - ] - } - ], - "groups": [], - "links": [ - { - "id": 253, - "origin_id": 96, - "origin_slot": 0, - "target_id": 99, - "target_slot": 0, - "type": "NOISE" - }, - { - "id": 254, - "origin_id": 98, - "origin_slot": 0, - "target_id": 99, - "target_slot": 1, - "type": "GUIDER" - }, - { - "id": 255, - "origin_id": 97, - "origin_slot": 0, - "target_id": 99, - "target_slot": 2, - "type": "SAMPLER" - }, - { - "id": 256, - "origin_id": 95, - "origin_slot": 0, - "target_id": 99, - "target_slot": 3, - "type": "SIGMAS" - }, - { - "id": 258, - "origin_id": 67, - "origin_slot": 0, - "target_id": 98, - "target_slot": 0, - "type": "MODEL" - }, - { - "id": 261, - "origin_id": -10, - "origin_slot": 0, - "target_id": 99, - "target_slot": 4, - "type": "LATENT" - }, - { - "id": 257, - "origin_id": -10, - "origin_slot": 1, - "target_id": 95, - "target_slot": 0, - "type": "MODEL" - }, - { - "id": 209, - "origin_id": -10, - "origin_slot": 1, - "target_id": 67, - "target_slot": 0, - "type": "MODEL" - }, - { - "id": 259, - "origin_id": -10, - "origin_slot": 2, - "target_id": 98, - "target_slot": 1, - "type": "CONDITIONING" - }, - { - "id": 260, - "origin_id": -10, - "origin_slot": 3, - "target_id": 98, - "target_slot": 2, - "type": "CONDITIONING" - }, - { - "id": 262, - "origin_id": 99, - "origin_slot": 0, - "target_id": -20, - "target_slot": 0, - "type": "LATENT" - } - ], - "extra": { - "workflowRendererVersion": "LG" - } - } - ] - }, - "config": {}, - "extra": { - "ds": { - "scale": 0.5200099198249751, - "offset": [ - 1340.6097763776763, - 190.8478393197784 - ] - }, - "frontendVersion": "1.28.9", - "groupNodes": {}, - "VHS_latentpreview": false, - "VHS_latentpreviewrate": 0, - "VHS_MetadataImage": true, - "VHS_KeepIntermediate": true, - "workflowRendererVersion": "LG" - }, - "version": 0.4 -} \ No newline at end of file