Supabase Auth + Creem Billing

AI Tool Studio

Create styled AI images from prompts and optional reference photos, keep a downloadable history, and unlock unlimited generations with a subscription.

Free trial: 1 imagePaid plan: unlimited generationsAuth, billing, storage, and history included

Account status

Loading account...

AI image generator

Generate a new styled image

剩余 1 次

Your generated image will appear here after the model finishes.

生成历史

Recent generated images

0 条记录

Sign in to view and download your generated image history.

What customers get

  • Sign in with Google, GitHub, or Magic Link
  • Generate styled AI images with prompt plus optional reference image
  • Download final outputs and revisit them in generation history
  • Upgrade to unlimited generations through subscription checkout

Plan summary

  • Free plan includes 1 total image generation
  • Paid plan removes generation limits while subscription stays active
  • Policy and billing pages are published for merchant-review readiness

Billing setup

  • /api/creem/checkout creates a Creem subscription checkout session
  • /api/webhooks/creem verifies Creem signatures and updates Supabase
  • profiles.subscription_status and profiles.plan_id drive access in the UI

Generation tracking

  • image_generations stores each request with user ID, style, prompt, image URL, and timestamp
  • Generated images are uploaded to Supabase Storage using user_id/generation_id.png
  • Free tier starts with 1 total image generation
  • Subscribed users can generate without limit