用 Nano Banana Pro 批量生成城市天气视觉卡片
一套 Prompt 覆盖晴天、阴天、雨天与夜景
在测试 Nano Banana Pro 的图像生成能力时,发现它在「结构化 Prompt + 场景化视觉」这类任务上表现非常稳定,尤其适合生成 城市 + 天气 的信息展示卡片。


本文整理一个可复用、可扩展的实际应用方案:
使用同一套 Prompt 模版,生成北京、上海、杭州、西安等城市的等距 3D 城市天气视觉卡片,并通过追加环境约束的方式,适配晴天 / 阴天 / 雨天 / 夜景。
本文不讨论艺术风格探索,重点关注:
- 构图是否稳定
- 信息是否清晰
- 是否适合批量生成
- 是否便于后续扩展
一、应用场景说明
该方案适合以下使用场景:
- 内容平台的「今日城市天气」栏目
- 城市信息类账号的固定视觉模版
- 产品 Demo / 展示页中的城市概览
- 内部系统或看板中的非实时城市信息展示
核心目标只有一个:
把结构化的城市与天气信息,稳定转化为统一风格的视觉内容。
二、核心设计思路
整个 Prompt 的设计遵循 4 个原则:
1. 固定视角
- 使用 45° top-down isometric
- 避免生成结果角度漂移
2. 固定画面结构
- 城市主体位于画面下方
- 信息区位于画面上方
3. 天气进入环境,而不是只放图标
- 晴天:通过光照与阴影体现
- 阴天:通过对比度和饱和度控制
- 雨天:通过地面反射与氛围雾
- 夜景:通过城市灯光与环境亮度
4. 固定输出尺寸
- 1080 × 1080
- 可直接用于发布或系统展示
三、通用 Prompt 模版
这是唯一需要维护的一套 Prompt 模版,城市与天气通过变量替换完成:
Present a clear, 45° top-down isometric miniature 3D cartoon scene of [城市名],
featuring its most iconic landmarks and architectural elements.
Use soft, refined textures with realistic PBR materials and gentle, lifelike lighting and shadows.
Integrate the current weather conditions directly into the city environment to create an immersive atmospheric mood.
Use a clean, minimalistic composition with a soft, solid-colored background.
At the top-center, place the title “[城市名]” in large bold text,
a prominent weather icon beneath it,
then the date (small text) and temperature (medium text).
All text must be centered with consistent spacing,
and may subtly overlap the tops of the buildings.
date [日期]
[温度 + 天气描述]
Square 1080x1080 dimension.
⸻
四、示例 Prompt:西安(晴天)
Present a clear, 45° top-down isometric miniature 3D cartoon scene of 西安,
featuring its most iconic landmarks and architectural elements.
Use soft, refined textures with realistic PBR materials and gentle, lifelike lighting and shadows.
Integrate the current weather conditions directly into the city environment to create an immersive atmospheric mood.
Use a clean, minimalistic composition with a soft, solid-colored background.
At the top-center, place the title “西安” in large bold text,
a prominent weather icon beneath it,
then the date (small text) and temperature (medium text).
All text must be centered with consistent spacing,
and may subtly overlap the tops of the buildings.
date 2025年12月24日
9℃ 晴
Square 1080x1080 dimension.
⸻
五、同一套 Prompt,如何适配不同天气与夜景
设计原则
不重写 Prompt,只追加环境级约束。
这样可以保证:
• 构图不变
• 信息层级不变
• 批量生成稳定
⸻
- 阴天 / 多云(Cloudy)

在原 Prompt 后追加:
Use soft, diffused lighting with reduced contrast,
slightly muted colors,
and gentle cloud coverage to reflect an overcast atmosphere.
效果特征:
• 阴影减弱
• 色彩饱和度降低
• 城市细节依然清晰
⸻
- 雨天(Rainy)


雨天重点在「地面与反射」:
Add light rain elements,
wet reflective surfaces on roads and rooftops,
soft atmospheric haze,
and slightly darker ambient lighting to convey a rainy environment.
效果特征:
• 路面出现反光
• 画面层次增强
• 信息区域保持可读
⸻
- 夜景(Night)
夜景需要明确光源与可读性:
Render the scene as a nighttime environment,
with soft moonlight or ambient night lighting,
warm illuminated windows, streetlights, and city lights.
Ensure sufficient contrast so that buildings remain clearly visible,
and keep the top text area well-lit and readable.
效果特征:
• 城市亮、背景暗
• 建筑轮廓清晰
• 标题与天气信息不会被夜色吞没
⸻
- 夜雨 / 夜间阴天(组合用法)
可直接组合约束:
Render the scene as a nighttime environment,
with warm illuminated windows and streetlights.
Add light rain elements, wet reflective surfaces,
and soft atmospheric haze,
while maintaining sufficient contrast for readability.
⸻
六、城市批量生成建议(北京 / 上海 / 杭州 / 西安)
在批量生成时,建议只修改以下变量:
• 城市名
• 日期
• 温度
• 天气描述
其余 Prompt 完全保持不变,可以确保:
• 风格统一
• 构图稳定
• 后期展示整齐
⸻
七、总结
这套 Prompt 的本质不是“画城市”,而是:
把「城市 + 天气 + 日期」这样的结构化信息,
稳定映射为统一风格的视觉卡片。
如果你正在使用 Nano Banana Pro 进行:
• 城市信息展示
• 内容平台视觉模版
• 产品 Demo 或看板设计
这套方法可以直接复用,并且支持后续在不推翻结构的前提下继续扩展。