ComfyUI custom node for Tencent's HunyuanWorld-1.0 3D world generation model. Generate stunning panoramas and 3D scenes from text or images.
cd ComfyUI/custom_nodes
git clone https://github.com/yourusername/hunyuan-world-comfy-node.git
cd hunyuan-world-comfy-node
pip install torch torchvision numpy pillow transformers diffusers safetensors tqdm requests opencv-python accelerate sentencepiece protobuf
# Optional for mesh support
pip install open3d
git clone https://github.com/yourusername/hunyuan-world-comfy-node.git
cd hunyuan-world-comfy-node
pip install -e .
The node uses Tencent's HunyuanWorld-1.0 models from Hugging Face:
Models will be automatically downloaded on first use.
Generate panoramic images from text prompts.
Inputs:
prompt: Text description of the sceneseed: Random seed for reproducibilitywidth/height: Output dimensions (default: 1920x960)num_inference_steps: Number of denoising stepsguidance_scale: Guidance strengthConvert perspective images to panoramas.
Inputs:
image: Input perspective imageprompt: Description for panorama extensionfov: Field of view of input imageGenerate 3D mesh scenes from panoramas.
Inputs:
panorama: Input panoramic imageclasses: Scene type (outdoor/indoor/mixed)labels_fg1/fg2: Objects to segment into layersresolution: Output mesh resolutionPreview and export generated meshes.
Inputs:
mesh_data: Generated mesh datarender_mode: Visualization modeTest the nodes without ComfyUI:
# Full pipeline test
python main.py --mode pipeline
# Text to panorama
python main.py --mode text2pano --prompt "A mountain landscape"
# Image to panorama
python main.py --mode image2pano --image path/to/image.jpg
# Scene generation
python main.py --mode scene --panorama path/to/panorama.png
# All tests
python main.py --mode all
pyproject.toml for full dependenciesFor full mesh support:
pip install open3d trimesh
This project follows the Tencent HunyuanWorld-1.0 Community License Agreement. Note: HunyuanWorld is a different model from Hunyuan3D model.
For issues and questions, please open an issue on GitHub.
ComfyUI custom node for Tencent's HunyuanWorld-1.0 3D world generation model. Generate stunning panoramas and 3D scenes from text or images.
cd ComfyUI/custom_nodes
git clone https://github.com/yourusername/hunyuan-world-comfy-node.git
cd hunyuan-world-comfy-node
pip install torch torchvision numpy pillow transformers diffusers safetensors tqdm requests opencv-python accelerate sentencepiece protobuf
# Optional for mesh support
pip install open3d
git clone https://github.com/yourusername/hunyuan-world-comfy-node.git
cd hunyuan-world-comfy-node
pip install -e .
The node uses Tencent's HunyuanWorld-1.0 models from Hugging Face:
Models will be automatically downloaded on first use.
Generate panoramic images from text prompts.
Inputs:
prompt: Text description of the sceneseed: Random seed for reproducibilitywidth/height: Output dimensions (default: 1920x960)num_inference_steps: Number of denoising stepsguidance_scale: Guidance strengthConvert perspective images to panoramas.
Inputs:
image: Input perspective imageprompt: Description for panorama extensionfov: Field of view of input imageGenerate 3D mesh scenes from panoramas.
Inputs:
panorama: Input panoramic imageclasses: Scene type (outdoor/indoor/mixed)labels_fg1/fg2: Objects to segment into layersresolution: Output mesh resolutionPreview and export generated meshes.
Inputs:
mesh_data: Generated mesh datarender_mode: Visualization modeTest the nodes without ComfyUI:
# Full pipeline test
python main.py --mode pipeline
# Text to panorama
python main.py --mode text2pano --prompt "A mountain landscape"
# Image to panorama
python main.py --mode image2pano --image path/to/image.jpg
# Scene generation
python main.py --mode scene --panorama path/to/panorama.png
# All tests
python main.py --mode all
pyproject.toml for full dependenciesFor full mesh support:
pip install open3d trimesh
This project follows the Tencent HunyuanWorld-1.0 Community License Agreement. Note: HunyuanWorld is a different model from Hunyuan3D model.
For issues and questions, please open an issue on GitHub.