Generate stunning AI images directly in your Convex backend with persistent storage, real-time status tracking, and a clean TypeScript API.
Installation
npm install convex-nano-banana
About Nano Banana
๐ Nano Banana AI Image Generation Component for Convex, powered by Google Gemini
Generate stunning AI images directly in your Convex backend with persistent storage, real-time status tracking, and a clean TypeScript API. Bring your own Gemini API key.
โจ Features ๐จ Text-to-Image Generation - Create images from text prompts using Gemini's native image generation โ๏ธ Image Editing - Edit existing images with text instructions ๐ฆ Persistent Storage - Images automatically stored in Convex file storage โก Real-time Status - Reactive queries update as generation progresses ๐ฎ Future-proof - Accepts any model name for upcoming Gemini models ๐ BYO API Key - Users provide their own Gemini API key (secure, server-side only) ๐ Generation History - Track all generations with timing metrics