explaingit

rookiestar28/comfyui-longcat-avatar

Analysis updated 2026-05-18

18PythonAudience · vibe coderComplexity · 4/5Setup · hard

TLDR

This ComfyUI extension turns a photo and an audio clip into a talking head video by adding support for the LongCat Avatar 1.5 model.

Mindmap

mindmap
  root((LongCat Avatar))
    What it does
      Photo plus audio
      Lip sync video
      Two person mode
    Tech stack
      Python
      ComfyUI
      Whisper
    Use cases
      Talking avatars
      Voiceover videos
    Audience
      Vibe coders
      AI hobbyists

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Turn a portrait photo and a voice recording into a lip synced talking video inside ComfyUI.

USE CASE 2

Generate two person conversation videos using two simultaneous audio tracks.

USE CASE 3

Produce 480p or 720p avatar videos with background music separated from vocals automatically.

USE CASE 4

Experiment with different DiT model formats to balance video quality against GPU memory.

What is it built with?

PythonComfyUIPyTorchWhisper

How does it compare?

rookiestar28/comfyui-longcat-avatarandyuneducated/resolve-aicarriex6/cvpr2026_similarity_as_evidence
Stars181818
LanguagePythonPythonPython
Setup difficultyhardhardhard
Complexity4/54/54/5
Audiencevibe coderdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires an NVIDIA GPU, large model downloads from Hugging Face, and an existing PyTorch install.

In plain English

This repository is an extension for ComfyUI, a visual workflow tool used to run AI image and video generation pipelines. The extension adds support for LongCat Avatar 1.5, an AI system that generates realistic talking-head videos of a person from a still photo and an audio recording. You provide an image of a person and a spoken audio file, and the model produces a video where the person's lips and expressions move in sync with the audio. The system works on NVIDIA graphics cards only and requires a substantial amount of model files downloaded separately from Hugging Face. The core model is called a DiT (Diffusion Transformer) and comes in several formats: a set of official weight files split across multiple files, a compressed INT8 version that uses less memory, or a single merged file for simpler loading. Audio is processed using Whisper large v3, an audio transcription model repurposed here to drive the lip and facial animation. A separate small model called a distill LoRA is also required and makes the generation work in just 8 steps rather than many more. Once installed and configured inside ComfyUI, you connect nodes in a visual graph to load the model, encode text, encode audio, and generate the video. The extension supports generating at 480p or 720p resolution, working with a single audio track or two simultaneous audio tracks for two-person scenarios, and optionally separating vocals from background music before feeding audio into the model. Installation involves cloning this repository into the ComfyUI custom nodes folder and installing Python dependencies. FFmpeg must also be installed on the system separately. The extension intentionally does not install PyTorch or attention acceleration libraries to avoid breaking an existing ComfyUI setup, those must already be in place. The README lists which model files go in which ComfyUI folders and provides direct download links for each. Several attention backends are supported for users who want faster inference.

Copy-paste prompts

Prompt 1
Walk me through installing ComfyUI-LongCat-Avatar and downloading the correct DiT model files.
Prompt 2
Show me a ComfyUI node graph that loads the LongCat Avatar model, encodes my audio, and outputs a 720p video.
Prompt 3
Explain the difference between the INT8 and merged DiT model formats for LongCat Avatar.
Prompt 4
Help me troubleshoot why FFmpeg is required for this ComfyUI extension to work.

Frequently asked questions

What is comfyui-longcat-avatar?

This ComfyUI extension turns a photo and an audio clip into a talking head video by adding support for the LongCat Avatar 1.5 model.

What language is comfyui-longcat-avatar written in?

Mainly Python. The stack also includes Python, ComfyUI, PyTorch.

How hard is comfyui-longcat-avatar to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is comfyui-longcat-avatar for?

Mainly vibe coder.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.