How it works
- Qwen Image 2.1 creates a 2D concept image from text. Skipped when you supply your own image.
- Pixal3D turns the image into a textured 3D mesh (GLB).
- MIA (Make It Animatable) adds a skeleton and connects it to the mesh.
- HY-Motion 1.0 creates skeletal animation from text (FBX).
Text-to-3D: Text prompt → Qwen Image 2.1 → Pixal3D → 3D model → optional: MIA rig → HY-Motion animation
Image-to-3D: Your own image → Pixal3D → 3D model → optional: MIA rig → HY-Motion animation
Asset Forge connects the generation models through ComfyUI. The character helper handles rigging and motion. Blender lets you view and edit the results. For static objects, stop after the GLB stage.
| Stage | Tool | Output |
|---|---|---|
| Concept image | Qwen Image 2.1, or your own image | PNG |
| 3D generation and texturing | Pixal3D via Asset Forge | Textured GLB |
| Automatic rigging | MIA via ComfyUI-UniRig | Rigged FBX |
| Text-to-animation | HY-Motion 1.0 | Animated FBX |
| Preview, editing and rendering | Blender | Editable 3D scene |
Hardware: will this run on my PC?
You need Windows 10 or 11 with an NVIDIA RTX GPU and current drivers. Aim for 32 GB of system RAM (64 GB preferred if you use CPU offloading), an SSD, and 100 GB free for assets only or 150–200 GB for the full character and animation setup.
| VRAM | Example GPUs | 3D generation | Animation |
|---|---|---|---|
| 4–6 GB | RTX 2060 6 GB | Not recommended | Not recommended |
| 8 GB | RTX 3070 / 4060 | Fast, low-poly profiles | Skip animation |
| 12 GB | RTX 3060 / 4070 / 5070 | Standard; try fast if needed | Experimental; CPU encoder |
| 16 GB | RTX 4080 / 5080 | Standard; try max | CPU encoder may help |
| 24 GB | RTX 3090 / 4090 | Max; monitor memory | Try CPU encoder |
| 32 GB+ | RTX 5090 | High-detail settings | Recommended for full pipeline |
Not covered: Mac (Apple Silicon), AMD or Intel GPUs and CPU-only machines are not supported by this CUDA-based guide. Linux, DGX Spark and cloud NVIDIA GPUs need an adapted setup that this guide does not cover.
These are planning estimates, not verified per-card results. Asset Forge lists 8 GB VRAM as the minimum and 16 GB as recommended. The original HY-Motion release lists 26 GB minimum for the full model and 24 GB for Lite, not counting its text encoder. Encoding the text on the CPU in ComfyUI may reduce VRAM use, but Lite alone does not guarantee 12 GB support. If your card is under 24 GB, use the lower-VRAM options. Run one model at a time and close other GPU-heavy apps.
Sources: Asset Forge requirements · HY-Motion requirements
1. Install everything
You install four apps yourself. The YouRunAI setup package does the rest.
Installer status: experimental. The installer was validated on an existing Windows NVIDIA installation: its preflight check, static asset generation and rigging/animation smoke tests passed, reusing the existing model weights and PyTorch. This package includes the two workarounds that run needed (folder detection and duplicate node packs). A fresh Windows install, and a Windows rerun of this updated package, are still unverified. A passing check doesn't guarantee that generation will succeed. The installer modifies ComfyUI Desktop's Python environment, so back up a valuable existing installation first, or try it on a separate clean Windows install. You can also follow the manual setup instead.
1. Install the four apps if you don't already have them:
| Application | Download | Notes |
|---|---|---|
| Python 3.12 (64-bit) | python.org | Tick Add Python to PATH on the first installer screen. |
| Git for Windows | git-scm.com | Default options are fine. |
| ComfyUI Desktop | comfy.org | Choose the NVIDIA GPU option. |
| Blender | blender.org | Version 4.0 or newer. |
2. Open ComfyUI Desktop once and complete its NVIDIA setup. Leave it open so the installer can detect it. The installer will ask you to close it before it installs anything.
3. Download the setup package (local-3d-setup.zip) and extract the entire ZIP. Right-click it, choose Extract All, and keep all four files together: setup.ps1, setup_pipeline.py, character_pipeline.py and README.md. Open the extracted folder, click its address bar, type powershell and press Enter. A PowerShell window opens in that folder. Run:
powershell -NoProfile -ExecutionPolicy Bypass -File .\setup.ps1The execution-policy override applies only to that one PowerShell process. The installer doesn't ask for administrator mode.
4. Choose what to install and confirm the paths. Type 1 for static assets and characters, or 2 for the full rigging and animation workflow. Check the ComfyUI paths it detects, then follow the prompts. First-time model downloads are large and can take a long time.
5. Reopen ComfyUI Desktop when prompted. Let it finish loading, then press Enter. The installer verifies the model files and registered nodes. If Desktop needs more time, run the check again from the extracted setup folder:
powershell -NoProfile -ExecutionPolicy Bypass -File .\setup.ps1 -Check6. Open PowerShell in the Asset Forge folder. Every command in the rest of this guide runs from here:
cd "$HOME\comfyui-text-to-3d-mcp"Keep the verified ComfyUI Desktop open for the rest of the guide. You never need to build a node graph by hand.
Optional configuration and recovery
You normally don't need these. Run them from the extracted setup folder, and close Desktop before installing or repairing.
# Pick the installation mode directly (still asks you to confirm paths)
powershell -NoProfile -ExecutionPolicy Bypass -File .\setup.ps1 -Mode Assets
powershell -NoProfile -ExecutionPolicy Bypass -File .\setup.ps1 -Mode Full# Use a non-default API port (example)
powershell -NoProfile -ExecutionPolicy Bypass -File .\setup.ps1 -Port 8189# Rerun the animation dependency installation if the full check fails
powershell -NoProfile -ExecutionPolicy Bypass -File .\setup.ps1 -Mode Full -RepairMotionIf your Desktop uses a nonstandard layout, the installer accepts -ComfyRoot, -ComfyData, -ComfyPython, -ModelDir, -NodeDir, -InputDir, -OutputDir and -Blender. Give it your installation's actual paths and port, not those of an unrelated running backend. It checks your local Documents folder, a redirected or OneDrive Documents folder and common Desktop locations, plus running backends on common ports. Unusual layouts need these overrides. Don't run two installers at the same time.
What the installer changes
- Creates or reuses
$HOME\comfyui-text-to-3d-mcp. It doesn't pull over changes you've made to an existing copy. - Configures a shared
machine.json, copies the character helper, and applies narrowly matched Asset Forge path fixes with timestamped backups. If the source code has changed upstream, it stops instead of patching blindly. - Installs model dependencies from Asset Forge's catalog into the Desktop Python environment, with PyTorch version constraints and a before-and-after version check. Existing node packs are kept. If a node pack exists in both the application and data folders, both are left untouched and the final check confirms the nodes your selected profiles need are registered. New node packs use the catalog's tested commits where provided.
- Reuses existing model weights and asks before copying them across drives. Completed downloads are skipped. An interrupted individual model download may restart rather than resume.
- Full mode installs UniRig/MIA and HY-Motion with their weights, patches the UniRig file selector and backs up its metadata caches. Assets mode skips this stage.
- Refuses to continue if the selected backend is running during installation. It doesn't update Desktop or your NVIDIA drivers.
Fresh installs clone Asset Forge's current default branch and record the commit used.
Lower-VRAM options
Got a 12 GB GPU? Use these two commands instead of the high-detail examples in sections 2 and 3 (section 4 has the matching commands for your own images). On 16 GB, start here too. If memory runs out, change standard to fast.
python forge.py asset tower_standard "A medieval stone watchtower with a blue roof" -p prop_native --preset standardpython forge.py asset forest_guardian "A full-body fantasy ranger, green hood, leather armor, front-facing neutral A-pose" -p character_native --preset standard8 GB: use the prop_lowpoly or character_lowpoly profiles with --preset fast. They produce lower-detail, game-style assets. Check the model licenses before using them.
python forge.py asset tower_lowpoly "A medieval stone watchtower with a blue roof" -p prop_lowpoly --preset fastpython forge.py asset ranger_lowpoly "A full-body fantasy ranger, green hood, leather armor, front-facing neutral A-pose" -p character_lowpoly --preset fastAnimation on 12–24 GB is an optional, unverified path. Add --encoder-device cpu to the command in section 5 so the text encoder uses system RAM instead of the GPU. It is slower and can still run out of memory. If it does, stop at the GLB or rigged FBX stage. HY-Motion Lite is not included.
2. Create your first 3D asset
Let's make a medieval watchtower. Pixal3D creates the shape and surface materials. The result is a real 3D object you can rotate and edit.

Textured medieval tower examples generated during the workflow.
For high-detail generation (24–32 GB VRAM suggested), run this in PowerShell:
python forge.py asset tower_best "A highly detailed stylized medieval stone watchtower with weathered stone bricks, ornate Gothic windows, wooden doors, moss-covered walls and a dark blue slate roof, isolated fantasy game asset" -p prop_native --preset max --set tris=100000 --set shape_resolution=1536 --set remesh_resolution=1024One command generates a concept image, converts it into 3D geometry, applies textures and exports a GLB file. Smaller GPU? Use the lower-VRAM options.
| Setting | Value |
|---|---|
| Profile | prop_native (Pixal3D) |
| Preset | max |
| Triangle budget | 100,000 |
| Shape resolution | 1536 |
| Remesh resolution | 1024 |
| Texture resolution | 4096 (inherited from the max preset) |
Open the output folder:
explorer .\outputYou'll find:
tower_best.png: the AI-generated concept image.tower_best.glb: the textured 3D model.tower_best_preview.png: a preview rendered from the 3D model.tower_best.json: generation metadata and mesh-check results.
View it in Blender. Delete the default cube, choose File → Import → glTF 2.0 (.glb/.gltf) and select tower_best.glb. Hover over the viewport and press Z → Material Preview to see the textures (Solid mode deliberately hides them). Press Numpad . to frame the model, then rotate around it and check the sides and back for holes, spikes or overlapping geometry.
Make your own: replace tower_best with a new name and change the text prompt. Try a house, treasure chest, sword, statue or tree. Generate each object separately and arrange them in Blender to build a scene, rather than asking for a whole world as one mesh.
Quality: max and the extra settings favor detail. Triangles and resolution control geometry detail; larger values need more memory. The triangle setting is a target, not a guarantee, and it won't repair fundamentally broken geometry. Textures hold the color and material properties. Asset Forge is designed mainly for low-poly assets: its default prop max preset targets only 8,000 triangles.
Generate more assets
python forge.py asset medieval_house "A charming stylized medieval timber-frame house, stone foundation, blue slate roof, wooden windows, moss, isolated fantasy game asset" -p prop_native --preset max --set tris=100000 --set shape_resolution=1536 --set remesh_resolution=1024python forge.py asset medieval_well "A stylized medieval stone water well with chunky stone blocks, solid wooden supports, blue shingled roof, rustic fantasy game asset" -p prop_native --preset max --set tris=100000 --set shape_resolution=1536 --set remesh_resolution=1024Use a consistent art style across assets so they fit together.
Reuse an existing concept image
Like the PNG but not the geometry? Skip image generation and retry the 3D stage with a new asset name:
python forge.py asset tower_retry --image ".\output\tower_best.png" -p prop_native --preset max --set tris=100000 --set shape_resolution=1536 --set remesh_resolution=1024Using the same image makes it easier to compare settings. Pixal3D works best with clean, isolated, straight-on reference images.
3. Create a 3D character
Characters use the same image-to-3D pipeline with the character_native profile. For animation, generate a complete humanoid in a neutral A-pose with visible hands and feet and arms separated from the torso.
python forge.py asset forest_guardian_hd "A highly detailed stylized full-body fantasy male ranger, front-facing neutral A-pose, symmetrical clearly defined handsome face, unobstructed eyes, hood pulled back slightly, green cloak, intricate leather armor, brown boots, AAA fantasy game character" -p character_native --preset max --set tris=150000 --set shape_resolution=1536 --set remesh_resolution=1024 --set shape_steps=30 --set texture_steps=25
Generated textured fantasy ranger viewed in Blender.
| Setting | Value |
|---|---|
| Profile | character_native (Pixal3D) |
| Triangle budget | 150,000 (profile default is 12,000) |
| Shape resolution | 1536 |
| Remesh resolution | 1024 |
| Shape sampling steps | 30 |
| Texture sampling steps | 25 |
| Texture resolution | 4K |
Open output\forest_guardian_hd.glb in Blender with the same import steps as the tower. Compare Solid mode (true geometry) with Material Preview (baked textures). This is your character model. It doesn't have bones or animation yet; section 5 adds them.
For 8–16 GB cards, use the lower-VRAM options. Change the prompt to create a different character. Higher triangle counts preserve detail; shape and texture steps control sampling effort, not guaranteed quality. Raising shape resolution to 2048 didn't consistently improve the finished character.
Character prompt tips
- Ask for a front-facing, symmetrical, full-body character in a neutral A-pose.
- Keep both arms away from the torso and both legs separate. Don't crop hands or feet.
- Prefer clean silhouettes, readable shapes and stylized detail.
- Avoid props in the hands and complicated overlapping accessories for your first rigging test.
- Faces, especially eyes, may be imperfect. More polygons alone don't fix facial textures.
- Capes, long skirts and loose clothing may need extra skin-weight or cloth work after rigging.
Optional: tone down excessive shine
If a model looks good in Solid mode but too shiny in Material Preview, make a matte comparison copy. This keeps the original and writes forest_guardian_hd_matte.glb with roughness 0.65 and metallic 0.0 (full setup only):
python character_pipeline.py matte ".\output\forest_guardian_hd.glb"You can also test the same values by hand in Blender's Shading workspace. This is a material adjustment, not AI texture regeneration. It doesn't repaint textures or fix the eyes.
4. Use Your Own Images (Image-to-3D)
You don't have to generate the reference image with Qwen Image. Use a photograph, an illustration, concept art, or an image from ChatGPT, Midjourney, FLUX or any other image generator.
No extra installation is needed. Asset Forge's --image option takes your file instead of a text prompt, so it skips the text-to-image stage. The 3D reconstruction still runs through Pixal3D, so you need the same setup, GPU memory and models as text-to-3D.
| Path | Flow |
|---|---|
| Text-to-3D | Text prompt → Qwen Image 2.1 → Pixal3D → 3D model |
| Image-to-3D | Your own image → Pixal3D → 3D model |
Either way, a character can then continue through MIA rigging and HY-Motion animation in section 5.
Status: we checked the --image option in Asset Forge's source code (forge.py asset NAME --image FILE). It copies your file in as the concept image and builds the model from it. YouRunAI hasn't independently tested image-to-3D on Windows yet.
Example 1: turn an image into a 3D asset
python forge.py asset custom_castle --image "$HOME\Downloads\castle.png" -p prop_native --preset max --set tris=100000 --set shape_resolution=1536 --set remesh_resolution=1024Example 2: turn an image into a 3D character
python forge.py asset custom_character --image "$HOME\Downloads\character.png" -p character_native --preset max --set tris=150000 --set shape_resolution=1536 --set remesh_resolution=1024 --set shape_steps=30 --set texture_steps=25Example 3: rig and animate the character
python character_pipeline.py finish ".\output\custom_character.glb" "A character running forward with natural arm movement" --seconds 4 --fingersReplace the example path ($HOME\Downloads\castle.png) with your own image's location, keeping the quotes. PNG or JPG files work. Your image is copied to output\custom_castle.png and the model is saved as output\custom_castle.glb, just like a text-to-3D run.
Use a new asset name for each new image. If a model with that name already exists with the same settings, Asset Forge returns the existing model instead of rebuilding it. To deliberately rebuild under the same name, add --force.
Smaller GPU?
These use the same presets as the lower-VRAM options.
| GPU | Asset from your image | Character from your image |
|---|---|---|
| 12 GB (and a safe start on 16 GB) | -p prop_native --preset standard | -p character_native --preset standard |
| 8 GB | -p prop_lowpoly --preset fast | -p character_lowpoly --preset fast |
12 GB:
python forge.py asset custom_castle --image "$HOME\Downloads\castle.png" -p prop_native --preset standardpython forge.py asset custom_character --image "$HOME\Downloads\character.png" -p character_native --preset standard8 GB:
python forge.py asset custom_castle_lowpoly --image "$HOME\Downloads\castle.png" -p prop_lowpoly --preset fastpython forge.py asset custom_character_lowpoly --image "$HOME\Downloads\character.png" -p character_lowpoly --preset fastIf memory runs out on 12 GB, change standard to fast. Animating on cards under 24 GB follows the same advice as text-to-3D: add --encoder-device cpu, and skip animation on 8 GB.
Choosing a good reference image

The same character twice: arms held clear of the body reconstruct and rig cleanly; crossed arms merge into the torso.
- Plain or transparent background. The native profiles try to remove the background, but a clean one gives the best result.
- The entire object or character is visible. Don't crop the feet, hands or roof.
- Neutral A-pose for humanoid characters (a T-pose, like the example above, also keeps the arms clear), facing the camera.
- Arms and legs clearly separated from the body and from each other.
- Minimal obstructions and perspective distortion. A straight-on view with nothing in front of the subject.
A photo of a real object works best when it's shot straight on against a plain wall. A busy photo usually gives a messy mesh, because the model treats everything in the frame as one object.
5. Rig and animate your character
A rig is a skeleton that controls the mesh. MIA creates the bones and skin weights; HY-Motion creates the movement. The helper joins these steps in one command.

Generated ranger with its armature visible in Blender.
With the full setup installed and ComfyUI open, run:
python character_pipeline.py finish ".\output\forest_guardian_hd.glb" "A man walking forward confidently" --seconds 5 --fingersThe helper rigs your GLB with MIA, exports a rigged FBX, generates a five-second motion with HY-Motion, retargets it onto the skeleton and exports an animated FBX. On a card under 24 GB, add --encoder-device cpu.
Keep --fingers. Without finger rigging, the hands stayed behind the moving character and stretched the mesh in our first test. Enabling it fixed the ranger.
The first run may download the MIA model weights. Keep ComfyUI open until the helper prints both MIA rig: completed and HY-Motion animation: completed.
Play the animation in Blender
Copy the Animated FBX: path printed at the end. The animations are saved in Documents\ComfyUI\output\hymotion_retarget. To jump to the newest one:
$latest = Get-ChildItem "$HOME\Documents\ComfyUI\output\hymotion_retarget" -Filter *.fbx | Sort-Object LastWriteTime -Descending | Select-Object -First 1
explorer /select,"$($latest.FullName)"- Start a fresh Blender scene and delete the default cube.
- Choose File → Import → FBX (.fbx) and select that exact animated FBX.
- Press Z → Material Preview, then
Numpad .to frame the character. - Set the scene frame rate to 30 FPS (Output Properties) and the timeline to the imported keyframe range: about 150 frames for five seconds.
- Press Spacebar to play.
Import the animated FBX from hymotion_retarget, not the intermediate _rigged_mia.fbx. The intermediate file has the skeleton but no animation. To inspect the rig, select the armature in the Outliner and press Ctrl + Tab over the viewport to enter Pose Mode.
Try more animations
Reuse the same command and change the motion prompt:
- Run: A man running forward fast with natural arm swing
- Jump: A man doing a vertical jump and landing naturally
- Attack: A man performing a strong forward melee attack
- Idle: A man standing in a relaxed idle pose with subtle breathing and slight body movement
- Combat idle: A man in a ready combat stance with subtle movement and alert posture
For example:
python character_pipeline.py finish ".\output\forest_guardian_hd.glb" "A man running forward fast with natural arm swing" --seconds 4 --fingersChange --seconds to set the clip length (0.5 to 12 seconds). Each run creates a separate animated FBX. Add --seed 123 for a different take on the same prompt (the default is 42). The attack prompt animates the body only; attach a separate weapon model to a hand bone if you want one.
Only want a rig?
python character_pipeline.py rig ".\output\forest_guardian_hd.glb" --fingersImport the printed Rigged FBX: path into Blender to pose it yourself.
Reuse an existing rig to save time
Skip re-running MIA by animating a rig you already made. Copy the exact path printed after Rigged FBX: from a run that used --fingers:
$rig = "C:\path\to\your_rigged_mia.fbx"
python character_pipeline.py animate "$rig" "A man running forward fast with natural arm swing" --seconds 4Replace the example path with your real one. The helper supports this route, but it wasn't the main path in our end-to-end run.
6. Generate a complete animated character in one command
Once everything is installed and working, the all command goes from a text prompt to an animated FBX in one go, with the same settings as the high-detail character in section 3:
python character_pipeline.py all ranger_final "A highly detailed stylized full-body male fantasy ranger, symmetrical face, unobstructed eyes, green hooded cloak, intricate leather armor, brown boots, front-facing neutral A-pose" "A man walking forward confidently" --seconds 5 --fingersThis is a convenience path, not a separately validated run. For your first character, the step-by-step route is better because you can inspect each result. Add --matte to make the material-adjusted copy before rigging.
Manual setup (what the installer does)
Prefer to run the setup by hand, or need to repeat one step? These are the original step-by-step commands that the setup package automates (the installer does more checking and backups than shown here). Run them in PowerShell (not Command Prompt or Blender's Python console).
Check the prerequisites
python --version
git --versionPython should report 3.12.x. If python points to another version, use py -3.12 in its place.
Asset Forge needs ComfyUI backend 0.45 or newer. With ComfyUI Desktop running, check the backend version (comfyui_version, which differs from the Desktop app's version):
(Invoke-RestMethod http://127.0.0.1:8000/system_stats).systemClose other ComfyUI-based apps such as FreeVideo or SwarmUI so you don't connect to the wrong backend.
Install Asset Forge
cd $HOME
git clone https://github.com/Noamcelermajer/comfyui-text-to-3d-mcp.git
cd comfyui-text-to-3d-mcp
python -m pip install numpy trimeshPoint Asset Forge at ComfyUI Desktop's application folder (the one containing main.py). The result must be True:
$env:ASSETFORGE_COMFY = "$env:LOCALAPPDATA\Comfy-Desktop\ComfyUI-Installs\ComfyUI\ComfyUI"
Test-Path "$env:ASSETFORGE_COMFY\main.py"Close ComfyUI Desktop, then download the models and custom nodes (about 45 GB):
python forge.py setupIf setup reports blocked or partial, read the reported issue before continuing. Don't reinstall ComfyUI or change its PyTorch version to satisfy an unrelated dependency error.
Apply the ComfyUI Desktop fixes
These fix the server port, the input/output folders and the model search path for the Desktop layout. Run them from the Asset Forge folder with ComfyUI closed.
Server port:
$config = Get-Content .\machine.json -Raw | ConvertFrom-Json
$config.comfy_url = "http://127.0.0.1:8000"
$config | ConvertTo-Json -Depth 10 | Set-Content .\machine.json -Encoding UTF8Input and output folders:
if (!(Test-Path .\assetforge\comfy.py.bak)) {
Copy-Item .\assetforge\comfy.py .\assetforge\comfy.py.bak
}
$file = Get-Content .\assetforge\comfy.py -Raw
$data = "$HOME\Documents\ComfyUI"
$file = $file.Replace('os.path.join(load_machine()["comfy_root"], "output")', ('r"' + $data + '\output"'))
$file = $file.Replace('os.path.join(load_machine()["comfy_root"], "input")', ('r"' + $data + '\input"'))
Set-Content .\assetforge\comfy.py -Value $file -Encoding UTF8Make the models visible to ComfyUI Desktop (hard links, so no extra disk space):
$config = Get-Content .\machine.json -Raw | ConvertFrom-Json
$source = Join-Path $config.comfy_root "models"
$dest = "$HOME\Documents\ComfyUI\models"
Get-ChildItem $source -File -Recurse | ForEach-Object {
$target = Join-Path $dest ($_.FullName.Substring($source.Length).TrimStart('\'))
if (!(Test-Path $target)) {
New-Item -ItemType Directory -Path (Split-Path $target) -Force | Out-Null
New-Item -ItemType HardLink -Path $target -Target $_.FullName -ErrorAction Stop | Out-Null
Write-Host "Linked: $($_.Name)"
}
}Hard links need both folders on the same drive. If they're on different drives, copy the missing model files instead (the setup package asks before doing this).
Reopen ComfyUI Desktop and verify. The prop_native and character_native profiles should show "ready": true with empty missing and missing_nodes lists:
python forge.py doctorInstall rigging and animation
Save the character pipeline helper into the Asset Forge folder:
Invoke-WebRequest https://www.yourunai.com/downloads/character_pipeline.py -OutFile "$HOME\comfyui-text-to-3d-mcp\character_pipeline.py"Close ComfyUI Desktop completely, then install the two extensions (ComfyUI-UniRig for MIA and ComfyUI-HyMotion), their dependencies including the FBX SDK, and the HY-Motion weights (about 14 GB). The helper checks that your CUDA PyTorch version stays unchanged:
python character_pipeline.py installIf it was interrupted after the extension dependencies finished, resume the model downloads with python character_pipeline.py install --resume. Don't use --resume if the dependencies themselves failed.
Still with ComfyUI closed, patch UniRig's file input so it accepts a direct path, then clear its node cache (UniRig issue #51):
python character_pipeline.py patch-unirig$paths = @(
"$HOME\Documents\ComfyUI\custom_nodes\ComfyUI-UniRig",
"$env:LOCALAPPDATA\Programs\comfy-env\envs\unirig-nodes"
)
foreach ($path in $paths) {
Get-ChildItem $path -Filter ".metadata_cache.pkl" -Recurse -Force -ErrorAction SilentlyContinue | ForEach-Object {
Write-Host "Clearing cache: $($_.FullName)"
Rename-Item $_.FullName -NewName (".metadata_cache.pkl.bak." + (Get-Date -Format "yyyyMMddHHmmss"))
}
}Open ComfyUI Desktop again and confirm the file input now reports STRING, not COMBO:
(Invoke-RestMethod http://127.0.0.1:8000/object_info/UniRigLoadMesh).UniRigLoadMesh.input.required.file_pathThe helper assumes the default Desktop data folder (Documents\ComfyUI), its .venv Python, port 8000 and Asset Forge in your home folder. If yours differ, edit COMFY, PY, OUT, API or FORGE near the top of character_pipeline.py.
Troubleshooting
| Error or symptom | What to check |
|---|---|
Setup: Install Python 3.12 from python.org… | Install Python 3.12 with Add Python to PATH, then open a new PowerShell window. |
Setup: Extract the entire ZIP before running setup.ps1 | Extract the whole package and keep all four files in the same folder. |
Setup: running scripts is disabled | Use the full command shown in section 1, which includes -ExecutionPolicy Bypass. |
| Setup stops with a message | Fix that one issue, close Desktop, and run setup.ps1 again; completed downloads are skipped. If the full check fails on animation, use -Mode Full -RepairMotion. |
| Setup check fails right after reopening Desktop | Let Desktop finish loading, then run setup.ps1 -Check. |
No module named 'numpy' | Run python -m pip install numpy trimesh with the same Python that starts forge.py. |
ComfyUI was not found | Pass your actual paths to setup.ps1 (-ComfyRoot, -ComfyData, -ComfyPython), or set ASSETFORGE_COMFY to the folder containing main.py for the manual route. |
QwenImage21Cache not found | Verify the backend and port. The wrong backend was the cause in our original setup. |
image run finished but wrote no image | Asset Forge may be reading the wrong folder. Re-run the input/output fix in Manual setup. |
A model such as trellis_2_int8_convrot.safetensors is not in the list | Make sure the downloaded weights are visible in Desktop's models folder; re-run the model-link fix and restart. |
WinError 10061 | Launch ComfyUI Desktop and check it's on port 8000. |
UniRig file_path value not in list, or non-string widget error | Apply the UniRig patch, clear its metadata cache and restart. |
| FBX SDK error during install verification | Use the supplied helper, which includes the Windows SDK shutdown workaround. If the extensions installed but weights are missing, use install --resume. |
| CUDA out of memory | Close other GPU apps, use the lower-VRAM options, or add --encoder-device cpu for HY-Motion. |
image not found | Check the path after --image and keep it in quotes. Right-click the file in Explorer and choose Copy as path to get the exact location. |
| New image, but the same old model came back | Use a new asset name, or add --force to rebuild under the same name. |
| Model is gray in Blender | Switch from Solid to Material Preview (Z). |
| Stretched fingers or hands | Re-run MIA with --fingers. |
| Character stays in a T-pose | Import the animated FBX from hymotion_retarget and make sure the timeline covers its keyframes. |
Locate a non-standard Desktop installation
With ComfyUI open, show the backend's startup command:
Get-CimInstance Win32_Process | Where-Object {$_.CommandLine -match 'main\.py' -and $_.Name -match 'python'} | Select-Object -ExpandProperty CommandLineUse it to find the folder containing ComfyUI's main.py and its interpreter. If the entry uses a relative path, search the installation folders for the matching files. Avoid main.py files inside Python site-packages.
If generation works but a custom-node dependency is missing, check that machine.json points at Desktop's own Python (%USERPROFILE%\Documents\ComfyUI\.venv\Scripts\python.exe), not system Python. Don't upgrade or replace PyTorch to fix unrelated missing packages; read the node's startup log first.
Check whether ComfyUI is using the wrong server
(Invoke-RestMethod http://127.0.0.1:8000/system_stats).system
(Invoke-RestMethod http://127.0.0.1:8188/system_stats).system
Get-Content .\machine.jsonA connection error on an unused port is normal. Compare comfyui_version and argv for the running backends, and make sure machine.json targets the intended one. FreeVideo and standalone ComfyUI often use port 8188; this guide uses Desktop on port 8000.
UniRig still reports a COMBO file input
Run patch-unirig with the backend closed. If clearing the cache finds nothing and the patched schema still doesn't load, find the cache used by UniRig's active isolated environment in the custom node folder and the comfy-env folder, rename only UniRig's .metadata_cache.pkl, and restart. Don't delete unrelated environments or reinstall every dependency.
Check the actual generated model
If textures look poor but the Solid view is clean, inspect the material maps before regenerating. If both views show distorted surfaces, try a higher triangle budget or a cleaner reference image. In the output JSON, failed_check means a mesh was produced but should be inspected or regenerated, not assumed usable.
Quick reference
Install (once):
powershell -NoProfile -ExecutionPolicy Bypass -File .\setup.ps1Go to the Asset Forge folder:
cd "$HOME\comfyui-text-to-3d-mcp"Create a 3D asset:
python forge.py asset tower_best "A stylized medieval stone watchtower, blue roof, wooden door, weathered stone, moss" -p prop_native --preset max --set tris=100000 --set shape_resolution=1536 --set remesh_resolution=1024Create a 3D character:
python forge.py asset forest_guardian_hd "A detailed stylized full-body fantasy male ranger, front-facing neutral A-pose, green hooded cloak, leather armor, brown boots, unobstructed eyes" -p character_native --preset max --set tris=150000 --set shape_resolution=1536 --set remesh_resolution=1024 --set shape_steps=30 --set texture_steps=25Create a 3D model from your own image:
python forge.py asset custom_character --image "$HOME\Downloads\character.png" -p character_native --preset max --set tris=150000 --set shape_resolution=1536 --set remesh_resolution=1024 --set shape_steps=30 --set texture_steps=25Rig and animate a character:
python character_pipeline.py finish ".\output\forest_guardian_hd.glb" "A man walking forward confidently" --seconds 5 --fingersGenerate an animated character from scratch:
python character_pipeline.py all ranger_final "A detailed stylized full-body male fantasy ranger, neutral A-pose, front-facing, green hooded cloak and leather armor" "A man walking forward confidently" --seconds 5 --fingersOpen generated assets / animations:
explorer .\outputexplorer "$HOME\Documents\ComfyUI\output\hymotion_retarget"What this workflow can and cannot do
This pipeline is useful for stylized objects, environmental props, fantasy buildings, humanoid characters and animation prototypes. The high-resolution tower and ranger were usable, and the walking animation worked once finger rigging was enabled. It doesn't guarantee professional topology, perfect faces, facial animation, cloth simulation or clean skinning on every character. Whole worlds still need scene assembly, lighting and composition in Blender.
Keep in mind: AI-generated geometry and animations are editable starting points, not production-ready assets. Model and dependency licenses vary, so check them before distributing models or using results commercially: Qwen terms · Pixal3D · MIA · HY-Motion license.
Project links
- YouRunAI setup package: experimental installer for this guide (
setup.ps1,setup_pipeline.py,character_pipeline.py,README.md). - Character pipeline helper: the rigging and animation script on its own.
- Asset Forge: generation wrapper and profiles.
- ComfyUI: local generation backend.
- Qwen Image 2.1: concept image model.
- Pixal3D: image-to-3D model.
- Make It Animatable (MIA): automatic humanoid rigging.
- HY-Motion 1.0: text-to-motion model.
- ComfyUI-UniRig: MIA and UniRig nodes for ComfyUI.
- ComfyUI-HyMotion: motion generation and retargeting nodes.
- Blender: 3D editing and rendering.