G
提示词写作
10 分钟阅读更新于 2026-05-22

结构化 Prompt 拆解:主体、风格、参数与负面词

把 prompt 拆成可复用的功能模块,建立自己的 prompt 模板库,让创作可批量、可复制。
prompt 结构
模板库
进阶

为什么需要结构化

写过 50 个以上 prompt 的人会有一个共同感受:自己每次都在重复造轮子。"光线"、"镜头"、"风格"这些模块每次都从零想起,效率极低,质量也不稳定。

结构化 prompt 的核心理念,是把每个常用模块抽象成可替换的"卡槽",建立自己的 prompt 模板库。下次出图时只需要选择卡槽内容,就能快速组合出高质量 prompt。

拆解一个完整 prompt

我们先看一个写得不错的图像 prompt,然后逐块拆解:

A 28-year-old East Asian woman with shoulder-length wavy hair, wearing a cream beige knit sweater, sitting by a large window in a Scandinavian-style cafe, warm afternoon light filtering through, shallow depth of field with bokeh background, shot on 50mm f/1.4, cinematic film grain, color graded with teal and warm highlights, --ar 4:5

拆开看:

  • 主体身份:A 28-year-old East Asian woman
  • 主体外观:with shoulder-length wavy hair, wearing a cream beige knit sweater
  • 主体动作:sitting by a large window
  • 环境:in a Scandinavian-style cafe
  • 光线:warm afternoon light filtering through
  • 景深/虚化:shallow depth of field with bokeh background
  • 镜头:shot on 50mm f/1.4
  • 质感:cinematic film grain
  • 调色:color graded with teal and warm highlights
  • 参数:--ar 4:5
  • 每一块都对应一个独立的卡槽。换句话说,你只要建立 10 个卡槽的备选库,就能组合出几乎无限种风格的 prompt。

    八个核心卡槽与可替换内容

    卡槽 1:主体身份与外观

    人物:年龄段 + 种族 + 性别 + 发型 + 服装。

    物品:材质 + 颜色 + 形状 + 状态。

    场景:地理位置 + 建筑风格 + 时代背景。

    例如人物外观可以快速替换成:

  • a 35-year-old man with short black hair, wearing a navy linen shirt
  • a young girl with twin braids, in a yellow cotton dress
  • 卡槽 2:环境与场景

    把常用场景做成片段表:

  • 北欧咖啡馆:a Scandinavian-style cafe with light wood furniture
  • 日式居酒屋:a small Japanese izakaya with wooden counter and red lanterns
  • 都市天台:an urban rooftop with city skyline at dusk
  • 海边木屋:a seaside wooden cabin with weathered planks
  • 卡槽 3:光线

    光线是从"还行"到"惊艳"的最关键一步:

  • soft morning light from a north-facing window
  • golden hour rim light
  • harsh midday sunlight with hard shadows
  • moody overcast diffused light
  • neon signage reflections at night
  • candlelight with warm orange glow
  • 卡槽 4:镜头与焦段

    不同焦段决定空间感:

  • 24mm 广角:宽阔环境感,适合风景和环境人像
  • 35mm:自然记录感,街拍常用
  • 50mm:标准视角,最接近人眼
  • 85mm:人像专用,背景压缩感强
  • 100mm 微距:细节特写
  • 卡槽 5:景深与构图

  • shallow depth of field with creamy bokeh
  • deep focus from foreground to background
  • centered composition with symmetry
  • rule of thirds with subject on the left
  • low angle hero shot
  • top-down flat lay
  • 卡槽 6:质感与胶片

  • shot on Kodak Portra 400 with subtle grain
  • digital cinema look with smooth highlights
  • Polaroid instant film aesthetic
  • 80s VHS analog texture
  • glossy commercial product shot
  • 卡槽 7:调色

  • teal and orange cinematic grade
  • pastel film palette with muted tones
  • moody desaturated greens and grays
  • vibrant tropical color pop
  • monochrome with selective gold accents
  • 卡槽 8:参数

  • 画幅比例:--ar 16:9 / 4:5 / 1:1 / 2:3
  • 清晰度/质量:--q 2 / --quality high
  • 风格强度:--stylize 250
  • 如何建立自己的模板库

    我推荐用 Notion 或飞书建一个表格,列名就是上面这 8 个卡槽。每次看到喜欢的作品,反推它的 prompt,把每个卡槽的内容填进对应单元格。

    积累 30-50 行后,你的模板库就足够覆盖大多数日常需求。生成新作品时,只需要按场景挑选每个卡槽的内容,组合后就是一个高质量 prompt。

    负面词的正确用法

    负面词(negative prompt)是另一个被低估的卡槽。它告诉模型"不要画什么"。常用通用负面词:

  • 人物:deformed hands, extra fingers, mutated face, asymmetric eyes
  • 整体:blurry, low quality, watermark, signature, jpeg artifacts
  • 风格:cartoonish, anime(如果想要写实), oversaturated colors
  • 不同模型对负面词支持程度不一样:

  • Stable Diffusion 系:负面词非常关键,可以大幅改变结果
  • Midjourney:用 --no 实现,效果较弱
  • Seedream / Imagen:可在专门字段填写
  • 视频 prompt 的特殊卡槽

    视频比图像多三个关键卡槽:

    卡槽 9:摄影机运动

  • static shot
  • slow push-in
  • pull-back reveal
  • handheld tracking shot
  • crane up
  • whip pan
  • 卡槽 10:主体动作时长与节奏

  • subject slowly turns toward the camera over 3 seconds
  • continuous movement throughout
  • subtle ambient motion (hair, fabric, leaves)
  • 卡槽 11:场景转换(如果支持)

  • single continuous shot
  • match cut from object A to object B
  • dissolve transition
  • 一个实战案例:从需求到 prompt

    需求:朋友圈晒一张精致的早咖啡照片。

    按卡槽组合:

  • 主体:a single white ceramic cup of latte with delicate latte art (a tulip pattern)
  • 环境:on a marble countertop in a minimalist Japanese cafe
  • 光线:soft morning window light from the left
  • 镜头:50mm macro lens
  • 景深:shallow depth of field with creamy bokeh in background
  • 质感:shot on Fujifilm with subtle film grain
  • 调色:warm muted tones, slight magenta tint in shadows
  • 参数:--ar 4:5

最终 prompt:

A single white ceramic cup of latte with delicate tulip latte art, on a marble countertop in a minimalist Japanese cafe, soft morning window light from the left, 50mm macro lens, shallow depth of field with creamy bokeh, shot on Fujifilm with subtle film grain, warm muted tones, slight magenta tint in shadows --ar 4:5

这种结构化产出比凭感觉写 prompt 稳定 3-5 倍。一旦建立起自己的卡槽库,写 prompt 不再是创意瓶颈,而是一个工程化的拼装过程。