---
library_name: meshaxiom
pipeline_tag: image-to-3d
tags:
- meshaxiom
- image-to-mesh
- mesh
- 3d
- exact
language:
- en
- zh
---
# MeshAxiom-Base
**MeshAxiom: An Agent-Native 3D Foundation Stack for Programmable Worlds**
🌐 [**Project Page**](https://alaya-lab.github.io/MeshAxiom/)
💻 [**Code**](https://github.com/AlayaLab/MeshAxiom)
🤗 [**Model**](https://huggingface.co/AlayaLab/MeshAxiom-Base)
📦 **3D Assets** [**(Website)**](https://alaya-lab.github.io/MeshAxiom/space-kit.html) · [**(Hugging Face)**](https://huggingface.co/datasets/AlayaLab/MeshAxiom-Assets)
📄 **Paper** [**(arXiv)**](https://arxiv.org/abs/2611.36484) · [**(Hugging Face)**](https://huggingface.co/papers/2611.36484)
MeshAxiom-Base generates a triangle mesh from one image and a target face count. It places vertices on a sparse octree, then predicts which vertices form each triangle.
## Latest release
> **2026-11-30 — We released updated MeshAxiom-Base checkpoints with improved image-to-mesh performance.** [Model weights](https://huggingface.co/AlayaLab/MeshAxiom-Base)
## Usage
Install MeshAxiom on Linux with Python 3.11 or 3.12 and a CUDA build of PyTorch 2.7.
```bash
git clone https://github.com/AlayaLab/MeshAxiom.git
cd MeshAxiom
python -m pip install -e '.[geometry,hub,background,postprocess]'
```
The example requests 4,000 triangles for the included 512 × 512 cockpit image and keeps its black background. For photos or transparent PNGs, use the default `background="auto"`.
```python
from huggingface_hub import HfApi
from meshaxiom import MeshAxiomPipeline
model_id = "AlayaLab/MeshAxiom-Base"
revision = HfApi().model_info(model_id).sha
with MeshAxiomPipeline.from_pretrained(model_id, revision=revision) as model:
result = model.generate(
"examples/reference.png",
"outputs/cockpit",
face_budget=4000,
background="keep",
)
print(result["artifacts"]["mesh_glb"]["path"])
```
Open `outputs/cockpit/mesh.glb` in a 3D viewer. The GLB uses glTF’s Y-up convention. The same directory contains the Z-up mesh in `mesh.obj` and `mesh.json`. `geometry_report.json` records the actual face count, boundary edges and degenerate faces.
## Weights and inference
On 384 validation objects at 4K and 8K requested faces, mean rigid-aligned Chamfer distance fell by 2.18% and mean face-count error fell from 8.73% to 7.95% relative to the 180K/10K/30K reference. The 95% interval for the raw Chamfer change includes zero. This comparison used the 180K reference and provides no direct comparison to the previous public 100K model. [Evaluation and checkpoint verification](https://huggingface.co/AlayaLab/MeshAxiom-Base/blob/main/VALIDATION.json)
File sizes and SHA-256 hashes are in the [weight manifest](https://huggingface.co/AlayaLab/MeshAxiom-Base/blob/main/WEIGHTS.json). The [previous public 100K release](https://huggingface.co/AlayaLab/MeshAxiom-Base/tree/ef262dbfab57e19b80b377a5b48f2005c3d6c2bb) is available at its original revision.
Exact inference selects one of eight coarse vertex layouts (MBR8), uses 20 DPM++2M sampling steps and sets the topology guidance scale to 3. [Inference settings](https://github.com/AlayaLab/MeshAxiom/blob/main/docs/EXACT.md)
## License
The MeshAxiom authors' original code is licensed under Apache-2.0. The authors have not issued a separate public license for their own model weights. The vertex and topology checkpoints include frozen DINOv3 tensors covered by Meta's license. [Code license](https://github.com/AlayaLab/MeshAxiom/blob/main/LICENSE.md) · [Model weight terms](https://huggingface.co/AlayaLab/MeshAxiom-Base/blob/main/LICENSE.md) · [DINOv3 license](https://huggingface.co/AlayaLab/MeshAxiom-Base/blob/main/external/dinov3/LICENSE.md)
## Citation
```bibtex
@misc{yu2026meshaxiomagentnative3dfoundation,
title={{MeshAxiom: An Agent-Native 3D Foundation Stack for Programmable Worlds}},
author={Yonghao Yu and Ruihan Yu and Sho Kuno and Muyao Niu and Yu-Ju Tsai and Zheng-Hui Huang and Fengbo Lan and Guixu Lin and Runyi Li and Chuanhao Li and Ming-Hsuan Yang and Kaipeng Zhang and Zhixiang Wang},
year={2026},
eprint={2611.36484},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2611.36484},
}
```
## Acknowledgements
MeshAxiom-Base reimplements the two-stage vertex and topology diffusion method described in [Nexus](https://arxiv.org/abs/2607.13563). We thank the Nexus authors for this work.