1/39 It's time to share how I create portraits for The Grand...

It's time to share how I create portraits for The Grand Timeline! Get ready for a ton of technical details. As usual, I couldn't explain it briefly.
🧶
Back when I shared my portraits last summer, I thought this project would be outdated in a month. SD3 & FLUX came out, tons of tools, yet I still don't see anything like it. Six months later, I can confidently say: NO ONE'S DONE ANYTHING LIKE THIS.
Don't click, read the 🧶
What's the tech challenge?
1. Real people, not abstract ones, gotta look super lifelike
2. They're living now, not 200 years ago
3. Needs to look like a photo, not digital art
4. No AI vibes or uncanny valley weirdness
5. A unified style BUT with tons of variety
Alright folks, I locked myself in a room for a month to master ComfyUI and Stable Diffusion. I've split the work into 3 key parts:
- STYLE of portraits
- VARIETY within the 100+ series
- LIKENESS to real people
I put together a dataset from over 20 top portrait photographers who shoot for mags like @Forbes @TIME @FortuneMagazine @BW @NYMag @esquire @WSJ @Inc @WIRED @FastCompany.
In case you're curious, here’s my inspiration list:
x.com/stepahin/statu…
x.com/stepahin/statu…
BTW, I tried using local LLMs that fit into my 4090 VRAM for annotations, but they messed up and hallucinated too much. So, it's all about that good old manual work with human eyes.
Totally forgot that each style needs its own background range, can't just share one! You gotta set the background color and style trigger word in the prompt. But you can't just use a color picker and drop in RGB/HEX. Base model demands actual color names!
Back to manual mode! I was clicking around with the color picker, matching color names here colors.artyclick.com/color-name-fin… for each style. Then, I asked @ChatGPTapp to add similar colors, and voilà, got a unique list for each style.
LIKENESS
The trickiest, most unstable part! Sure, you can train a separate LoRa model for a person like I did for style. But it takes ages to gather the dataset, train the model, and the results aren't guaranteed + a second LoRa (char.) can weaken the first LoRa (style).
To shake things up from the usual skinny look and narrow faces, there's a nifty "slider" called Chubby. It's a LoRa model that lets you manually adjust body weight with an index.
Some things just wouldn't cooperate with the prompt, so I had to "photoshop" them in the final frame, doing some Inpainting in Fooocus. Like @willywoo's beard — masking areas, prompting what should be there, and generating dozens to nail the perfect beard.
Smiles... Oh, how I hate smiles. Those structures with a clear "grid" are a nightmare for neural networks (at least SDXL, six months ago). If the workflow's complex, with many components influencing generation beyond prompts, it turns into a mess. A lof of inpainting.
Strategies: Rapid setup inputs and generating 1000 portraits to find the perfect one, rather than tweaking settings endlessly to get good generation the first time. I just hit autoqueue and switch from PC to Mac for 3 hours. I call it Likeness Mining.
@balajis in progress
Just for fun, let’s calculate the electricity costs! ⚡
My PC eats about 200 watts while generating.
(4090 peaks at 450, but averages 90)
Electricity costs €18.60 per kWh here.
Result:
Entire project: 109.22 kWh = €2,032
Per person: 1.04 kWh = €19.35
Picked the best portraits and tossed them into @Figma (~6 GB of PNGs in a single file page whaaat?) to narrow down the selection in two stages. Then, by looking at the big picture and the card sequence on @GrandTimeline, I spread out the styles and colors evenly.
The final production steps were Outpainting and Upscale. Outpainting the lower body to transform a 4:3 portrait into a 16:9 for those sleek cards. Couldn't nail Outpainting directly in ComfyUI, so I switched to Fooocus instead.
Alright, here's the full pipeline
UI — ComfyUI
Base model — SDXL Lightning
Facial features — IPAdapter
Training LoRa — kohya_ss / OneTrainer
Inpainting, outpainting — Fooocus
Upscale — SUPIR
Number-munching beast — RTX 4090, local only
Editors — Figma, Photopea (no Adobe)
That’s it!
Check out @GrandTimeline at grandtimeline.org (best on desktop) and support us if you like it!
It's still far from v1.0. We are working on Season 2 and new portraits. Drop names in the replies who should be on the timeline!

It's time to share how I create portraits for The Grand Timeline! Get ready for a ton of technical details. As usual, I couldn't explain it briefly.
🧶


































