Skip to main content

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 as GEMINI_API_KEY in your project environment (Project Settings → Environment or .env.local).
  • Go to ai.google.devGet 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

Create a meme/infographic generator that turns short prompts into images using Google's nano banana model.

Plan A Feature Prompt

Build a single-page meme/infographic generator. The user enters a topic, tone, and image size, then gets an image back from the nano banana model with a download/save option.

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.