{
  "last_node_id": 123,
  "last_link_id": 141,
  "nodes": [
    {
      "id": 17,
      "type": "VAELoader",
      "pos": [
        2540,
        510
      ],
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 0,
      "mode": 0,
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            15
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "vae-ft-mse-840000-ema-pruned.safetensors"
      ]
    },
    {
      "id": 16,
      "type": "VAEDecode",
      "pos": [
        2590,
        380
      ],
      "size": {
        "0": 210,
        "1": 46
      },
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 14
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 15
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            133
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 60,
      "type": "Note",
      "pos": [
        -80,
        320
      ],
      "size": {
        "0": 210,
        "1": 100
      },
      "flags": {},
      "order": 1,
      "mode": 0,
      "properties": {
        "text": ""
      },
      "widgets_values": [
        "To run this workflow, first press Reset in the Animation Builder and then press the Queue button, Do not use queue prompt in the ComfyUI menu."
      ],
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 59,
      "type": "Note",
      "pos": [
        510,
        30
      ],
      "size": {
        "0": 210,
        "1": 130
      },
      "flags": {},
      "order": 2,
      "mode": 0,
      "properties": {
        "text": ""
      },
      "widgets_values": [
        "The CR Current Frame node prints the current frame index to console so that you can see which frame is currently being processed"
      ],
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 15,
      "type": "EmptyLatentImage",
      "pos": [
        2260,
        220
      ],
      "size": {
        "0": 210,
        "1": 74
      },
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "width",
          "type": "INT",
          "link": 11,
          "widget": {
            "name": "width",
            "config": [
              "INT",
              {
                "default": 512,
                "min": 64,
                "max": 8192,
                "step": 8
              }
            ]
          }
        },
        {
          "name": "height",
          "type": "INT",
          "link": 12,
          "widget": {
            "name": "height",
            "config": [
              "INT",
              {
                "default": 512,
                "min": 64,
                "max": 8192,
                "step": 8
              }
            ]
          }
        },
        {
          "name": "batch_size",
          "type": "INT",
          "link": 72,
          "widget": {
            "name": "batch_size",
            "config": [
              "INT",
              {
                "default": 1,
                "min": 1,
                "max": 64
              }
            ]
          }
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            13
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "EmptyLatentImage"
      },
      "widgets_values": [
        512,
        512,
        1
      ]
    },
    {
      "id": 78,
      "type": "CR Integer To String",
      "pos": [
        510,
        340
      ],
      "size": {
        "0": 210,
        "1": 34
      },
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "int_",
          "type": "INT",
          "link": 91,
          "widget": {
            "name": "int_",
            "config": [
              "INT",
              {
                "default": 0,
                "min": 0,
                "max": 18446744073709552000
              }
            ]
          }
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            90
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CR Integer To String"
      },
      "widgets_values": [
        0
      ]
    },
    {
      "id": 77,
      "type": "ShowText|pysssss",
      "pos": [
        510,
        430
      ],
      "size": {
        "0": 210,
        "1": 80
      },
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "text",
          "type": "STRING",
          "link": 90
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null,
          "shape": 6
        }
      ],
      "properties": {
        "Node name for S&R": "ShowText|pysssss"
      },
      "widgets_values": [
        "0"
      ]
    },
    {
      "id": 68,
      "type": "Note",
      "pos": [
        510,
        -90
      ],
      "size": {
        "0": 210,
        "1": 70
      },
      "flags": {},
      "order": 3,
      "mode": 0,
      "properties": {
        "text": ""
      },
      "widgets_values": [
        "Frames are processed in sequence starting from frame index 0"
      ],
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 13,
      "type": "KSampler",
      "pos": [
        2160,
        380
      ],
      "size": {
        "0": 320,
        "1": 470
      },
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 53
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 8
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 9
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 13
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            14
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        32603574575332,
        "fixed",
        20,
        8,
        "euler",
        "normal",
        1
      ]
    },
    {
      "id": 14,
      "type": "CR SD1.5 Aspect Ratio",
      "pos": [
        2160,
        -90
      ],
      "size": {
        "0": 320,
        "1": 240
      },
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "width",
          "type": "INT",
          "link": 140,
          "widget": {
            "name": "width",
            "config": [
              "INT",
              {
                "default": 512,
                "min": 64,
                "max": 2048
              }
            ]
          }
        }
      ],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": [
            11
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            12
          ],
          "shape": 3,
          "slot_index": 1
        },
        {
          "name": "upscale_factor",
          "type": "FLOAT",
          "links": [],
          "shape": 3,
          "slot_index": 2
        },
        {
          "name": "batch_size",
          "type": "INT",
          "links": [
            72
          ],
          "shape": 3,
          "slot_index": 3
        }
      ],
      "properties": {
        "Node name for S&R": "CR SD1.5 Aspect Ratio"
      },
      "widgets_values": [
        512,
        512,
        "custom",
        "Off",
        1,
        1
      ]
    },
    {
      "id": 26,
      "type": "Save Image Sequence (mtb)",
      "pos": [
        2900,
        210
      ],
      "size": {
        "0": 550,
        "1": 730
      },
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 133,
          "slot_index": 0
        },
        {
          "name": "current_frame",
          "type": "INT",
          "link": 56,
          "widget": {
            "name": "current_frame",
            "config": [
              "INT",
              {
                "default": 0,
                "min": 0,
                "max": 9999999
              }
            ]
          },
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "Save Image Sequence (mtb)"
      },
      "widgets_values": [
        "F:\\ComfyUI\\ComfyUI_windows_portable\\ComfyUI\\output\\Test\\",
        5
      ],
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 11,
      "type": "CLIPTextEncode",
      "pos": [
        1880,
        520
      ],
      "size": {
        "0": 210,
        "1": 100
      },
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 54
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            8
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "1girl, period costume"
      ]
    },
    {
      "id": 12,
      "type": "CLIPTextEncode",
      "pos": [
        1880,
        680
      ],
      "size": {
        "0": 210,
        "1": 100
      },
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 55
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            9
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "embedding:EasyNegative,\nnsfw"
      ]
    },
    {
      "id": 83,
      "type": "CR Integer To String",
      "pos": [
        1870,
        20
      ],
      "size": {
        "0": 210,
        "1": 34
      },
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "int_",
          "type": "INT",
          "link": 134,
          "widget": {
            "name": "int_",
            "config": [
              "INT",
              {
                "default": 0,
                "min": 0,
                "max": 18446744073709552000
              }
            ]
          }
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            99
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CR Integer To String"
      },
      "widgets_values": [
        0
      ]
    },
    {
      "id": 87,
      "type": "Note",
      "pos": [
        2160,
        -250
      ],
      "size": {
        "0": 210,
        "1": 90
      },
      "flags": {},
      "order": 4,
      "mode": 0,
      "properties": {
        "text": ""
      },
      "widgets_values": [
        "The Value Scheduler is increasing the width in CR SD1.5 Aspect Ratio\n"
      ],
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 47,
      "type": "CheckpointLoaderSimple",
      "pos": [
        1420,
        380
      ],
      "size": {
        "0": 380,
        "1": 100
      },
      "flags": {},
      "order": 5,
      "mode": 0,
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            53
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            54,
            55
          ],
          "shape": 3,
          "slot_index": 1
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": null,
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "SD1_5\\ComfyrollAnime_v1_fp16_pruned.safetensors"
      ]
    },
    {
      "id": 91,
      "type": "Reroute",
      "pos": [
        990,
        -100
      ],
      "size": [
        107.2,
        26
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 135
        }
      ],
      "outputs": [
        {
          "name": "SCHEDULE",
          "type": "SCHEDULE",
          "links": [
            138
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "showOutputText": true,
        "horizontal": false
      }
    },
    {
      "id": 119,
      "type": "CR Central Schedule",
      "pos": [
        10,
        -450
      ],
      "size": {
        "0": 390,
        "1": 520
      },
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "schedule",
          "type": "SCHEDULE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "SCHEDULE",
          "type": "SCHEDULE",
          "links": [
            135
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "show_text",
          "type": "STRING",
          "links": null,
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "CR Central Schedule"
      },
      "widgets_values": [
        "0, 512\n2, 640\n3, 768\n4, 896\n8, 1024",
        "Value",
        "V1",
        "0, Art Nouveau\n2, Antarctica\n4, 2D Game Art\n5, Animation\n8, Airbrushing",
        "Text",
        "T1",
        "schedule",
        "Model",
        "",
        "CR"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 84,
      "type": "ShowText|pysssss",
      "pos": [
        1870,
        110
      ],
      "size": {
        "0": 210,
        "1": 80
      },
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "text",
          "type": "STRING",
          "link": 99
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null,
          "shape": 6
        }
      ],
      "properties": {
        "Node name for S&R": "ShowText|pysssss"
      },
      "widgets_values": [
        "512"
      ]
    },
    {
      "id": 118,
      "type": "CR Value Scheduler",
      "pos": [
        1460,
        0
      ],
      "size": {
        "0": 320,
        "1": 170
      },
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "schedule",
          "type": "SCHEDULE",
          "link": 139
        },
        {
          "name": "current_frame",
          "type": "INT",
          "link": 141,
          "widget": {
            "name": "current_frame",
            "config": [
              "INT",
              {
                "default": 0,
                "min": 0,
                "max": 9999,
                "step": 1
              }
            ]
          }
        }
      ],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            134,
            140
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": null,
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "CR Value Scheduler"
      },
      "widgets_values": [
        "Schedule",
        0,
        "V1",
        512,
        "CR"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 86,
      "type": "Note",
      "pos": [
        850,
        410
      ],
      "size": {
        "0": 210,
        "1": 120
      },
      "flags": {},
      "order": 7,
      "mode": 0,
      "properties": {
        "text": ""
      },
      "widgets_values": [
        "Schedules should always have a line for frame 0\n\nIf frame 0 is missing the default value will be used"
      ],
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 114,
      "type": "Note",
      "pos": [
        1180,
        -220
      ],
      "size": {
        "0": 210,
        "1": 140
      },
      "flags": {},
      "order": 8,
      "mode": 0,
      "properties": {
        "text": ""
      },
      "widgets_values": [
        "You can define either local or central schedules\n\nThis workflow shows both. You can switch between the two.\n\nThis switch would not normally be needed."
      ],
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 120,
      "type": "CR Simple Schedule",
      "pos": [
        840,
        150
      ],
      "size": {
        "0": 290,
        "1": 200
      },
      "flags": {},
      "order": 9,
      "mode": 0,
      "outputs": [
        {
          "name": "SCHEDULE",
          "type": "SCHEDULE",
          "links": [
            137
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CR Simple Schedule"
      },
      "widgets_values": [
        "0, 512\n2, 640\n3, 768\n4, 896\n8, 1024",
        "Value",
        "V1",
        "CR"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 25,
      "type": "CR Current Frame",
      "pos": [
        510,
        230
      ],
      "size": {
        "0": 210,
        "1": 58
      },
      "flags": {
        "collapsed": false
      },
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "index",
          "type": "INT",
          "link": 23,
          "widget": {
            "name": "index",
            "config": [
              "INT",
              {
                "default": 1,
                "min": -10000,
                "max": 10000
              }
            ]
          }
        }
      ],
      "outputs": [
        {
          "name": "index",
          "type": "INT",
          "links": [
            56,
            91,
            141
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CR Current Frame"
      },
      "widgets_values": [
        1,
        "Yes"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 24,
      "type": "Animation Builder (mtb)",
      "pos": [
        180,
        230
      ],
      "size": {
        "0": 210,
        "1": 320
      },
      "flags": {},
      "order": 10,
      "mode": 0,
      "outputs": [
        {
          "name": "frame",
          "type": "INT",
          "links": [
            23
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "0-1 (scaled)",
          "type": "FLOAT",
          "links": null,
          "shape": 3
        },
        {
          "name": "count",
          "type": "INT",
          "links": null,
          "shape": 3
        },
        {
          "name": "loop_ended",
          "type": "BOOLEAN",
          "links": null,
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "Animation Builder (mtb)"
      },
      "widgets_values": [
        10,
        1,
        1,
        11,
        1,
        "frame: 1 / 9",
        "Done 😎!",
        "reset",
        "queue"
      ],
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 121,
      "type": "CR Schedule Input Switch",
      "pos": [
        1170,
        0
      ],
      "size": {
        "0": 240,
        "1": 80
      },
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "schedule1",
          "type": "SCHEDULE",
          "link": 138
        },
        {
          "name": "schedule2",
          "type": "SCHEDULE",
          "link": 137
        }
      ],
      "outputs": [
        {
          "name": "SCHEDULE",
          "type": "SCHEDULE",
          "links": [
            139
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CR Schedule Input Switch"
      },
      "widgets_values": [
        1
      ]
    }
  ],
  "links": [
    [
      8,
      11,
      0,
      13,
      1,
      "CONDITIONING"
    ],
    [
      9,
      12,
      0,
      13,
      2,
      "CONDITIONING"
    ],
    [
      11,
      14,
      0,
      15,
      0,
      "INT"
    ],
    [
      12,
      14,
      1,
      15,
      1,
      "INT"
    ],
    [
      13,
      15,
      0,
      13,
      3,
      "LATENT"
    ],
    [
      14,
      13,
      0,
      16,
      0,
      "LATENT"
    ],
    [
      15,
      17,
      0,
      16,
      1,
      "VAE"
    ],
    [
      23,
      24,
      0,
      25,
      0,
      "INT"
    ],
    [
      53,
      47,
      0,
      13,
      0,
      "MODEL"
    ],
    [
      54,
      47,
      1,
      11,
      0,
      "CLIP"
    ],
    [
      55,
      47,
      1,
      12,
      0,
      "CLIP"
    ],
    [
      56,
      25,
      0,
      26,
      1,
      "INT"
    ],
    [
      72,
      14,
      3,
      15,
      2,
      "INT"
    ],
    [
      90,
      78,
      0,
      77,
      0,
      "STRING"
    ],
    [
      91,
      25,
      0,
      78,
      0,
      "INT"
    ],
    [
      99,
      83,
      0,
      84,
      0,
      "STRING"
    ],
    [
      123,
      98,
      0,
      91,
      0,
      "*"
    ],
    [
      133,
      16,
      0,
      26,
      0,
      "IMAGE"
    ],
    [
      134,
      118,
      0,
      83,
      0,
      "INT"
    ],
    [
      135,
      119,
      0,
      91,
      0,
      "*"
    ],
    [
      137,
      120,
      0,
      121,
      1,
      "SCHEDULE"
    ],
    [
      138,
      91,
      0,
      121,
      0,
      "SCHEDULE"
    ],
    [
      139,
      121,
      0,
      118,
      0,
      "SCHEDULE"
    ],
    [
      140,
      118,
      0,
      14,
      0,
      "INT"
    ],
    [
      141,
      25,
      0,
      118,
      1,
      "INT"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {},
  "version": 0.4
}