{
  "id": "a9ce14e1-ff37-42fd-bf3b-a8203a7103e4",
  "revision": 0,
  "last_node_id": 25,
  "last_link_id": 27,
  "nodes": [
    {
      "id": 16,
      "type": "HeyGenCreateAvatarNode",
      "pos": [
        -567.8389832742362,
        391.3447007424943
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 0,
      "mode": 4,
      "inputs": [
        {
          "label": "ref_image_1",
          "name": "source.reference_images.ref_image_1",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "avatar_id",
          "type": "STRING",
          "links": [
            23
          ]
        },
        {
          "name": "preview",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.28.0",
        "Node name for S&R": "HeyGenCreateAvatarNode"
      },
      "widgets_values": [
        "prompt",
        ""
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 17,
      "type": "HeyGenAvatarVideoNode",
      "pos": [
        502.0422486670583,
        347.93748123861235
      ],
      "size": [
        400,
        544
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            25
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.28.0",
        "Node name for S&R": "HeyGenAvatarVideoNode"
      },
      "widgets_values": [
        "auto",
        "Annie Lounge Standing Side",
        "script",
        "This is a demo showing how to generate videos using preset avatars. You can also create your own custom avatar.",
        "(avatar's default voice)",
        "",
        1,
        "",
        "720p",
        "auto",
        "",
        2028471128,
        "randomize"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 18,
      "type": "SaveText",
      "pos": [
        157.45256171931618,
        603.6708249501953
      ],
      "size": [
        270,
        220
      ],
      "flags": {},
      "order": 8,
      "mode": 4,
      "inputs": [
        {
          "name": "text",
          "type": "STRING",
          "link": 22
        }
      ],
      "outputs": [
        {
          "name": "text",
          "type": "STRING",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.28.0",
        "Node name for S&R": "SaveText"
      },
      "widgets_values": [
        "HeyGen/avatar_id",
        "txt"
      ]
    },
    {
      "id": 19,
      "type": "StringConcatenate",
      "pos": [
        -134.3630960008337,
        599.8543917562325
      ],
      "size": [
        233.28125,
        220
      ],
      "flags": {},
      "order": 7,
      "mode": 4,
      "inputs": [
        {
          "name": "string_b",
          "type": "STRING",
          "widget": {
            "name": "string_b"
          },
          "link": 24
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            22
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.28.0",
        "Node name for S&R": "StringConcatenate"
      },
      "widgets_values": [
        "HeyGen Avatar ID:",
        "",
        ""
      ]
    },
    {
      "id": 20,
      "type": "PreviewAny",
      "pos": [
        -136.57904580476713,
        388.2264973593295
      ],
      "size": [
        225,
        152
      ],
      "flags": {},
      "order": 4,
      "mode": 4,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 23
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            24
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.28.0",
        "Node name for S&R": "PreviewAny"
      },
      "widgets_values": []
    },
    {
      "id": 21,
      "type": "SaveVideo",
      "pos": [
        942.6909579858429,
        346.6916164316733
      ],
      "size": [
        406.578125,
        524.359375
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 25
        }
      ],
      "outputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.28.0"
      },
      "widgets_values": [
        "video/HeyGen_avatar",
        "auto",
        "auto"
      ]
    },
    {
      "id": 23,
      "type": "MarkdownNote",
      "pos": [
        -558.6536439503,
        657.4440213780166
      ],
      "size": [
        348.90625,
        137.078125
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Create Avatar",
      "properties": {},
      "widgets_values": [
        "You can use prompt or input image to create your own avatar, please save the avatar ID for reuse"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 24,
      "type": "ColorToRGBInt",
      "pos": [
        -94.99976475636709,
        928.9640681414954
      ],
      "size": [
        270,
        132
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "rgb_int",
          "type": "INT",
          "links": null
        },
        {
          "name": "hex",
          "type": "COLOR",
          "links": [
            26
          ]
        },
        {
          "name": "alpha",
          "type": "FLOAT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.28.0",
        "Node name for S&R": "ColorToRGBInt"
      },
      "widgets_values": [
        "#ffffff"
      ]
    },
    {
      "id": 25,
      "type": "PreviewAny",
      "pos": [
        199.50004880993117,
        930.0510969280014
      ],
      "size": [
        225,
        152
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 26
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.28.0",
        "Node name for S&R": "PreviewAny"
      },
      "widgets_values": []
    }
  ],
  "links": [
    [
      22,
      19,
      0,
      18,
      0,
      "STRING"
    ],
    [
      23,
      16,
      0,
      20,
      0,
      "STRING"
    ],
    [
      24,
      20,
      0,
      19,
      0,
      "STRING"
    ],
    [
      25,
      17,
      0,
      21,
      0,
      "VIDEO"
    ],
    [
      26,
      24,
      1,
      25,
      0,
      "COLOR"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "Select and Ctrl-B to enable",
      "bounding": [
        -577.8389832742362,
        318.2264973593295,
        1015.2915449935524,
        515.4443275908658
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 2,
      "title": "Custom background Color",
      "bounding": [
        -104.99976475636709,
        858.9640681414954,
        539.4998135662985,
        233.08702878650604
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 1.1899385445945614,
      "offset": [
        -328.19040950200224,
        -211.16803516673343
      ]
    },
    "frontendVersion": "1.45.21"
  },
  "version": 0.4
}