开源项目解析
TripoSG
图生 3D 的基础模型,主打几何保真与泛化:照片、卡通、草图都能进。
卡通与草图也吃得住8GB 显存Tripo 出品
读懂层
2 张 · 架构图 / 流程图
DeepWiki · 抓取 2026-08-17 · 核验 2026-08-17
DeepWiki · 抓取 2026-08-17 · 核验 2026-08-17
它管哪几个决定
3D 模型图生 3D / 文生 3D
0/10 家有官方说法自持能力
动手层
文档代码结构踩过的坑实测 未做
装它要过哪几关
- 1支持 CUDA 的显卡,8GB 显存以上门槛比同类低,消费级显卡进得来
- 2从 Hugging Face 拉权重有在线体验空间,装之前可以先试
改哪个文件能改什么
输入图片照片、卡通、草图都吃得住 —— 这是它的强项,输入不必是照片坑在哪一处
带 issue 编号的来自:github issues 按回复数排序 · 核验 2026-08-17
只出几何贴图不归它管。issue #20(9 条回复)、#14(11 条回复)、#10(5 条回复)问的全是「怎么给网格上贴图」—— 这是它最大的缺口
顶点色issue #64 在问顶点色。要 PBR 材质得另找工具
还活不活停更十六个月,上面这些问题都还开着
教程
官方文档、作者本人的视频,以及 ComfyUI 官方给的原生工作流示例。每条都验过还打得开。
项目自述
以下是仓库 README 的开头部分(原文引用,抓取 2026-08-17)。读全文 ↗
TripoSG: High-Fidelity 3D Shape Synthesis using Large-Scale Rectified Flow Models
By Tripo
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:
bash
git clone https://github.com/VAST-AI-Research/TripoSG.git
cd TripoSG
Create a conda environment (optional):
bash
conda create -n tripoSG python=3.10
conda activate tripoSG
Install dependencies:
bash
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:
bash
python -m scripts.inference_triposg --image-input assets/example_data/hjswed.png --output-path ./output.glb
Limiting the number of faces:
bash
python -m scripts.inference_triposg --image-input assets/example_data/hjswed.png --faces 5000 --output-path ./output.glb
or from scribble+prompt:
bash
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/TripoSG → pretrained_weights/TripoSG
= TripoSG-scribble (scribble+prompt condition) model from VAST-AI/TripoSG-scribble → pretrained_weights/TripoSG-scribble
- RMBG model from briaai/RMBG-1.4 → pretrained_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
……(后略,见原文)判断
优势
- 草图和卡通也能出形,不挑输入风格
- 8GB 显存门槛,个人开发者进得来
- 有在线体验空间,可以先试再装
局限
- 已停更十六个月
- 只出几何,材质与贴图另想办法
- 背后是一家做闭源产品的公司,开源这一支的投入不确定
不适用
需要长期跟进新版的生产管线 —— 它已经不动了。
同管这些决定的其它项目
UltraGameStudio一个照着游戏引擎的实际工作量重写的编码 Agent:代码只是一小块,其余是材质、蓝图…Blender MCP把 Blender 接到任意大模型:用对话做建模、搭场景、改物件。…TRELLIS文字或图片进,3D 资产出,可以导成辐射场、3D 高斯或网格。用一种统一的结构化隐表…混元 3D 2.1腾讯混元的 3D 生成:图生 3D 与文生 3D,2.1 这一支带 PBR 材质生成…PartCrafter从一张图一次生成**多个零件**和多个物体,而不是一整块网格。…3DTopia-XL高质量 PBR 3D 资产生成,用一种带原语的表示同时承载几何与材质。…Godogen生成游戏工程与 Agent 工作流:覆盖 Godot 4(C# 或 GDScript…
github README + DeepWiki · 核验 2026-10-19 | 判断栏可报错。