# StableGen

> Source: https://aiwiki.ai/wiki/stablegen
> Updated: 2026-11-04
> Categories: AI Tools & Products, Generative AI, Image Generation
> License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) - attribute to "AI Wiki (aiwiki.ai)"
> Cite as: AI Wiki. "StableGen." aiwiki.ai, 4 Nov 2026. https://aiwiki.ai/wiki/stablegen
> From AI Wiki (https://aiwiki.ai), the free encyclopedia of artificial intelligence. Reuse freely with attribution.

StableGen is an open-source Blender add-on for generating meshes, texturing existing objects and scenes, and preparing rigged 3D assets. It uses a [ComfyUI](https://aiwiki.ai/wiki/comfyui) server to run the selected models, then brings their results into Blender. The server can run on the same computer or another machine on the network. The add-on is developed by Ondřej Sakala and distributed under the GNU General Public License v3.0.[1]

## How it works

StableGen places cameras around scene geometry and renders guidance images from those viewpoints. Models generate or edit the corresponding images, which the add-on projects onto visible mesh surfaces. Overlapping projections receive weights based on visibility and the angle between the viewing direction and surface normal. Cameras contribute nothing to hidden surfaces or surfaces rejected by the angle threshold.[2]

This makes camera placement part of the texturing process. A surface outside every camera's coverage receives the fallback color. Reprojecting recalculates the material from saved camera images after blending settings change; it does not run image generation again.[2]

The SDXL architecture can use [ControlNet](https://aiwiki.ai/wiki/controlnet) for structural guidance and [IP-Adapter](https://aiwiki.ai/wiki/ip_adapter) for image references. Qwen-based image-editing workflows instead take reference images, such as depth maps, previous views and renders of the developing texture.[3]

## Texturing workflows

The available workflow depends on the selected architecture.[4]

| Workflow | Operation |
| --- | --- |
| Separate views | Generate each camera image independently. |
| Sequential views | Use the texture from earlier views as context when generating later ones. |
| Grid | Generate camera views together in one image, then split them. |
| Refine | Modify or restyle an existing texture. |
| Local Edit | Blend changed camera views over the existing material. |
| Masked Edit | Change a painted region of a texture. |
| UV Inpaint | Fill missing areas in baked UV textures. |

SDXL and MOSS Image support the text-to-image workflow family, including Grid and UV Inpaint. Qwen Image Edit, [Qwen-Image-2.1](https://aiwiki.ai/wiki/qwen_image_2_1), Qwen Image 2.1 Turbo and FIBO 2.0 Edit offer Generate, Refine, Local Edit and Masked Edit instead. Their Generate presets process views sequentially. Camera order matters because the first view establishes appearance for subsequent views.[4]

Masked Edit lets a user paint a selection, describe a change and preview the result before applying or discarding it. It operates through the cameras that see the selected surface and supports multiple component meshes without permanently joining the originals.[5]

## Model architectures

StableGen separates texture generation from mesh generation. Its architecture selector identifies supported, experimental and deprecated options.[3]

| Architecture | Role in StableGen |
| --- | --- |
| SDXL | Texture generation with geometry guidance and optional image references. |
| Qwen Image Edit | Texture generation and editing using image guidance. |
| Qwen Image 2.1 | Image-guided texture generation, including RGBA views whose transparent pixels are excluded from projection. |
| Qwen Image 2.1 Turbo | Experimental few-step alternative using the Qwen Image 2.1 workflow family. |
| MOSS Image | Experimental texturing architecture with its own depth control adapter. |
| FIBO 2.0 Edit | Experimental image-editing architecture. |
| TRELLIS.2 | Mesh generation from an image or prompt, with optional subsequent texturing. |

The 0.4.0 release, published on October 28, 2026, added the new panel, Masked Edit, automatic rigging and Qwen Image 2.1 support. It also marked FLUX.1 and FLUX.2 Klein architectures as deprecated and hid them by default, while retaining an option to expose them for existing files.[6]

## Mesh generation and rigging

The TRELLIS.2 integration uses a ComfyUI custom node to generate a mesh from an input image. For a text prompt, StableGen first creates a reference image. A preview gallery lets the user select an image before mesh generation continues. The resulting GLB is downloaded and imported into Blender. Texturing can use the native TRELLIS.2 texture mode or a separate diffusion architecture.[7]

SkinTokens supplies automatic skeleton generation and skin weights through the ComfyUI server. It can run on an existing character mesh or between the mesh-generation and texturing stages of a TRELLIS.2 job. StableGen can also retarget animation from FBX or BVH files onto a rig.[8]

## Materials, baking and export

StableGen can estimate material maps from the generated camera images and project those maps onto the mesh. Available channels include albedo, roughness, metallic and normals; optional channels include height and experimental emission. Ambient occlusion uses Blender geometry rather than an image-generation model. The documentation explicitly distinguishes estimated PBR maps from measured material properties.[9]

A projection material combines camera images at rendering time. Exporting it for another application requires baking into ordinary UV textures first. StableGen supports glTF Binary, glTF with separate texture files and FBX export, including rigs and optional animation actions. Export itself does not perform the bake.[10]

These steps connect StableGen to a broader [game-asset creation workflow](https://aiwiki.ai/wiki/creating_game_assets_with_ai). The source documentation also describes orbit renders and multicolor 3D-printing export.[10]

## Installation and hardware

StableGen requires both the Blender add-on and a working ComfyUI installation with the relevant models and custom nodes. The project's installer downloads dependencies for the selected features. The documentation lists these requirements:[11]

| Component | Documented requirement |
| --- | --- |
| Blender | 4.2-4.5, or 5.1 and later; Blender 5.0 is unsupported. |
| Add-on packages | Windows x64, Linux x64 or macOS on Apple Silicon. |
| Server GPU | NVIDIA CUDA hardware is recommended; server compatibility also depends on ComfyUI and the selected nodes. |
| VRAM planning | About 8 GB for SDXL; 16 GB or more for Qwen Image Edit. |
| Model storage | Roughly 10 GB to more than 50 GB, depending on installed packages. |

On Blender 4.2-4.5, projection uses Open Shading Language and the add-on switches Cycles to CPU rendering while constructing projection materials. Blender 5.1 and later use native Raycast shader nodes.[11]

## Example scene workflow

In the linked street-scene demonstration, Sakala described using TRELLIS.2 meshes for individual props and a character, with simple blocks for buildings, road and sidewalk. Qwen Image 2.1 generated ten camera views for texturing. Per-camera prompts named the objects visible from each viewpoint, and the character received a separate camera setup. Separate texturing runs produced photorealistic, cyberpunk, anime and papercraft treatments. The author reported baking the results and rendering in Cycles.[12]

The demonstration's reference-image logo editing was identified as development-branch functionality awaiting the next release. It should be distinguished from the released Masked Edit feature.[12]

## Licensing

StableGen's software license does not replace the licenses of its model weights or dependencies.[1]

The Qwen Image 2.1 license grants rights for non-commercial use and defines that use as research or evaluation. StableGen's documentation identifies Qwen Image 2.1 Turbo as subject to the same license. Its architecture documentation also identifies FIBO 2.0 Edit as non-commercial under CC BY-NC 4.0.[3][13]

The TRELLIS.2 integration documentation separately identifies restrictions on the NVIDIA libraries used by its Native texture mode. Those libraries are not used by the shape-only or projection-based texture paths. Model-specific terms still apply when another texture architecture is selected.[7]

## Research context

StableGen's documented components draw on research in conditioned image generation and multiview texturing. ControlNet adds spatial conditioning, including depth and edge inputs, to pretrained diffusion models. IP-Adapter introduces image-prompt conditioning alongside text. TEXTure studies iterative painting of a 3D shape from different viewpoints and the consistency problems caused by independently generated views.[14][15][16]

These papers describe the underlying methods and related research. Their evaluation results are not performance measurements of StableGen itself.

## References

1. Sakala, Ondřej. [StableGen repository and README](https://github.com/sakalond/StableGen). Project description, authorship and software license.
2. StableGen documentation. [Blending and projection](https://github.com/sakalond/StableGen/wiki/Blending-and-projection). Updated October 28, 2026.
3. StableGen documentation. [Architectures and presets](https://github.com/sakalond/StableGen/wiki/Architectures-and-presets). Updated October 28, 2026.
4. StableGen documentation. [Generation modes](https://github.com/sakalond/StableGen/wiki/Generation-modes). Updated October 28, 2026.
5. StableGen documentation. [Masked Edit](https://github.com/sakalond/StableGen/wiki/Masked-Edit). Updated October 28, 2026.
6. StableGen. [Version 0.4.0: New Architectures, Masked Edit, Automatic Rigging & New Panel](https://github.com/sakalond/StableGen/releases/tag/v0.4.0). October 28, 2026.
7. StableGen documentation. [TRELLIS.2 mesh generation](https://github.com/sakalond/StableGen/wiki/TRELLIS.2-mesh-generation). Updated October 28, 2026.
8. StableGen documentation. [Rigging and animation](https://github.com/sakalond/StableGen/wiki/Rigging-and-animation). Updated October 28, 2026.
9. StableGen documentation. [PBR maps](https://github.com/sakalond/StableGen/wiki/PBR-maps). Updated October 28, 2026.
10. StableGen documentation. [Export](https://github.com/sakalond/StableGen/wiki/Export). Updated October 28, 2026.
11. StableGen documentation. [Installation](https://github.com/sakalond/StableGen/wiki/Installation). Updated October 28, 2026.
12. Sakala, Ondřej, posting as sakalond. [I textured an entire street in Blender with Qwen Image 2.1, then made cyberpunk, anime and papercraft versions of it](https://www.reddit.com/r/StableDiffusion/comments/1xmg8au/i_textured_an_entire_street_in_blender_with_qwen/). Project-author demonstration and workflow description.
13. Qwen. [Qwen Image 2.1 Research License Agreement](https://huggingface.co/Qwen/Qwen-Image-2.1/blob/main/LICENSE). September 20, 2026.
14. Zhang, Lvmin; Rao, Anyi; Agrawala, Maneesh. [Adding Conditional Control to Text-to-Image Diffusion Models](https://arxiv.org/abs/2302.05543). 2023.
15. Ye, Hu; Zhang, Jun; Liu, Sibo; Han, Xiao; Yang, Wei. [IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Models](https://arxiv.org/abs/2308.06721). 2023.
16. Richardson, Elad; Metzer, Gal; Alaluf, Yuval; Giryes, Raja; Cohen-Or, Daniel. [TEXTure: Text-Guided Texturing of 3D Shapes](https://arxiv.org/abs/2302.01721). 2023.

