Skip to main content
Glama
README.md
# Fel's NPC Forge

https://github.com/user-attachments/assets/74f88217-79e8-4c7b-b493-47fa56fd4c7f

*A two-minute narrated look at NPC Forge 1.2. The pictures are NPC Forge's own, and the narration is Kokoro 82M
spoken through [Fel's Voice Lab](https://github.com/Fel101/fels-voice-lab).*

Characters for your game, made on your own PC. Roll a character, describe one in a sentence, or import a cast list, and NPC
Forge makes a data sheet with a personality, a portrait, expressions, a transparent full-body sprite, **walk cycles ready for
your engine**, a **model sheet** (a turnaround for 3D work), a **rigged 3D model**, and items for them to hold and wear. The
characters, their personalities and their dialogue need no graphics card; the pictures, animation and 3D models are drawn by
models running in your own ComfyUI. There is no cloud and nothing to train.

> **Part of Fel's Studio.** Four free apps that run on your own PC and work together. [Voice Slate](https://github.com/Fel101/fels-voice-slate)
> records voices with consent, [Voice Lab](https://github.com/Fel101/fels-voice-lab) designs and clones voices,
> [NPC Forge](https://github.com/Fel101/fels-npc-forge) makes characters for games, and [Altera](https://github.com/Fel101/fels-altera)
> lets you talk with them. Each one also works on its own.

[Quick start](#quick-start) · [What your PC can make](#what-your-pc-can-make) · [Gallery](docs/gallery.md) ·
[Documentation](docs/README.md) · [Responsible use](docs/responsible-use.md)

![One rolled character, Mirabel Millbrook, drawn in all 17 art styles](docs/images/gallery/styles.jpg)

*One rolled character in all 17 art styles, drawn by Qwen-Image 2512 (Apache-2.0) on one PC. The
[gallery](docs/gallery.md) has her walk cycle, living portrait, 3D model and a Godot scene, with the model that made each, and
another character's cut-out walk.*

See the [Library screenshots](docs/gallery.md#the-library) for a collection that reached 876 character entries, and
[a rigged 3D model](docs/gallery.md#a-rigged-3d-model) for its mesh, its skeleton and five of its 85 animation clips.

## What it makes

| | |
|---|---|
| **Characters** | 20 settings (modern, fantasy, sci-fi, Old West, cyberpunk, pirates, steampunk, mythical creatures…), 632 occupations with outfits, a personality and a bio, editable field by field with locks |
| **Pictures** | Portraits, expressions, a living portrait for chat apps, transparent full-body sprites and model sheets in 17 art styles, from pixel art to photorealistic |
| **Animation** | 4-direction walk cycles, a smooth side-view [cut-out walk](docs/gallery.md#a-cut-out-walk) (12 to 32 frames from one drawing, with a normal, old or brisk gait) that says how far it travels so the feet don't slide, and experimental run, attack, hurt, cast and fall clips, exported for Godot 4, Unity, Aseprite or a plain atlas |
| **3D** | A 3D model from the model sheet (Trellis2, Pixal3D or Hunyuan3D in ComfyUI, or Idol, which makes its colour too), cleaned up and painted, with a skeleton and 85 animation clips (Blender) |
| **Items** | Weapons, armour, hats, shoes, bags and props as game-ready 3D models, and procedural glasses fitted to a face |
| **Dialogue and cards** | Dialogue packs as JSON, Ink or Yarn Spinner, cast packs, and character cards (PNG and CHARX) for chat apps |
| **Licences** | Every picture, model and voice is tagged with what its models allow: free for commercial use, with conditions, not cleared, or non-commercial |

**Preview** (marked in the app): the **Voice Designer** (a voice for every character, voiced dialogue and lip sync, through
Voice Lab), **Scenes** (two to six characters acting out a scene) and **Creatures** (non-humanoid creatures for a game). They
work, but have been checked on fewer characters than the rest: see [what has been checked](docs/status.md).

![A finished character in NPC Forge: portrait, full-body sprite, data sheet and model sheet](docs/images/character.png)

## What your PC can make

Characters with their personalities and backstories, dialogue packs, cast packs, scene scripts and the MCP server for AI
agents need no graphics card. Pictures, animation and 3D models need a graphics card and
[ComfyUI](https://github.com/comfyanonymous/ComfyUI), and what a card makes depends on its memory:

| Card | Makes | Model files |
|---|---|---|
| None, or no ComfyUI | Characters with their personalities, dialogue packs, cast packs and scene scripts | none |
| About 16 GB | Portraits with Z-Image Turbo, full-body sprites, 3D models with Hunyuan3D 2.1; expressions slowly (about 7 times as long) | 59.0 GB |
| About 24 GB | The same, and portraits with Qwen-Image 2512 | 81.1 GB |
| 32 GB | Everything: model sheets, walk cycles and other animation, and 3D models with Trellis2 and Pixal3D too | 90.4 GB |

The **Your PC** box on the Models card says which one yours is, and a new page starts with its models; you can still pick
any. **Set up ComfyUI** in the same box installs that size's model files after a yes. This was measured on an AMD Radeon AI
PRO R9700 (32 GB) under Windows 11 with ROCm, with the smaller cards made by holding part of it:
[hardware.md](docs/hardware.md) has the table.

Z-Image Turbo, which the 16 GB size starts with, pulls towards famous characters; its note in the Models card says so. The
built-in MOSS-Image engine (Apache-2.0) draws and edits in about 13 GB, and SenseNova U1.6, Ming Image 0.2 Design and the Idol
3D generator are there to pick too. No size starts with them, because they were not measured on the smaller cards: **Set up
ComfyUI** installs each one when you choose it.

**One model at a time** is on by default. Before drawing, Forge waits for Voice Lab and Altera to finish their current
work and release the GPU, then unloads LM Studio's and Ollama's models. Turn off **Allow unloading LM Studio and Ollama
models** to keep those loaded. See [Models](docs/models.md#one-model-on-the-gpu-at-a-time).

## Quick start

Character sheets run on the CPU. For pictures you need a graphics card and ComfyUI 0.36 or newer.
[Requirements](docs/requirements.md) lists the tools for exporting and working with the assets.

1. Get NPC Forge. On Windows, download `FelsNPCForge-Setup-<version>.exe` (about 48 MB) from the
   [newest release](https://github.com/Fel101/fels-npc-forge/releases/latest), or from
   [its itch.io page](https://fel101.itch.io/fels-npc-forge), and run it. It is not signed, so Windows
   SmartScreen warns about it: press **More info**, then **Run anyway**. It installs for you alone, with no administrator
   prompt and no internet, into `%LOCALAPPDATA%\FelsNPCForge`, with a Python of its own, and adds **Fel's NPC Forge** to
   the Start menu. You can also install by hand:
   ```bash
   git clone https://github.com/Fel101/fels-npc-forge.git   # or unpack the release's FelsNPCForge-<version>.zip
   cd fels-npc-forge
   setup.bat          # Windows; on Linux or macOS: ./setup.sh (Python 3.10 or newer)
   ```
   `setup.bat` uses this PC's Python 3.10 or newer, or fetches a Python of NPC Forge's own when there is none. Then
   double-click `start.bat`, or run `python server.py --open`. The page opens at `http://127.0.0.1:8766`.
2. Choose **Roll NPC**, then **Save** to put your first character sheet in the Library.
3. To make a picture, choose **Add a portrait** on the character sheet. **Set up ComfyUI** shows the GPU and model download
   for that portrait. The **Your PC** box of **Models and options** also picks your card's size,
   ticks what that card makes and, after a yes, downloads the model files into ComfyUI (59 GB for a 16 GB card), with
   progress and Stop ([comfyui-setup.md](docs/comfyui-setup.md)). Characters and dialogue need none of it.

The status line at the top of the page says whether ComfyUI answers and which model files it lacks. To change the ComfyUI
address, the port or the default engines, copy `config.example.json` to `config.json` in NPC Forge's folder.

**Checking a download:** each release's `SHA256SUMS` lists the SHA-256 of Setup.exe and the ZIP
(`Get-FileHash FelsNPCForge-Setup-<version>.exe` in PowerShell shows the file's), and GitHub attests that the release
workflow built all three from the tagged code: `gh attestation verify FelsNPCForge-Setup-<version>.exe --repo
Fel101/fels-npc-forge`.

**Updating:** *About* > **Check for updates** asks GitHub for a newer release (only when you press it), and **Update now**
shows what will change, updates NPC Forge and starts it again. `update.bat` (`./update.sh` on Linux or macOS) does the same
from a closed NPC Forge, and `update.bat --undo` puts back the version before. A newer Setup.exe run over NPC Forge's folder
updates it too. Your library, `config.json`, `local` folder and `.venv` are never touched
([more](docs/requirements.md#updating)).

## Works with the other apps

Each app of Fel's Studio works on its own. Together:

- **Voice Lab gives your characters voices.** In the **Voice Designer**, pick one of its ready voices, describe a new one, or
  clone a recording you have permission to use; NPC Forge then voices the dialogue through it and times the lip sync itself
  ([voices.md](docs/voices.md)). A voice recorded with consent in **Voice Slate** reaches NPC Forge the same way, once Slate
  has sent it to Voice Lab.
- **Altera talks with them.** **Send to Altera** on a character hands it over as a CHARX card: portrait, sprite, expressions,
  living portrait, character sheet and voice ([character cards](docs/characters.md#character-cards)). Other chat apps that
  read Character Card V3 or V2 take the same cards from **Export character card**.
- **They share one graphics card.** The GPU light in the header shows which app holds the card and what for, and **One model
  at a time** decides whether a picture waits for an empty card ([models.md](docs/models.md#one-model-on-the-gpu-at-a-time)).
- **AI agents and scripts.** Claude Code, Codex, opencode and other MCP clients can make characters and export them for a
  game through NPC Forge's MCP server ([agents.md](docs/agents.md)); scripts and game tools can use the
  [HTTP API](docs/api.md) ([game-clients.md](docs/game-clients.md)).

The apps find each other on this computer through Fel's Studio's address files and talk over their local HTTP APIs; none reads
another's folders. Voice Lab uses port 8765, NPC Forge 8766 and Altera 8767. *About* > **Connected apps** shows which of
them NPC Forge found, with their versions, and how to start the others.

## Licences, in short

- NPC Forge's own code is MIT.
- Every model has its own licence, and NPC Forge shows it: a badge after each model's name, a note under the chosen model,
  a badge on every character (the worst rating of the models that made it), and a **Commercial use** filter in the Library.
- The default engines, Qwen-Image 2512 and Qwen-Image-Edit 2511, and Z-Image Turbo are Apache-2.0: fine for work you sell.
  So are the built-in MOSS-Image and SenseNova U1.6, and Ming Image 0.2 Design is MIT. Qwen Image 2.1 is non-commercial.
  Mage-Flow, the built-in engine before 1.2, is **not cleared** (MIT, but Microsoft says research only), and the pictures it drew
  keep that badge. Hunyuan3D, Pixal3D, Trellis2 and Idol carry conditions.
- Every picture and 3D model says inside it whether AI made it, and with which models.
- [licences.md](docs/licences.md) has every model and how a rating is worked out, and [NOTICE.md](NOTICE.md) the notices.
  It is what each model's own page says, not legal advice.

Please read [Responsible use](docs/responsible-use.md): keep characters fictional, use voices and photos only with
permission, and keep the AI labels.

## Documentation

[The documentation index](docs/README.md) lists every page. The ones most people need:

- **Making things:** [characters](docs/characters.md), [models](docs/models.md), [animation and model sheets](docs/animation-and-sheets.md),
  [3D models](docs/3d-models.md), [items](docs/items.md), [voices](docs/voices.md), [scenes](docs/scene-studio.md),
  [creatures](docs/creatures.md)
- **Setting up:** [requirements](docs/requirements.md), [Set up ComfyUI](docs/comfyui-setup.md),
  [what your PC can make](docs/hardware.md), [troubleshooting](docs/troubleshooting.md)
- **For developers:** [HTTP API](docs/api.md), [AI agents](docs/agents.md), [game clients](docs/game-clients.md),
  [customising](docs/customising.md), [files and layout](docs/files.md), [network security](docs/security.md),
  [CONTRIBUTING.md](CONTRIBUTING.md)
- **What has been checked:** [status](docs/status.md), and the [changelog](CHANGELOG.md)

Security problems: please report them privately ([SECURITY.md](SECURITY.md)).

## Licence and credits

Code: MIT, copyright 2026 Pete Hudson, see [LICENSE](LICENSE). Model, ComfyUI and dependency notices, the research-use
statement and the citations are in [NOTICE.md](NOTICE.md). MOSS-Image is by OpenMOSS; please cite it when you publish
results. The animation library is [Quaternius' Universal Animation Library](https://quaternius.com/packs/universalanimationlibrary.html) (CC0).

TDQS

B3.4/5.0

Scored across 12 tools

Disambiguation4/5

Most tools are clearly distinct by resource and action: character creation, asset generation, inspection, exports, and job control. The main overlap is between generate_assets, which can queue a walk cycle, and redraw_walk, which specifically redraws cut-out walks, but the descriptions make the boundary workable.

Naming Consistency4/5

Names are consistently snake_case and mostly follow a verb_noun pattern such as make_characters, list_characters, and export_card. forge_status and forge_options deviate by using a namespace-style prefix rather than a verb, but they remain readable and predictable.

Tool Count5/5

Twelve tools is well scoped for a character-generation pipeline. Creation, asset jobs, queue control, inspection, and exports each have a clear place without obvious bloat.

Completeness4/5

The surface covers the core lifecycle: create characters, generate additional assets, inspect them, export them, and manage the job queue. Minor gaps remain around editing or deleting characters from the library, but the main workflows are covered.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues