imagine

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Imagine: Imagen Prompt Architect

Imagine: Imagen Prompt Architect

Generate detailed, professional prompts for Google Imagen 3/4 that leverage its natural language processing strengths and technical parameter understanding.
为Google Imagen 3/4生成详尽、专业的提示词,充分发挥其在自然语言处理和技术参数理解方面的优势。

Core Prompt Structure

核心提示词结构

Imagen uses a Subject-Context-Style framework powered by T5-XXL language models. Build prompts in three layers:
  1. Subject: Primary focus (person, object, animal, scenery)
  2. Context: Environment, placement, background, setting
  3. Style: Aesthetic approach (photographic, artistic, specific technique)
Imagen采用由T5-XXL语言模型驱动的Subject-Context-Style(主体-场景-风格)框架。提示词需分为三个层级构建:
  1. 主体(Subject):核心焦点(人物、物体、动物、风景)
  2. 场景(Context):环境、位置、背景、设定
  3. 风格(Style):美学表现手法(摄影风、艺术风、特定技法)

Photography Prompts Pattern

摄影类提示词模板

Start with explicit photography signals:
"A photo of [detailed subject description], [context/placement], [technical specifications]"
Technical specifications include:
  • Lens type: 24-85mm (portraits), 60-105mm macro (products), 10-24mm wide-angle (landscapes)
  • Lighting: natural light, studio lighting, golden hour, dramatic lighting
  • Quality modifiers: sharp focus, high detail, professional photography, 8K resolution
  • Camera/equipment: shot on ARRI Alexa, 35mm film, DSLR
Example:
"A photo of an elderly woman with weathered hands holding a steaming cup of tea, soft sunlight highlighting her wrinkles and smile, 35mm lens, warm and intimate mood, natural outdoor setting, sharp focus, professional portrait photography"
以明确的摄影标识开头:
"A photo of [详细主体描述], [场景/位置], [技术参数]"
技术参数包括:
  • 镜头类型:24-85mm(人像)、60-105mm微距(产品)、10-24mm广角(风景)
  • 光线:natural light, studio lighting, golden hour, dramatic lighting
  • 质量修饰词:sharp focus, high detail, professional photography, 8K resolution
  • 相机/设备:shot on ARRI Alexa, 35mm film, DSLR
示例
"A photo of an elderly woman with weathered hands holding a steaming cup of tea, soft sunlight highlighting her wrinkles and smile, 35mm lens, warm and intimate mood, natural outdoor setting, sharp focus, professional portrait photography"

Artistic/Stylized Prompts Pattern

艺术/风格化提示词模板

For non-photographic styles, read the relevant artstyle reference file first, then layer:
Foundation:
"[Art style name] aesthetic, [medium/technique], [key visual characteristics]"
Character/Subject: Specific features, proportions, design elements
Environment: Scene composition, spatial elements, atmospheric details
Atmosphere: Mood, color palette, lighting approach
Technical: Rendering specifics, texture, quality markers
对于非摄影风格的提示词,请先阅读相关艺术风格参考文件,再按以下层级构建:
基础框架
"[Art style name] aesthetic, [媒介/技法], [核心视觉特征]"
人物/主体:具体特征、比例、设计元素
环境:场景构图、空间元素、氛围细节
氛围:情绪、调色板、光线手法
技术参数:渲染细节、纹理、质量标识

Using Artstyle References

艺术风格参考文件的使用方法

Step 1: List Available Artstyles

步骤1:列出可用的艺术风格

Before creating any artistic/stylized prompts, ALWAYS list available artstyle files:
Use bash to check:
ls /mnt/skills/user/imagine/references/artstyle-*.md
This returns all available artstyle reference files. Present the list to the user so they can choose, or intelligently select based on their request.
在创建任何艺术/风格化提示词之前,务必先列出可用的艺术风格参考文件:
使用bash命令查看:
ls /mnt/skills/user/imagine/references/artstyle-*.md
该命令会返回所有可用的艺术风格参考文件。请将列表展示给用户,让他们选择合适的风格,或根据他们的需求智能推荐。

Step 2: Read the Selected Artstyle Reference

步骤2:阅读选定的艺术风格参考文件

Once an artstyle is selected (either by user or inferred from request):
  1. Read the complete
    references/artstyle-[name].md
    file to understand the visual language
  2. Apply the layered prompting strategy from the reference
  3. Use the technical descriptors provided for style-specific characteristics
  4. Follow the style-specific guidelines and vocabulary from the reference
一旦选定艺术风格(由用户选择或根据需求推断):
  1. 完整阅读
    references/artstyle-[name].md
    文件,理解其视觉语言
  2. 应用参考文件中的分层提示词构建策略
  3. 使用参考文件中提供的风格特定技术描述词
  4. 遵循参考文件中的风格特定指南和词汇

Artstyle File Naming Convention

艺术风格文件命名规范

All artstyle references follow the pattern:
artstyle-[name].md
Examples:
  • artstyle-sciencesaru.md
    - Science SARU animation style
  • artstyle-corporate-memphis.md
    - Corporate Memphis/Alegria style
  • artstyle-crewdson-hyperrealism.md
    - Gregory Crewdson cinematic hyperrealism
  • artstyle-iphone-social-media.md
    - Modern iPhone social media aesthetic
所有艺术风格参考文件均遵循以下命名格式:
artstyle-[name].md
示例:
  • artstyle-sciencesaru.md
    - Science SARU动画风格
  • artstyle-corporate-memphis.md
    - Corporate Memphis/Alegria风格
  • artstyle-crewdson-hyperrealism.md
    - Gregory Crewdson电影式超写实风格
  • artstyle-iphone-social-media.md
    - 现代iPhone社交媒体美学风格

When No Artstyle is Specified

未指定艺术风格的情况

If the user doesn't specify an artstyle and their request seems to need one:
  1. List available artstyles
  2. Ask which style they prefer, or suggest the most appropriate based on context
  3. Never assume a default artstyle
For pure photography requests without artistic styling, proceed without reading artstyle references.
如果用户未指定艺术风格,但他们的需求看起来需要特定风格:
  1. 列出可用的艺术风格
  2. 询问用户偏好哪种风格,或根据上下文推荐最合适的风格
  3. 切勿默认使用某一种艺术风格
对于纯摄影类需求且不涉及艺术风格化的情况,无需阅读艺术风格参考文件,直接按摄影类提示词模板构建即可。

Best Practices from Imagen Architecture

基于Imagen架构的最佳实践

Natural Language Advantage

自然语言优势

  • Write detailed descriptive sentences, not keyword lists
  • Imagen rewards verbose descriptions over brevity
  • Use professional creative brief language
  • Default enhancePrompt=true automatically optimizes your prose
  • 编写详细的描述性句子,而非关键词列表
  • Imagen更青睐详尽的描述,而非简洁的表达
  • 使用专业的创意简报语言
  • 默认开启enhancePrompt=true会自动优化你的文案

Iterative Refinement

迭代优化

Start simple, layer details progressively:
  1. Base:
    "A cat"
  2. Add specifics:
    "A fluffy Persian cat with bright blue eyes"
  3. Add context:
    "...sitting on a velvet cushion in a sunlit room"
  4. Add technical:
    "A photo of a fluffy Persian cat with bright blue eyes, sitting on a velvet cushion in a sunlit room, 50mm lens, natural soft lighting, warm colors, professional pet photography"
从简单内容开始,逐步添加细节:
  1. 基础版:
    "A cat"
  2. 添加细节:
    "A fluffy Persian cat with bright blue eyes"
  3. 添加场景:
    "...sitting on a velvet cushion in a sunlit room"
  4. 添加技术参数:
    "A photo of a fluffy Persian cat with bright blue eyes, sitting on a velvet cushion in a sunlit room, 50mm lens, natural soft lighting, warm colors, professional pet photography"

Critical Constraints

关键限制

  • Text-in-image: Maximum 25 characters per phrase, 3 phrases total
  • Negative prompts: Use plain descriptive terms ("wall, frame") not instructive language ("no walls, without frame")
  • Token limit: 480 tokens for prompt text
  • 图像中的文字:每个短语最多25个字符,总计最多3个短语
  • 负面提示词:使用平实的描述性词汇(如"wall, frame"),而非指令性语言(如"no walls, without frame")
  • Token限制:提示词文本最多480个Token

Technical Parameters

技术参数

Aspect ratios (match use case):
  • 1:1 - Square social media
  • 3:4 - Portrait ads, vertical social
  • 4:3 - Traditional photography, TV
  • 16:9 - Widescreen landscape, modern displays
  • 9:16 - Vertical video, tall subjects
Safety/person controls: Adjust personGeneration (allow_adult, allow_all, dont_allow) and safetySetting (block_low_and_above, block_medium_and_above, block_only_high, block_none) as needed
宽高比(匹配使用场景):
  • 1:1 - 方形社交媒体图
  • 3:4 - 竖版广告、垂直社交媒体内容
  • 4:3 - 传统摄影、电视画面
  • 16:9 - 宽屏风景、现代显示器
  • 9:16 - 竖版视频、高主体内容
安全/人物控制:根据需要调整personGeneration(allow_adult, allow_all, dont_allow)和safetySetting(block_low_and_above, block_medium_and_above, block_only_high, block_none)参数

Practical Use Case Patterns

实用场景模板

Character/Portrait

人物/肖像

"Portrait of [character description with age, features, clothing, emotion], [lens specification 24-85mm], [lighting type], [mood descriptors], [setting], [quality modifiers]"
For styled characters: Read appropriate artstyle reference for character design specifics (proportions, features, design language)
"Portrait of [包含年龄、特征、服装、情绪的人物描述], [镜头参数24-85mm], [光线类型], [情绪描述词], [场景], [质量修饰词]"
对于风格化人物:阅读相应的艺术风格参考文件,获取人物设计的具体要求(比例、特征、设计语言)

Environment/Landscape

环境/风景

"[Environment type], [weather/time/season], [lens specification 10-24mm wide-angle], [atmospheric conditions], [quality modifiers]"
For styled environments: Read appropriate artstyle reference for environment treatment (composition, color theory, architectural approach)
"[环境类型], [天气/时间/季节], [镜头参数10-24mm广角], [大气条件], [质量修饰词]"
对于风格化环境:阅读相应的艺术风格参考文件,获取环境处理的具体要求(构图、色彩理论、建筑手法)

Product/Object

产品/物体

"[Product] on [surface], [lens specification 60-105mm macro], [lighting type], [background type], [material/texture details], [quality modifiers]"
"[产品]放置在[表面]上, [镜头参数60-105mm微距], [光线类型], [背景类型], [材质/纹理细节], [质量修饰词]"

Cinematic/Stylized

电影/风格化

"[Animation/art style], [scene description], [color grading approach], [cinematography terms], [atmospheric effects]"
For cinematic styles: Read appropriate artstyle reference for cinematic specifics (camera work, lighting philosophy, emotional coding)
"[动画/艺术风格], [场景描述], [色彩分级手法], [电影摄影术语], [大气效果]"
对于电影风格:阅读相应的艺术风格参考文件,获取电影风格的具体要求(运镜、光线理念、情感编码)

Workflow for Creating Prompts

提示词创建工作流

  1. Determine type: Photography, artistic style, or hybrid?
  2. If using art style:
    • List available artstyles:
      ls /mnt/skills/user/imagine/references/artstyle-*.md
    • Select appropriate style (by user choice or inference)
    • Read complete
      references/artstyle-[name].md
      file
  3. Build foundation: Establish subject clearly and early
  4. Layer context: Add environment, placement, spatial relationships
  5. Specify style: Include aesthetic approach with technical vocabulary from reference (if using artstyle)
  6. Add technical specs: Lens type, lighting, quality modifiers appropriate to subject
  7. Refine iteratively: Start simple, add detail progressively until satisfied
  8. Validate constraints: Check text-in-image limits, negative prompt format, token count
  1. 确定类型:摄影类、艺术风格类,还是混合类?
  2. 如果使用艺术风格
    • 列出可用的艺术风格:
      ls /mnt/skills/user/imagine/references/artstyle-*.md
    • 选择合适的风格(用户选择或推断)
    • 完整阅读
      references/artstyle-[name].md
      文件
  3. 构建基础框架:清晰、尽早地明确主体
  4. 添加场景层级:加入环境、位置、空间关系
  5. 指定风格:包含美学表现手法,若使用艺术风格则需结合参考文件中的专业词汇
  6. 添加技术参数:加入与主体匹配的镜头类型、光线、质量修饰词
  7. 迭代优化:从简单内容开始,逐步添加细节直至满意
  8. 验证限制条件:检查图像文字限制、负面提示词格式、Token数量

Example Complete Prompts

完整提示词示例

Photography Example

摄影类示例

"A photo of a plate of traditional Indonesian nasi goreng with fried egg on top, colorful vegetables visible, served on rustic ceramic plate on wooden table, 100mm macro lens, natural window lighting from side, warm atmosphere, steam rising from rice, glistening sauce, high detail, professional food photography, appetizing composition"
"A photo of a plate of traditional Indonesian nasi goreng with fried egg on top, colorful vegetables visible, served on rustic ceramic plate on wooden table, 100mm macro lens, natural window lighting from side, warm atmosphere, steam rising from rice, glistening sauce, high detail, professional food photography, appetizing composition"

Artistic Style Example (Generic Template)

艺术风格类示例(通用模板)

"[Artstyle name] aesthetic, [medium/technique]. [Character description following style's design principles], [character-specific features from artstyle reference]. [Environment description following style's composition approach], [environmental specifics from artstyle reference]. [Atmospheric qualities from style guide], [color and lighting approach from reference]. [Technical rendering specs from style guide], [texture and quality markers from reference]"
Note: The actual artistic prompt should be built by reading the specific artstyle reference file and applying its guidelines. See individual artstyle-*.md files for complete examples.
"[Artstyle name] aesthetic, [medium/technique]. [遵循风格设计原则的人物描述], [来自艺术风格参考文件的人物特定特征]. [遵循风格构图手法的环境描述], [来自艺术风格参考文件的环境细节]. [来自风格指南的氛围特质], [来自参考文件的色彩与光线手法]. [来自风格指南的技术渲染参数], [来自参考文件的纹理与质量标识]"
注意:实际的艺术风格提示词需要通过阅读具体的艺术风格参考文件并应用其指南来构建。请查看各个artstyle-*.md文件获取完整示例。

Hybrid Example (Styled character, photographic background)

混合类示例(风格化人物+摄影背景)

"A photo of [character description in chosen art style], standing on actual [real environment], 35mm lens, golden hour natural lighting, real background with stylized character overlay, professional photography with [art style] integration, warm atmospheric lighting, high detail background with stylized character"
"A photo of [符合所选艺术风格的人物描述], standing on actual [真实环境], 35mm lens, golden hour natural lighting, real background with stylized character overlay, professional photography with [art style] integration, warm atmospheric lighting, high detail background with stylized character"

Tips for Quality Output

高质量输出技巧

  • Be specific with materials and textures: "glistening sauce," "rough ceramic," "polished wood" guide fine detail
  • Use cinematography vocabulary: "shot on ARRI Alexa," "Summilux lens," "volumetric lighting" elevate professional quality
  • Time of day matters: Golden hour, overcast, midday sun, twilight each create distinct lighting and mood
  • Color grading terms: "muted cold tones," "warm sepia," "desaturated," "high contrast" specify aesthetic precisely
  • Atmospheric effects: "misty," "foggy," "heat haze," "rain-soaked" add environmental depth
  • 明确材质和纹理:使用“glistening sauce”、“rough ceramic”、“polished wood”这类描述词来引导生成精细细节
  • 使用电影摄影词汇:“shot on ARRI Alexa”、“Summilux lens”、“volumetric lighting”这类词汇能提升提示词的专业度
  • 时间至关重要:黄金时刻、阴天、正午阳光、黄昏等不同时间点会创造出截然不同的光线和氛围
  • 色彩分级术语:“muted cold tones”、“warm sepia”、“desaturated”、“high contrast”这类术语能精准指定美学风格
  • 大气效果:“misty”、“foggy”、“heat haze”、“rain-soaked”这类描述词能增加环境深度

Extensibility

可扩展性

This skill is designed to grow with your needs:
  • Add new
    artstyle-[name].md
    files to
    references/
    for different visual styles
  • Follow consistent documentation structure from existing artstyle files
  • Always list available artstyles at the start of artistic prompt workflows
  • Each artstyle reference should provide:
    • Visual DNA and core characteristics
    • Technical prompting vocabulary
    • Layered prompting strategy
    • Complete example prompts
    • Style-specific guidelines for characters, environments, lighting, composition
本工具的设计支持按需扩展:
  • references/
    目录下添加新的
    artstyle-[name].md
    文件,即可支持新的视觉风格
  • 遵循现有艺术风格文件的统一文档结构
  • 在创建艺术风格提示词的工作流开始时,务必列出可用的艺术风格
  • 每个艺术风格参考文件应包含:
    • 视觉核心特征
    • AI提示词词汇和技术描述词
    • 分层提示词构建策略
    • 完整的示例提示词
    • 针对人物、环境、光线、构图的风格特定指南

Adding New Artstyles

添加新艺术风格的方法

To add a new artstyle:
  1. Create
    references/artstyle-[name].md
  2. Document the style's visual characteristics comprehensively
  3. Provide AI prompting vocabulary and technical descriptors
  4. Include layered prompting strategy and complete examples
  5. The skill will automatically detect and list it when checking available artstyles
No code changes needed - the skill dynamically discovers all artstyle-*.md files in the references directory.
要添加新的艺术风格:
  1. 创建
    references/artstyle-[name].md
    文件
  2. 全面记录该风格的视觉特征
  3. 提供AI提示词词汇和技术描述词
  4. 包含分层提示词构建策略和完整示例
  5. 当检查可用艺术风格时,本工具会自动检测并列出新添加的风格
无需修改代码——本工具会动态发现参考目录下所有artstyle-*.md文件。