AI image generator
Lay down the real product structure first, then connect the provider
Text-to-image, image-to-image, reference uploads, resolution presets, and visible credit cost are already aligned in the UI.
Generator preview
Credit deduction and activity logging are live. The real model provider lands next.
Visible cost: 2 credits
2000-character max. Generation jobs and credit deductions are now persisted to the database.
Aspect ratio
Resolution
Reference image
The uploaded reference is persisted into uploaded_assets and linked to this generation.
Why ship the shell first
Prove that users move from prompt pages into the generator before paying backend generation costs.
Visible credit costs and pricing logic make the Stripe or Lemon Squeezy integration much smoother later.
Provider keys, uploads, and file handling will live behind server-only boundaries once implemented.