nano-banana-prompts by secondsky/claude-skills
npx skills add https://github.com/secondsky/claude-skills --skill nano-banana-prompts使用 2025 年 10 月已验证的最佳实践,为 Gemini 2.5 Flash Image 生成高质量的提示词。
自然地描述场景,不要罗列关键词。
❌ woman, business suit, office, professional ✅ 一位身着海军蓝西装的专业商务女性自信地站在可俯瞰城市天际线的现代化玻璃幕墙办公室中。温暖的午后阳光透过窗户倾泻而入。
A [SHOT TYPE] of [SUBJECT] [ACTION] in [ENVIRONMENT].
[LIGHTING] creates [MOOD]. [CAMERA/STYLE DETAILS]. [ASPECT RATIO].
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
Photorealistic [SHOT TYPE] of [SUBJECT], [ACTION], in [ENVIRONMENT].
Illuminated by [LIGHTING], creating [MOOD]. Captured with [CAMERA/LENS],
emphasizing [DETAILS]. [ASPECT RATIO] format.
镜头:
光照:
设置:
Professional corporate headshot of mid-30s woman with shoulder-length brown hair
in charcoal blazer. She's smiling warmly at camera against soft gray backdrop.
Shot with 85mm f/2.0, studio three-point lighting creates gentle shadows defining
facial features. Ultra-high resolution, LinkedIn-ready quality. 1:1 format.
[STYLE] illustration of [SUBJECT] [ACTION/POSE]. [COMPOSITION] with
[COLOR PALETTE]. [TECHNIQUE/MEDIUM]. Inspired by [REFERENCE],
emphasizing [QUALITIES].
Watercolor illustration of young girl reading book under oak tree. Seated
cross-legged in sun-dappled clearing with wildflowers. Soft, loose brushstrokes
with pastel color palette of greens, yellows, pinks. Transparent washes create
dreamy, ethereal quality. Inspired by children's book illustration, emphasizing
wonder and tranquility. 4:5 portrait format.
最佳实践:
示例:
Movie poster with bold red text "SUMMER" at top and "Adventure Awaits"
in white script font at bottom. Ocean sunset background. Cinematic style.
Nano Banana 擅长对话式编辑。一次只做一个更改。
示例序列:
High-resolution product photo of [PRODUCT] on [SURFACE]. [LIGHTING]
to [PURPOSE]. Camera angle: [TYPE] to showcase [FEATURE]. Ultra-realistic,
sharp focus on [DETAIL]. [ASPECT RATIO].
High-resolution product photo of stainless steel smartwatch on white marble
surface. Soft diffused studio lighting from 45-degree angle to minimize
reflections and show screen clearly. Camera angle: slight overhead to showcase
circular face and metal band texture. Ultra-realistic, sharp focus on watch
face display. 1:1 format for e-commerce.
[TYPE] landscape of [LOCATION] at [TIME]. [WEATHER/ATMOSPHERE].
[FOREGROUND ELEMENTS]. Shot with [LENS] from [VANTAGE POINT].
[COMPOSITION]. Professional landscape photography with [GRADING]. [MOOD].
Dramatic landscape of mountain lake at golden hour. Wispy clouds catch
warm orange light over snow-capped peaks. Weathered dock extends into
mirror-still water as foreground. Shot with 16mm wide-angle from low
lakeside vantage. Rule-of-thirds composition places horizon in upper third.
Professional landscape photography with warm color grading. Serene yet majestic.
[MOVEMENT] abstract exploring [CONCEPT]. [COMPOSITION] with [COLORS/TEXTURES].
[MEDIUM] emphasizing [GOALS]. [CONTEXT].
Bold geometric abstract exploring tension and harmony. Overlapping angular
shapes with vibrant primary colors against deep black. Digital art emphasizing
sharp edges and color interaction. Large-scale wall art format, 16:9.
避免:
应该:
当请求特定艺术风格时,可以参考:
✅ 主体描述清晰 ✅ 指定动作或姿势 ✅ 环境/场景详细 ✅ 光源和质量 ✅ 氛围或气氛 ✅ 风格或技术规格 ✅ 选择宽高比 ✅ 完整的句子,而非关键词
问题 : 输出结果普通或模糊 原因 : 提示词太短或缺乏具体性 解决方案 : 扩展到 50-100 词。添加光照细节、氛围和具体的技术规格(镜头、风格等)。
示例 :
问题 : 风格指令冲突 原因 : 混合了不兼容的风格(例如,"照片级真实感的水彩画") 解决方案 : 选择一个主要风格。对于摄影,使用相机术语。对于艺术,使用媒介/技术术语。
问题 : 文本渲染失败 原因 : 文本太多、字体复杂或位置不明确 解决方案 :
问题 : 图像中出现不需要的元素 原因 : 措辞模糊或描述符冲突 解决方案 : 明确说明不应出现的内容。使用精确、无歧义的语言。
问题 : 图像与提示词不匹配 原因 : 提示词太复杂或包含矛盾元素 解决方案 :
问题 : 多次生成结果不一致 原因 : 模糊的描述符允许宽泛的解释 解决方案 : 添加关于颜色、材质、光照角度、相机设置和构图规则(三分法、黄金分割)的具体细节。
问题 : 构图不佳 原因 : 提示词中没有构图指导 解决方案 : 明确提及构图规则:
问题 : 一次性更改太多导致混乱 原因 : 同时请求多个编辑 解决方案 : 每轮只做一个更改。等待结果后再进行下一个编辑。
示例序列 :
问题 : 丢失先前轮次的上下文 原因 : 没有强化关键细节的模糊引用 解决方案 : 简要强化上下文:"在这幅山景中,在前景添加一条徒步小径"
提交提示词前,请验证:
对于摄影:
对于艺术/插画:
如果提示词包含文本:
生成图像并评估:
如果图像不符合预期:
步骤 1: 识别差距
步骤 2: 使用多轮编辑
步骤 3: 为将来使用优化提示词
对于关键图像,使用略有不同的提示词生成 2-3 个变体:
版本 A : 中等细节(50-75 词) 版本 B : 高细节(100-150 词) 版本 C : 不同的风格/光照方法
比较结果,找到最佳的提示词冗长度和方法。
提示词 :
Photorealistic close-up portrait of elderly fisherman with weathered hands mending
fishing net at dawn. Seated on wooden dock with misty harbor in background. Soft
golden light from rising sun creates warm rim lighting on his profile. Shot with
85mm f/2.0 creating shallow depth of field, net and hands in sharp focus while
background gently blurs. Contemplative and peaceful mood. 4:5 portrait format.
验证 :
预期结果 : 高质量、详细的图像,符合所有规格。
| 问题 | 可能原因 | 修复方法 |
|---|---|---|
| 模糊/低质量 | 缺少技术规格 | 添加相机、镜头、"超高分辨率" |
| 颜色错误 | 颜色描述模糊 | 指定确切颜色,如果需要可使用十六进制代码 |
| 构图不佳 | 没有构图指导 | 添加"三分法"、"居中"等 |
| 缺少元素 | 元素提及太晚 | 将关键元素放在提示词开头 |
| 外观普通 | 关键词罗列 | 重写为自然句子 |
| 文本混乱 | 文本太多 | 减少到 <25 字符,简化字体 |
| 风格错误 | 指令冲突 | 选择一种一致的风格 |
| 出现意外物体 | 措辞模糊 | 更加明确和具体 |
每周安装量
98
代码仓库
GitHub 星标数
90
首次出现
2026年2月6日
安全审计
安装于
claude-code83
gemini-cli83
opencode82
cursor81
codex80
github-copilot79
Generate high-quality prompts for Gemini 2.5 Flash Image using proven best practices from October 2025.
Describe scenes naturally, don't list keywords.
❌ woman, business suit, office, professional ✅ A professional businesswoman in navy suit stands confidently in modern glass-walled office overlooking city skyline. Warm afternoon light streams through windows.
A [SHOT TYPE] of [SUBJECT] [ACTION] in [ENVIRONMENT].
[LIGHTING] creates [MOOD]. [CAMERA/STYLE DETAILS]. [ASPECT RATIO].
Photorealistic [SHOT TYPE] of [SUBJECT], [ACTION], in [ENVIRONMENT].
Illuminated by [LIGHTING], creating [MOOD]. Captured with [CAMERA/LENS],
emphasizing [DETAILS]. [ASPECT RATIO] format.
Lenses:
Lighting:
Settings:
Professional corporate headshot of mid-30s woman with shoulder-length brown hair
in charcoal blazer. She's smiling warmly at camera against soft gray backdrop.
Shot with 85mm f/2.0, studio three-point lighting creates gentle shadows defining
facial features. Ultra-high resolution, LinkedIn-ready quality. 1:1 format.
[STYLE] illustration of [SUBJECT] [ACTION/POSE]. [COMPOSITION] with
[COLOR PALETTE]. [TECHNIQUE/MEDIUM]. Inspired by [REFERENCE],
emphasizing [QUALITIES].
Watercolor illustration of young girl reading book under oak tree. Seated
cross-legged in sun-dappled clearing with wildflowers. Soft, loose brushstrokes
with pastel color palette of greens, yellows, pinks. Transparent washes create
dreamy, ethereal quality. Inspired by children's book illustration, emphasizing
wonder and tranquility. 4:5 portrait format.
Best Practices:
Example:
Movie poster with bold red text "SUMMER" at top and "Adventure Awaits"
in white script font at bottom. Ocean sunset background. Cinematic style.
Nano Banana excels at conversational editing. Make one change at a time.
Example sequence:
High-resolution product photo of [PRODUCT] on [SURFACE]. [LIGHTING]
to [PURPOSE]. Camera angle: [TYPE] to showcase [FEATURE]. Ultra-realistic,
sharp focus on [DETAIL]. [ASPECT RATIO].
High-resolution product photo of stainless steel smartwatch on white marble
surface. Soft diffused studio lighting from 45-degree angle to minimize
reflections and show screen clearly. Camera angle: slight overhead to showcase
circular face and metal band texture. Ultra-realistic, sharp focus on watch
face display. 1:1 format for e-commerce.
[TYPE] landscape of [LOCATION] at [TIME]. [WEATHER/ATMOSPHERE].
[FOREGROUND ELEMENTS]. Shot with [LENS] from [VANTAGE POINT].
[COMPOSITION]. Professional landscape photography with [GRADING]. [MOOD].
Dramatic landscape of mountain lake at golden hour. Wispy clouds catch
warm orange light over snow-capped peaks. Weathered dock extends into
mirror-still water as foreground. Shot with 16mm wide-angle from low
lakeside vantage. Rule-of-thirds composition places horizon in upper third.
Professional landscape photography with warm color grading. Serene yet majestic.
[MOVEMENT] abstract exploring [CONCEPT]. [COMPOSITION] with [COLORS/TEXTURES].
[MEDIUM] emphasizing [GOALS]. [CONTEXT].
Bold geometric abstract exploring tension and harmony. Overlapping angular
shapes with vibrant primary colors against deep black. Digital art emphasizing
sharp edges and color interaction. Large-scale wall art format, 16:9.
Avoid:
Instead:
When requesting specific artistic styles, reference:
✅ Subject clearly described ✅ Action or pose specified ✅ Environment/setting detailed ✅ Lighting source and quality ✅ Mood or atmosphere ✅ Style or technical specs ✅ Aspect ratio chosen ✅ Complete sentences, not keywords
Issue : Generic or vague output Cause : Prompt too short or lacks specificity Solution : Expand to 50-100 words. Add lighting details, mood, and specific technical specs (lens, style, etc.).
Example :
Issue : Conflicting style instructions Cause : Mixing incompatible styles (e.g., "photorealistic watercolor") Solution : Choose one primary style. For photography, use camera terminology. For art, use medium/technique terminology.
Issue : Text rendering failures Cause : Too much text, complex fonts, or unclear positioning Solution :
Issue : Unwanted elements in image Cause : Ambiguous phrasing or conflicting descriptors Solution : Be explicit about what should NOT appear. Use precise, unambiguous language.
Issue : Image doesn't match prompt Cause : Prompt too complex or contradictory elements Solution :
Issue : Inconsistent results across generations Cause : Vague descriptors allowing wide interpretation Solution : Add specific details about colors, materials, lighting angles, camera settings, and composition rules (rule of thirds, golden ratio).
Issue : Poor composition Cause : No compositional guidance in prompt Solution : Explicitly mention composition rules:
Issue : Too many changes at once causing confusion Cause : Requesting multiple edits simultaneously Solution : Make one change per turn. Wait for result before next edit.
Example sequence :
Issue : Losing context from earlier turns Cause : Vague references without reinforcing key details Solution : Briefly reinforce context: "In this mountain landscape, add a hiking trail in the foreground"
Before submitting a prompt, verify:
For Photography:
For Art/Illustration:
If prompt includes text:
Generate image and evaluate:
If image doesn't match expectations:
Step 1: Identify the gap
Step 2: Use multi-turn editing
Step 3: Refine prompt for future use
For critical images, generate 2-3 variations with slightly different prompts:
Version A : Medium detail (50-75 words) Version B : High detail (100-150 words) Version C : Different style/lighting approach
Compare results to find optimal prompt verbosity and approach.
Prompt :
Photorealistic close-up portrait of elderly fisherman with weathered hands mending
fishing net at dawn. Seated on wooden dock with misty harbor in background. Soft
golden light from rising sun creates warm rim lighting on his profile. Shot with
85mm f/2.0 creating shallow depth of field, net and hands in sharp focus while
background gently blurs. Contemplative and peaceful mood. 4:5 portrait format.
Validation :
Expected result : High-quality, detailed image matching all specifications.
| Problem | Likely Cause | Fix |
|---|---|---|
| Blurry/low quality | Missing technical specs | Add camera, lens, "ultra-high resolution" |
| Wrong colors | Vague color description | Specify exact colors, hex codes if needed |
| Bad composition | No compositional guidance | Add "rule of thirds", "centered", etc. |
| Missing elements | Element mentioned too late | Put critical elements early in prompt |
| Generic look | Keyword listing | Rewrite as natural sentences |
| Text garbled | Too much text | Reduce to <25 chars, simplify font |
| Wrong style | Conflicting instructions | Choose one consistent style |
| Unexpected objects | Ambiguous phrasing | Be more explicit and specific |
Weekly Installs
98
Repository
GitHub Stars
90
First Seen
Feb 6, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
claude-code83
gemini-cli83
opencode82
cursor81
codex80
github-copilot79
AI 代码实施计划编写技能 | 自动化开发任务分解与 TDD 流程规划工具
50,900 周安装