From 7c3fb424cf6aca684fc2cd8af3742efa36bfbb1a Mon Sep 17 00:00:00 2001 From: e-maks Date: Sat, 7 Mar 2026 19:19:35 +0300 Subject: [PATCH] Add workflow --- .gitignore | 1 - workflow_api.json | 1048 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 1048 insertions(+), 1 deletion(-) create mode 100644 workflow_api.json diff --git a/.gitignore b/.gitignore index 46e9af3..2c4b9d7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ keys.json -workflow_api.json __pycache__/ *.pyc diff --git a/workflow_api.json b/workflow_api.json new file mode 100644 index 0000000..207f19b --- /dev/null +++ b/workflow_api.json @@ -0,0 +1,1048 @@ +{ + "9": { + "inputs": { + "options": "Intermediate and Utility", + "filenames": [ + "28", + 0 + ] + }, + "class_type": "VHS_PruneOutputs", + "_meta": { + "title": "Prune Outputs 🎥🅥🅗🅢" + } + }, + "18": { + "inputs": { + "PowerLoraLoaderHeaderWidget": { + "type": "PowerLoraLoaderHeaderWidget" + }, + "➕ Add Lora": "", + "model": [ + "1512:1534", + 0 + ], + "clip": [ + "1512:1504", + 0 + ] + }, + "class_type": "Power Lora Loader (rgthree)", + "_meta": { + "title": "Lora's LOW" + } + }, + "23": { + "inputs": { + "image": "example.png" + }, + "class_type": "LoadImage", + "_meta": { + "title": "First-Frame-Image" + } + }, + "24": { + "inputs": { + "image": "example.png" + }, + "class_type": "LoadImage", + "_meta": { + "title": "Last-Frame-Image" + } + }, + "26": { + "inputs": { + "PowerLoraLoaderHeaderWidget": { + "type": "PowerLoraLoaderHeaderWidget" + }, + "➕ Add Lora": "", + "model": [ + "1512:1539", + 0 + ], + "clip": [ + "1512:1504", + 0 + ] + }, + "class_type": "Power Lora Loader (rgthree)", + "_meta": { + "title": "Lora's HIGH" + } + }, + "28": { + "inputs": { + "frame_rate": [ + "1512:1814:1810", + 0 + ], + "loop_count": 0, + "filename_prefix": "video/2026-03-07/191808", + "format": "video/webm", + "pix_fmt": "yuv420p", + "crf": 20, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "images": [ + "1512:1731:1099", + 0 + ], + "audio": [ + "1512:1757", + 0 + ] + }, + "class_type": "VHS_VideoCombine", + "_meta": { + "title": "Video Combine 🎥🅥🅗🅢" + } + }, + "1349": { + "inputs": { + "text": "censored, mosaic censoring, bar censor, pixelated, glowing, bloom, blurry, out of focus, low detail, bad anatomy, ugly, overexposed, underexposed, distorted face, extra limbs, cartoonish, 3d render artifacts, duplicate people, unnatural lighting, bad composition, missing shadows, low resolution, poorly textured, glitch, noise, grain, static, motionless, still frame, stylized, artwork, painting, illustration, many people in background, three legs, walking backward, unnatural skin tone, discolored eyelid, red eyelids, closed eyes, poorly drawn hands, extra fingers, fused fingers, poorly drawn face, deformed, disfigured, malformed limbs, fog, mist, voluminous eyelashes,", + "clip": [ + "26", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "Video prompt negative" + } + }, + "1370": { + "inputs": { + "text": "", + "clip": [ + "26", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "Video prompt positive" + } + }, + "1371": { + "inputs": { + "value": "She is doing cheerfully and cute cat meowing, while she purrs cat-like in between." + }, + "class_type": "PrimitiveStringMultiline", + "_meta": { + "title": "Audio prompt positive" + } + }, + "1372": { + "inputs": { + "value": "noisy, harsh, crash, bang, music, background melody, synthesizer, male vocals, talking, speech, low quality, distorted, ambient noise, room tone, pounding, wet, pounding," + }, + "class_type": "PrimitiveStringMultiline", + "_meta": { + "title": "Audio prompt negative" + } + }, + "1512:1504": { + "inputs": { + "clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors", + "type": "wan", + "device": "default" + }, + "class_type": "CLIPLoader", + "_meta": { + "title": "Загрузить CLIP" + } + }, + "1512:1584": { + "inputs": {}, + "class_type": "Context (rgthree)", + "_meta": { + "title": "FLF2V context" + } + }, + "1512:1592": { + "inputs": { + "samples": [ + "1512:1577", + 0 + ], + "vae": [ + "1512:1503", + 0 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "Декодировать VAE" + } + }, + "1512:1591": { + "inputs": { + "width": [ + "1512:1588:317", + 0 + ], + "height": [ + "1512:1588:317", + 1 + ], + "length": [ + "1512:1594", + 0 + ], + "batch_size": 1, + "positive": [ + "1370", + 0 + ], + "negative": [ + "1349", + 0 + ], + "vae": [ + "1512:1503", + 0 + ], + "start_image": [ + "1512:1588:329", + 0 + ] + }, + "class_type": "WanImageToVideo", + "_meta": { + "title": "WanИзображениеВВидео" + } + }, + "1512:1577": { + "inputs": { + "add_noise": "disable", + "noise_seed": [ + "1512:1670", + 0 + ], + "steps": [ + "1512:1671", + 0 + ], + "cfg": [ + "1512:1671", + 2 + ], + "sampler_name": [ + "1512:1671", + 3 + ], + "scheduler": [ + "1512:1671", + 4 + ], + "start_at_step": [ + "1512:1671", + 1 + ], + "end_at_step": 10000, + "return_with_leftover_noise": "disable", + "model": [ + "1512:1572", + 0 + ], + "positive": [ + "1512:1591", + 0 + ], + "negative": [ + "1512:1591", + 1 + ], + "latent_image": [ + "1512:1578", + 0 + ] + }, + "class_type": "KSamplerAdvanced", + "_meta": { + "title": "KSampler (Low)" + } + }, + "1512:1516": { + "inputs": { + "ctx_01": [ + "1512:1513", + 0 + ], + "ctx_02": [ + "1512:1514", + 0 + ] + }, + "class_type": "Context Switch (rgthree)", + "_meta": { + "title": "Context Switch (rgthree)" + } + }, + "1512:1668": { + "inputs": { + "value": 5 + }, + "class_type": "PrimitiveInt", + "_meta": { + "title": "Seconds" + } + }, + "1512:1712": { + "inputs": {}, + "class_type": "Context (rgthree)", + "_meta": { + "title": "s2v context" + } + }, + "1512:1702": { + "inputs": { + "value": false + }, + "class_type": "PrimitiveBoolean", + "_meta": { + "title": "Булево значение" + } + }, + "1512:1530": { + "inputs": { + "sage_attention": "auto", + "allow_compile": false, + "model": [ + "1512:1516", + 1 + ] + }, + "class_type": "PathchSageAttentionKJ", + "_meta": { + "title": "Patch Sage Attention KJ" + } + }, + "1512:1523": { + "inputs": { + "value": true + }, + "class_type": "PrimitiveBoolean", + "_meta": { + "title": "Булево значение" + } + }, + "1512:1502": { + "inputs": { + "unet_name": "DasiwaWAN22I2V14B_synthseductionHighV9.safetensors", + "weight_dtype": "default" + }, + "class_type": "UNETLoader", + "_meta": { + "title": "Загрузить модель диффузии" + } + }, + "1512:1517": { + "inputs": { + "model": [ + "1512:1502", + 0 + ] + }, + "class_type": "Context (rgthree)", + "_meta": { + "title": "Context (safetensor high)" + } + }, + "1512:1664": { + "inputs": { + "any_01": [ + "1512:1528", + 0 + ], + "any_02": [ + "1512:1540", + 0 + ] + }, + "class_type": "Any Switch (rgthree)", + "_meta": { + "title": "Any Switch (rgthree)" + } + }, + "1512:1528": { + "inputs": { + "value": true + }, + "class_type": "PrimitiveBoolean", + "_meta": { + "title": "Булево значение" + } + }, + "1512:1525": { + "inputs": { + "any_01": [ + "1512:1523", + 0 + ], + "any_02": [ + "1512:1540", + 0 + ] + }, + "class_type": "Any Switch (rgthree)", + "_meta": { + "title": "Any Switch (rgthree)" + } + }, + "1512:1538": { + "inputs": { + "sage_attention": "auto", + "allow_compile": false, + "model": [ + "1512:1515", + 1 + ] + }, + "class_type": "PathchSageAttentionKJ", + "_meta": { + "title": "Patch Sage Attention KJ" + } + }, + "1512:1537": { + "inputs": { + "boolean": [ + "1512:1525", + 0 + ], + "on_true": [ + "1512:1538", + 0 + ], + "on_false": [ + "1512:1515", + 1 + ] + }, + "class_type": "easy ifElse", + "_meta": { + "title": "If else HIGH" + } + }, + "1512:1531": { + "inputs": { + "boolean": [ + "1512:1525", + 0 + ], + "on_true": [ + "1512:1530", + 0 + ], + "on_false": [ + "1512:1516", + 1 + ] + }, + "class_type": "easy ifElse", + "_meta": { + "title": "If else LOW" + } + }, + "1512:1522": { + "inputs": { + "enable_fp16_accumulation": true, + "model": [ + "1512:1531", + 0 + ] + }, + "class_type": "ModelPatchTorchSettings", + "_meta": { + "title": "Model Patch Torch Settings" + } + }, + "1512:1536": { + "inputs": { + "enable_fp16_accumulation": true, + "model": [ + "1512:1537", + 0 + ] + }, + "class_type": "ModelPatchTorchSettings", + "_meta": { + "title": "Model Patch Torch Settings" + } + }, + "1512:1535": { + "inputs": { + "boolean": [ + "1512:1664", + 0 + ], + "on_true": [ + "1512:1536", + 0 + ], + "on_false": [ + "1512:1537", + 0 + ] + }, + "class_type": "easy ifElse", + "_meta": { + "title": "If else HIGH" + } + }, + "1512:1529": { + "inputs": { + "boolean": [ + "1512:1664", + 0 + ], + "on_true": [ + "1512:1522", + 0 + ], + "on_false": [ + "1512:1531", + 0 + ] + }, + "class_type": "easy ifElse", + "_meta": { + "title": "If else LOW" + } + }, + "1512:1539": { + "inputs": { + "shift": 5, + "model": [ + "1512:1535", + 0 + ] + }, + "class_type": "ModelSamplingSD3", + "_meta": { + "title": "Sigma Shift High" + } + }, + "1512:1534": { + "inputs": { + "shift": 5, + "model": [ + "1512:1529", + 0 + ] + }, + "class_type": "ModelSamplingSD3", + "_meta": { + "title": "Sigma Shift Low" + } + }, + "1512:1588:329": { + "inputs": { + "upscale_method": "lanczos", + "width": [ + "1512:1588:316", + 0 + ], + "height": [ + "1512:1588:318", + 0 + ], + "crop": "disabled", + "image": [ + "23", + 0 + ] + }, + "class_type": "ImageScale", + "_meta": { + "title": "Масштабировать изображение" + } + }, + "1512:1588:326": { + "inputs": { + "value": 0.25 + }, + "class_type": "FloatConstant", + "_meta": { + "title": "Float Constant" + } + }, + "1512:1588:317": { + "inputs": { + "image": [ + "1512:1588:329", + 0 + ] + }, + "class_type": "GetImageSize", + "_meta": { + "title": "Get Image Size" + } + }, + "1512:1588:316": { + "inputs": { + "expression": "round(sqrt(a * 1000000 * (b / c)) / 16) * 16", + "a": [ + "1512:1588:327", + 0 + ], + "b": [ + "1512:1588:328", + 0 + ], + "c": [ + "1512:1588:328", + 1 + ] + }, + "class_type": "MathExpression|pysssss", + "_meta": { + "title": "Width 🐍" + } + }, + "1512:1588:327": { + "inputs": { + "any_01": [ + "1512:1588:326", + 0 + ] + }, + "class_type": "Any Switch (rgthree)", + "_meta": { + "title": "Any Switch (rgthree)" + } + }, + "1512:1588:318": { + "inputs": { + "expression": "round((a / (b / c)) / 16) * 16", + "a": [ + "1512:1588:316", + 0 + ], + "b": [ + "1512:1588:328", + 0 + ], + "c": [ + "1512:1588:328", + 1 + ] + }, + "class_type": "MathExpression|pysssss", + "_meta": { + "title": "Height 🐍" + } + }, + "1512:1588:328": { + "inputs": { + "image": [ + "23", + 0 + ] + }, + "class_type": "GetImageSize", + "_meta": { + "title": "Get Image Size" + } + }, + "1512:1503": { + "inputs": { + "vae_name": "WAN/wan_2.1_vae.safetensors" + }, + "class_type": "VAELoader", + "_meta": { + "title": "Загрузить VAE" + } + }, + "1512:1671": { + "inputs": { + "steps_total": 4, + "refiner_step": 2, + "cfg": 1, + "sampler_name": "euler", + "scheduler": "linear_quadratic" + }, + "class_type": "KSampler Config (rgthree)", + "_meta": { + "title": "Sampling" + } + }, + "1512:1594": { + "inputs": { + "expression": "(round((a * b) / 8) * 8) +1", + "a": [ + "1512:1668", + 0 + ], + "b": [ + "1512:1669", + 0 + ] + }, + "class_type": "MathExpression|pysssss", + "_meta": { + "title": "frames logic 🐍" + } + }, + "1512:1670": { + "inputs": { + "value": -486226021089793 + }, + "class_type": "PrimitiveInt", + "_meta": { + "title": "Seed" + } + }, + "1512:1501": { + "inputs": { + "unet_name": "DasiwaWAN22I2V14B_synthseductionLowV9.safetensors", + "weight_dtype": "default" + }, + "class_type": "UNETLoader", + "_meta": { + "title": "Загрузить модель диффузии" + } + }, + "1512:1578": { + "inputs": { + "add_noise": "enable", + "noise_seed": [ + "1512:1670", + 0 + ], + "steps": [ + "1512:1671", + 0 + ], + "cfg": [ + "1512:1671", + 2 + ], + "sampler_name": [ + "1512:1671", + 3 + ], + "scheduler": [ + "1512:1671", + 4 + ], + "start_at_step": 0, + "end_at_step": [ + "1512:1671", + 1 + ], + "return_with_leftover_noise": "enable", + "model": [ + "1512:1571", + 0 + ], + "positive": [ + "1512:1591", + 0 + ], + "negative": [ + "1512:1591", + 1 + ], + "latent_image": [ + "1512:1591", + 2 + ] + }, + "class_type": "KSamplerAdvanced", + "_meta": { + "title": "KSampler (High)" + } + }, + "1512:1571": { + "inputs": { + "model": [ + "26", + 0 + ] + }, + "class_type": "CFGZeroStar", + "_meta": { + "title": "CFGZeroStar" + } + }, + "1512:1572": { + "inputs": { + "model": [ + "18", + 0 + ] + }, + "class_type": "CFGZeroStar", + "_meta": { + "title": "CFGZeroStar" + } + }, + "1512:1512": { + "inputs": {}, + "class_type": "Context (rgthree)", + "_meta": { + "title": "Context (gguf high)" + } + }, + "1512:1515": { + "inputs": { + "ctx_01": [ + "1512:1517", + 0 + ], + "ctx_02": [ + "1512:1512", + 0 + ] + }, + "class_type": "Context Switch (rgthree)", + "_meta": { + "title": "Context Switch (rgthree)" + } + }, + "1512:1513": { + "inputs": { + "model": [ + "1512:1501", + 0 + ] + }, + "class_type": "Context (rgthree)", + "_meta": { + "title": "Context (safetensor low)" + } + }, + "1512:1514": { + "inputs": {}, + "class_type": "Context (rgthree)", + "_meta": { + "title": "Context (gguf low)" + } + }, + "1512:1585": { + "inputs": { + "images": [ + "1512:1592", + 0 + ] + }, + "class_type": "Context (rgthree)", + "_meta": { + "title": "I2V context" + } + }, + "1512:1589": { + "inputs": { + "ctx_01": [ + "1512:1585", + 0 + ], + "ctx_02": [ + "1512:1584", + 0 + ], + "ctx_03": [ + "1512:1637", + 0 + ], + "ctx_04": [ + "1512:1712", + 0 + ] + }, + "class_type": "Context Switch (rgthree)", + "_meta": { + "title": "Context Switch (rgthree)" + } + }, + "1512:1730:1280": { + "inputs": { + "boolean": [ + "1512:1730:1282", + 0 + ], + "on_true": [ + "1512:1784", + 7 + ], + "on_false": [ + "1512:1589", + 7 + ] + }, + "class_type": "easy ifElse", + "_meta": { + "title": "If else" + } + }, + "1512:1730:1282": { + "inputs": { + "any_02": [ + "1512:1730:1281", + 0 + ] + }, + "class_type": "Any Switch (rgthree)", + "_meta": { + "title": "Any Switch (rgthree)" + } + }, + "1512:1730:1281": { + "inputs": { + "value": false + }, + "class_type": "PrimitiveBoolean", + "_meta": { + "title": "Булево значение" + } + }, + "1512:1730:1283": { + "inputs": { + "preview": "", + "source": [ + "1512:1730:1282", + 0 + ] + }, + "class_type": "PreviewAny", + "_meta": { + "title": "Предпросмотр любого" + } + }, + "1512:1783": { + "inputs": {}, + "class_type": "Context (rgthree)", + "_meta": { + "title": "reference combine context" + } + }, + "1512:1782": { + "inputs": { + "images": [ + "1512:1588:329", + 0 + ] + }, + "class_type": "Context (rgthree)", + "_meta": { + "title": "reference I2V context" + } + }, + "1512:1784": { + "inputs": { + "ctx_01": [ + "1512:1783", + 0 + ], + "ctx_02": [ + "1512:1782", + 0 + ] + }, + "class_type": "Context Switch (rgthree)", + "_meta": { + "title": "Context Switch (rgthree)" + } + }, + "1512:1637": { + "inputs": {}, + "class_type": "Context (rgthree)", + "_meta": { + "title": "combine context" + } + }, + "1512:1669": { + "inputs": { + "value": 16 + }, + "class_type": "PrimitiveFloat", + "_meta": { + "title": "FPS" + } + }, + "1512:1814:1810": { + "inputs": { + "any_02": [ + "1512:1669", + 0 + ] + }, + "class_type": "Any Switch (rgthree)", + "_meta": { + "title": "Any Switch (FPS)" + } + }, + "1512:1731:1236": { + "inputs": { + "preview": "", + "source": [ + "1512:1731:1098", + 0 + ] + }, + "class_type": "PreviewAny", + "_meta": { + "title": "Предпросмотр любого" + } + }, + "1512:1731:1098": { + "inputs": { + "any_02": [ + "1512:1731:1101", + 0 + ] + }, + "class_type": "Any Switch (rgthree)", + "_meta": { + "title": "Any Switch (rgthree)" + } + }, + "1512:1731:1101": { + "inputs": { + "value": false + }, + "class_type": "PrimitiveBoolean", + "_meta": { + "title": "Булево значение" + } + }, + "1512:1731:1099": { + "inputs": { + "boolean": [ + "1512:1731:1098", + 0 + ], + "on_true": [ + "1512:1730:1280", + 0 + ], + "on_false": [ + "1512:1730:1280", + 0 + ] + }, + "class_type": "easy ifElse", + "_meta": { + "title": "If else" + } + }, + "1512:1540": { + "inputs": { + "value": false + }, + "class_type": "PrimitiveBoolean", + "_meta": { + "title": "Булево значение" + } + }, + "1512:1757": { + "inputs": {}, + "class_type": "Any Switch (rgthree)", + "_meta": { + "title": "Any Switch (rgthree)" + } + } +} \ No newline at end of file