# Anima Reference Adapter (v2)
**레퍼런스 이미지에서 캐릭터와 그림체를, 프롬프트에서 자세·장소·구도를.**
[](https://huggingface.co/ElectronGirl/anima-ref-adapter)
[](https://github.com/ElectronGirl/ComfyUI-Anima-Ref-Adapter)
[](https://github.com/ElectronGirl/anima-ref-adapter-research)
[](https://ko-fi.com/electrongirl)
[쇼케이스](#쇼케이스) · [빠른 시작](#빠른-시작) · [사용 가이드](guide.ko.md) · [속도](#속도와-호환성) · [학습 코드](https://github.com/ElectronGirl/anima-ref-adapter-research)
[English](README.md) · **한국어** · [日本語](README.ja.md)
cowboy shot, sitting, cafe, holding cup, coffee, smile, looking at viewer, indoors, window, day · full body, lying, on side, on bed, head rest, looking at viewer, smile, bedroom, indoors, night, lamp light
full body, flying, from below, sky, clouds, sunlight, dynamic pose, outstretched arm · sitting, on floor, hugging own legs, sleepy, hangar, indoors, dim lighting
cowboy shot, beach, ocean, sunset, wind, hand on own hat, sun hat, smile, looking back · upper body, sitting, poolside, legs in water, splashing, laughing, day
### 두 캐릭터
레퍼런스 두 장을 한 이미지에 나란히 붙이고(기본 **Image Stitch** 노드), 왼쪽과 오른쪽이 각각 누구인지 몇 단어로
적습니다. `solo` 대신 `2girls`나 `1boy, 1girl`을 쓰고, 가로가 긴 크기를 씁니다. [워크플로](workflows/anima_ref_adapter_two_characters.json).
2girls, the girl on the left is a policewoman with black hair over one eye, the girl on the right is a mecha girl with aqua hair and mechanical wings, standing side by side, peace sign, smile, city, street, day
2girls, the girl on the left is a policewoman with black hair over one eye, the girl on the right is a girl with short black hair in a blue frilled bikini, sitting together on a bench, eating ice cream, park, day
2girls, the girl on the left is a mecha girl with aqua hair and mechanical wings, the girl on the right is a girl with short black hair in a blue frilled bikini, high five, beach, ocean, day
## 빠른 시작
```bash
cd ComfyUI/custom_nodes
git clone https://github.com/ElectronGirl/ComfyUI-Anima-Ref-Adapter.git
```
1. Anima base v1.0, Qwen3-0.6B 텍스트 인코더, Qwen-Image VAE를
[circlestone-labs/Anima](https://huggingface.co/circlestone-labs/Anima)에서 받습니다. Anima를 쓸 때와 같습니다.
2. ComfyUI를 재시작하고 [`workflows/anima_ref_adapter.json`](workflows/anima_ref_adapter.json)을 엽니다. Anima
text-to-image 워크플로에 노드 하나를 더한 것이며, 다른 커스텀 노드는 필요 없습니다.
3. 레퍼런스 이미지를 넣고, 장면만 적은 프롬프트를 쓰고, 실행합니다. 처음 실행할 때 `anima_ref_adapter_v2_r64.safetensors`(183MB)를
[Hugging Face](https://huggingface.co/ElectronGirl/anima-ref-adapter)에서 `ComfyUI/models/loras/`로 받아옵니다. 직접 설치하려면
[이 파일](https://huggingface.co/ElectronGirl/anima-ref-adapter/blob/main/anima_ref_adapter_v2_r64.safetensors)을 같은 폴더에 넣으면 됩니다.
**직접 만든 워크플로에서는** **Anima Ref Adapter**를 모델(다른 LoRA 뒤)과 샘플러 사이에 두고, VAE와 레퍼런스
이미지를 연결합니다.
프롬프트 쓰는 법, 설정, 문제 해결까지 단계별로 정리한 **[사용 가이드](guide.ko.md)**가 있습니다.
## 속도와 호환성
RTX 3060 Ti 8GB(fp16), 832x1216, 레퍼런스 한 장, 두 번 잰 것 중 빠른 쪽:
| 설정 | 이미지 한 장 |
|---|---|
| Anima base, er_sde 30 steps, cfg 4.5, **레퍼런스 없음** | 33 초 |
| + 파일럿 어댑터, `ref_guidance` 4.5 | 105 초 |
| **+ v2 어댑터**, `ref_guidance` 4.5 | **65-67** 초 |
| `ref_guidance` 1 (추가 모델 호출 없음) | 50 초 |
| + SageAttention ([KJNodes](https://github.com/kijai/ComfyUI-KJNodes) Patch Sage Attention) | 62 초 |
| + EasyCache (기본 노드) | 63 초 |
| `ref_end` 0.6 | 62 초 |
| **turbo LoRA**(strength 1), 10 steps, cfg 1, `ref_guidance` 1 | **11** 초 |
- SageAttention, EasyCache, `ref_end` 0.6은 이 GPU에서 각각 약 7%씩 빨라지고, 그림은 거의 같습니다.
- Anima base용 **turbo LoRA**(테스트한 파일: `anima-turbo-lora-v0.2`)는 어댑터 앞에 둡니다. 캐릭터는 유지되지만
그림이 turbo 특유의 화풍 쪽으로 끌려가서, 레퍼런스의 그림체는 덜 반영됩니다.
- 테스트하지 않은 것: Anima-Turbo·Anima-Aesthetic 전체 모델, SamplerSPEED, torch.compile.