Modly extension for OpenAI Shap-E text-to-3D generation with GLB mesh output and PLY sidecars.
This repository provides a Modly model extension for text-to-3D mesh generation with Shap-E. The extension uses Hugging Face Diffusers' ShapEPipeline with the openai/shap-e model snapshot and exposes a single Modly node, shap-e/generate.
The repository contains the Modly integration, dependency setup, and runtime adapter. It does not vendor OpenAI's Shap-E source code or model weights. Modly downloads the model snapshot separately through its model-management UI. This project is independently maintained and is not authored, sponsored, or endorsed by OpenAI.
Modly contract Extension ID: shap-e Generator class: ShapEGenerator Node: generate (model.generate) Capability: text-to-3D Input: a non-empty text prompt Primary return value: a GLB mesh Sidecars: a PLY mesh and JSON run metadata Model repository: openai/shap-e Download sentinel: modelindex.json
setup.py creates an extension-local virtual environment, installs runtime dependencies, selects an appropriate PyTorch wheel lane from the supplied CUDA signals, and writes setup evidence. It never downloads model weights. At inference time, generator.py loads only a local model snapshot by passing localfilesonly=True to Diffusers.
Requirements and support A Modly installation that supports model extensions. A Python interpreter with venv and pip support. Network access during setup to install Python packages. A model snapshot downloaded by Modly from openai/shap-e. CPU or NVIDIA CUDA execution. CPU is supported but expected to be slow.
Read the full README on GitHub →