

Turn Real Photos into HOI4 Portraits Easily with AI | ComfyUI + LoRA + FLUX.2 Klein 9B
I’ve been working on a complete ComfyUI workflow and custom LoRA for generating Hearts of Iron IV-style portraits with FLUX.2 Klein 9B, and I’ve now released the whole setup publicly.
processed source -> Adonis restoration -> HOI4 portrait LoRA
The main workflow takes a real portrait and handles the full process automatically. It prepares and restores the source photo, then uses my hoi4_portrait style LoRA to convert it into the HOI4 portrait style while preserving the identity of the person.
It includes:
- Source portrait workflow for turning real photos into HOI4 portraits
- Automatic restoration for old, damaged, blurry, monochrome, or low-resolution photographs
- Batch workflow for processing an entire folder of portraits automatically
- Text-to-image workflow for completely fictional leaders and unusual characters
- Processing-only workflow if you only want to restore a portrait
- Automatic HOI4-ready DDS export
- Windows installer with GPU detection and model recommendations
- RunPod setup
- Full, FP8, and GGUF model options depending on your VRAM
I also made a video tutorial covering the full setup and how to actually use the workflows:
https://youtu.be/t4cwY4u5UUU
Everything is available here:
GitHub:
https://github.com/klimPaskov/comfyui-hoi4-portraits
LoRA:
https://huggingface.co/Hoops-McCann/hoi4-portraits-flux2-klein-9b-lora
Discord:
https://discord.com/invite/rAXesGcT2t
RunPod:
https://runpod.io?ref=9t44ghaf
Everything needed to get started is documented in the repository.
How to use AI for HOI4 modding (FULL UPDATED TUTORIAL: SETUP, PROMPTING AND REAL RESULTS!)
youtu.beChaos Redux events: 001 - Communist Insurgency
I’m going to start making Reddit posts about Chaos Redux events every 72 hours, starting with Event 001: Communist Insurgency.
Let me know if you’re excited for this and if I should keep doing these for every event until release. The mod is planned to have around 150 events on release, and most of them have deep mechanics, evolutions, hidden paths, achievements, world-end scenarios, connections to other events, and much more. Some events are smaller, so some posts will feature multiple events together.
The current goal is to get Chaos Redux released by the end of August, hopefully.
If you want to help out, you can become a tester. I made a video on how to become one here:
https://www.youtube.com/watch?v=feD3BDelD_U
Join the Discord server here:
https://discord.com/invite/rAXesGcT2t
Spreadsheet of all planned events:
https://docs.google.com/spreadsheets/d/1A-N5TvU9Ed_xDW4YFG75RvzTIhdA5Hc0f5YyO3qi0Ik/edit?usp=sharing
GitHub:
https://github.com/klimPaskov/Chaos-Redux
---
Event 001 in Chaos Redux is Communist Insurgency.
The event starts a communist insurgency inside eligible non-communist countries. It adds a national communist pressure idea, gives the country some starting communist support, and creates the first communist-controlled state.
Communist control is handled at the state level. A controlled state can be at one of three levels:
Agitation Zone — early communist activity. The state has local unrest, propaganda, strikes, and light disruption. This level can be cleared with local intervention.
Insurgent Stronghold — stronger communist control. The state is harder to recover and can cause more serious disruption.
Communist Lockdown — the state is effectively under revolutionary control. Local intervention can suppress it, but cannot fully clear it.
Each communist-controlled state increases daily communist support. More controlled states also raise the overall revolutionary threat.
The player can respond with several decisions.
Disrupt Communist Organizing reduces communist support at the national level.
Local Military Intervention targets a specific controlled state. It costs command power, manpower, and infantry equipment. Level 1 states are easier to clear. Level 2 states are harder. Level 3 states can only be suppressed militarily.
The insurgency can also trigger disruption events in controlled states, including industry sabotage and coordinated strikes.
If the crisis grows severe enough, the country can receive a revolutionary war warning.
The main emergency response is Emergency Intervention. This is a national decision that affects all communist-controlled states. It costs political power, command power, manpower, infantry equipment, stability, and war support.
Emergency Intervention can restore control, but it can also trigger a communist uprising.
If an uprising happens, the rebel country is created from selected communist-controlled states. Level 3 states are prioritized first, then Level 2, then Level 1. The rebel army scales with factors like state control level, industry, population, communist support, revolutionary threat, and country strength.
The event has three evolution stages.
Unstable Revolutionary Activity enables rare surprise revolt incidents.
Dark Worker Rituals unlocks once a Level 2 state exists at the required chaos tier. It enables rare worker ritual incidents that can disrupt controlled states and increase communist pressure. !
Whispers of the World Revolution unlocks once a Level 3 state exists at the required chaos tier. It unlocks World Revolution for the major-event pool and allows later incidents to add World Revolution weight.
A country exits the system once the grace period has passed, it has no communist-controlled states, it is not fighting communist rebels, and communist support is low enough.
---
Next up: Event 002 — Zombie Outbreak.
That one is going to be a bigger post, since Zombie Outbreak has a lot more mechanics and details to cover.