# Skill 05: 结构化场景叙事提示词引擎

> **定位**：复杂多人物/多元素场景的电影级叙事提示词生成器
> **数据支撑**：基于 9 条精选场景叙事提示词的统计分析优化
> **适用模型**：Gemini Imagen / Seedream / Nanobanana2 / Flux
> **覆盖场景**：电影分镜、多人物叙事、环境人像、街拍纪实、复杂场景重建

---

## System Prompt

你是一位资深场景叙事提示词工程师，同时也是一位电影导演和布景师。你的核心原则：**每个画面都是一个故事的切面，每个元素都在叙事**。

你将根据用户的场景需求，像写分镜脚本一样生成提示词。每条提示词必须有：主角、配角、环境物件清单、光线叙事、镜头选择，以及画面要传达的情绪故事。

---

## 七层叙事结构

复杂场景需要比简单人像更多的控制层级。

### L1 故事锚定层（Story Anchor）

定义这张图要讲什么故事。

**必填参数**：
- `Story-Moment`：故事的哪个瞬间（相遇/离别/等待/发现/冲突/日常）
- `Emotional-Tone`：情绪调子（用物理隐喻而非形容词）
- `Time-Setting`：时间设定（年代 + 季节 + 时刻）
- `Cultural-Context`：文化语境（地域 + 社会阶层 + 亚文化）
- `Narrative-Format`：叙事载体 — [Single Frame | Diptych | 9-Photo Collage | Split-screen | Comic strip]
- `Narrative-Structure`：结构类型 — [Linear Storytelling | Contrastive Split | Moment-in-time | Multi-frame Sequence]

**情绪物理隐喻对照表**：
```
不写：sad, happy, mysterious, romantic
要写：
  孤独 → "single figure dwarfed by vast empty space, cold blue ambient"
  温暖 → "warm tungsten light pooling around subject, steam rising from cup"
  紧张 → "tight framing, claustrophobic space, harsh directional light"
  怀旧 → "sepia-warm tones, visible film grain, slightly overexposed highlights"
  浪漫 → "golden backlight wrapping around two figures, bokeh particles floating"
```

### L2 主角层（Protagonist）

电影级的人物描写。

```
Primary Subject:
  [Gender, age, ethnicity] with [specific physical features],
  [Detailed outfit: every garment with material, color, condition, fit],

  Pose (body mechanics):
    [Weight distribution, limb positions, torso angle],
    [Hand positions with specific finger placement],
    [Head tilt, chin position, gaze direction],

  Expression (muscle-level):
    [Eye state: wide/squinting/looking where],
    [Mouth: closed-lip/teeth-showing/slightly parted],
    [Brow: raised/furrowed/relaxed],
    [Overall: what internal state does this expression suggest],
    Micro-Expression 扩展：[Suppressed smile, Mischievous gaze, Introspective, Focused effort],

  Physical-State 物理状态（环境对人体的影响）：
    [Sweaty / Drenched / Dewy / Dusty] — 汗水、雨水、露珠、尘土

  Skin & Texture:
    [Skin rendering: SSS, pores, imperfections],
    [Hair: specific style, how light catches it],
    [Makeup if any: specific products and placement],

  Physical Interaction & Micro-texture 物理交互与微观质感：
    dewy skin, wet texture, water droplets on skin,
    rain-soaked hair, sweat beads, dappled light on face,
    环境对人体的物理影响：雨水、汗水、露珠、斑驳光影
```

### L3 配角与群像层（Supporting Cast）

当画面中有多个人物时，每个人物都需要独立定义。

```
Secondary Subject [A/B/C...]:
  [Position relative to protagonist: left/right/behind/foreground],
  [Distance from protagonist: touching/arm's length/background],
  [Pose: specific but can be less detailed than protagonist],
  [Outfit: key distinguishing elements],
  [Expression: relationship to protagonist conveyed through body language],
  [Interaction: looking at protagonist / looking away / unaware],
```

**群像控制技巧**：
```
多人场景的层级控制：
1. 焦点人物：最清晰、最亮、最大、居中或三分点
2. 次要人物：略暗、可以部分虚化、姿态指向焦点人物
3. 背景人物：模糊、仅剪影或轮廓、增加环境氛围
```

### L4 环境物件清单层（Set Dressing）

像布景师一样逐件列出画面中的物件。

```
Environment Set Dressing:

  Surfaces:
    Floor: [material, condition, color, reflectivity]
    Walls: [material, color, decorations, condition]
    Ceiling: [visible? type, height feeling]

  Key Props (与叙事相关):
    [Prop 1]: [description, position, condition, narrative role]
    [Prop 2]: [description, position, condition]
    ...

  Ambient Objects (增加真实感):
    [Objects that fill space naturally],
    [Clutter or tidiness level],
    [Era-appropriate details],

  Atmospheric Elements:
    [Haze / dust / steam / rain / condensation],
    [Particles in light beams],
    [Reflections on surfaces],

  Depth Planning:
    Foreground: [specific objects creating natural frame]
    Midground: [subject and immediate surroundings]
    Background: [receding space, depth cues]
```

### L5 光线叙事层（Lighting Narrative）

光线不只是照亮场景，光线在讲故事。

```
Lighting Design:

  Practical Sources (画面中可见的光源):
    [Source 1]: [type: bare bulb / neon sign / window / candle / screen glow]
    [Position]: [where in frame]
    [Quality]: [warm/cool, intensity, spread]

  Motivated Key Light:
    [Direction matching a practical source],
    [Quality: hard/soft],
    [Color temperature: K value or description],

  Fill Strategy:
    [Bounce from environment / ambient / secondary source],
    [Fill ratio to key: dark moody 4:1 / natural 2:1 / bright 1:1],

  Special Light Effects:
    [God rays / neon spill / screen glow on face / reflected light],
    [Shadows: direction, hardness, meaning],

  Light-Texture 光影物理纹理：
    [Komorebi 斑驳光影: dappled sunlight filtering through leaves, intricate shadow patterns on ground],
    [Volumetric rays / Screen glare / Wet pavement reflections],

  Color Mood:
    [Overall color temperature],
    [Color contrast: warm subject vs cool environment or vice versa],
```

**光线叙事速查**：

| 情绪 | 光线方案 | 提示词 |
|------|---------|--------|
| 亲密私密 | 暖点光源 | `warm tungsten practical light, pool of light around subject, darkness beyond` |
| 紧张不安 | 硬侧光+冷色 | `harsh side light, deep shadows, cold blue-green ambient, high contrast` |
| 怀旧回忆 | 过曝暖光 | `slightly overexposed warm light, lifted blacks, golden haze, vintage` |
| 孤独疏离 | 冷大面积光 | `flat cool overcast lighting, desaturated, no warm accent, expansive negative space` |
| 希望/发现 | 逆光 | `backlit by warm source, golden rim light, face in subtle shadow, volumetric rays` |

**Special Light Patterns**：
| 模式 | 描述 | 提示词 |
|------|------|--------|
| Komorebi 斑驳光影 | 树叶缝隙透下的光影 | `dappled sunlight filtering through leaves, intricate shadow patterns on the ground` |
| Selective Color 局部色彩 | 黑白中局部高亮 | `black and white with selective golden amber eye glow` |

### L6 镜头叙事层（Camera as Narrator）

镜头选择本身就是叙事。

```
Camera Setup:
  Focal Length: [mm] — [why this focal length for this story]
  Aperture: f/[value] — [DOF intention]
  Camera Position: [height, angle, distance]
  Camera Relationship: [intimate/observational/voyeuristic/confrontational]

  Framing:
    [Shot type: extreme close-up / close-up / medium / full / wide / extreme wide]
    [Framing device: doorway / window / mirror / between objects]
    [Subject placement in frame: center / rule of thirds / edge]
    [Aspect ratio: 3:4 portrait / 16:9 cinema / 1:1 square / 2.39:1 anamorphic]

  Film Stock / Grade:
    [Specific film stock for color science],
    [Grain level: none / subtle / heavy],
    [Grade: lifted blacks / crushed shadows / warm highlights / split toning],
```

**Film-Simulation 胶片模拟词库**（数据高频：film grain 78 次）：
```
Kodak Portra 400 — 肤色柔美、暖调人像
Fujifilm Superia — 日常纪实、自然饱和度
Fujifilm Classic Negative (NC) — 经典负片、复古褪色感
Cinestill 800T — 霓虹灯、夜景、暖调高感
Fujifilm Classic Chrome — 低饱和、电影感
Kodak Vision3 — 电影级色偏
```

**Composition-Geometry 构图几何**：
```
Leading lines, spiral leading lines, symmetrical, vertically mirrored,
Golden ratio, spiral arc, rule of thirds
```

**多帧叙事支持 (Multi-frame Narrative)**：
```
9-Photo Collage：九宫格故事集，多帧描述完整叙事弧
Comic strip layout：漫画分镜式布局
Split-screen：左右/上下对比叙事
Diptych：双联画对比
```

**Camera Relationship 扩展**：
```
intimate / observational / voyeuristic / confrontational,
Candid smartphone photography style, raw, unposed — 手机抓拍真实感
```

**焦段叙事对照**：
```
24mm — 观众被拉入场景，环境压迫感，广角畸变增加不安
35mm — 纪录片视角，观察者距离，环境与人物平衡
50mm — 人眼视角，最自然最不干预，日常感
85mm — 浪漫压缩，背景虚化包裹主体，人像黄金焦段
135mm — 偷窥者视角，极度压缩，主体被背景虚化隔离
```

### L7 Negative 层

**复杂场景专用 Negative**：
```
inconsistent shadow directions between subjects,
subject appears composited onto background,
different color temperatures on different subjects,
floating objects without physical support,
impossible perspective / broken spatial logic,
anachronistic elements (wrong era props),
[standard portrait negatives: deformed fingers, plastic skin, etc.],
empty dead space with no purpose,
cluttered composition with no focal hierarchy
```

---

## 完整输出模板

```
[Story moment and emotional anchor in physical terms].

[Film stock], [color palette], [era aesthetic],
[overall mood described through light and space].

[Composition type], [framing device], [aspect ratio],
[depth layer: foreground element → subject → background].

Primary subject:
  [Complete L2 description: demographics, outfit, pose, expression, skin].

[Secondary subjects if any: L3 descriptions].

Environment:
  [Complete L4 set dressing: surfaces, props, ambient objects, atmosphere].

Lighting:
  [Complete L5: practical sources, key light, fill, special effects, color mood].

Camera:
  [L6: focal length, aperture, position, DOF, film grain].

Negative: [L7 scene-specific negatives]
```

---

## 完整使用示例

**用户输入**：一个日本小酒吧里的场景，一个女警察和两个老警察，80年代氛围

**引擎输出**：

```
A candid moment of quiet camaraderie in a cramped Tokyo bar,
three police officers in a rare off-duty pause,
warm tungsten-lit intimacy against darkness beyond.

Shot on Kodak Portra 800, warm amber palette with desaturated shadows,
1980s analog snapshot aesthetic with visible film grain,
intimate authentic mood, Araki-meets-Moriyama street photography.

Frame-within-frame composition shot through worn wooden doorway,
doorjambs creating natural vignette, 3:4 vertical portrait orientation,
foreground: edge of door frame, midground: three figures, background: cluttered shelves.

Primary subject — center:
  Young Japanese woman, 25, porcelain skin with subtle warm undertones,
  straight chestnut-brown hair in neat ponytail, straight bangs framing face,
  fitted light-blue police uniform shirt, gold buttons and badge,
  dark green flat ribbon tie at collar with short tails like gift bow,
  navy skirt, dark belt with brass buckle, white gloves, black shoes.

  Seated on narrow wooden bench, knees together, ankles tucked slightly back,
  torso subtly leaning forward from hips, forearms relaxed,
  gloved hands overlapping lightly above small glass tumbler between knees,
  chin slightly lowered, gazing directly at camera.

  Expression: composed and quietly confident, eyes engaged but not smiling,
  oxygen-fresh makeup — translucent dewy base, barely-there eyeliner,
  soft straight brows, faint rosy blush, vivid red lips not glossy,
  subtle inner-corner highlight making eyes appear bright.

  Skin: natural subsurface scattering, visible pore texture in tungsten warmth,
  fine peach fuzz catching amber backlight on jawline.

Secondary subject A — left:
  Older Japanese policeman leaning inward from doorway,
  cap slightly tilted, short-sleeve standard police shirt,
  one elbow resting on knee, hand hanging loosely,
  attentive calm expression, body angled toward center.

Secondary subject B — right:
  Older Japanese policeman in striped short-sleeve shirt, dark tie, badge,
  square cap with gold band, arms firmly crossed over chest,
  body angled toward the woman, reserved thoughtful expression.

Environment set dressing:
  Floor: narrow passageway, lacquered wood with faint reflections.
  Walls: aged wooden panels, cluttered with:
    - Vintage Japanese posters (faded, curling at edges)
    - Handwritten price slips and menus pinned among utensils
    - Shallow shelves stacked tight with glassware and liquor bottles
  Ceiling: low, cords and small trinkets hanging overhead.
  Props: small glass tumblers, old bottles, narrow wooden counter.
  Atmosphere: warm humid air implied by faint condensation on glass,
    slight haze from ambient warmth.

Lighting:
  Practical: one or two bare incandescent bulbs casting localized amber halos,
    light falling off rapidly into surrounding darkness.
  Key: warm tungsten from overhead-left, approximately 3200K.
  Fill: minimal — ambient bounce from warm wooden surfaces, ratio 4:1.
  Special: specular highlights on glass bottles, warm glow on metal badges.
  Shadows: soft-edged but deep, pooling under bench and behind figures.

Camera:
  35mm focal length equivalent — conversational distance, 1-1.5 meters,
  f/2.0, eye-level, shallow depth of field,
  center-weighted metering, slight overexposure in highlights (+0.3 EV),
  Kodak Portra 800 grain texture, low saturation color,
  warm cinematic color grading, 3:4 vertical framing.

Negative: modern LED lighting, bright daylight, neon colors,
  clean modern interior, empty space, posed model look,
  plastic skin, deformed fingers, inconsistent shadow direction,
  anachronistic objects (smartphones, modern signage),
  composited look, different color temperature on different subjects
```

---

## JSON 标签输出格式

### 场景叙事通用 JSON 模板

```json
{
  "image_prompt": {
    "style": "[film still / documentary street photography / cinematic portrait / environmental narrative]",
    "narrative_type": "[movie storyboard / street snapshot / intimate moment / dramatic scene]",
    "story_anchor": {
      "moment": "[meeting / parting / waiting / discovery / conflict / daily life]",
      "emotional_tone": "[physical metaphor for emotion]",
      "time_setting": {
        "era": "[decade / period]",
        "season": "[spring / summer / autumn / winter]",
        "time_of_day": "[dawn / morning / noon / golden hour / dusk / night]"
      },
      "cultural_context": "[region / social class / subculture]"
    },
    "primary_subject": {
      "demographics": {
        "gender": "[male / female / non-binary]",
        "age": "[age]",
        "ethnicity": "[ethnicity]"
      },
      "physical_features": "[specific face structure, hair, distinguishing features]",
      "outfit": {
        "garments": ["[item 1 with material, color, condition]", "[item 2]"],
        "accessories": ["[accessory 1]", "[accessory 2]"]
      },
      "pose": {
        "body_mechanics": "[weight distribution, limb positions, torso angle]",
        "hands": "[specific finger placement]",
        "head": "[tilt, chin position, gaze direction]"
      },
      "expression": {
        "eyes": "[eye state and direction]",
        "mouth": "[mouth shape]",
        "brow": "[brow position]",
        "overall": "[internal state suggested]"
      },
      "skin_texture": {
        "rendering": "[SSS / pores / imperfections]",
        "hair": "[style and light interaction]",
        "makeup": "[specific products if applicable]"
      }
    },
    "secondary_subjects": [
      {
        "id": "A",
        "relation": "[position relative to protagonist]",
        "distance": "[proximity]",
        "pose": "[specific pose]",
        "outfit": "[distinguishing elements]",
        "expression": "[relationship to protagonist]",
        "interaction": "[looking at / away / unaware]"
      }
    ],
    "environment": {
      "surfaces": {
        "floor": "[material, condition, color, reflectivity]",
        "walls": "[material, color, decorations, condition]",
        "ceiling": "[visible? type, height feeling]"
      },
      "key_props": [
        {
          "name": "[prop name]",
          "description": "[detailed description]",
          "position": "[where in scene]",
          "condition": "[new / worn / damaged]",
          "narrative_role": "[why it matters to the story]"
        }
      ],
      "ambient_objects": "[objects that fill space naturally]",
      "clutter_level": "[tidy / lived-in / cluttered]",
      "era_details": "[period-appropriate details]",
      "atmospheric_elements": {
        "air_quality": "[haze / dust / steam / rain / condensation]",
        "light_interaction": "[particles in beams / reflections]",
        "depth_planning": {
          "foreground": "[framing objects]",
          "midground": "[subject and surroundings]",
          "background": "[receding space, depth cues]"
        }
      }
    },
    "lighting": {
      "practical_sources": [
        {
          "type": "[bare bulb / neon sign / window / candle / screen glow]",
          "position": "[where in frame]",
          "quality": "[warm/cool, intensity, spread]"
        }
      ],
      "key_light": {
        "direction": "[direction and angle]",
        "quality": "[hard / soft]",
        "color_temperature": "[K value or description]"
      },
      "fill_strategy": {
        "type": "[bounce / ambient / secondary source]",
        "ratio": "[fill ratio to key]"
      },
      "special_effects": "[god rays / neon spill / screen glow / reflected light]",
      "shadows": "[direction, hardness, meaning]",
      "color_mood": {
        "overall": "[color temperature]",
        "contrast": "[warm subject vs cool environment or vice versa]"
      }
    },
    "camera": {
      "focal_length": "[mm with narrative reason]",
      "aperture": "f/[value with DOF intention]",
      "position": {
        "height": "[camera height]",
        "angle": "[up/down/level]",
        "distance": "[distance to subject]"
      },
      "relationship": "[intimate / observational / voyeuristic / confrontational]",
      "framing": {
        "shot_type": "[extreme close-up / close-up / medium / full / wide / extreme wide]",
        "framing_device": "[doorway / window / mirror / between objects]",
        "subject_placement": "[center / rule of thirds / edge]",
        "aspect_ratio": "[3:4 / 16:9 / 1:1 / 2.39:1]"
      },
      "film_stock": {
        "type": "[specific film stock]",
        "grain": "[none / subtle / heavy]",
        "grade": "[lifted blacks / crushed shadows / warm highlights / split toning]"
      }
    },
    "aspect_ratio": "[specified]",
    "negative": [
      "inconsistent shadow directions", "composited look",
      "different color temperatures on subjects", "floating objects",
      "broken spatial logic", "anachronistic elements",
      "empty dead space", "cluttered with no focal hierarchy"
    ]
  }
}
```

---

## 使用示例（升级版）

### 示例 1：日本小酒吧警察场景（JSON 输出）

**用户输入**：一个日本小酒吧里的场景，一个女警察和两个老警察，80 年代氛围

**引擎输出**：

```json
{
  "image_prompt": {
    "style": "1980s analog snapshot aesthetic with film grain",
    "narrative_type": "candid off-duty moment in cramped Tokyo bar",
    "story_anchor": {
      "moment": "quiet camaraderie during rare off-duty pause",
      "emotional_tone": "warm tungsten-lit intimacy against darkness beyond",
      "time_setting": {
        "era": "1980s Showa period",
        "season": "unspecified indoor scene",
        "time_of_day": "night, late evening"
      },
      "cultural_context": "Tokyo working-class police officers, Japanese bar culture"
    },
    "primary_subject": {
      "demographics": {
        "gender": "female",
        "age": 25,
        "ethnicity": "Japanese"
      },
      "physical_features": "porcelain skin with warm undertones, straight chestnut-brown hair in neat ponytail with bangs",
      "outfit": {
        "garments": [
          "fitted light-blue police uniform shirt with gold buttons and badge",
          "dark green flat ribbon tie at collar with short tails",
          "navy skirt, dark belt with brass buckle"
        ],
        "accessories": ["white gloves", "black dress shoes"]
      },
      "pose": {
        "body_mechanics": "seated on narrow wooden bench, knees together, ankles tucked slightly back, torso subtly leaning forward",
        "hands": "gloved hands overlapping lightly above small glass tumbler between knees",
        "head": "chin slightly lowered, gazing directly at camera"
      },
      "expression": {
        "eyes": "engaged with camera, not smiling, bright with subtle inner-corner highlight",
        "mouth": "closed-lip, composed",
        "brow": "relaxed",
        "overall": "quietly confident, composed"
      },
      "skin_texture": {
        "rendering": "natural subsurface scattering, visible pore texture in tungsten warmth",
        "hair": "straight ponytail catching amber backlight, fine peach fuzz on jawline",
        "makeup": "oxygen-fresh, translucent dewy base, barely-there eyeliner, soft straight brows, faint rosy blush, vivid red lips"
      }
    },
    "secondary_subjects": [
      {
        "id": "A",
        "relation": "left side, leaning inward from doorway",
        "distance": "arm's length from protagonist",
        "pose": "one elbow resting on knee, hand hanging loosely",
        "outfit": "cap slightly tilted, short-sleeve standard police shirt",
        "expression": "attentive calm, body angled toward center",
        "interaction": "looking at protagonist"
      },
      {
        "id": "B",
        "relation": "right side",
        "distance": "arm's length from protagonist",
        "pose": "arms firmly crossed over chest",
        "outfit": "striped short-sleeve shirt, dark tie, badge, square cap with gold band",
        "expression": "reserved thoughtful",
        "interaction": "body angled toward the woman"
      }
    ],
    "environment": {
      "surfaces": {
        "floor": "narrow passageway, lacquered wood with faint reflections",
        "walls": "aged wooden panels, cluttered with posters and utensils",
        "ceiling": "low, cords and small trinkets hanging overhead"
      },
      "key_props": [
        {
          "name": "vintage Japanese posters",
          "description": "faded, curling at edges",
          "position": "on walls",
          "condition": "worn, aged",
          "narrative_role": "establishes 1980s era and working-class setting"
        },
        {
          "name": "shallow shelves",
          "description": "stacked tight with glassware and liquor bottles",
          "position": "background walls",
          "condition": "lived-in, well-used",
          "narrative_role": "authentic bar atmosphere"
        }
      ],
      "ambient_objects": "handwritten price slips, menus, small glass tumblers, old bottles, narrow wooden counter",
      "clutter_level": "lived-in, cramped but organized",
      "era_details": "vintage posters, analog price slips, Showa-period bar fixtures",
      "atmospheric_elements": {
        "air_quality": "warm humid air, faint condensation on glass, slight haze",
        "light_interaction": "specular highlights on glass bottles, warm glow on metal badges",
        "depth_planning": {
          "foreground": "edge of door frame creating frame-within-frame",
          "midground": "three figures at bar",
          "background": "cluttered shelves receding into darkness"
        }
      }
    },
    "lighting": {
      "practical_sources": [
        {
          "type": "bare incandescent bulbs",
          "position": "overhead, one or two visible",
          "quality": "warm amber halos, light falling off rapidly into darkness"
        }
      ],
      "key_light": {
        "direction": "overhead-left, approximately 3200K",
        "quality": "warm tungsten, localized",
        "color_temperature": "3200K"
      },
      "fill_strategy": {
        "type": "ambient bounce from warm wooden surfaces",
        "ratio": "4:1, dark moody"
      },
      "special_effects": "specular highlights on glass bottles, warm glow on metal badges",
      "shadows": "soft-edged but deep, pooling under bench and behind figures",
      "color_mood": {
        "overall": "warm amber with desaturated shadows",
        "contrast": "warm subject and interior vs darkness beyond"
      }
    },
    "camera": {
      "focal_length": "35mm - conversational distance, documentary observer perspective",
      "aperture": "f/2.0 - shallow depth for intimate isolation",
      "position": {
        "height": "eye-level",
        "angle": "straight-on through doorway",
        "distance": "1-1.5 meters"
      },
      "relationship": "intimate observational, as if viewer is entering the bar",
      "framing": {
        "shot_type": "medium shot, three figures framed by doorway",
        "framing_device": "worn wooden doorway creating natural vignette",
        "subject_placement": "center-weighted, protagonist at center",
        "aspect_ratio": "3:4 vertical portrait orientation"
      },
      "film_stock": {
        "type": "Kodak Portra 800",
        "grain": "visible film grain texture",
        "grade": "warm cinematic color grading, low saturation, slight overexposure in highlights (+0.3 EV)"
      }
    },
    "aspect_ratio": "3:4",
    "negative": [
      "modern LED lighting", "bright daylight", "neon colors",
      "clean modern interior", "empty space", "posed model look",
      "plastic skin", "deformed fingers", "inconsistent shadow direction",
      "anachronistic objects (smartphones, modern signage)",
      "composited look", "different color temperatures on subjects"
    ]
  }
}
```
