A ComfyUI plugin based on HY-Motion 1.0 for text-to-3D human motion generation.
JavaScript
312
31 commits
updated Aug 20, 2026
A ComfyUI plugin based on HY-Motion 1.0 for text-to-3D human motion generation.
cd ComfyUI/custom_nodes/ComfyUI-HY-Motion1
pip install -r requirements.txt
Place model weights in ComfyUI's models directory:
ComfyUI/
└── models/
└── HY-Motion/
└── ckpts/
├── tencent/
│ ├── HY-Motion-1.0/
│ │ ├── config.yml
│ │ └── latest.ckpt
│ └── HY-Motion-1.0-Lite/
│ ├── config.yml
│ └── latest.ckpt
├── GGUF/ # Optional: for GGUF models
│ └── Qwen3-8B-Q4_K_M.gguf
├── clip-vit-large-patch14 # Required for text encoding
├── Qwen3-0.6B # Optional: lightweight alternative
├── Qwen3-8B-bnb-4bit/ # Optional: bnb-4bit quantized
└── Qwen3-8B-AWQ/ # Optional: AWQ quantized
To use AWQ quantized models, install the auto-awq package:
pip install auto-awq
If auto-awq installation fails, the system will automatically fall back to regular loading.
| Model | Source | VRAM Required |
|---|---|---|
| Qwen3-8B-bnb-4bit | unsloth/Qwen3-8B-bnb-4bit | ~4-5GB |
| Qwen3-8B-AWQ | Qwen/Qwen3-8B-AWQ | ~3-4GB |
| Qwen3-8B-GGUF | Qwen/Qwen3-8B-GGUF | ~5GB (Q4_K_M) |
| HY-Motion-1.0 | tencent/HY-Motion-1.0 | ~8GB+ |
Download using huggingface-cli:
# Create directory first
mkdir -p models/HY-Motion/ckpts/tencent
# Download models
huggingface-cli download tencent/HY-Motion-1.0 --local-dir models/HY-Motion/ckpts/tencent
or manually download from https://huggingface.co/tencent/HY-Motion-1.0/tree/main
Load Qwen3-8B LLM from HuggingFace (supports BitsAndBytes quantization).
| Parameter | Description |
|---|---|
| model_name | Select Qwen3 model from the list |
| quantization | Quantization mode:none / int8 / int4 / bnb-4bit / awq |
| offload_to_cpu | Load model on CPU instead of GPU (slower but saves VRAM) |
ComfyUI/models/HY-Motion/ckpts/Qwen3-8B-bnb-4bit/ComfyUI/models/HY-Motion/ckpts/Qwen3-8B-AWQ/The new quantized models offer significant memory savings:
| Model Format | VRAM Required | Loading Speed | Quality |
|---|---|---|---|
| Qwen3-8B (full) | ~16GB | Slow | Best |
| Qwen3-8B-int8 | ~8GB | Medium | Good |
| Qwen3-8B-int4 | ~4GB | Fast | Acceptable |
| Qwen3-8B-bnb-4bit | ~4-5GB | Fast | Good |
| Qwen3-8B-AWQ | ~3-4GB | Very Fast | Very Good |
Recommendation: For most systems, use Qwen3-8B-AWQ or Qwen3-8B-bnb-4bit for the best balance of speed and quality with minimal memory usage.
Load Qwen3-8B LLM from GGUF file.
| Parameter | Description |
|---|---|
| gguf_file | Select GGUF file from the list |
| offload_to_cpu | Load model on CPU instead of GPU (slower but saves VRAM) |
Load Text2MotionPrompter LLM for prompt rewriting and duration estimation.
| Parameter | Description |
|---|---|
| model_source | Model source:(auto download) or local path |
| offload_to_cpu | Load model on CPU instead of GPU (slower but saves VRAM) |
Note: The model will be automatically downloaded from HuggingFace on first use (~2-3GB).
Rewrite text prompt and estimate motion duration using LLM.
| Parameter | Description |
|---|---|
| prompter | Prompter model from Load Prompter node |
| text | Original text description (supports Chinese and English) |
| Output | Description |
|---|---|
| rewritten_text | Optimized English description |
| duration | Estimated motion duration in seconds |
Note: You need to download GGUF files manually from https://huggingface.co/Qwen/Qwen3-8B-GGUF
Place GGUF files in: ComfyUI/models/HY-Motion/ckpts/GGUF/
Recommended GGUF versions:
| File | Size | Description |
|---|---|---|
| Qwen3-8B-Q4_K_M.gguf | 5.03 GB | Best balance of quality and size (recommended) |
| Qwen3-8B-Q5_K_M.gguf | 5.85 GB | Higher quality |
| Qwen3-8B-Q6_K.gguf | 6.73 GB | Near original quality |
| Qwen3-8B-Q8_0.gguf | ~8 GB | Almost lossless |
Load Motion Diffusion Network.
| Parameter | Description |
|---|---|
| model_name | Select model version:HY-Motion-1.0 or HY-Motion-1.0-Lite |
Encode text prompt for motion generation.
| Parameter | Description |
|---|---|
| llm | LLM model from Load LLM node |
| text | Motion description text |
Core generation node.
| Parameter | Description |
|---|---|
| network | Network from Load Network node |
| conditioning | Conditioning from Encode Text node |
| duration | Motion duration (seconds) |
| seed | Random seed |
| cfg_scale | Text guidance scale |
| num_samples | Number of samples to generate |
Render skeleton preview images (2D frame sequence).
Interactive 3D animation preview with Three.js viewer.
| Feature | Description |
|---|---|
| Playback | Play/pause, speed control, timeline scrubbing |
| Display | Toggle skeleton, mesh, grid visibility |
| Export | Download GLB file with skeleton animation |
This node provides a pure frontend GLB export that requires no additional Python dependencies.
Note: This node does NOT automatically save files. You must manually click the "Export GLB" button in the viewer to download the animation file.
Export FBX file with optional custom Mixamo character retargeting (requires fbxsdkpy installation).
| Parameter | Description |
|---|---|
| motion_data | Motion data from Generate node |
| output_dir | Output subdirectory in ComfyUI output folder |
| filename_prefix | Prefix for output filenames |
| custom_fbx_path | (Optional) Path to custom FBX model for retargeting |
| yaw_offset | (Optional) Y-axis rotation offset in degrees (-180 to 180) |
| scale | (Optional) Force scale multiplier (0 = auto) |
| Input | Resolved Path |
|---|---|
3d/char.fbx | ComfyUI/input/3d/char.fbx (default to input/) |
input/3d/char.fbx | ComfyUI/input/3d/char.fbx |
output/3d/char.fbx | ComfyUI/output/3d/char.fbx |
D:\Models\char.fbx | D:\Models\char.fbx (absolute path) |
| (empty) | Uses default wooden boy model |
mixamorig: prefixNote: The retargeting code (
retarget_fbx.py) is adapted from ComfyUI-HyMotion.
Save in NPZ format.
[HY-Motion Load LLM] ──┐
├──> [HY-Motion Encode Text] ──┐
[HY-Motion Load Network] ─────────────────────────────┴──> [HY-Motion Generate] ──┬──> [HY-Motion Preview]
├──> [HY-Motion Preview Animation (3D)] ──> Export GLB
├──> [HY-Motion Save NPZ]
└──> [HY-Motion Export FBX]
[HY-Motion Load Prompter] ──> [HY-Motion Rewrite Prompt] ──┬──> rewritten_text ──> [HY-Motion Encode Text]
│ │
│ └──> duration ──> [HY-Motion Generate]
│
└── text (user input)
[HY-Motion Load LLM] ──────────────────────────────────────────> [HY-Motion Encode Text] ──┐
│
[HY-Motion Load Network] ─────────────────────────────────────────────────────────────────┴──> [HY-Motion Generate]
The Prompt Rewrite workflow:
[HY-Motion Load LLM (GGUF)] ──> [HY-Motion Encode Text] ──> ...
VRAM Requirements:
quantization=none: ~16GB VRAMquantization=int8: ~8GB VRAMquantization=int4: ~4GB VRAMCPU Offload:
offload_to_cpu optionGGUF Requirements:
transformers>=4.40ComfyUI/models/HY-Motion/ckpts/GGUF/FBX Export: Requires additional fbxsdkpy installation:
pip install fbxsdkpy --extra-index-url https://gitlab.inria.fr/api/v4/projects/18692/packages/pypi/simple
Having trouble installing fbxsdkpy? Use the HY-Motion Preview Animation (3D) node instead! It provides a pure frontend GLB export with skeleton animation that works without any additional Python dependencies.
Text Encoder: CLIP model will be downloaded automatically on first use. Qwen3-8B will be downloaded automatically when using Load LLM node (not GGUF).
Prompt Rewrite: Text2MotionPrompter model will be downloaded automatically on first use (~2-3GB). Supports Chinese and English input.
Please refer to the HY-Motion 1.0 original project license.
316 followers · starred Dec 2025
97 followers · starred Jan 2026
433 followers · starred Jan 2026
A ComfyUI plugin based on HY-Motion 1.0 for text-to-3D human motion generation.
JavaScript
312
31 commits
updated Aug 20, 2026
A ComfyUI plugin based on HY-Motion 1.0 for text-to-3D human motion generation.
cd ComfyUI/custom_nodes/ComfyUI-HY-Motion1
pip install -r requirements.txt
Place model weights in ComfyUI's models directory:
ComfyUI/
└── models/
└── HY-Motion/
└── ckpts/
├── tencent/
│ ├── HY-Motion-1.0/
│ │ ├── config.yml
│ │ └── latest.ckpt
│ └── HY-Motion-1.0-Lite/
│ ├── config.yml
│ └── latest.ckpt
├── GGUF/ # Optional: for GGUF models
│ └── Qwen3-8B-Q4_K_M.gguf
├── clip-vit-large-patch14 # Required for text encoding
├── Qwen3-0.6B # Optional: lightweight alternative
├── Qwen3-8B-bnb-4bit/ # Optional: bnb-4bit quantized
└── Qwen3-8B-AWQ/ # Optional: AWQ quantized
To use AWQ quantized models, install the auto-awq package:
pip install auto-awq
If auto-awq installation fails, the system will automatically fall back to regular loading.
| Model | Source | VRAM Required |
|---|---|---|
| Qwen3-8B-bnb-4bit | unsloth/Qwen3-8B-bnb-4bit | ~4-5GB |
| Qwen3-8B-AWQ | Qwen/Qwen3-8B-AWQ | ~3-4GB |
| Qwen3-8B-GGUF | Qwen/Qwen3-8B-GGUF | ~5GB (Q4_K_M) |
| HY-Motion-1.0 | tencent/HY-Motion-1.0 | ~8GB+ |
Download using huggingface-cli:
# Create directory first
mkdir -p models/HY-Motion/ckpts/tencent
# Download models
huggingface-cli download tencent/HY-Motion-1.0 --local-dir models/HY-Motion/ckpts/tencent
or manually download from https://huggingface.co/tencent/HY-Motion-1.0/tree/main
Load Qwen3-8B LLM from HuggingFace (supports BitsAndBytes quantization).
| Parameter | Description |
|---|---|
| model_name | Select Qwen3 model from the list |
| quantization | Quantization mode:none / int8 / int4 / bnb-4bit / awq |
| offload_to_cpu | Load model on CPU instead of GPU (slower but saves VRAM) |
ComfyUI/models/HY-Motion/ckpts/Qwen3-8B-bnb-4bit/ComfyUI/models/HY-Motion/ckpts/Qwen3-8B-AWQ/The new quantized models offer significant memory savings:
| Model Format | VRAM Required | Loading Speed | Quality |
|---|---|---|---|
| Qwen3-8B (full) | ~16GB | Slow | Best |
| Qwen3-8B-int8 | ~8GB | Medium | Good |
| Qwen3-8B-int4 | ~4GB | Fast | Acceptable |
| Qwen3-8B-bnb-4bit | ~4-5GB | Fast | Good |
| Qwen3-8B-AWQ | ~3-4GB | Very Fast | Very Good |
Recommendation: For most systems, use Qwen3-8B-AWQ or Qwen3-8B-bnb-4bit for the best balance of speed and quality with minimal memory usage.
Load Qwen3-8B LLM from GGUF file.
| Parameter | Description |
|---|---|
| gguf_file | Select GGUF file from the list |
| offload_to_cpu | Load model on CPU instead of GPU (slower but saves VRAM) |
Load Text2MotionPrompter LLM for prompt rewriting and duration estimation.
| Parameter | Description |
|---|---|
| model_source | Model source:(auto download) or local path |
| offload_to_cpu | Load model on CPU instead of GPU (slower but saves VRAM) |
Note: The model will be automatically downloaded from HuggingFace on first use (~2-3GB).
Rewrite text prompt and estimate motion duration using LLM.
| Parameter | Description |
|---|---|
| prompter | Prompter model from Load Prompter node |
| text | Original text description (supports Chinese and English) |
| Output | Description |
|---|---|
| rewritten_text | Optimized English description |
| duration | Estimated motion duration in seconds |
Note: You need to download GGUF files manually from https://huggingface.co/Qwen/Qwen3-8B-GGUF
Place GGUF files in: ComfyUI/models/HY-Motion/ckpts/GGUF/
Recommended GGUF versions:
| File | Size | Description |
|---|---|---|
| Qwen3-8B-Q4_K_M.gguf | 5.03 GB | Best balance of quality and size (recommended) |
| Qwen3-8B-Q5_K_M.gguf | 5.85 GB | Higher quality |
| Qwen3-8B-Q6_K.gguf | 6.73 GB | Near original quality |
| Qwen3-8B-Q8_0.gguf | ~8 GB | Almost lossless |
Load Motion Diffusion Network.
| Parameter | Description |
|---|---|
| model_name | Select model version:HY-Motion-1.0 or HY-Motion-1.0-Lite |
Encode text prompt for motion generation.
| Parameter | Description |
|---|---|
| llm | LLM model from Load LLM node |
| text | Motion description text |
Core generation node.
| Parameter | Description |
|---|---|
| network | Network from Load Network node |
| conditioning | Conditioning from Encode Text node |
| duration | Motion duration (seconds) |
| seed | Random seed |
| cfg_scale | Text guidance scale |
| num_samples | Number of samples to generate |
Render skeleton preview images (2D frame sequence).
Interactive 3D animation preview with Three.js viewer.
| Feature | Description |
|---|---|
| Playback | Play/pause, speed control, timeline scrubbing |
| Display | Toggle skeleton, mesh, grid visibility |
| Export | Download GLB file with skeleton animation |
This node provides a pure frontend GLB export that requires no additional Python dependencies.
Note: This node does NOT automatically save files. You must manually click the "Export GLB" button in the viewer to download the animation file.
Export FBX file with optional custom Mixamo character retargeting (requires fbxsdkpy installation).
| Parameter | Description |
|---|---|
| motion_data | Motion data from Generate node |
| output_dir | Output subdirectory in ComfyUI output folder |
| filename_prefix | Prefix for output filenames |
| custom_fbx_path | (Optional) Path to custom FBX model for retargeting |
| yaw_offset | (Optional) Y-axis rotation offset in degrees (-180 to 180) |
| scale | (Optional) Force scale multiplier (0 = auto) |
| Input | Resolved Path |
|---|---|
3d/char.fbx | ComfyUI/input/3d/char.fbx (default to input/) |
input/3d/char.fbx | ComfyUI/input/3d/char.fbx |
output/3d/char.fbx | ComfyUI/output/3d/char.fbx |
D:\Models\char.fbx | D:\Models\char.fbx (absolute path) |
| (empty) | Uses default wooden boy model |
mixamorig: prefixNote: The retargeting code (
retarget_fbx.py) is adapted from ComfyUI-HyMotion.
Save in NPZ format.
[HY-Motion Load LLM] ──┐
├──> [HY-Motion Encode Text] ──┐
[HY-Motion Load Network] ─────────────────────────────┴──> [HY-Motion Generate] ──┬──> [HY-Motion Preview]
├──> [HY-Motion Preview Animation (3D)] ──> Export GLB
├──> [HY-Motion Save NPZ]
└──> [HY-Motion Export FBX]
[HY-Motion Load Prompter] ──> [HY-Motion Rewrite Prompt] ──┬──> rewritten_text ──> [HY-Motion Encode Text]
│ │
│ └──> duration ──> [HY-Motion Generate]
│
└── text (user input)
[HY-Motion Load LLM] ──────────────────────────────────────────> [HY-Motion Encode Text] ──┐
│
[HY-Motion Load Network] ─────────────────────────────────────────────────────────────────┴──> [HY-Motion Generate]
The Prompt Rewrite workflow:
[HY-Motion Load LLM (GGUF)] ──> [HY-Motion Encode Text] ──> ...
VRAM Requirements:
quantization=none: ~16GB VRAMquantization=int8: ~8GB VRAMquantization=int4: ~4GB VRAMCPU Offload:
offload_to_cpu optionGGUF Requirements:
transformers>=4.40ComfyUI/models/HY-Motion/ckpts/GGUF/FBX Export: Requires additional fbxsdkpy installation:
pip install fbxsdkpy --extra-index-url https://gitlab.inria.fr/api/v4/projects/18692/packages/pypi/simple
Having trouble installing fbxsdkpy? Use the HY-Motion Preview Animation (3D) node instead! It provides a pure frontend GLB export with skeleton animation that works without any additional Python dependencies.
Text Encoder: CLIP model will be downloaded automatically on first use. Qwen3-8B will be downloaded automatically when using Load LLM node (not GGUF).
Prompt Rewrite: Text2MotionPrompter model will be downloaded automatically on first use (~2-3GB). Supports Chinese and English input.
Please refer to the HY-Motion 1.0 original project license.
316 followers · starred Dec 2025
97 followers · starred Jan 2026
433 followers · starred Jan 2026