Anima Role Ref KV
v3.1 · Character reference + optional pose reference for Anima Base v1.0
中文 · v3.0 vs v3.1 · v3.0 examples · v2.0 examples · Evaluation · v1.0 archive
Generate new poses, outfits, expressions, and scenes from one character reference and a text prompt, with an optional pose image. No per-character training or trigger word is required.

v3.1 is the new default. Update the included Python runtime or ComfyUI node (3.1.0) before loading v3.1. Older nodes load the v3.1 file without an error but feed the wrong text to the reference streams, which degrades the results. BF16 weights for every version; the versions live side by side by filename.
What's new in v3.1
v3.1 uses the same inputs as v3.0 (a character image and an optional pose image) and the same settings. It was retrained from Anima Base v1.0 on cleaned pairs (background-filtered, same-artist scene pairs, less synthetic pose data), and the reference streams no longer read the prompt. Two reinforcement-learning experts were then trained on top, one for the character (body shape, skin tone, style, extra people, mannequin joints) and one for the background (detail, white halos, flat lighting), and merged into one adapter.
- Backgrounds. Far fewer white or floating-island backgrounds, much less of the sticker-like white outline around the character, and less flat or over-exposed lighting. The
white background, simple backgroundnegative prompt from v3.0 is rarely needed. - Pose and anatomy. Slightly better pose following; fewer extra people in single-character prompts and fewer female chests on male characters drawn from female line-art guides.
- Pose image only. The Apply node accepts a pose image without a character image (describe the character in the prompt); v3.1 was trained for this case.
- Regressions. Outfit changes requested in the prompt are applied less often than in v3.0, and the original outfit comes back more often. Style matching on unusual media is slightly weaker, and small accessories (for example glasses, E04 in the figure above) can be dropped. For outfit changes, v3.0 or v2.0 may work better.
| Development evaluation (automated judges, same noise) | v3.0 | v3.1 |
|---|---|---|
| Broken background (island / sparse / blank), 98 cases × 4 seeds ↓ | 34.7% | 5.9% |
| Complete background, same set ↑ | 39.5% | 78.8% |
| White halo around the character ↓ | 18.1% | 4.1% |
| Flat lighting (held-out judge) ↓ | 35.2% | 17.2% |
| Over-exposed (held-out judge) ↓ | 45.7% | 25.7% |
| Pose followed, 98-case set / 1,024-row pose benchmark ↑ | 67.6% / 94.4% | 74.0% / 95.5% |
| Extra people in single-character prompts (pose benchmark) ↓ | 2.25% | 0.98% |
| Female chest on male characters (pose benchmark) ↓ | 9.18% | 5.10% |
| Pose image only: broken background (624 images) ↓ | 39.6% | 24.2% |
| Requested outfit change applied (68 cases × 2 seeds) ↑ | 44.5% | 34.9% |
| Original outfit leaking back ↓ | 22.0% | 24.7% |
| Style similarity to the reference, style-diverse set (ALADIN) ↑ | 0.713 | 0.693 |
One training seed per RL expert; the judges are automatic (a VLM for backgrounds, detectors for halos and people, tag models for outfit and chest). The character-only benchmark below was not rerun for v3.1, so for character-only generation v2.0 remains the recommendation. See the evaluation details.
v3.0 and v3.1, all four seeds

Same cases and noise as the figure above, evaluation seeds 8–11. Prompts and settings: assets/v3.1/CASES.md.
What's new in v3.0
v3.0 takes a character image and an optional pose image. The character image sets identity and appearance; the pose image sets pose and placement. The same adapter also runs without a pose image, but v2.0 is recommended for character-only generation (see below).
- Pose image. Use a line-art pose guide (a figure drawn in black lines on white) or another illustration of a single person. Frame it on a canvas with the output's aspect ratio: the runtime stretches the whole pose canvas over the output.
- Line-art pose guides. The line-art guides in the v3.0 training data come from AI Pose Gallery (original); a Chinese version is at ai-pose-gallery.anhao.app/poses. Guides from either site work as pose images.
- Body shape. The pose image's body shape (proportions, build, chest) can carry over into the result. Use a pose figure whose body is close to the character's: a slim figure for a slim character, a male figure for a male character.
- Male characters. Line-art guides are often drawn with a female figure, which can give male characters a large chest. Write
1boy, male focus, flat chest(ormale chest) in the prompt; these are the tags used for male characters in training. - Prompt. Describe outfit, expression and background as in v2.0. You can add coarse pose words (
sitting, on chair,kneeling), as long as they agree with the pose image. - Bright or white backgrounds. Some outputs come out with an over-bright or plain white background, especially when the character image has a white background. Add
white background, simple backgroundto the negative prompt; name the place, time of day and lighting in the prompt as well, since this negative prompt can make images darker and more saturated. - Training data. NSFW images and NSFW poses were removed from the v3.0 training set. The model may still generalize to such content to some extent.
- Speed in ComfyUI. The node package now uses ComfyUI's selected attention backend (xFormers, SageAttention, FlashAttention or PyTorch), and runs attention in FP32 on GPUs without native BF16 (GTX 10xx, RTX 20xx). The Apply workflow works with KSampler and other LoRAs, such as a Turbo LoRA.
| Development evaluation, pose followed (automated judge) | v3.0 |
|---|---|
| Line-art guide, unseen pose families / unseen angles / seen poses | 92.6% / 97.7% / 96.1% |
| Another character's generated image as the pose image (88 rows) | 86.4% |
| Real illustration as the pose image (32 rows) | 71.9% |
One training seed; the judge is automatic. With both images, v3.0 hits fewer prompted outfit and expression details than character-only generation, a close-up character reference paired with a full-body pose image becomes a full-body picture, and clothing from an illustration pose image (thigh bands, legwear, bare feet) can carry over. For character-only generation, use v2.0. v3.0 may follow editing requests (outfit, expression, style changes) less well than v2.0, so v3.0 is meant for generation with a pose image.
v2.0 and v3.0 without a pose image

The four cases from the v2.0 model card, with the same prompts and settings. The v2.0 column shows the images published with v2.0.
Character-only development benchmark
| Development evaluation (3,008 images/model) | v1.0 | v2.0 | v3.0 |
|---|---|---|---|
| Normalized head similarity ↑ | 1.23 | 1.72 | 1.76 |
| Low-color rate, natural-language prompts ↓ | 31.1% | 3.2% | 3.2% |
| Prompt tag hits ↑ | 91.2% | 90.3% | 89.5% |
All three versions used the same development set with a character reference and no pose image. v2.0 improves character resemblance and markedly reduces unintended washed-out outputs on natural-language prompts, with slightly lower overall tag adherence. Compared with v2.0, v3.0 scored higher on head similarity, had the same low-color rate on natural-language prompts, and scored 0.78 percentage points lower on overall tag hits. These are automated development results from one training seed per version. See the evaluation details.
Files
| Version | ComfyUI (models/loras/) |
Diffusers |
|---|---|---|
| v3.1 (BF16, default, pose image, runtime 3.1) | comfy/anima-role-ref-kv-v3.1.safetensors |
diffusers/anima-role-ref-kv-v3.1.safetensors |
| v3.0 (BF16, pose image) | comfy/anima-role-ref-kv-v3.0.safetensors |
diffusers/anima-role-ref-kv-v3.0.safetensors |
| v2.0 (BF16, recommended without a pose image) | comfy/anima-role-ref-kv-v2.0.safetensors |
diffusers/anima-role-ref-kv-v2.0.safetensors |
| v1.0 (BF16) | comfy/anima-role-ref-kv-v1.0.safetensors |
diffusers/anima-role-ref-kv-v1.0.safetensors |
ComfyUI
- Put the desired weight file (
anima-role-ref-kv-v3.1.safetensors,-v3.0,-v2.0or-v1.0) inComfyUI/models/loras/. - Replace
ComfyUI/custom_nodes/anima-role-ref-kv/with the included comfyui folder (3.1.0, required for v3.1) and restart ComfyUI. - Install the base components from Anima (
anima-base-v1.0.safetensors,qwen_3_06b_base.safetensors,qwen_image_vae.safetensors). - Load workflows/anima-role-ref-kv-v3.1.json, upload a character image and a pose image, edit the prompt, and Queue. The Anima Role Ref KV Apply node patches the model for a standard KSampler, so the sampler, scheduler and other LoRAs stay under your control; connect a LoRA (for example a Turbo LoRA) before the Apply node. For character-only use, disconnect
pose_imageand select the v2.0 adapter. workflows/anima-role-ref-kv-v3.1-builtin.json uses the Anima Role Ref KV node with its own 28-step Euler loop instead. Older adapters can be selected in either node'sadapterdropdown (no pose image).
Diffusers
Use Python 3.12 with Anima Base v1.0 Diffusers:
pip install -r requirements-diffusers.txt
python infer.py \
--base-model /path/to/Anima-Base-v1.0-Diffusers \
--adapter diffusers/anima-role-ref-kv-v3.1.safetensors \
--reference reference.png --pose pose.png \
--width 832 --height 1216 \
--prompt "highres, safe, 1girl, solo, smile, outdoors, park, bench, tree, full body, sitting, on bench" \
--seed 20261106 --output result.png
For character-only generation, pass --adapter diffusers/anima-role-ref-kv-v2.0.safetensors and omit --pose (v2.0 is recommended there; -v1.0 also works). All versions require the included reference runtime and are not standalone ordinary LoRA files.
Settings and prompt format
- Sampling: 28 steps, CFG 4, BF16, around 1 MP (
832 × 1216,1024 × 1024, or1216 × 832, multiples of 16). Use a clear single-character reference. - Tag prompts (training format): start with
highres, safe, 1girl, solo, ...(or1boy), then desired framing, pose, expression, outfit, background, and medium/style tags. Do not describe the reference character's existing hair/eye traits unless you want to override them. - Natural-language prompts (training format): start with
safe, 1girl.followed by concise sentences for framing, action, outfit, and scene (e.g.safe, 1girl. Upper body shot from the waist up. She is sitting on a bench in a park with trees.). - Negative prompt:
worst quality, low quality, score_1, score_2, score_3, artist name, blurry, jpeg artifacts, chromatic aberration.
License
An independent modified derivative of Anima, subject to the CircleStone model license; not an official CircleStone Labs product. Code licenses and attribution are in NOTICE.txt.