What you will build
- A small page that turns text prompts into memes or infographics.
- Images generated using Google’s “nano banana” model.
- A simple download or save option for the image.
What you need
A Google AI account and an API key saved asGEMINI_API_KEY in your project environment (Project Settings → Environment or .env.local).
- Go to ai.google.dev → Get an API key.
- Create or select a project, then generate a key for the Images API (nano banana model).
- Copy the key once (you won’t see it again) and store it in your env as
GEMINI_API_KEY.
Create Project Prompt
Plan A Feature Prompt
Ideas after the initial build
- Add template presets (announcement, meme, infographic) to change prompt structure.
- Offer multiple aspect ratios plus a square default for social media.
- Let users regenerate with the same prompt to compare variations.
- Cache/download history so people can re-use past outputs.