{
  "id": "0a724491-87ae-442c-ae2a-78c0227b6ba5",
  "revision": 0,
  "last_node_id": 5,
  "last_link_id": 3,
  "nodes": [
    {
      "id": 1,
      "type": "MarkdownNote",
      "pos": [
        -1060,
        -420
      ],
      "size": [
        560,
        760
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "# ByteDance OmniHuman 2.0 — Talking Avatar\n\n## Input Assets\n- [curly_hair_portrait.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/curly_hair_portrait.png)\n- [window_notes_narration.mp3](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/window_notes_narration.mp3)\n\n## What it does\nOne portrait plus one audio track becomes a video of that person speaking or singing. The clip runs as long as the audio (4 to 300 seconds) and keeps the portrait's framing.\n\n## What the model does well\n- Lip sync, blinks and natural head motion from a single still image.\n- A short prompt can direct gesture, emotion and camera; with several people in frame, name who speaks.\n- Two voices in one track are split between two on-screen people automatically.\n\n## How to use\n1. Load a front-facing portrait, at least 300 px a side, aspect ratio between 1:2.5 and 2.5:1.\n2. Load the speech or the song: it sets the length and the mouth movement.\n3. Optionally describe the performance in the prompt; keep any camera instruction short.\n4. Queue it. Audio shorter than 4 s or longer than 300 s is rejected before it bills.\n"
      ],
      "widgets_values_named": {
        "text": "# ByteDance OmniHuman 2.0 — Talking Avatar\n\n## Input Assets\n- [curly_hair_portrait.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/curly_hair_portrait.png)\n- [window_notes_narration.mp3](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/window_notes_narration.mp3)\n\n## What it does\nOne portrait plus one audio track becomes a video of that person speaking or singing. The clip runs as long as the audio (4 to 300 seconds) and keeps the portrait's framing.\n\n## What the model does well\n- Lip sync, blinks and natural head motion from a single still image.\n- A short prompt can direct gesture, emotion and camera; with several people in frame, name who speaks.\n- Two voices in one track are split between two on-screen people automatically.\n\n## How to use\n1. Load a front-facing portrait, at least 300 px a side, aspect ratio between 1:2.5 and 2.5:1.\n2. Load the speech or the song: it sets the length and the mouth movement.\n3. Optionally describe the performance in the prompt; keep any camera instruction short.\n4. Queue it. Audio shorter than 4 s or longer than 300 s is rejected before it bills.\n"
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 2,
      "type": "LoadImage",
      "pos": [
        -440,
        -420
      ],
      "size": [
        420,
        470
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "image",
          "name": "image",
          "type": "COMBO",
          "widget": {
            "name": "image"
          },
          "link": null
        },
        {
          "localized_name": "choose file to upload",
          "name": "upload",
          "type": "IMAGEUPLOAD",
          "widget": {
            "name": "upload"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            1
          ]
        },
        {
          "localized_name": "MASK",
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "curly_hair_portrait.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "curly_hair_portrait.png",
        "upload": "image"
      }
    },
    {
      "id": 3,
      "type": "LoadAudio",
      "pos": [
        -440,
        110
      ],
      "size": [
        420,
        170
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "audio",
          "name": "audio",
          "type": "COMBO",
          "widget": {
            "name": "audio"
          },
          "link": null
        },
        {
          "localized_name": "audioUI",
          "name": "audioUI",
          "type": "AUDIO_UI",
          "widget": {
            "name": "audioUI"
          },
          "link": null
        },
        {
          "localized_name": "choose file to upload",
          "name": "upload",
          "type": "AUDIOUPLOAD",
          "widget": {
            "name": "upload"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "AUDIO",
          "name": "AUDIO",
          "type": "AUDIO",
          "links": [
            2
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "LoadAudio"
      },
      "widgets_values": [
        "window_notes_narration.mp3",
        ""
      ],
      "widgets_values_named": {
        "audio": "window_notes_narration.mp3",
        "upload": ""
      }
    },
    {
      "id": 4,
      "type": "ByteDanceTalkingAvatarNode",
      "pos": [
        60,
        -420
      ],
      "size": [
        420,
        204
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "model",
          "name": "model",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "model"
          },
          "link": null
        },
        {
          "localized_name": "image",
          "name": "model.image",
          "type": "IMAGE",
          "link": 1
        },
        {
          "localized_name": "audio",
          "name": "model.audio",
          "type": "AUDIO",
          "link": 2
        },
        {
          "localized_name": "prompt",
          "name": "model.prompt",
          "type": "STRING",
          "widget": {
            "name": "model.prompt"
          },
          "link": null
        },
        {
          "localized_name": "seed",
          "name": "model.seed",
          "type": "INT",
          "widget": {
            "name": "model.seed"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "VIDEO",
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            3
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ByteDanceTalkingAvatarNode"
      },
      "widgets_values": [
        "OmniHuman 2.0",
        "She speaks to the camera, one small nod at the start, warm and unhurried. Static camera.",
        42,
        "fixed",
        "fixed"
      ],
      "widgets_values_named": {
        "model": "OmniHuman 2.0",
        "model.prompt": "She speaks to the camera, one small nod at the start, warm and unhurried. Static camera.",
        "model.seed": 42,
        "control_after_generate#1": "fixed",
        "control_after_generate": "fixed"
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 5,
      "type": "SaveVideo",
      "pos": [
        560,
        -420
      ],
      "size": [
        560,
        540
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO",
          "link": 3
        },
        {
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          },
          "link": null
        },
        {
          "localized_name": "codec",
          "name": "format.codec",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "format.codec"
          },
          "link": null
        },
        {
          "localized_name": "format",
          "name": "format",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "format"
          },
          "link": null
        },
        {
          "localized_name": "codec",
          "name": "codec",
          "shape": 7,
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "codec"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO",
          "links": null
        }
      ],
      "properties": {},
      "widgets_values": [
        "video/ByteDance_OmniHuman_2.0",
        "auto",
        "auto",
        "auto"
      ],
      "widgets_values_named": {
        "filename_prefix": "video/ByteDance_OmniHuman_2.0",
        "format": "auto",
        "format.codec": "auto",
        "codec": "auto"
      }
    }
  ],
  "links": [
    [
      1,
      2,
      0,
      4,
      1,
      "IMAGE"
    ],
    [
      2,
      3,
      0,
      4,
      2,
      "AUDIO"
    ],
    [
      3,
      4,
      0,
      5,
      0,
      "VIDEO"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.5413,
      "offset": [
        1263.2,
        623.2
      ]
    }
  },
  "version": 0.4
}