Transform your 3D texturing workflow with the power of generative AI, directly within Blender!
Python
920
189 commits
updated Jul 7, 2026
Create 3D assets from images and prompts, then texture and refine them - all inside Blender.
StableGen is an open-source Blender addon that brings generative AI into your 3D workflow. Generate fully textured 3D meshes from a single image or text prompt via TRELLIS.2, then texture and refine them - or any existing model - using SDXL, FLUX.1-dev, or Qwen Image Edit through a flexible ComfyUI backend.
StableGen brings AI-powered 3D generation and texturing directly into Blender:
installer.py).SG_SlicedPreview) directly inside the Blender viewport.stablegen_batch_log.json.Tip: Refresh the page to synchronize all GIF animations.
Assets generated entirely from a text prompt using the TRELLIS.2 pipeline with SDXL-based texturing.
| Dragon | Wizard | Hut |
|---|---|---|
![]() | ![]() | ![]() |
| Telescope | Robot | Cyber Ninja |
![]() | ![]() | ![]() |
Text-to-3D via TRELLIS.2 with Qwen Image Edit texturing - well-suited for stylized objects and crisp details.
| Barrel | Chest | Crate |
|---|---|---|
![]() | ![]() | ![]() |
| Obelisk | Robot | Tree Stump |
![]() | ![]() | ![]() |
PBR material maps (roughness, metallic, normal) can be generated via Marigold decomposition. Each pair shows the same object without and with PBR materials.
| House | House (PBR) | Wizard | Wizard (PBR) |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
| Chest | Chest (PBR) | Obelisk | Obelisk (PBR) |
![]() | ![]() | ![]() | ![]() |
| Lunar Habitat | Lunar Habitat (PBR) | Scavenger | Scavenger (PBR) |
![]() | ![]() | ![]() | ![]() |
| Shaman | Shaman (PBR) | Cyberpunk Woman | Cyberpunk Woman (PBR) |
![]() | ![]() | ![]() | ![]() |
| Crate | Crate (PBR) | Tree Stump | Tree Stump (PBR) |
![]() | ![]() | ![]() | ![]() |
A selection of assets with PBR materials enabled, demonstrating realistic surface response under varying lighting.
| Pot of Gold | Astrolabe | Tree Stump |
|---|---|---|
![]() | ![]() | ![]() |
| Rabbit | Crate | Obelisk (Qwen) |
![]() | ![]() | ![]() |
Texturing an existing model using prompts and style guidance from an IPAdapter image reference.
3D Model Source: "Brown" by ucupumar - Available at: BlendSwap (Blend #15262)
| Untextured Model | Generated | Generated | Generated (with a reference image) |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
| Base Untextured Model | Red Hair | Cyberpunk | Artistic Style |
Reference: "The Starry Night" by Vincent van Gogh (used to guide the "Artistic Style" variant)
Texturing a car model using different prompts to achieve various visual styles.
3D Model Source: "Pontiac GTO 67" by thecali - Available at: BlendSwap (Blend #13575)
| Untextured Model | Generated | Generated | Generated |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
| Base Untextured Model | Green | Steampunk | Stealth Black |
Texturing a complex scene consisting of many mesh objects.
3D Model Source: "Subway Station Entrance" by argonius - Available at: BlendSwap (Blend #19305)
| Untextured Scene | Generated | Generated | Generated |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
| Base Untextured Scene | Subway Station | Fantasy Palace | Cyberpunk |
StableGen acts as an intuitive interface within Blender that communicates with a ComfyUI backend.
installer.py script).installer.py script.Setting up StableGen involves installing ComfyUI, then StableGen's dependencies into ComfyUI using our installer script, and finally installing the StableGen plugin in Blender.
Follow the step‑by‑step instructions below to install StableGen.
If you’d rather watch, Polynox provides a concise video walkthrough:
StableGen Installation & Basic Usage Video Tutorial
StableGen relies on a working ComfyUI installation as its backend. This can be done on a separate machine if desired.
If you wish to use a separate machine for the backend, do step 1 and 2 there.
<YourComfyUIDirectory>.The installer.py script (found in this repository) automates the download and placement of required ComfyUI custom nodes and core AI models into your <YourComfyUIDirectory>.
Prerequisites for the installer:
<YourComfyUIDirectory>).requests and tqdm. Install them via pip:
pip install requests tqdm
Running the Installer:
installer.py from this GitHub repository.installer.py.python installer.py <YourComfyUIDirectory>
Replace <YourComfyUIDirectory> with the actual path. If omitted, the script will prompt for it.<YourComfyUIDirectory>.Installer Packages Overview:
| # | Package | What it enables | Size |
|---|---|---|---|
| 1 | Minimal Core | Basic SDXL texturing (bring your own checkpoint + ControlNets) | ~7.3 GB |
| 2 | Core + Preset Essentials | All built-in presets work out of the box | ~9.8 GB |
| 3 | Recommended Full SDXL Setup | SDXL texturing + PBR decomposition (no checkpoint) | ~19.3 GB |
| 4 | Complete SDXL + RealVisXL | Everything in #3 plus a ready-to-use checkpoint | ~26.3 GB |
| 5 | Qwen Core | Qwen Image Edit texturing architecture | ~20.3 GB |
| 6 | Qwen + Lightning LoRAs | Qwen with additional Lightning LoRAs | ~22.6 GB |
| 7 | Qwen Nunchaku | Qwen with Int4 quantized Nunchaku model (lower VRAM) | ~33.0 GB |
| 8 | TRELLIS.2 | Image/text-to-3D mesh generation (~5 GB install + ~15.4 GB models on first use) | ~20.4 GB |
| 9 | Marigold IID | PBR decomposition node (models auto-download on first use) | ~0.01 GB |
| 10 | StableDelight | Specular-free albedo for PBR (includes model download) | ~3.3 GB |
| 11 | FLUX.2 Klein (experimental) | Klein texturing architecture (~13 GB VRAM required) | ~12.4 GB |
Common setups:
Note: TRELLIS.2 and Marigold IID download additional models automatically on first use via HuggingFace. The sizes shown above include these first-use downloads. Expect the initial run to take longer.
(For manual dependency installation-including FLUX.1-dev and Qwen Image Edit setups-see docs/MANUAL_INSTALLATION.md.)
StableGen.zip file.Edit > Preferences > Add-ons > Install....StableGen.zip file.Edit > Preferences > Add-ons.127.0.0.1:8188).Edit -> Preferences from the topbar of Blender. Then navigate to System -> Network and check the box Enable Online Access. While StableGen does not require internet access, this is added to respect Blender add-on guidelines, as there are still network calls being made locally.Here’s how to get your first texture generated with StableGen:
N in the 3D Viewport, go to the "StableGen" tab.Object as center type. Adjust interactively if needed, then confirm.SDXL, Flux 1, or Qwen Image Edit) that matches the workflow you set up.sdxl_base_1.0 or Qwen-Image-Edit-2509-Q3_K_M.gguf).Default or Characters are good starting points.Follow these steps to generate a fully textured 3D mesh from a text prompt or reference image using the TRELLIS.2 pipeline:
Generate from field to Prompt for text-to-3D, or Image to use a reference image.Exporting for a Game Engine:
Bake Textures operator) - the Smart UV Project mode works well in most cases.Export for Game Engine or export manually from Blender.StableGen provides a comprehensive interface for AI-powered 3D asset generation and texturing, from mesh creation to final PBR export. Here's an overview of the main sections and tools available in the StableGen panel:
These are the main operational buttons and initial setup tools, generally found near the top of the StableGen panel:
Use camera prompts is enabled in Viewpoint Blending Settings.Custom to use your current settings.These are your primary controls for defining the generation:
SDXL, Flux 1, Qwen Image Edit, and FLUX.2 Klein (experimental) model architectures. For 3D mesh generation, use the TRELLIS.2 pipeline presets.Generate Separately: Each viewpoint generates independently.Generate Sequentially: Viewpoints generate one by one, using inpainting from previous views for consistency.Generate Using Grid: Combines all views into a grid for a single generation pass, with an optional refinement step.Refine/Restyle Texture (Img2Img): Uses the current texture as input for an image-to-image process.Local Edit: Selectively modify specific areas by pointing cameras at them - new texture blends over the original with feathered edges.UV Inpaint Missing Areas: Fills untextured areas on a UV map via inpainting.Click the arrow next to each title to expand and access detailed settings:
Sequential and UV Inpaint modes (e.g., differential diffusion, mask blurring/growing).A collection of utilities to further support your workflow:
Experiment with these settings and tools to achieve a vast range of effects and control! Remember that the optimal parameters can vary greatly depending on the model, subject matter, and desired artistic style.
StableGen organizes the generated files within the Output Directory specified in your addon preferences. For each generation session, a new timestamped folder is created, helping you keep track of different iterations. The structure for each session (revision) is as follows:
<Output Directory>/
<SceneName>/ (Based on your .blend file name, or scene name if unsaved)
<YYYY-MM-DDTHH-MM-SS>/ (Timestamp of generation start - this is the main revision directory)
generated/ (Main output textures from each camera/viewpoint before being applied or baked)controlnet/ (Intermediate ControlNet input images)
depth/ (Depth pass renders)canny/ (Renders processed using Canny edge decetor)normal/ (Normal pass renders)baked/ (Textures baked onto UV maps using the standalone Bake Textures tool, exported .glb files from the Export for Game Engine tool)generated_baked/ (Textures baked as part of the generation process if "Bake Textures While Generating" is enabled)inpaint/ (Files related to inpainting processes, e.g., for Sequential mode)
render/ (Renders of previous state used as context for inpainting)visibility/ (Visibility masks used as masks during the inpainting)uv_inpaint/ (Files specific to the UV Inpaint mode)
uv_visibility/ (Visibility masks generated on UVs for UV inpainting)misc/ (Other temporary or miscellaneous files, e.g., renders made for Canny edge detection input).gif / .mp4 (If the Export GIF/MP4 tool is used, these files are saved directly into the timestamped revision directory)prompt.json (The last generated workflow to be used in ComfyUI)Encountering issues? Here are some common fixes. Always check the Blender System Console (Window > Toggle System Console) AND the ComfyUI server console for error messages.
Output Directory and Server Address must be correctly set. The server also has to be reachable.Server Address in StableGen preferences.installer.py script.<YourComfyUIDirectory>/models/ (e.g., checkpoints/, controlnet/, loras/, ipadapter/, clip_vision/, clip/, vae/, unet/).Auto Rescale Resolution in Advanced Parameters > Output & Material Settings if disabled.Apply BSDF in Advanced Parameters > Output & Material Settings and regenerate.Sequential with IPAdapter is often good for consistency.Discard-Over Angle.Sequential mode, check inpainting and visibility mask settings.Target Objects to Selected to only texture selected objects.We welcome contributions! Whether it's bug reports, feature suggestions, code contributions, or new presets, please feel free to open an issue or a pull request.
StableGen is released under the GNU General Public License v3.0. See the LICENSE file for details.
Note: This section applies only to the TRELLIS.2 Image-to-3D feature. StableGen's standard texturing pipelines (SDXL, FLUX.1-dev, Qwen Image Edit) do not use any of the libraries listed below and are unaffected by these licensing restrictions.
The TRELLIS.2 feature relies on several third-party components, each with its own license. Users should be aware of these licenses, particularly the non-commercial restrictions on certain NVIDIA libraries used in the TRELLIS.2 textured output pipeline.
| Component | License | Commercial Use Permitted? |
|---|---|---|
| TRELLIS.2 (Microsoft) | MIT | ✅ Yes |
| TRELLIS.2-4B model weights | MIT | ✅ Yes |
| ComfyUI-TRELLIS2 | MIT | ✅ Yes |
| DINOv3 (Meta, image conditioning) | DINOv3 License | ✅ Yes |
| BiRefNet (background removal) | MIT | ✅ Yes |
| FlexGEMM (sparse convolutions) | MIT | ✅ Yes |
| CuMesh (mesh operations) | MIT | ✅ Yes |
| O-Voxel (voxel processing, part of TRELLIS.2) | MIT | ✅ Yes |
| nvdiffrast (NVIDIA) | NVIDIA Source Code License | ❌ Non-commercial only |
| nvdiffrec (NVIDIA) | NVIDIA Source Code License | ❌ Non-commercial only |
Important: The NVIDIA libraries (nvdiffrast and nvdiffrec) are only used when the TRELLIS.2 Texture Mode is set to "Native (TRELLIS.2)" - specifically for UV rasterization and PBR texture baking. Their license restricts usage to "research or evaluation purposes only and not for any direct or indirect monetary gain" (Section 3.3). Only NVIDIA and its affiliates may use these libraries commercially.
All other TRELLIS.2 modes do not introduce licensing restrictions:
If you require commercial use of the "Native (TRELLIS.2)" texture mode, consider contacting NVIDIA regarding commercial licensing for nvdiffrast/nvdiffrec.
StableGen builds upon the fantastic work of many individuals and communities. Our sincere thanks go to:
The open spirit of the AI and open-source communities is what makes projects like StableGen possible.
Here are some features we plan to implement in the future (in no particular order):
If you have any suggestions, please feel free to open an issue!
Ondřej Sakala
sakalaondrej@gmail.com@sakalondLast Updated: June 12, 2026
Python
100.0%
Transform your 3D texturing workflow with the power of generative AI, directly within Blender!
Python
920
189 commits
updated Jul 7, 2026
Create 3D assets from images and prompts, then texture and refine them - all inside Blender.
StableGen is an open-source Blender addon that brings generative AI into your 3D workflow. Generate fully textured 3D meshes from a single image or text prompt via TRELLIS.2, then texture and refine them - or any existing model - using SDXL, FLUX.1-dev, or Qwen Image Edit through a flexible ComfyUI backend.
StableGen brings AI-powered 3D generation and texturing directly into Blender:
installer.py).SG_SlicedPreview) directly inside the Blender viewport.stablegen_batch_log.json.Tip: Refresh the page to synchronize all GIF animations.
Assets generated entirely from a text prompt using the TRELLIS.2 pipeline with SDXL-based texturing.
| Dragon | Wizard | Hut |
|---|---|---|
![]() | ![]() | ![]() |
| Telescope | Robot | Cyber Ninja |
![]() | ![]() | ![]() |
Text-to-3D via TRELLIS.2 with Qwen Image Edit texturing - well-suited for stylized objects and crisp details.
| Barrel | Chest | Crate |
|---|---|---|
![]() | ![]() | ![]() |
| Obelisk | Robot | Tree Stump |
![]() | ![]() | ![]() |
PBR material maps (roughness, metallic, normal) can be generated via Marigold decomposition. Each pair shows the same object without and with PBR materials.
| House | House (PBR) | Wizard | Wizard (PBR) |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
| Chest | Chest (PBR) | Obelisk | Obelisk (PBR) |
![]() | ![]() | ![]() | ![]() |
| Lunar Habitat | Lunar Habitat (PBR) | Scavenger | Scavenger (PBR) |
![]() | ![]() | ![]() | ![]() |
| Shaman | Shaman (PBR) | Cyberpunk Woman | Cyberpunk Woman (PBR) |
![]() | ![]() | ![]() | ![]() |
| Crate | Crate (PBR) | Tree Stump | Tree Stump (PBR) |
![]() | ![]() | ![]() | ![]() |
A selection of assets with PBR materials enabled, demonstrating realistic surface response under varying lighting.
| Pot of Gold | Astrolabe | Tree Stump |
|---|---|---|
![]() | ![]() | ![]() |
| Rabbit | Crate | Obelisk (Qwen) |
![]() | ![]() | ![]() |
Texturing an existing model using prompts and style guidance from an IPAdapter image reference.
3D Model Source: "Brown" by ucupumar - Available at: BlendSwap (Blend #15262)
| Untextured Model | Generated | Generated | Generated (with a reference image) |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
| Base Untextured Model | Red Hair | Cyberpunk | Artistic Style |
Reference: "The Starry Night" by Vincent van Gogh (used to guide the "Artistic Style" variant)
Texturing a car model using different prompts to achieve various visual styles.
3D Model Source: "Pontiac GTO 67" by thecali - Available at: BlendSwap (Blend #13575)
| Untextured Model | Generated | Generated | Generated |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
| Base Untextured Model | Green | Steampunk | Stealth Black |
Texturing a complex scene consisting of many mesh objects.
3D Model Source: "Subway Station Entrance" by argonius - Available at: BlendSwap (Blend #19305)
| Untextured Scene | Generated | Generated | Generated |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
| Base Untextured Scene | Subway Station | Fantasy Palace | Cyberpunk |
StableGen acts as an intuitive interface within Blender that communicates with a ComfyUI backend.
installer.py script).installer.py script.Setting up StableGen involves installing ComfyUI, then StableGen's dependencies into ComfyUI using our installer script, and finally installing the StableGen plugin in Blender.
Follow the step‑by‑step instructions below to install StableGen.
If you’d rather watch, Polynox provides a concise video walkthrough:
StableGen Installation & Basic Usage Video Tutorial
StableGen relies on a working ComfyUI installation as its backend. This can be done on a separate machine if desired.
If you wish to use a separate machine for the backend, do step 1 and 2 there.
<YourComfyUIDirectory>.The installer.py script (found in this repository) automates the download and placement of required ComfyUI custom nodes and core AI models into your <YourComfyUIDirectory>.
Prerequisites for the installer:
<YourComfyUIDirectory>).requests and tqdm. Install them via pip:
pip install requests tqdm
Running the Installer:
installer.py from this GitHub repository.installer.py.python installer.py <YourComfyUIDirectory>
Replace <YourComfyUIDirectory> with the actual path. If omitted, the script will prompt for it.<YourComfyUIDirectory>.Installer Packages Overview:
| # | Package | What it enables | Size |
|---|---|---|---|
| 1 | Minimal Core | Basic SDXL texturing (bring your own checkpoint + ControlNets) | ~7.3 GB |
| 2 | Core + Preset Essentials | All built-in presets work out of the box | ~9.8 GB |
| 3 | Recommended Full SDXL Setup | SDXL texturing + PBR decomposition (no checkpoint) | ~19.3 GB |
| 4 | Complete SDXL + RealVisXL | Everything in #3 plus a ready-to-use checkpoint | ~26.3 GB |
| 5 | Qwen Core | Qwen Image Edit texturing architecture | ~20.3 GB |
| 6 | Qwen + Lightning LoRAs | Qwen with additional Lightning LoRAs | ~22.6 GB |
| 7 | Qwen Nunchaku | Qwen with Int4 quantized Nunchaku model (lower VRAM) | ~33.0 GB |
| 8 | TRELLIS.2 | Image/text-to-3D mesh generation (~5 GB install + ~15.4 GB models on first use) | ~20.4 GB |
| 9 | Marigold IID | PBR decomposition node (models auto-download on first use) | ~0.01 GB |
| 10 | StableDelight | Specular-free albedo for PBR (includes model download) | ~3.3 GB |
| 11 | FLUX.2 Klein (experimental) | Klein texturing architecture (~13 GB VRAM required) | ~12.4 GB |
Common setups:
Note: TRELLIS.2 and Marigold IID download additional models automatically on first use via HuggingFace. The sizes shown above include these first-use downloads. Expect the initial run to take longer.
(For manual dependency installation-including FLUX.1-dev and Qwen Image Edit setups-see docs/MANUAL_INSTALLATION.md.)
StableGen.zip file.Edit > Preferences > Add-ons > Install....StableGen.zip file.Edit > Preferences > Add-ons.127.0.0.1:8188).Edit -> Preferences from the topbar of Blender. Then navigate to System -> Network and check the box Enable Online Access. While StableGen does not require internet access, this is added to respect Blender add-on guidelines, as there are still network calls being made locally.Here’s how to get your first texture generated with StableGen:
N in the 3D Viewport, go to the "StableGen" tab.Object as center type. Adjust interactively if needed, then confirm.SDXL, Flux 1, or Qwen Image Edit) that matches the workflow you set up.sdxl_base_1.0 or Qwen-Image-Edit-2509-Q3_K_M.gguf).Default or Characters are good starting points.Follow these steps to generate a fully textured 3D mesh from a text prompt or reference image using the TRELLIS.2 pipeline:
Generate from field to Prompt for text-to-3D, or Image to use a reference image.Exporting for a Game Engine:
Bake Textures operator) - the Smart UV Project mode works well in most cases.Export for Game Engine or export manually from Blender.StableGen provides a comprehensive interface for AI-powered 3D asset generation and texturing, from mesh creation to final PBR export. Here's an overview of the main sections and tools available in the StableGen panel:
These are the main operational buttons and initial setup tools, generally found near the top of the StableGen panel:
Use camera prompts is enabled in Viewpoint Blending Settings.Custom to use your current settings.These are your primary controls for defining the generation:
SDXL, Flux 1, Qwen Image Edit, and FLUX.2 Klein (experimental) model architectures. For 3D mesh generation, use the TRELLIS.2 pipeline presets.Generate Separately: Each viewpoint generates independently.Generate Sequentially: Viewpoints generate one by one, using inpainting from previous views for consistency.Generate Using Grid: Combines all views into a grid for a single generation pass, with an optional refinement step.Refine/Restyle Texture (Img2Img): Uses the current texture as input for an image-to-image process.Local Edit: Selectively modify specific areas by pointing cameras at them - new texture blends over the original with feathered edges.UV Inpaint Missing Areas: Fills untextured areas on a UV map via inpainting.Click the arrow next to each title to expand and access detailed settings:
Sequential and UV Inpaint modes (e.g., differential diffusion, mask blurring/growing).A collection of utilities to further support your workflow:
Experiment with these settings and tools to achieve a vast range of effects and control! Remember that the optimal parameters can vary greatly depending on the model, subject matter, and desired artistic style.
StableGen organizes the generated files within the Output Directory specified in your addon preferences. For each generation session, a new timestamped folder is created, helping you keep track of different iterations. The structure for each session (revision) is as follows:
<Output Directory>/
<SceneName>/ (Based on your .blend file name, or scene name if unsaved)
<YYYY-MM-DDTHH-MM-SS>/ (Timestamp of generation start - this is the main revision directory)
generated/ (Main output textures from each camera/viewpoint before being applied or baked)controlnet/ (Intermediate ControlNet input images)
depth/ (Depth pass renders)canny/ (Renders processed using Canny edge decetor)normal/ (Normal pass renders)baked/ (Textures baked onto UV maps using the standalone Bake Textures tool, exported .glb files from the Export for Game Engine tool)generated_baked/ (Textures baked as part of the generation process if "Bake Textures While Generating" is enabled)inpaint/ (Files related to inpainting processes, e.g., for Sequential mode)
render/ (Renders of previous state used as context for inpainting)visibility/ (Visibility masks used as masks during the inpainting)uv_inpaint/ (Files specific to the UV Inpaint mode)
uv_visibility/ (Visibility masks generated on UVs for UV inpainting)misc/ (Other temporary or miscellaneous files, e.g., renders made for Canny edge detection input).gif / .mp4 (If the Export GIF/MP4 tool is used, these files are saved directly into the timestamped revision directory)prompt.json (The last generated workflow to be used in ComfyUI)Encountering issues? Here are some common fixes. Always check the Blender System Console (Window > Toggle System Console) AND the ComfyUI server console for error messages.
Output Directory and Server Address must be correctly set. The server also has to be reachable.Server Address in StableGen preferences.installer.py script.<YourComfyUIDirectory>/models/ (e.g., checkpoints/, controlnet/, loras/, ipadapter/, clip_vision/, clip/, vae/, unet/).Auto Rescale Resolution in Advanced Parameters > Output & Material Settings if disabled.Apply BSDF in Advanced Parameters > Output & Material Settings and regenerate.Sequential with IPAdapter is often good for consistency.Discard-Over Angle.Sequential mode, check inpainting and visibility mask settings.Target Objects to Selected to only texture selected objects.We welcome contributions! Whether it's bug reports, feature suggestions, code contributions, or new presets, please feel free to open an issue or a pull request.
StableGen is released under the GNU General Public License v3.0. See the LICENSE file for details.
Note: This section applies only to the TRELLIS.2 Image-to-3D feature. StableGen's standard texturing pipelines (SDXL, FLUX.1-dev, Qwen Image Edit) do not use any of the libraries listed below and are unaffected by these licensing restrictions.
The TRELLIS.2 feature relies on several third-party components, each with its own license. Users should be aware of these licenses, particularly the non-commercial restrictions on certain NVIDIA libraries used in the TRELLIS.2 textured output pipeline.
| Component | License | Commercial Use Permitted? |
|---|---|---|
| TRELLIS.2 (Microsoft) | MIT | ✅ Yes |
| TRELLIS.2-4B model weights | MIT | ✅ Yes |
| ComfyUI-TRELLIS2 | MIT | ✅ Yes |
| DINOv3 (Meta, image conditioning) | DINOv3 License | ✅ Yes |
| BiRefNet (background removal) | MIT | ✅ Yes |
| FlexGEMM (sparse convolutions) | MIT | ✅ Yes |
| CuMesh (mesh operations) | MIT | ✅ Yes |
| O-Voxel (voxel processing, part of TRELLIS.2) | MIT | ✅ Yes |
| nvdiffrast (NVIDIA) | NVIDIA Source Code License | ❌ Non-commercial only |
| nvdiffrec (NVIDIA) | NVIDIA Source Code License | ❌ Non-commercial only |
Important: The NVIDIA libraries (nvdiffrast and nvdiffrec) are only used when the TRELLIS.2 Texture Mode is set to "Native (TRELLIS.2)" - specifically for UV rasterization and PBR texture baking. Their license restricts usage to "research or evaluation purposes only and not for any direct or indirect monetary gain" (Section 3.3). Only NVIDIA and its affiliates may use these libraries commercially.
All other TRELLIS.2 modes do not introduce licensing restrictions:
If you require commercial use of the "Native (TRELLIS.2)" texture mode, consider contacting NVIDIA regarding commercial licensing for nvdiffrast/nvdiffrec.
StableGen builds upon the fantastic work of many individuals and communities. Our sincere thanks go to:
The open spirit of the AI and open-source communities is what makes projects like StableGen possible.
Here are some features we plan to implement in the future (in no particular order):
If you have any suggestions, please feel free to open an issue!
Ondřej Sakala
sakalaondrej@gmail.com@sakalondLast Updated: June 12, 2026
Python
100.0%