# 人物三视图设定表

参考图：`ref-原图.png`  
角色：日系动漫风格成年少女（紫发猫耳、品红眼、虹彩露肩连衣裙 + 牛仔短裤）

## 产物文件清单

| 文件 | 说明 | 尺寸 |
|------|------|------|
| `turnaround-3view.png` | 最终三视图设定表（正面 / 左侧面 / 背面，横向拼接） | 2480×1456 |
| `front.png` | 正面全身面板 | 752×1376 |
| `side.png` | 左侧面全身面板（角色面朝画面左侧） | 752×1376 |
| `back.png` | 背面全身面板 | 752×1376 |
| `ref-原图.png` | 用户提供的参考原图（未改动） | — |

未在一张图里直接画三视图，而是按 imagine / game-character-consistency 的编辑链：先从参考图派生正面，再从正面派生侧面与背面，最后用 ffmpeg 拼接。

## 工具调用序列

1. 读取 `ref-原图.png`，记录不对称特征（发饰左右）。
2. `image_edit`：参考图 → 正面全身站姿（第 1 版，领口偏高领，未采用为最终正面）。
3. `image_edit`：第 1 版正面 → 修正领口为露肩（第 2 版，**采用为 `front.png`**）。
4. `image_edit`：第 2 版正面 → 严格侧面（**采用为 `side.png`**）。
5. `image_edit`：第 2 版正面 → 严格背面（第 1 版背面，脚下有浅影）。
6. `image_edit`：第 1 版背面 → 去掉地面投影（第 2 版背面，**采用为 `back.png`**）。
7. ffmpeg 将 jpg 转 png；Python 将三张面板近中性浅灰背景统一为 `#F7F7F7`（避免白边与浅灰底形成拼缝）。
8. ffmpeg `hstack` 横向拼接为 `turnaround-3view.png`。

共调用 `image_edit` **5 次**（无 `image_gen`）。最终采用 3 张面板；另有 2 次针对性重试（领口、投影）。

## 不对称特征对照表（自检用）

以角色自身左右为准：

- 深蓝小蝴蝶结：角色**右侧**头发
- 白色小花发饰：角色**左侧**头发

| 视图 | 深蓝蝴蝶结出现位置 | 白色小花出现位置 |
|------|--------------------|------------------|
| 正面 | 画面左侧（角色右） | 画面右侧（角色左） |
| 左侧面（面朝左） | 远侧马尾上，可见于脑后发束 | 近侧，耳旁清晰可见 |
| 背面 | 画面右侧（角色右） | 画面左侧（角色左） |

## 最终采用的英文提示词原文

### 正面（最终采用，第 2 版；源图为第 1 版正面）

```
Keep this exact Japanese anime-style girl as the same character: long waist-length purple hair fading to lavender at the tips in twin tails, pale-purple cat ears with white inner fur, magenta-pink eyes, a small dark-blue bow on the right side of her head (viewer's left) and a small white flower hair accessory on the left side of her head (viewer's right), blue denim shorts with ruffled hems, white ruffled ankle socks and simple white shoes. Change only the dress neckline: replace the high collar with a true off-shoulder white ruffled dress like the reference, collarbones and shoulders exposed, a tiny dark-blue ribbon at the center of the open neckline, white buttons down the bodice, ruffled short sleeves, iridescent rainbow pearlescent sheen on the skirt. Keep the same calm A-pose, full body from cat-ear tips to shoes, peaceful expression, clean Japanese anime illustration, cel-shaded, even studio lighting, solid pure white background, isolated character, no props, no gift box, no scene, no cast shadow, no text.
```

### 侧面（最终采用；源图为第 2 版正面）

```
Keep this exact Japanese anime-style girl as the same character: long waist-length purple hair fading to lavender at the tips in twin tails, pale-purple cat ears with white inner fur, magenta-pink eyes, a small dark-blue bow on the right side of her head and a small white flower hair accessory on the left side of her head, white off-shoulder ruffled dress with iridescent rainbow pearlescent sheen and ruffled short sleeves, a tiny dark-blue ribbon at the neckline, blue denim shorts with ruffled hems, white ruffled ankle socks and simple white shoes. Rotate her into a strict full-body RIGHT PROFILE character-turnaround panel: she faces the left edge of the frame, nose chest and toes all pointing left, we see her right side so the dark-blue hair bow is on the near side of the head and the white flower is hidden on the far side. Same calm standing A-pose, arms hanging naturally slightly away from the body, peaceful neutral expression, entire figure visible from cat-ear tips to shoes. Clean Japanese anime illustration, cel-shaded, even studio lighting, solid pure white background, isolated character, no props, no gift box, no scene, no cast shadow, no text.
```

说明：提示词写了 RIGHT PROFILE，模型实际产出的是**左侧面**（面朝左、近侧为白花）。任务允许任选一侧，故保留左侧面，未再重抽。

### 背面（最终采用，去阴影后的第 2 版；源图为第 1 版背面）

去阴影前的旋转提示词：

```
Keep this exact Japanese anime-style girl as the same character: long waist-length purple hair fading to lavender at the tips in twin tails, pale-purple cat ears with white inner fur, a small dark-blue bow on the right side of her head (now appears on the viewer's right) and a small white flower hair accessory on the left side of her head (now appears on the viewer's left), white off-shoulder ruffled dress with iridescent rainbow pearlescent sheen and ruffled short sleeves, a tiny dark-blue ribbon at the neckline, blue denim shorts with ruffled hems, white ruffled ankle socks and simple white shoes. Rotate her into a strict full-body BACK VIEW character-turnaround panel: she stands with her back fully to the camera, we see the back of the head, both cat ears from behind, twin tails hanging down her back, the back of the off-shoulder dress and denim shorts. Same calm standing A-pose, arms hanging naturally slightly away from the body so the outfit silhouette is clear, entire figure visible from cat-ear tips to shoes. Clean Japanese anime illustration, cel-shaded, even studio lighting, solid pure white background, isolated character, no props, no gift box, no scene, no cast shadow, no text, no face visible.
```

去阴影提示词：

```
Keep this exact Japanese anime-style girl back view completely unchanged: same pose, same long waist-length purple twin tails fading to lavender, pale-purple cat ears with white inner fur, small white flower hair accessory on the viewer's left and small dark-blue bow on the viewer's right, white off-shoulder ruffled dress with iridescent rainbow pearlescent sheen, blue denim shorts with ruffled hems, white ruffled ankle socks and white shoes. Change only the background: remove the gray ground shadow under the feet and fill the entire background with a flat solid very light gray, no shadow, no floor, no props, no text. Clean Japanese anime illustration, cel-shaded, even studio lighting, isolated character.
```

### 拼接命令

```bash
ffmpeg -y -i front.png -i side.png -i back.png \
  -filter_complex "[0:v]scale=-1:1376,pad=iw+48:ih:24:0:0xF7F7F7[a];[1:v]scale=-1:1376,pad=iw+48:ih:24:0:0xF7F7F7[b];[2:v]scale=-1:1376,pad=iw+48:ih:24:0:0xF7F7F7[c];[a][b][c]hstack=inputs=3,pad=iw+80:ih+80:40:40:0xF7F7F7" \
  turnaround-3view.png
```

## 失败 / 重试记录

| 次数 | 操作 | 结果 | 处理 |
|------|------|------|------|
| 1 | `image_edit` 参考图 → 正面 | 全身 A-pose、特征齐全，但领口变成高领/蕾丝立领，与原图露肩不符 | 不采用为最终正面；再 edit 一次只改领口 |
| 2 | `image_edit` 正面 v1 → 露肩修正 | 肩颈更接近原图，仍保留颈前深蓝丝带（三视图内统一） | **采用为 front.png** |
| 3 | `image_edit` 正面 → 侧面 | 得到严格左侧面（非 3/4 正面），特征与服装一致 | **采用为 side.png**（任务允许任选一侧） |
| 4 | `image_edit` 正面 → 背面 | 背面旋转正确、发饰左右符合 180° 旋转而非镜像；脚下有浅灰投影 | 再 edit 一次只去投影 |
| 5 | `image_edit` 背面 v1 → 去阴影 | 投影去掉，角色未漂 | **采用为 back.png** |
| — | 首次 ffmpeg 用纯白 `#FFFFFF` 外扩 | 三张生成图底色约 RGB 243–247，拼出可见浅灰矩形拼缝 | 将近中性浅灰像素统一为 `#F7F7F7` 后重拼 |

未采用「一张图直接画三视图」。未使用 `image_gen` 凭空重画。

## 三视图一致性自检结论

**通过（可交付），有已记录的轻微偏差。**

逐项：

- **同一人**：正面与侧面五官、瞳色、猫耳、双马尾结构一致；背面发色、耳形、体型与正面匹配。
- **同一套服装**：三视图均为白色露肩荷叶边上衣（裙面虹彩珠光）+ 蓝色荷叶边牛仔短裤 + 白色荷叶边袜套 + 白色鞋；颈前/颈后深蓝丝带在三视图内自洽。
- **发饰不对称**：正面蓝结在画面左、白花在画面右；背面白花在画面左、蓝结在画面右（真旋转，不是左右翻转）；侧面近侧为白花、远侧马尾可见蓝结。符合上表。
- **视角**：正面为正视；侧面为严格侧面（鼻、胸、脚尖均朝画面左，不是略转的正面）；背面完全背对镜头、不见脸。
- **全身完整**：三张均从头顶猫耳到鞋底，未裁切。
- **姿态**：自然站姿 / A-pose，双臂下垂并略离身体，表情平静。
- **背景**：极浅灰纯色，无道具、无礼物盒、无场景、无文字水印；背面投影已去掉。
- **安全**：成年动漫角色，非色情、非暴露。

未完全消除的轻微偏差（未再重抽，以免破坏已稳定的身份）：

1. 领口在本套三视图内统一为「露肩 + 颈前深蓝丝带」，比原图更彻底的无领露肩略「多」一条颈带。
2. 侧面双马尾在透视下收成一束，发长略长于正面；背面发长也略长于正面。
3. 计划抽右侧面，实际得到左侧面（任务允许）。
