接入指南
多角色提示詞寫法(Kusa-Anima)
建議使用英文提示詞。中文、日文等非英文會自動翻成英文;角色名括號寫成 \( \)。 怎麼翻譯和轉義提示詞 →
這個教程解決什麼問題
在 Kusa-Anima 裡生成多角色互動場景時,如果只用標籤描述,例如人數、髮色、服裝、動作等,模型可能不知道哪個元素屬於哪個角色,導致角色特徵混雜。
| 寫法 | 效果 | 風險 |
|---|---|---|
| 只堆標籤 | 適合定義素材要素 | 多角色時容易混髮色、服裝、位置和動作 |
| 自然語言 | 適合指定誰在什麼位置做什麼 | 句子過長時仍可能破壞,需要拆句和後期修正 |
| 標籤 + 自然語言 | 最穩妥:標籤定素材,自然文定關係 | 需要按順序組織 prompt |
推薦的 Prompt 順序
原文強調:自然語言 prompt 的關鍵不是寫得文學化,而是讓模型清楚地分配角色、位置和動作。
- 1
先放人數標籤:例如
2girls、couple、2boys、3girls。 - 2
寫角色名和場景:先告訴模型這個畫面裡有哪些人、背景在哪裡。
- 3
寫位置:用「觀看者視角」描述左、右、前景、中心等位置。
- 4
寫動作:明確每個角色正在做什麼。
- 5
需要時補外觀:髮型、髮色、眼睛、服裝、表情等。
基礎寫法
如果要生成兩個女生,基礎 prompt 可以先寫風格、品質標籤和人數標籤。
flat color, masterpiece, 2girls,其他人數/組合可以按需替換:
| 目標 | 標籤 |
|---|---|
| 兩個女生 | 2girls |
| 一男一女 | couple |
| 兩個男生 | 2boys |
| 三個女生 | 3girls |
再用自然文定義角色和動作。原文建議可以先用日文寫清楚,再用 Google 翻譯轉成英文 prompt。
Google 翻譯:日文轉英文Fuka-chan and Abe-chan.
Fuka-chan is sitting at a table with an omelet rice dish on it, and Abe-chan is drawing a picture on it by putting ketchup on it.理解:先宣告「畫面裡是誰」,再描述「誰在桌邊、桌上有什麼、另一個人在做什麼」。這樣比只寫 white hair、orange hair、maid outfit 更不容易混。
構圖和位置規則
比如直覺上可能會寫「B 站在 A 前面」,但更穩的寫法是「A 坐在左側,B 站在右前方」。這樣模型更容易把空間關係落到畫面裡。
Fuka-chan and Abe-chan.
Fuka-chan is sitting on the left, with an omelet rice dish on the table. Abe-chan is standing in front of her on the right, pouring ketchup on the omelet rice and drawing a picture on it.加入角色外觀
外觀可以像清單一樣串起來,不一定要寫成複雜句。重點是把每個外觀特徵緊貼對應角色。
Fuka-chan and Abe-chan.
On the left, Fuka-chan, with her long white hair, a cowlick covering one eye, and yellow, narrowed eyes, is sitting expressionlessly in a black T-shirt, black long skirt, and black sandals. An omelet rice dish is on the table, with her portrait drawn on top in ketchup. Standing in the foreground on the right is Abe-chan, with her orange bob haircut, wearing a maid outfit and green eyes, smiling and pouring ketchup onto the omelet rice.複雜場景的整理方式
當 prompt 變長,破壞機率會上升。原文的處理方式是把角色拆開寫,每個角色獨立成句,並補充背景和角度標籤。
- 背景可以寫在開頭,例如「背景是咖啡廳內部」。
- 角度這類資訊可以繼續用標籤補,例如
from above。 - 三個角色以上時,仍按畫面位置順序寫:左側、中心、右前方。
- 如果角色特徵仍混雜,建議用 inpaint 修正局部。
- 有角色 LoRA 會更簡單,但原文強調沒有 LoRA 也能做到一定程度的角色固定。
Saori-chan, Fuka-chan, and Abe-chan. The background is the inside of a cafe.
On the left, Saori-chan stands there, pale-faced, looking at an omelet rice.
In the center, Fuka-chan sits expressionlessly at a cafe table. Her omelet rice is on the table, and her portrait is drawn on it in ketchup.
In the foreground on the right, Abe-chan stands with her back to the camera, holding a tube of ketchup and pouring ketchup onto the omelet rice.可複用模板
| 段落 | 寫什麼 | 範例 |
|---|---|---|
| 基礎標籤 | 畫風、品質、人數 | flat color, masterpiece, 2girls |
| 角色宣告 | 畫面裡有哪些角色 | Fuka-chan and Abe-chan. |
| 背景 | 場景發生在哪裡 | The background is inside a cafe. |
| 位置 | 從觀看者視角寫左/右/前景/中心 | Fuka-chan is sitting on the left. |
| 動作 | 每個角色正在做什麼 | Abe-chan is pouring ketchup. |
| 外觀 | 髮色、髮型、眼睛、服裝、表情 | 緊貼對應角色描述,不要把所有標籤堆在一起 |
可直接複製的填空模板(把 ___ 換成你的內容)
flat color, masterpiece, 2girls,
___ and ___. The background is ___.
On the left, ___, with ___, is ___.
In the foreground on the right, ___, with ___, is ___.2girls 換成實際的人數標籤(couple、2boys、3girls 等);with 後面寫外觀,is 後面寫動作;三個角色時加一行,例如 In the center, ___ is ___.
注意事項
- 不要只靠多人物標籤堆元素;多角色互動需要自然文指定關係。
- 位置按觀看者視角寫,不按角色視角寫。
- 長 prompt 儘量按角色拆句,避免一個超長句混在一起。
- 角色外觀、動作和位置要緊挨角色名。
- 複雜場景仍有抽卡成分,局部錯誤用 inpaint 修正。