English | 简体中文
Browse 400+ GPT-Image prompt cases, fill in your own API Key, and generate images directly. Based on awesome-gpt-image-2 by freestylefly.
- Your Own API Key — Fill in your API key from XidaoAPI.com, generate images using your own quota
- Email & Google Login — Register with email/password or Google OAuth
- Model Selector — Choose between
gpt-image,gpt-image-2,gpt-image-2-c - 400+ Prompt Cases — Browse and copy structured prompts across 12 categories
- 20+ Templates — Industrial-grade prompt templates for various use cases
- Local Favorites & History — Works even without backend, saved in browser
Visit XidaoAPI.com to create an account and get your API key.
# Clone the repo
git clone https://github.com/eddielueng/gptimage.git
cd gptimage
npm install
# Copy env file and fill in your values
cp .env.example .env
# Run locally
npm run devKey variables in .env:
# Supabase (for auth)
VITE_SUPABASE_URL=
VITE_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=
# Admin emails (comma-separated)
VITE_SUPER_ADMIN_EMAILS=
SUPER_ADMIN_EMAILS=
# Image generation API
CIYUAN_BASE_URL=https://hk.xidaoapi.com
IMAGE_MODEL=gpt-image-2
# App URL
APP_URL=http://localhost:5173See .env.example for the full list.
Run the SQL migrations in supabase/combined_migration.sql via the Supabase SQL Editor.
|
UI & Interfaces ![]() View Cases |
Charts & Infographics ![]() View Cases |
Posters & Typography ![]() View Cases |
|
Products & E-commerce ![]() View Cases |
Brand & Logos ![]() View Cases |
Photography & Realism ![]() View Cases |
|
Illustration & Art ![]() View Cases |
Architecture & Spaces ![]() View Cases |
Full Gallery ![]() Open Gallery |
This project is based on awesome-gpt-image-2 by freestylefly, licensed under MIT.
The original project organizes 400+ GPT-Image prompt cases and 20+ industrial templates into structured, reusable protocols (Prompt-as-Code). We customized it for XidaoAPI with:
- User API Key support (generate with your own key)
- Email/password registration & login
- Model selector (gpt-image, gpt-image-2, gpt-image-2-c)
- API endpoint:
https://hk.xidaoapi.com
Original prompt cases reference public content from YouMind and OpenNana for learning and research. Copyright belongs to the original authors.
MIT License — Free to use, modify, and distribute with license notice preserved.








