Transform your 3D texturing workflow with the power of generative AI, directly within Blender!
The project's README from github.com/sakalond/StableGen. As one markdown file: README.md.
Generate, texture and rig 3D assets in Blender.
Documentation · Installation · Quick start · Discussions · Discord · Releases
StableGen is a Blender add-on that textures meshes and whole scenes with diffusion models, and generates new meshes from a prompt or an image. It renders guidance images from cameras in your scene, sends the work to a ComfyUI server on the same computer or elsewhere on your network, and projects the results back onto the meshes.
Describe a character and pick one of the preview images; StableGen does the rest in one run. TRELLIS.2 builds the mesh, SkinTokens rigs it, and views generated around it are projected into its texture. A run can also start from an image, skip the rig, or keep the texture TRELLIS.2 makes itself. TRELLIS.2


Place cameras around one object or a whole scene. StableGen generates a view from each camera and projects it onto every surface that camera sees; each view is generated with the earlier ones as context, so the texture stays consistent all the way round. Generation modes · Cameras


Paint over the part you want to change and describe the change. Masked Edit regenerates only the painted region, in every view that sees it, and leaves the rest of the texture as it was. Masked Edit


Marigold estimates albedo, roughness, metallic and normal maps from the generated views. StableGen projects them like the color and bakes them into standard maps for other software. PBR maps


SkinTokens adds a skeleton and skin weights to a character, during a TRELLIS.2 run or on any mesh you select. Motion from FBX or BVH files, such as Mixamo animations, can then be retargeted onto the rig. Rigging and animation


Bake the result, PBR maps included, into UV textures and export it with its rig and animations: glTF for Godot and the web, or FBX for Unreal Engine and Unity. Below, a village in Unreal Engine 5.7 built only from StableGen exports: the houses, props, trees and ground as GLB with PBR maps, and five rigged characters as FBX with their walk. Orbit GIFs and MP4s, multi-color 3MF files for 3D printing, and the scene queue for unattended batches are in the same place. Export · Batch processing


Each step can also be done by hand: reorder the cameras and give views their own prompts, change how the views blend and reproject without generating again, extract PBR maps, and repaint a region with Masked Edit.


StableGen runs inside Blender and sends the model work to a ComfyUI server, on the same computer or another one on the network. You start from a prompt, an image or your own model, and the results come back into the scene as materials, meshes and armatures.
Texturing works by projection. Each camera gets a generated view that follows the geometry through a depth guide, and the views are blended onto the surface by how directly each camera sees it.
python installer.py <path to ComfyUI>
Package 3 sets up SDXL texturing, package 13 Qwen Image 2.1, package 8 mesh generation, package 14 auto-rigging, and packages 15 to 17 the experimental architectures.127.0.0.1:8188 by default). Under System > Network, enable Allow Online Access.Installation covers every installer package, unattended installs, a remote server and manual setup.
Press N in the 3D Viewport and open the StableGen tab.
Texture a model
Generate an asset
Quick start goes through both in detail.
The StableGen wiki covers every feature in detail:
StableGen is released under the GNU General Public License v3.0. The models and nodes it runs on ComfyUI have their own licenses, and three of them are for non-commercial use only:
StableGen began as a bachelor's thesis by Ondřej Sakala at the Faculty of Information Technology, Czech Technical University in Prague, supervised by Ing. Radek Richtr, Ph.D. (full text). Part of its development took place during a study stay at Kanazawa University in summer 2026; travel costs were supported by a grant from Nadace „Nadání Josefa, Marie a Zdeňky Hlávkových“.
It builds on ComfyUI, ComfyUI-TRELLIS2 and Blender, and was inspired by the Dream Textures and Diffused Texture add-ons.
Transform your 3D texturing workflow with the power of generative AI, directly within Blender!