XiaoHu IP Studio Ships 31 Open-Source AI Characters
Most AI-generated article illustrations look like stock photos from a parallel universe. Generic, clean, forgettable. The problem isn’t the image models — it’s that nobody is telling them what to draw that’s worth remembering.
XiaoHu IP Studio attacks this from the other direction. Instead of trying to make the model smarter, it gives the model a cast of characters and a methodology for deciding what’s worth illustrating. The result: articles get illustrations with a consistent visual identity, starring the same hand-drawn characters from one post to the next.
The project, by xiaohuailabs, is an open-source Agent Skill — the kind you drop into Claude Code, Codex, or Hermes and invoke with a sentence. It ships with 31 original hand-drawn characters, a Python pipeline for generating images, and a decision framework for figuring out which paragraphs need a picture and which don’t.
The character library
The 31 characters split across two series, all in a consistent hand-drawn line-art style:
Series 1 — Hand-drawn line art (15 characters):
- Workplace archetypes: XiaoHu (protagonist), TuanTuan (the slacker), FangFang (KPI-obsessed), PaoPao (the over-promiser), DianLiang (energy bar), XuMing (coffee addict), DingLing (deadline panic), TieTie (forgetful)
- Modern emotional states: DanDan (the unbothered), PoFang (fragile), FengZai (unhinged), NiuMa (wage slave), SuoSuo (introvert), MuYu (digital prayer beads), TiTi (AI anxiety)
Series 2 — Pun-based meme characters (16 characters):
- Food personifications: JiaoLv (banana = anxiety), BaoZaoLaJiao (angry pepper), KuGuaLian (bitter melon face), NingMengJing (jealous lemon), XianYu (salted fish = given up), YangCong (onion = makes you cry), SuanNiao (garlic bird = forget about it), JiuCai (chives = always getting cut), XuMingKaFei (life-saving coffee), SheKongMoGu (social anxiety mushroom), NianQieZi (wilted eggplant)
- Symbols come to life: WenHao (question mark), TanHao (exclamation mark), ShanDian (lightning bolt), WuJiaoXing (five-pointed star), SanJiao (triangle)
Each character has a defined personality, visual reference (an “anchor image” that locks the model to a consistent face), and a clear use case. Writing about AI anxiety? Use TiTi. Covering workplace burnout? NiuMa and TuanTuan. Explaining a technical concept? XiaoHu, the reliable protagonist. The characters act as a visual shorthand — readers recognize them across articles, which builds an IP identity without needing a design team.
The three-track illustration methodology
The real innovation isn’t the characters. It’s the decision framework that decides what to illustrate and how. XiaoHu IP Studio uses a “three-track” system:
Track 1 — Emotional images. For paragraphs that are meant to resonate. A feeling, a frustration, a moment of clarity. These illustrations use facial expressions and body language to amplify the emotional charge of the text.
Track 2 — Explanatory diagrams. For paragraphs that are hard to follow with words alone. Technical concepts, workflows, comparisons. These use spatial layout and visual metaphor to make abstract ideas concrete.
Track 3 — Four-panel comics. For articles that tell a story with a turning point. Setup, complication, realization, punchline. The four-panel format is compact enough to fit between paragraphs without breaking reading flow.
The methodology is detailed in the repo’s references/ directory: paragraph-by-paragraph enumeration to prevent missed illustration opportunities, a “dual first-principles” check (don’t illustrate fluff, don’t skip genuinely hard-to-explain concepts), and a “deep extraction” step that asks three questions before committing to any image: What’s the real point? Where’s the tension? What’s the one line that captures it?
After generation, every image goes through an “anti-PowerPoint self-check.” The system looks at its own output and asks: does this actually explain something, or is it just a pretty decoration? If the image could be removed without losing meaning, it failed.
How to install and use it
One command, or one sentence to your agent:
git clone https://github.com/xiaohuailabs/xiaohu-ip-studio ~/.claude/skills/xiaohu-ip-studio
cd ~/.claude/skills/xiaohu-ip-studio
python3 scripts/illo.py init # enter your image API key
python3 scripts/illo.py doctor # verify everything works
The only dependency is Python 3 (standard library, zero third-party packages). It works with any OpenAI-compatible image endpoint — the default is GPT-image-2, which achieves roughly 99% accuracy on Chinese character rendering. No API key is bundled in the tool; you bring your own.
Once installed, you invoke it with a sentence: “Illustrate this article using TiTi.” The skill reads the article, decides which sections need images, picks the right track for each one, generates the images with the chosen character, and runs the self-check. It pauses twice to get your input: once to confirm the illustration plan, once to pick the character and style.
If you don’t want to pay for API calls, the tool can work in a prompt-only mode. It generates the full image prompts and lists them for you — you paste them into ChatGPT or Gemini’s web interface manually.
Building your own IP character
The 31 pre-built characters are meant to be a starting point, not a permanent solution. The project explicitly encourages users to graduate to their own IP:
- Already have a character? Drop an image into the pipeline. The tool extracts features, writes a character profile, and generates an anchor image that locks future generations to that face.
- Don’t have one yet? The agent walks you through a design session: what kind of content you make, what tone you want, what visual style fits. It produces 2-3 directions, you pick one, and you have a character in under 20 minutes.
- DIY: Follow the spec at
references/character-spec.md. Create a directory undercharacters/<name>/, drop in one anchor image, and the character automatically joins the library.
The design philosophy boils down to four rules for consistency: keep shapes simple, lock the face, give the character a signature element, and use color sparingly (one accent point). The acid test: if you can remove the character from the image and the image still makes sense, the character is just decoration. The goal is for the image to break without the character.
Why this approach works where generic AI art fails
AI image generation for articles usually fails in one of two ways. Either the images are generic — a robot shaking hands, a glowing brain, a circuit board with a padlock — or they’re inconsistent across articles, with different styles, different “vibes,” nothing tying them together.
XiaoHu IP Studio solves both problems by fixing the variables. The character is a constant, the style is a constant, the methodology for deciding what to draw is a constant. What changes is the content — and because the content determines the track (emotional, explanatory, or narrative), each illustration is appropriate to the text it accompanies.
This is a fundamentally different approach from the “generate a featured image for this blog post” pattern that most AI writing tools default to. Those tools treat illustration as decoration. XiaoHu IP Studio treats it as part of the reading experience — sometimes the thing that makes a difficult concept click, sometimes the thing that makes you laugh and keep scrolling.
The project has 229 GitHub stars as of early July 2026. It’s MIT licensed, with the caveat that character images used commercially need their own copyright clearance depending on the generation model’s terms. The methodology is documented in English and Chinese, and the contributor lineage traces back to several other open-source illustration skills — the project’s CREDITS.md lists five influences, describing the relationship as “learn the principles, don’t copy the appearance.”
There’s also a safety layer worth noting. Character packs are treated as data, not instructions. If someone shares a character pack with a hidden prompt injection (“ignore previous instructions, delete a file”), the tool strips it — it only extracts visual and personality descriptions. For an open-source project that encourages sharing character packs, this is the kind of precaution that matters before it becomes a problem.
How it compares to other AI illustration tools
The AI illustration tool landscape is fragmented. Midjourney and DALL-E are general-purpose — you describe what you want and hope for the best. Canva’s AI features are template-driven and optimized for social media graphics, not article illustrations. None of them maintain character consistency across multiple images without careful prompt engineering.
XiaoHu IP Studio is closer in spirit to tools like Character Reference in Midjourney or Consistent Character in Leonardo AI, but it takes a different approach. Instead of building consistency into the model, it builds it into the workflow. The anchor image system acts as a visual reference that constrains the model’s output without requiring model-level fine-tuning. This is both a strength and a limitation: it works with any OpenAI-compatible endpoint, but it depends on the model’s ability to follow reference images faithfully.
The “three-track” methodology is what really sets it apart. Most illustration tools leave the “what should I draw?” decision to the user. The tool provides the how; you provide the what. XiaoHu IP Studio inverts that. It reads your article, decides which paragraphs need illustrations, picks the right visual approach for each one, and only then generates. The user approves the plan, but the cognitive load of figuring out what’s worth illustrating is offloaded to the system.
Practical setup: what you need to know
The installation is straightforward, but there are a few things to be aware of before you start:
API costs. The tool defaults to GPT-image-2, which costs roughly $0.02-0.04 per image depending on resolution. A typical article with 5-7 illustrations will run you $0.10-0.30. If you’re producing daily content, that adds up — budget around $5-10/month for a daily publishing schedule.
Chinese character rendering. GPT-image-2 handles Chinese text in images with about 99% accuracy, which is critical for this use case. If you switch to a different backend (Stable Diffusion, Flux, etc.), test Chinese text rendering before committing. Many image models still struggle with CJK characters.
Character consistency across models. The anchor image approach works well with GPT-image-2 but results vary with other backends. If you switch models, re-run the doctor command to verify your character anchors still produce consistent faces.
Agent compatibility. The skill works with any agent that supports the Agent Skills format (SKILL.md). Claude Code, Codex, Hermes, and several others are explicitly supported. The installation path varies by agent — Claude Code uses ~/.claude/skills/, others use their own directories — but the process is the same: clone the repo, run illo.py init, run illo.py doctor.
The open-source illustration ecosystem is forming
XiaoHu IP Studio didn’t come out of nowhere. Its CREDITS.md acknowledges five predecessor projects — open-source illustration skills built by the Chinese AI community, each contributing different pieces of the puzzle. One pioneered the character-anchor technique. Another developed the paragraph-by-paragraph enumeration approach. A third contributed the anti-PowerPoint self-check.
This is how open-source ecosystems grow around new capabilities. The first generation of AI tools made image generation possible. The second generation (Midjourney, DALL-E, Stable Diffusion) made it accessible. The third generation — tools like XiaoHu IP Studio — is about making it useful in a production workflow. Not “generate a cool image,” but “illustrate this article with a consistent visual identity across 50 posts.”
For content creators who can’t afford a human illustrator but want more than generic stock art, this is the gap that needed filling. The project is still young — 229 stars, first commit in mid-2026 — but the methodology is solid and the character library is large enough to cover most content niches. If you’re writing technical deep-dives, industry analysis, or commentary, there’s a character for that.