Getting Started
Set up PersonaForge with the recommended AI model stack and get your first character generated.
Prerequisites
- Unity 2021.3 LTS or later
- TextMeshPro — Install TMP and TMP Extras from Window → TextMeshPro in the Editor
- An AI inference backend (LlamaCPP, Ollama, OpenAI-compatible server, or cloud API)
- Automatic1111 (optional) — For portrait generation via Stable Diffusion
Recommended Model Stack
The dropdown options in the RPG Generator demo are designed to work optimally with this specific model stack. The trigger words in the UI correspond to the LoRA keywords.
MODEL_URL=https://huggingface.co/Qwen/Qwen2.5-3B-Instruct-GGUF/resolve/main/qwen2.5-3b-instruct-q8_0.gguf
SD_MODEL_URL=https://civitai.com/api/download/models/128713?type=Model&format=SafeTensor&size=pruned&fp=fp16
LORA_URL=https://civitai.com/api/download/models/1569286?type=Model&format=SafeTensor
VAE_URL=https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors
This stack is built around the RPG Character Maker LoRA — designed to create portraits of characters in various fantasy contexts. All dropdown menu options narrow the generation to specific LoRA keywords.
Tip: You can use any models you like, but the dropdown presets in the RPG Generator are tuned for this stack. Visit the LoRA's CivitAI page for keyword details.
Quick Start
- Import the PersonaForge asset into your Unity project
- Install TMP Extras from Window → TextMeshPro
- Set up your AI backend (see integration docs for LlamaCPP, Ollama, or OpenAI)
- Open the RPG Character Generator scene
- Click the VelesioAI Integration game object and configure your server connection
- Press Play and generate your first character!
Further Reading
For detailed documentation on the individual integrations this asset builds upon, consult their respective docs: