AI Powder Generator Guide
A complete guide to AI Powder Generator — the AI product photography platform for powder, supplement, and health food brands.
What is AI Powder Generator?
AI Powder Generator is an AI product photography platform built specifically for powder and supplement products. Generate commercial-grade product images for protein powder, collagen, matcha, probiotics, herbal powders, coffee products, and more. No photographer or designer needed.
Why Powder Products?
Powder products are one of the best categories for AI-generated imagery:
- Fixed packaging — easy for AI to learn and reproduce
- Simple structure — fewer visual artifacts
- Abstract product form — hard for users to judge authenticity
- High commercial demand — sellers update images frequently
- Templatable scenes — easy to batch generate consistently
Tech Stack
- AI Models: State-of-the-art generative AI for product photography
- Framework: Next.js App Router with TypeScript
- Auth: Better Auth (GitHub + Google OAuth, email/password)
- Database: PostgreSQL with Drizzle ORM
- Payments: Stripe (subscriptions, one-time purchases, credit packages)
- UI: Tailwind CSS + Radix UI + Lucide icons
- i18n: next-intl (English + Chinese)
- Email: Resend with React Email templates
- Content: Fumadocs for documentation, MDX for blog
Quick Start
Prerequisites
- Node.js 18+
- pnpm (recommended)
- PostgreSQL database
Installation
git clone https://github.com/zhangst23/ai-powder.git
cd ai-powder
pnpm installEnvironment Setup
cp env.example .env.localKey environment variables:
# Database
DATABASE_URL=postgresql://user:password@localhost:5432/ai-powder
# Auth
BETTER_AUTH_SECRET=your-secret-key
# AI (Kie API for product image generation)
KIE_API_KEY=your-kie-api-key
NEXT_PUBLIC_KIE_MODEL=z-imageDatabase Setup
pnpm db:generate
pnpm db:migrateStart Development
pnpm devVisit http://localhost:3000.
Key Features
AI Product Photography
Generate product images for powder and supplement brands:
- Product Main Images: Clean white-background shots for e-commerce
- Scene & Lifestyle Shots: Kitchen, gym, office, nature settings
- Ingredient Infographics: A+ content and detail page images
- Batch Generation: Dozens of variations for A/B testing
Target Users
- Shopify Sellers — Protein powder, collagen, matcha, probiotics
- Amazon Sellers — Supplements, pet powders, fitness products
- ODM/OEM Factories — Client catalog images without design teams
- TikTok Shop Sellers — High-conversion ad creatives at scale
- DTC Brands — Consistent brand photography across channels
- Marketing Agencies — Fast delivery for supplement clients
Credit System
- Monthly credit refresh for subscribers
- Registration bonus credits
- Credit packages for additional generations
- Usage tracking with transaction history
API Integration
POST /api/v1/generate
{
"prompt": "Premium whey protein tub on white background with gym equipment, commercial lighting",
"aspect_ratio": "1:1",
"style": "commercial"
}API keys managed from Settings → API Keys.
Deploying
pnpm buildReady for Vercel, Docker, or any Node.js hosting.
AI Powder Generator Docs