Advertisement
Satscape

AnimateDiff 4GB VRAM workflow

Dec 7th, 2023
893
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 8.10 KB | None | 0 0
  1. {"last_node_id": 107, "last_link_id": 231, "nodes": [{"id": 102, "type": "CheckpointLoaderSimple", "pos": [-1241, -300], "size": {"0": 467.2784423828125, "1": 98}, "flags": {}, "order": 0, "mode": 0, "outputs": [{"name": "MODEL", "type": "MODEL", "links": [226], "shape": 3, "slot_index": 0}, {"name": "CLIP", "type": "CLIP", "links": [223, 228], "shape": 3, "slot_index": 1}, {"name": "VAE", "type": "VAE", "links": [224], "shape": 3, "slot_index": 2}], "properties": {"Node name for S&R": "CheckpointLoaderSimple"}, "widgets_values": ["epicRealism_sd15.safetensors"], "color": "#432", "bgcolor": "#653"}, {"id": 97, "type": "PrimitiveNode", "pos": [-1231, -678], "size": {"0": 210, "1": 82}, "flags": {}, "order": 1, "mode": 0, "outputs": [{"name": "INT", "type": "INT", "links": [216], "slot_index": 0, "widget": {"name": "batch_size"}}], "title": "Number of Frames", "properties": {}, "widgets_values": [60, "fixed"], "color": "#332922", "bgcolor": "#593930"}, {"id": 100, "type": "ADE_EmptyLatentImageLarge", "pos": [-663, -481], "size": {"0": 315, "1": 106}, "flags": {}, "order": 10, "mode": 0, "inputs": [{"name": "width", "type": "INT", "link": 217, "widget": {"name": "width"}}, {"name": "height", "type": "INT", "link": 218, "widget": {"name": "height"}}, {"name": "batch_size", "type": "INT", "link": 216, "widget": {"name": "batch_size"}}], "outputs": [{"name": "LATENT", "type": "LATENT", "links": [219], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "ADE_EmptyLatentImageLarge"}, "widgets_values": [480, 272, 60]}, {"id": 93, "type": "ADE_AnimateDiffLoaderWithContext", "pos": [-82, -321], "size": {"0": 315, "1": 190}, "flags": {}, "order": 11, "mode": 0, "inputs": [{"name": "model", "type": "MODEL", "link": 227}, {"name": "context_options", "type": "CONTEXT_OPTIONS", "link": 206, "slot_index": 1}, {"name": "motion_lora", "type": "MOTION_LORA", "link": null}, {"name": "motion_model_settings", "type": "MOTION_MODEL_SETTINGS", "link": null}], "outputs": [{"name": "MODEL", "type": "MODEL", "links": [205], "shape": 3}], "properties": {"Node name for S&R": "ADE_AnimateDiffLoaderWithContext"}, "widgets_values": ["mm_sd_v15_v2.ckpt", "sqrt_linear (AnimateDiff)", 1, false]}, {"id": 103, "type": "Reroute", "pos": [-651, -560], "size": [75, 26], "flags": {}, "order": 9, "mode": 0, "inputs": [{"name": "", "type": "*", "link": 224}], "outputs": [{"name": "VAE", "type": "VAE", "links": [230], "slot_index": 0}], "properties": {"showOutputText": true, "horizontal": false}}, {"id": 7, "type": "KSampler", "pos": [461, -361], "size": {"0": 315, "1": 446}, "flags": {"pinned": false}, "order": 14, "mode": 0, "inputs": [{"name": "model", "type": "MODEL", "link": 205}, {"name": "positive", "type": "CONDITIONING", "link": 210}, {"name": "negative", "type": "CONDITIONING", "link": 215}, {"name": "latent_image", "type": "LATENT", "link": 219}, {"name": "seed", "type": "INT", "link": 6, "widget": {"name": "seed"}}], "outputs": [{"name": "LATENT", "type": "LATENT", "links": [9], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "KSampler"}, "widgets_values": [44444444, "fixed", 25, 7, "euler_ancestral", "normal", 1], "color": "#223", "bgcolor": "#335"}, {"id": 10, "type": "VAEDecode", "pos": [855, -356], "size": {"0": 210, "1": 46}, "flags": {}, "order": 15, "mode": 0, "inputs": [{"name": "samples", "type": "LATENT", "link": 9}, {"name": "vae", "type": "VAE", "link": 231}], "outputs": [{"name": "IMAGE", "type": "IMAGE", "links": [220], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "VAEDecode"}}, {"id": 106, "type": "Reroute", "pos": [658, -556], "size": [75, 26], "flags": {}, "order": 13, "mode": 0, "inputs": [{"name": "", "type": "*", "link": 230}], "outputs": [{"name": "VAE", "type": "VAE", "links": [231], "slot_index": 0}], "properties": {"showOutputText": true, "horizontal": false}}, {"id": 6, "type": "CLIPTextEncode", "pos": [-102, 90], "size": {"0": 391.23883056640625, "1": 78.14339447021484}, "flags": {}, "order": 7, "mode": 0, "inputs": [{"name": "clip", "type": "CLIP", "link": 223}], "outputs": [{"name": "CONDITIONING", "type": "CONDITIONING", "links": [215], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "CLIPTextEncode"}, "widgets_values": [""], "color": "#322", "bgcolor": "#533"}, {"id": 94, "type": "ADE_AnimateDiffUniformContextOptions", "pos": [-660, -4], "size": {"0": 315, "1": 154}, "flags": {}, "order": 2, "mode": 0, "outputs": [{"name": "CONTEXT_OPTIONS", "type": "CONTEXT_OPTIONS", "links": [206], "shape": 3}], "properties": {"Node name for S&R": "ADE_AnimateDiffUniformContextOptions"}, "widgets_values": [16, 1, 4, "uniform", false]}, {"id": 105, "type": "Lora Loader Stack (rgthree)", "pos": [-665, -319], "size": {"0": 315, "1": 246}, "flags": {}, "order": 8, "mode": 0, "inputs": [{"name": "model", "type": "MODEL", "link": 226}, {"name": "clip", "type": "CLIP", "link": 228}], "outputs": [{"name": "MODEL", "type": "MODEL", "links": [227], "shape": 3, "slot_index": 0}, {"name": "CLIP", "type": "CLIP", "links": [229], "shape": 3, "slot_index": 1}], "properties": {"Node name for S&R": "Lora Loader Stack (rgthree)"}, "widgets_values": ["None", 1, "None", 1, "None", 1, "None", 1]}, {"id": 98, "type": "PrimitiveNode", "pos": [-1232, -552], "size": {"0": 210, "1": 82}, "flags": {}, "order": 3, "mode": 0, "outputs": [{"name": "INT", "type": "INT", "links": [217], "slot_index": 0, "widget": {"name": "width"}}], "title": "Width", "properties": {}, "widgets_values": [480, "fixed"], "color": "#332922", "bgcolor": "#593930"}, {"id": 99, "type": "PrimitiveNode", "pos": [-1238, -425], "size": {"0": 210, "1": 82}, "flags": {}, "order": 4, "mode": 0, "outputs": [{"name": "INT", "type": "INT", "links": [218], "slot_index": 0, "widget": {"name": "height"}}], "title": "Height", "properties": {}, "widgets_values": [272, "fixed"], "color": "#332922", "bgcolor": "#593930"}, {"id": 107, "type": "Note", "pos": [-1555, -521], "size": [303.13962854179204, 142.1745822146945], "flags": {}, "order": 5, "mode": 0, "properties": {"text": ""}, "widgets_values": ["480x272 is 1080p / 4 - Works on 4GB VRAM\nYou could upscale the video in another workflow, as doing here is gonna break with only 4GB"], "color": "#432", "bgcolor": "#653"}, {"id": 3, "type": "CLIPTextEncode", "pos": [-102, -84], "size": {"0": 377.7811279296875, "1": 124.52955627441406}, "flags": {}, "order": 12, "mode": 0, "inputs": [{"name": "clip", "type": "CLIP", "link": 229}], "outputs": [{"name": "CONDITIONING", "type": "CONDITIONING", "links": [210], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "CLIPTextEncode"}, "widgets_values": ["A city park, summertime, people"], "color": "#232", "bgcolor": "#353"}, {"id": 5, "type": "PrimitiveNode", "pos": [-49, 212], "size": {"0": 285.6000061035156, "1": 82}, "flags": {}, "order": 6, "mode": 0, "outputs": [{"name": "INT", "type": "INT", "links": [6], "slot_index": 0, "widget": {"name": "seed"}}], "title": "Primitive (I'm using this as seed)", "properties": {}, "widgets_values": [44444444, "randomize"], "color": "#2a363b", "bgcolor": "#3f5159"}, {"id": 101, "type": "VHS_VideoCombine", "pos": [1122, -357], "size": {"0": 315, "1": 250}, "flags": {}, "order": 16, "mode": 0, "inputs": [{"name": "images", "type": "IMAGE", "link": 220}], "outputs": [], "properties": {"Node name for S&R": "VHS_VideoCombine"}, "widgets_values": {"frame_rate": 15, "loop_count": 0, "filename_prefix": "AnimateDiff", "format": "video/h264-mp4", "pingpong": false, "save_image": true, "crf": 15, "save_metadata": true, "audio_file": "", "videopreview": {"hidden": false, "paused": false}}}], "links": [[6, 5, 0, 7, 4, "INT"], [9, 7, 0, 10, 0, "LATENT"], [205, 93, 0, 7, 0, "MODEL"], [206, 94, 0, 93, 1, "CONTEXT_OPTIONS"], [210, 3, 0, 7, 1, "CONDITIONING"], [215, 6, 0, 7, 2, "CONDITIONING"], [216, 97, 0, 100, 2, "INT"], [217, 98, 0, 100, 0, "INT"], [218, 99, 0, 100, 1, "INT"], [219, 100, 0, 7, 3, "LATENT"], [220, 10, 0, 101, 0, "IMAGE"], [223, 102, 1, 6, 0, "CLIP"], [224, 102, 2, 103, 0, "*"], [226, 102, 0, 105, 0, "MODEL"], [227, 105, 0, 93, 0, "MODEL"], [228, 102, 1, 105, 1, "CLIP"], [229, 105, 1, 3, 0, "CLIP"], [230, 103, 0, 106, 0, "*"], [231, 106, 0, 10, 1, "VAE"]], "groups": [], "config": {}, "extra": {}, "version": 0.4}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement