Files
my-vault/03_Resources/Prompt-Library/Gemini-Image-Prompt-Template.md

10 KiB

title, tags, created, category, language
title tags created category language
Gemini 图片生成提示词模板
prompt
ai-art
gemini
image-generation
2026-01-05 AI Art Prompts 中文/English

Gemini 图片生成提示词模板

📋 目录


中文翻译版

{
  "subject": {
    "description": "年轻的东亚女性,侧身站立,回头看向观众",
    "pose": "回眸姿态,头部微微倾斜,身体背向镜头",
    "expression": "柔和、中性偏忧郁,沉思的眼神,嘴唇微微张开"
  },
  "clothing": {
    "upper_body": "深色、结构感的夹克或西装外套,可能有细条纹或纹理面料",
    "visibility": "大部分被阴影和前景元素遮挡"
  },
  "hair": {
    "color": "深棕色到黑色",
    "style": "长发、松散的波浪、略显凌乱的质感",
    "lighting_interaction": "强烈的逆光效果,在散落的发丝上形成发光的光晕(轮廓光)"
  },
  "face": {
    "skin_tone": "白皙/浅色皮肤,带有温暖的底色",
    "features": "柔和的面部轮廓,杏仁状眼睛,自然眉形",
    "makeup": "极简,'裸妆'效果,自然唇色"
  },
  "accessories": {
    "visible_items": "由于构图和光线原因,没有清晰可见的配饰"
  },
  "environment": {
    "setting": "杂乱的室内空间,类似工作室、储藏室或旧书店",
    "background_elements": "木制架子上堆满了不清晰的物品、纸张、盒子和塑料包装",
    "foreground_elements": "模糊的半透明物体(可能是玻璃、塑料薄膜或防尘罩)创造出层次和反射"
  },
  "lighting": {
    "source": "从左侧窗户射入的自然阳光",
    "quality": "黄金时段,温暖、柔和但有方向性",
    "effects": "强烈的逆光/轮廓光照在头发上,光线中漂浮的尘埃粒子,镜头光晕,柔和眩光,光影之间的强烈对比"
  },
  "camera": {
    "perspective": "平视角度,通过前景障碍物(玻璃或杂物)拍摄",
    "focus": "浅景深(散景),眼睛/面部清晰对焦,背景和前景模糊",
    "lens_character": "柔焦,胶片颗粒模拟,轻微光晕效果"
  },
  "style": {
    "aesthetic": "电影感、氛围感、怀旧、生活切片、空灵",
    "mood": "梦幻、亲密、安静、感伤",
    "visual_reference": "胶片摄影、日式摄影集风格"
  }
}

英文原版

{
  "subject": {
    "description": "Young East Asian woman, positioned in profile turning to look back at the viewer.",
    "pose": "Looking over shoulder, slight head tilt, body angled away from camera.",
    "expression": "Soft, neutral to slightly melancholic, contemplative gaze, lips slightly parted."
  },
  "clothing": {
    "upper_body": "Dark, structured jacket or blazer, possibly pinstriped or textured fabric.",
    "visibility": "Mostly obscured by shadow and foreground elements."
  },
  "hair": {
    "color": "Dark brown to black.",
    "style": "Long, loose, tousled waves, slightly messy texture.",
    "lighting_interaction": "Strongly backlit, creating a glowing halo effect on loose strands (rim lighting)."
  },
  "face": {
    "skin_tone": "Fair/pale with warm undertones.",
    "features": "Soft facial structure, almond-shaped eyes, natural eyebrows.",
    "makeup": "Minimal, 'no-makeup' look, natural lip color."
  },
  "accessories": {
    "visible_items": "None clearly visible due to framing and lighting."
  },
  "environment": {
    "setting": "Cluttered interior space, resembling a workshop, storage room, or old bookstore.",
    "background_elements": "Wooden shelves stacked with indistinct objects, papers, boxes, and plastic packaging.",
    "foreground_elements": "Blurred translucent objects (possibly glass, plastic sheets, or dust covers) creating layers and reflections."
  },
  "lighting": {
    "source": "Natural sunlight streaming through a window on the left.",
    "quality": "Golden hour, warm, diffuse but directional.",
    "effects": "Strong backlighting/rim lighting on hair, volumetric dust motes dancing in the light, lens flares, soft glare, dramatic contrast between light and shadow."
  },
  "camera": {
    "perspective": "Eye-level, shot through a foreground obstruction (glass or clutter).",
    "focus": "Shallow depth of field (bokeh), sharp focus on eyes/face, blurred background and foreground.",
    "lens_character": "Soft focus, film grain simulation, slight bloom effect."
  },
  "style": {
    "aesthetic": "Cinematic, atmospheric, nostalgic, slice-of-life, ethereal.",
    "mood": "Dreamy, intimate, quiet, sentimental.",
    "visual_reference": "Film photography, Japanese photobook style."
  }
}

设计指南

🎯 核心设计理念

这个提示词模板采用结构化 JSON 格式,将图片生成的各个维度明确拆分,确保 AI 能够精确理解并生成符合预期的图像。

📚 模块说明

1. Subject(主体) - 核心人物

  • description: 人物的基本定位和动作
  • pose: 具体姿态细节
  • expression: 面部表情和情绪

设计要点: 从整体到细节,先定义"是谁",再描述"在做什么",最后补充"表情如何"

2. Clothing(服装) - 着装细节

  • upper_body/lower_body: 分区域描述
  • visibility: 可见度说明(处理遮挡情况)

设计要点: 不仅描述服装本身,还要说明可见程度,这对光影和构图很重要

3. Hair(发型) - 发型与光线

  • color: 颜色
  • style: 风格和质感
  • lighting_interaction: 与光线的交互效果

设计要点: 头发是体现光线效果的关键元素,单独设置光线交互项能显著提升画面质感

4. Face(面部) - 面部特征

  • skin_tone: 肤色和色调
  • features: 五官特点
  • makeup: 化妆程度

设计要点: 肤色要包含"底色"描述(冷/暖),这影响整体色调

5. Accessories(配饰) - 可选装饰

  • visible_items: 可见的配饰

设计要点: 即使没有配饰,也应说明"无",这能避免 AI 随机添加

6. Environment(环境) - 场景设定

  • setting: 整体场景类型
  • background_elements: 背景元素
  • foreground_elements: 前景元素

设计要点: 前景/背景分离描述,前景元素可以创造景深和叙事层次

7. Lighting(光照) - 光线系统 核心

  • source: 光源位置和类型
  • quality: 光线品质(硬/软、冷/暖)
  • effects: 具体光效(光晕、尘埃、镜头光斑等)

设计要点: 光照是照片级渲染的灵魂。务必明确:

  • 光从哪里来?
  • 是什么时间的光?(黄金时段/正午/蓝调时刻)
  • 有哪些特殊效果?(体积光、轮廓光、镜头光晕)

8. Camera(镜头) - 摄影技术

  • perspective: 视角和位置
  • focus: 对焦方式(景深)
  • lens_character: 镜头特性(柔焦/颗粒/畸变)

设计要点: 模拟真实摄影师的思维:

  • 我站在哪里拍?
  • 焦点在哪里?
  • 用什么镜头?(85mm 人像 / 35mm 纪实 / 50mm 标准)

9. Style(风格) - 整体美学

  • aesthetic: 美学关键词
  • mood: 情绪氛围
  • visual_reference: 视觉参考(可引用知名摄影师/画家/电影风格)

设计要点: 这是"元指令"层,用风格关键词统领全局,如:

  • Cinematic → 宽画幅、色彩分级
  • Film photography → 颗粒、色偏
  • Japanese photobook → 自然、克制、留白

🔧 使用技巧

最佳实践

  1. 从宏观到微观: 先定义风格和氛围,再填充细节

  2. 光线优先: 光照决定 80% 的画面质量,务必详细描述

  3. 具体化描述: 避免 "beautiful"、"nice",用具体特征:

    • "beautiful lighting"
    • "golden hour sunlight with soft rim lighting"
  4. 视觉参考: 善用 visual_reference 引用已知风格:

    • "Wong Kar-wai cinematography"(王家卫电影风格)
    • "Annie Leibovitz portrait"(安妮·莱博维茨人像)
    • "Wes Anderson symmetry"(韦斯·安德森对称构图)

⚠️ 常见误区

  1. 过度堆砌: 不要在一个字段里塞太多关键词,分散到各模块
  2. 忽略负面: 如果某些元素"不要出现",在对应字段明确说明
  3. 矛盾指令: 检查各模块是否协调(如 "sharp focus" 和 "soft bokeh" 的平衡)

🎨 变体示例

示例 1: 赛博朋克街头人像

{
  "subject": {
    "description": "Androgynous figure in futuristic streetwear",
    "pose": "Leaning against neon-lit wall, arms crossed",
    "expression": "Stoic, cybernetic eye glowing faintly"
  },
  "lighting": {
    "source": "Neon signs (pink/cyan) + overhead street light",
    "quality": "Hard, high contrast, color-split lighting",
    "effects": "Neon reflections on wet pavement, lens flares"
  },
  "style": {
    "aesthetic": "Cyberpunk, dystopian, neo-noir",
    "mood": "Gritty, mysterious, tech-noir",
    "visual_reference": "Blade Runner cinematography"
  }
}

示例 2: 自然光人像

{
  "lighting": {
    "source": "Overcast sky, soft window light from right",
    "quality": "Diffused, even, gentle shadows",
    "effects": "Subtle catchlight in eyes, no harsh shadows"
  },
  "camera": {
    "perspective": "Slightly above eye level, close-up",
    "focus": "Eyes sharp, ears slightly soft (f/2.8)",
    "lens_character": "85mm portrait lens, creamy bokeh"
  },
  "style": {
    "aesthetic": "Editorial, clean, minimalist",
    "mood": "Calm, authentic, approachable",
    "visual_reference": "Peter Lindbergh natural portraits"
  }
}

📊 权重优先级(对最终效果影响度)

  1. Lighting (40%) - 光线是王道
  2. Style (25%) - 整体风格统领
  3. Subject (15%) - 主体定位
  4. Camera (10%) - 技术细节
  5. Environment (10%) - 场景氛围

🔗 相关链接


创建日期: 2026-01-05 最后更新: 2026-01-05 版本: 1.0