[来源关键摘录] Apache 2.0 licensed framework for controllable textured 3D asset generation with geometry VAE-DiT, texture synthesis, and curated dataset.
[正文前段节选] Skip to content
Navigation Menu
Appearance settings
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
Repository navigation
NotificationsYou must be signed in to change notification settings
Star904 (904)You must be signed in to star a repository
Step1X-3D: Towards High-Fidelity and Controllable Generation of Textured 3D Assets
stepfun-ai.github.io/Step1X-3D
Apache-2.0 license
Custom properties
Report repository
BranchesTags
Open more actions menu
Latest commit
Folders and files
Last commit message
Last commit date
step1x3d_geometry
step1x3d_texture
val_data/images
README_CN.md
inference.py
inference_shape_vae.py
requirements.txt
train_autoencoder.sh
train_diffusion.sh
train_ig2mv.py
train_ig2mv.sh
zero_to_fp32.py
View all files
Repository files navigation
中文 | English
Step1X-3D: Towards High-Fidelity and ControllableGeneration of Textured 3D Assets
Step1X-3D demonstrates the capability to generate 3D assets with high-fidelity geometry and versatile texture maps, while maintaining exceptional alignment between surface geometry and texture mapping. From left to right, we sequentially present: the base geometry (untextured), followed by cartoon-style, sketch-style, and photorealistic 3D asset generation results.
🔥🔥🔥 Latest News!!
June 26, 2025: 👋 We release the data preprocessing for shape VAE and diffusion, including advanced watertight method using depth_test and winding_number proposed by CraftsMan3D in path "Step1X-3D/data/watertight_and_sampling.py"!
June 9, 2025: 👋 We release the multi-views render code for texture generation model training in path "Step1X-3D/data/ig2mv/render"!
May 27, 2025: 👋 We release muti-view generation model with texture sync module!
May 13, 2025: 👋 Step1X-3D online demo is available on huggingface-enjoy yourself with generated 3D assets! Huggingface web live
May 13, 2025: 👋 We release the 800K uids of high quality 3D assets (excluding self-collected assets) obtained with our rigorous data curation pipeline for both training 3D geometry and synthesis. Huggingface dataset
May 13, 2025: 👋 We have also released the training code of both Step1X-3D geometry generation and texture synthesis.
May 13, 2025: 👋 We have released the inference code and model weights of Step1X-3D geometry and Step1X-3D texture.
May 13, 2025: 👋 We have released Step1X-3D technical report as open source.
📑 Open-source Plan
Technical report
Inference code & model weights
Training code
Uid of high quality 3D assets
Online demo (gradio deployed on huggingface)
Mesh preprocessing (including watertight using depth_test and winding_number, sampling)
More controllable models, like conditioned with multi-view, bounding-box and skeleton
1. Introduction
While generative artificial intelligence has advanced significantly across text, image, audio, and video domains, 3D generation remains comparatively underdeveloped due to fundamental challenges such as data scarcity, algorithmic limitations, and ecosystem fragmentation.
To this end, we present Step1X-3D, an open framework addressing these challenges through:
(1) a rigorous data curation pipeline processing >5M assets to create a 2M high-quality dataset with standardized geometric and textural properties;
(2) a two-stage 3D-native architecture combining a hybrid VAE-DiT geometry generator
with an SD-XL-based texture synthesis module; and (3) the full open-source release of models, training code, and adaptation modules. For geometry generation, the hybrid VAE-DiT component produces watertight TSDF representations by employing perceiver-based latent encoding with sharp edge sampling for detail preservation. The SD-XL-based texture synthesis module then ensures cross-view consistency through geometric conditioning and latent-space synchronization.
Benchmark results demonstrate state-of-the-art performance that exceeds existing open-source methods, while also achieving competitive quality with proprietary solutions.
Notebly, the framework uniquely bridges 2D and 3D generation paradigms by supporting direct transfer of 2D control techniques(e.g., LoRA) to 3D synthesis.
By simultaneously advancing data quality, algorithmic fidelity, and reproducibility, Step1X-3D aims to establish new standards for open research in controllable 3D asset generation.
2. Models Downloading
Download link
Step1X-3D-geometry
🤗 Huggingface
Step1X-3D-geometry-label
Step1X-3D Texture
Models in ModelScope
🤖 ModelScope
3. Open Filtered High Quaily Datasets
🤗Huggingface
Objaverse-XL
Assets for texture synthesis
Assets in ModelScope
Given the above high quality 3D assets, you can follow methods from Dora to preprocess data for VAE and 3D DiT training, and from MV-Adapter for ig2mv training.
4. Dependencies and Installation
The dependencies configured according to the following instructions provide an environment equipped for both training and inference
4.1 Clone the repo
git clone --depth 1 --branch main https://github.com/stepfun-ai/Step1X-3D.git
cd Step1X-3D
Shallow clone is faster and does not require pulling the gh-pages branch.
Use the git fetch --unshallow command to convert a shallow clone to a full clone.
Use the git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' command to fetch all branches.
4.2 Create a new conda environment
conda create -n step1x-3d python=3.10
conda activate step1x-3d
4.3 Install the requrements
We have checked the environment in cuda12.4 and you can install cuda12.4 by following CUDA Toolkit install guidance.
pip install torch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1 --index-url https://download.pytorch.org/whl/cu124
pip install -r requirements.txt
pip install torch-cluster -f https://data.pyg.org/whl/torch-2.5.1+cu124.html
pip install "git+https://github.com/facebookresearch/pytorch3d.git@stable"
pip install kaolin==0.17.0 -f https://nvidia-kaolin.s3.us-east-2.amazonaws.com/torch-2.5.1_cu124.html
cd step1x3d_texture/custom_rasterizer
python setup.py install
cd ../differentiable_renderer
We reused custom_rasterizer and differentiable_renderer tools in Hunyuan3D 2.0 for the texture baker, thanks to their open-source contribution.
5. Inference Script
GPU Memory Usage
Time for 50 steps
Step1X-3D-Geometry-1300m+Step1X-3D-Texture
Step1X-3D-Geometry-Label-1300m+Step1X-3D-Texture
We porvide the following example codes as tutorial to sequentially generate geometry and texture.
import torch
# Stage 1: 3D geometry generation
from step1x3d_geometry.models.pipelines.pipeline import Step1X3DGeometryPipeline
# define the pipeline
geometry_pipeline = Step1X3DGeometryPipeline.from_pretrained("stepfun-ai/Step1X-3D", subfolder='Step1X-3D-Geometry-1300m'
).to("cuda")
# input image
input_image_path = "examples/images/000.png"
# run pipeline and obtain the untextured mesh
generator = torch.Generator(device=geometry_pipeline.device).manual_seed(2025)
out = geometry_pipeline(input_image_path, guidance_scale=7.5, num_inference_steps=50)
# export untextured mesh as .glb format
out.mesh[0].export("untexture_mesh.glb")
# Stage 2: 3D texure synthsis
from step1x3d_texture.pipelines.step1x_3d_texture_synthesis_pipeline import (
Step1X3DTexturePipeline,
from step1x3d_geometry.models.pipelines.pipeline_utils import reduce_face, remove_degenerate_face
import trimesh
# load untextured mesh
untexture_mesh = trimesh.load("untexture_mesh.glb")
# define texture_pipeline
texture_pipeline = Step1X3DTexturePipeline.from_pretrained("stepfun-ai/Step1X-3D", subfolder="Step1X-3D-Texture")
# reduce face
untexture_mesh = remove_degenerate_face(untexture_mesh)
untexture_mesh = reduce_face(untexture_mesh)
# texture mapping
textured_mesh = texture_pipeline(input_image_path, untexture_mesh)
[...内容已截断,完整版请查看原文或 Wayback 快照]