랭킹으로 돌아가기

VAST-AI-Research/TripoSG

Python

TripoSG: High-Fidelity 3D Shape Synthesis using Large-Scale Rectified Flow Models

3d-generation3d-reconstructionimage-to-3d3d-genai
스타 성장
스타
1.7k
포크
190
주간 성장
이슈
40
1k1.5k
2025년 3월2025년 8월2026년 2월2026년 7월
아티팩트PyPIpip install triposg
README

TripoSG: High-Fidelity 3D Shape Synthesis using Large-Scale Rectified Flow Models

Project Page Paper Model Online Demo Online Demo

By Tripo

teaser

TripoSG is an advanced high-fidelity, high-quality and high-generalizability image-to-3D generation foundation model. It leverages large-scale rectified flow transformers, hybrid supervised training, and a high-quality dataset to achieve state-of-the-art performance in 3D shape generation.

✨ Key Features

  • High-Fidelity Generation: Produces meshes with sharp geometric features, fine surface details, and complex structures
  • Semantic Consistency: Generated shapes accurately reflect input image semantics and appearance
  • Strong Generalization: Handles diverse input styles including photorealistic images, cartoons, and sketches
  • Robust Performance: Creates coherent shapes even for challenging inputs with complex topology

🔬 Technical Highlights

  • Large-Scale Rectified Flow Transformer: Combines RF's linear trajectory modeling with transformer architecture for stable, efficient training
  • Advanced VAE Architecture: Uses Signed Distance Functions (SDFs) with hybrid supervision combining SDF loss, surface normal guidance, and eikonal loss
  • High-Quality Dataset: Trained on 2 million meticulously curated Image-SDF pairs, ensuring superior output quality
  • Efficient Scaling: Implements architecture optimizations for high performance even at smaller model scales

🔥 Updates

  • [2025-04] Release TripoSG-scribble, a CFG-distilled, 512 token model for fast shape prototyping from scribble+prompt! Try the online demo here.
  • [2025-03] Release of TripoSG 1.5B parameter rectified flow model and VAE trained on 2048 latent tokens, along with inference code and interactive demo

🔨 Installation

Clone the repo:

git clone https://github.com/VAST-AI-Research/TripoSG.git
cd TripoSG

Create a conda environment (optional):

conda create -n tripoSG python=3.10
conda activate tripoSG

Install dependencies:

# pytorch (select correct CUDA version)
pip install torch torchvision --index-url https://download.pytorch.org/whl/{your-cuda-version}

# other dependencies
pip install -r requirements.txt

💡 Quick Start

Generate a 3D mesh from an image:

python -m scripts.inference_triposg --image-input assets/example_data/hjswed.png --output-path ./output.glb

Limiting the number of faces:

python -m scripts.inference_triposg --image-input assets/example_data/hjswed.png --faces 5000 --output-path ./output.glb

or from scribble+prompt:

 python -m scripts.inference_triposg_scribble --image-input assets/example_scribble_data/cat_with_wings.png --prompt "a cat with wings" --scribble-conf 0.3 --output-path output.glb

The required model weights will be automatically downloaded:

  • TripoSG (image condition) model from VAST-AI/TripoSGpretrained_weights/TripoSG = TripoSG-scribble (scribble+prompt condition) model from VAST-AI/TripoSG-scribblepretrained_weights/TripoSG-scribble
  • RMBG model from briaai/RMBG-1.4pretrained_weights/RMBG-1.4

💻 System Requirements

  • CUDA-enabled GPU with at least 8GB VRAM

📝 Tips

  • If you want to use the full VAE module (including the encoder part), you need to uncomment the Line-15 in triposg/models/autoencoders/autoencoder_kl_triposg.py and install torch-cluster. and run:
python -m scripts.inference_vae --surface-input assets/example_data_point/surface_point_demo.npy

🤝 Community & Support

  • Issues & Discussions: Use GitHub Issues for bug reports and feature requests.
  • Contributing: We welcome contributions!

📚 Citation

@article{li2025triposg,
  title={TripoSG: High-Fidelity 3D Shape Synthesis using Large-Scale Rectified Flow Models},
  author={Li, Yangguang and Zou, Zi-Xin and Liu, Zexiang and Wang, Dehu and Liang, Yuan and Yu, Zhipeng and Liu, Xingchao and Guo, Yuan-Chen and Liang, Ding and Ouyang, Wanli and others},
  journal={arXiv preprint arXiv:2502.06608},
  year={2025}
}

⭐ Acknowledgements

We would like to thank the following open-source projects and research works that made TripoSG possible:

We are grateful to the broader research community for their open exploration and contributions to the field of 3D generation.

관련 저장소
Tencent-Hunyuan/Hunyuan3D-2

High-Resolution 3D Assets Generation with Large Scale Hunyuan3D Diffusion Models.

PythonPyPIOther3d3d-aigc
3d.hunyuan.tencent.com
14.3k1.5k
microsoft/TRELLIS

Official repo for paper "Structured 3D Latents for Scalable and Versatile 3D Generation" (CVPR'25 Spotlight).

PythonPyPIMIT License3d3d-generation
trellis3d.github.io
13.2k1.3k
Tencent/Hunyuan3D-2

High-Resolution 3D Assets Generation with Large Scale Hunyuan3D Diffusion Models.

PythonPyPIOther3d3d-aigc
3d.hunyuan.tencent.com
6.7k523
xxlong0/Wonder3D

Single Image to 3D using Cross-Domain Diffusion for 3D Generation

PythonPyPIMIT License3d-generation3d-aigc
xxlong.site/Wonder3D/
5.4k437
Tencent-Hunyuan/Hunyuan3D-2.1

From Images to High-Fidelity 3D Assets with Production-Ready PBR Material

PythonPyPIOther3d3d-aigc
3d.hunyuan.tencent.com
3.7k554
deepseek-ai/DreamCraft3D

[ICLR 2024] Official implementation of DreamCraft3D: Hierarchical 3D Generation with Bootstrapped Diffusion Prior

PythonPyPIMIT License3d-generationaigc
mrtornado24.github.io/DreamCraft3D/
3k355
Tencent-Hunyuan/HunyuanWorld-1.0

Generating Immersive, Explorable, and Interactive 3D Worlds from Words or Pixels with Hunyuan3D World Model

PythonPyPIOther3d3d-generation
3d.hunyuan.tencent.com/sceneTo3D
2.9k260
wgsxm/PartCrafter

[NeurIPS 2025] PartCrafter: Structured 3D Mesh Generation via Compositional Latent Diffusion Transformers

PythonPyPIMIT License3d-generation3d-reconstruction
wgsxm.github.io/projects/partcrafter/
2.5k162
ZiYang-xie/WorldGen

🌍 WorldGen - Generate Any 3D Scene in Seconds

PythonPyPIApache License 2.03d-generation3d-reconstruction
2k194
OpenMotionLab/MotionGPT

[NeurIPS 2023] MotionGPT: Human Motion as a Foreign Language, a unified motion-language generation model using LLMs

PythonPyPIMIT License3d-generationchatgpt
motion-gpt.github.io
1.9k144
junshutang/Make-It-3D

[ICCV 2023] Make-It-3D: High-Fidelity 3D Creation from A Single Image with Diffusion Prior

PythonPyPI3d-generation3d-vision
1.9k137
One-2-3-45/One-2-3-45

[NeurIPS 2023] Official code of "One-2-3-45: Any Single Image to 3D Mesh in 45 Seconds without Per-Shape Optimization"

PythonPyPIApache License 2.03d3d-generation
one-2-3-45.com
1.7k103