Generating Hero Images, Icons and OG Cards for a Side Project with Nano Banana 2.1
说明与用途
作者描述了使用 Nano Banana 2.1 为侧项目登陆页面创建统一图像的分步流程,包括规范编写、英雄图生成、图标和 OG 卡创建以及信用预算。
问题
Side projects often lack a cohesive visual asset set before launch.
结果
The workflow produces a cohesive set of images that match the brand style, fit the required dimensions, and stay within a small credit budget.
工作流
- Write an asset spec file in the repo to define brand palette, style, and asset dimensions.
- Generate the hero image first using a prompt that includes empty space for a headline and no text.
- Use the hero as a reference image for all other assets, attaching it with a role that limits its use to style, color palette, and lighting.
- Generate feature icons (e.g., padlock, lightning bolt, chart) by referencing the hero and specifying size and no text.
- Create an OG card with text by referencing the hero for style and palette, including short, quoted text and a rocket illustration.
- Budget the run by reviewing the credit quote for each image size and selecting an appropriate plan.
证据
Treat images like any other dependency. I keep a small spec file in the repo:
Use the reference image only for style, color palette and lighting.
The generator shows a credit quote before you submit. On Nano Banana 2.1:
- 记录日期: 2026-10-24T02:11:18.251Z