The winner is " Image renamer website for SEO" We are going to build a SAAS website where people can let AI bulk rename images based on keywords they fill in on the site + ai vision that wil look at the content of the images and make sure the new image names also say correctly something about what is inside the actual image. Example for 1 image: Old image name: 23441124-2025.jpeg (image of a brown bread) User given keywords: Bread bakery, Bakery Amsterdam, Best Amsterdam baker New ai generated image file name: Brown bread from Bakery Amsterdam Functions For the best SEO performance we want the new image names to be human-like. There should be a " enhance keywords with ai" button to let ai generate more SEO valuable keywords to use. We want people to be able to drag and drop folder of max 50 images per month to the website at 1 time. Users should be able to download the newly named images as a .zip file. We want the newly generated image names to be visable before people download the ZIP file, so they can check before download. We want people to make an account before using the SAAS (login with google), there should be an option to pay to upgrade your account to " pro" so that you can upload 500 images per month and "max" to upload 1000 images per month.
Find a file
DustyWalker e7e09d5e2c feat(db): implement complete database schema and models
- Add Prisma schema with PostgreSQL 15 support
- Create Users, Batches, Images, Payments, ApiKeys tables
- Implement proper foreign key relationships and indexes
- Add enum types for status fields (Plan, BatchStatus, ImageStatus, PaymentStatus)
- Support for JSON fields (vision_tags, metadata)
- UUID primary keys for security
- Created/updated timestamps with proper defaults

Database Layer Components:
- Prisma service with connection management and health checks
- Repository pattern for all entities with comprehensive CRUD operations
- TypeScript DTOs with class-validator decorations
- Swagger API documentation annotations
- Helper functions for business logic (quota management, pricing, etc.)

Development Support:
- Environment variables template
- Database seed script with realistic test data
- TypeScript configuration optimized for Nest.js
- Package.json with all required dependencies

Resolves database requirements from issues §78-81 establishing
the complete data layer foundation for the AI Bulk Image Renamer SaaS.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-05 17:02:03 +02:00
packages/api feat(db): implement complete database schema and models 2025-08-05 17:02:03 +02:00
plan-for-devs.md 23 2025-08-04 21:09:31 +02:00
plan.md 213 2025-08-04 20:50:42 +02:00
README.md more info for MVP added 2025-08-04 20:49:51 +02:00

Comprehensive, LLM-Testable Specification for the “AI Bulk Image Renamer” SaaS

0. Terminology

  1. Batch = one drag-and-drop upload event containing ≤ N images, where N depends on the users plan.
  2. Basic = default free plan, quota = 50 images / calendar month.
  3. Pro = paid plan, quota = 500 images / calendar month.
  4. Max = paid plan, quota = 1000 images / calendar month.
  5. Keyword Set = the list of keywords a user provides or the system extends.
  6. Enhanced Keyword Set = Keyword Set after pressing “Enhance keywords with AI”.
  7. AI Vision Descriptor = tags the vision model returns for one image.
  8. Proposed Filename = final, humanreadable name generated for one image.
  9. Review Table = screen listing every original filename beside its Proposed Filename before download.

1. HighLevel Goals

  1. The product shall let any authenticated user rename many images in one batch using a combination of usersupplied keywords and automatic computervision tags.
  2. The product shall output renamed images that are searchenginefriendly, syntactically safe for all major file systems, and semantically descriptive of image content.
  3. The product shall monetise via tiered monthly quotas and Stripehandled subscriptions.
    hallo

Minimal viable product specs

The MVP has to only have funcitonality for the user to supply keywords that the filenames should be based on.

It is just 1 landingpage with upload functions and the following features:

There should be a " enhance with ai" button to further expand the list of keywords to use when ranaming the images.

it should be posible to see the uploaded images as thumpbnails after uploading them. When the new names are generated, they should be underneath the coresponding image to indicate that that wil be the new file name.

After uplaoding and renaming there should be a download as zip file button. to download the newly renamed images.