Skip to content

How-ToGPU

How to Texture 3D Models with AI in Blender Using StableGen

StableGen is a free Blender add-on that textures your own 3D models with AI image models running in ComfyUI on your PC. We cover what you need, installing it, setting up ComfyUI, generating, baking and exporting a texture, and fixing common errors.

By , Systems & Technical Editor

5 min read

How to Texture 3D Models with AI in Blender Using StableGen

The steps are based on StableGen's GitHub README, its v0.5.0 release notes and its troubleshooting wiki, all read on 2 December 2026.

StableGen is a free, open-source (GPL-3.0) Blender add-on that paints textures onto your own models with diffusion image models. You place cameras around a mesh, StableGen renders depth guides from each one, sends the work to a ComfyUI server and projects the generated views back onto the surface. Each view is generated with the earlier ones as context, so the texture is meant to stay consistent all the way round. The models run on your own hardware, either this PC or another one on your network, so there's no cloud service or subscription involved.

What you need

StableGen's README lists these requirements:

Requirement

What StableGen says

Blender

4.2 to 4.5, or 5.1 and later. Blender 5.0 is not supported

Operating system

Windows, Linux, or macOS on Apple Silicon

GPU

NVIDIA preferred. About 8GB of VRAM for SDXL, 16GB or more for Qwen Image

Disk space

10GB to over 50GB for models, plus about 5GB for StableGen's own ComfyUI

In practice that makes a 12GB or 16GB NVIDIA card the comfortable choice. A 16GB card such as the MSI RTX 5060 Ti 16GB Ventus 2X OC Plus clears the Qwen Image figure, while an 8GB card is limited to the SDXL route. Our best GPU for Blender guide covers the rendering side of the same decision.

If you're on Blender 5.0, install 4.5 LTS or a 5.1-or-later build alongside it before you start.

Step 1: Install the add-on

  1. Download the add-on ZIP for your system (Windows x64, Linux x64 or macOS Apple Silicon) from StableGen's GitHub releases page. Version 0.5.0, released on 4 November 2026, was the latest when we checked.

  2. In Blender, open Edit > Preferences > Get Extensions, choose Install from Disk from the menu in the top-right corner and select the ZIP.

  3. Still in Preferences, go to System > Network and enable Allow Online Access. StableGen needs this to download ComfyUI and models.

  4. Set an Output Directory in the add-on's preferences. StableGen won't generate without one.

Step 2: Set up ComfyUI

Press N in the 3D Viewport and open the StableGen tab. The ComfyUI setup page opens the first time (later it's under the ••• menu). There are three options:

  • Install StableGen's own. Pick a folder and press Install ComfyUI. StableGen installs ComfyUI with its own Python and PyTorch for your GPU, about 5GB, and starts and stops it for you. The README says this route has been tested on Windows so far. Since v0.5.0, this means you don't need a terminal at all.

  • Use my ComfyUI folder. Point it at a portable, git or Desktop install of ComfyUI you already have, and StableGen installs its models into it.

  • Connect to a server. Use a ComfyUI running on another PC on your network. You install the models on that machine with StableGen's installer.py script and start ComfyUI there with --listen.

The second and third options suit anyone who already uses ComfyUI for image generation. Our ComfyUI-Manager guide explains how ComfyUI's custom nodes work if you want to look under the hood.

Step 3: Install a texturing model

Under Models on the same setup page, install a texturing architecture. SDXL is the one to start with on an 8GB to 12GB card. Qwen Image 2.1 needs 16GB or more. Each entry shows its download size, and interrupted downloads resume.

Check the licences before you use the results commercially. StableGen's README notes that Qwen Image 2.1 and Qwen Image 2.1 Turbo are under the Qwen Research Licence, and Bria FIBO 2.0 is non-commercial (CC BY-NC 4.0). SDXL and Qwen Image Edit aren't affected by those restrictions.

Step 4: Texture a model

  1. Select your mesh and click Add cameras. StableGen generates one view per camera and projects it onto every surface that camera sees, so more cameras give better coverage. Fewer cameras use less VRAM.

  2. Choose an Architecture and a Preset, then a Checkpoint, on the Texture page.

  3. Describe the surface in Texture prompt, for example "weathered oak planks with iron rivets", and click Generate textures.

  4. Switch the viewport to Rendered shading to see the result.

If one area comes out wrong, you don't have to start again. Masked Edit lets you paint over a region, describe the change and regenerate only that region in every view that sees it.

Step 5: Add PBR maps, bake and export

StableGen can estimate albedo, roughness, metallic and normal maps from the generated views using the Marigold models, then bake them into standard maps. Install the PBR entries from the setup page first.

When you're happy, use Bake to turn the projected result into ordinary UV textures and Export to save it. StableGen supports glTF/GLB for Godot and the web and FBX for Unreal Engine and Unity.

Going further: generate the mesh too

StableGen can also build a new mesh from a prompt or an image with Microsoft's TRELLIS.2, rig characters with SkinTokens and rebuild meshes as low-poly topology with LATO.2. TRELLIS.2 needs ComfyUI 0.42 or newer. For more on AI mesh generators, see our best local AI 3D model generators and TRELLIS.2 vs Hunyuan3D 2.1.

Fixing common problems

StableGen's troubleshooting wiki covers these:

  • No StableGen tab. Check the add-on is enabled under Edit > Preferences > Add-ons, then press N in the viewport.

  • Generate button greyed out. The status line says why. "Output Path Invalid" means the output folder doesn't exist, "ComfyUI offline" means you need to start ComfyUI or fix the Server Address, and "Enable online access in preferences" means the Blender network setting is off.

  • "Model Directory Empty". No model for the chosen architecture is installed. Click Install on the line under Architecture.

  • Out of GPU memory. Lower Target megapixels in Output & materials, use fewer cameras and close other programs that use the GPU.

  • ComfyUI crashes while loading a model. Errors like "The paging file is too small" or an access violation point to the PC running out of system memory. The wiki suggests a fixed 32GB to 64GB Windows page file and starting ComfyUI with --reserve-vram 2 when Blender is open.

  • Anything else. On Windows, open Window > Toggle System Console in Blender. StableGen prefixes its messages with [StableGen]. ComfyUI's own log is under Show log on the setup page.

If you'd rather stay inside Blender without a ComfyUI backend, compare it with older add-ons in our StableGen vs Dream Textures guide and our roundup of the best local AI texture tools for Blender.

The bottom line

StableGen is the most complete free way to texture your own Blender models with AI on your PC. Use Blender 4.5 or 5.1 or later (not 5.0), let it install its own ComfyUI if you're new to this, start with SDXL on an 8GB to 12GB NVIDIA card, and check model licences before selling anything you make.

In this article

Sources

  1. 01StableGen README on GitHub
  2. 02StableGen v0.5.0 release notes on GitHub
  3. 03StableGen wiki, Troubleshooting

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

Best Local AI Texture Tools for Blender in 2026

Best Picks

Best Local AI Texture Tools for Blender in 2026

Four free tools that use AI to texture 3D models for Blender on your own PC: StableGen, DiffusedTexture, Dream Textures and Ubisoft's CHORD for PBR maps. We compare what each does, the hardware they ask for and their licences.

Hannah Vance4 min