I want to build a large-scale, commercial AI creative platform for generating, editing, improving, organizing, and publishing **images, videos, short films, cinematic content, advertisements, social-media content, and other visual media**.

The platform should be designed as a serious commercial product, not a simple AI generator. It should combine AI generation, professional editing tools, user accounts, project management, media storage, collaboration, payments, subscriptions, APIs, and a modern creator workspace.

Your task is to help me design and build the complete platform architecture, user experience, database, backend, frontend, AI integration layer, storage system, billing system, security system, administration panel, and deployment structure.

## 1. Main Product Vision

Build an advanced AI-powered creative studio where users can create:

* AI images
* AI videos
* Short films
* Long-form film scenes
* Cinematic sequences
* Advertisements
* Product videos
* Social-media videos
* YouTube content
* Music videos
* Promotional clips
* Animated content
* Character-based content
* Talking-avatar videos
* Voice-over videos
* Storyboards
* Thumbnails
* Posters
* Product photography
* Marketing graphics
* Image animations
* Image-to-video projects
* Text-to-video projects
* Text-to-image projects
* Voice-to-image projects
* Voice-to-video projects
* Script-to-film projects

Users should be able to generate content by either:

1. Writing a text prompt.
2. Recording a voice note.
3. Uploading an existing image.
4. Uploading an existing video.
5. Uploading audio.
6. Uploading a script or document.
7. Combining several inputs in one project.

Voice notes should automatically be converted into text and used as generation instructions.

## 2. User Accounts

Create a complete authentication and account system.

Users should be able to:

* Register
* Log in
* Log out
* Reset passwords
* Verify email addresses
* Enable two-factor authentication
* Manage account security
* Update their profile
* Upload profile pictures
* Select preferred language
* Manage notification preferences
* View active sessions
* Manage connected devices
* Delete or export their account data

Support:

* Email/password authentication
* Google login
* Apple login
* Microsoft login
* Other social login providers where appropriate

## 3. Creator Profile

Every user should have a professional creator profile.

The profile may include:

* Profile picture
* Cover image
* Username
* Display name
* Biography
* Website
* Social links
* Creator category
* Location if the user chooses to display it
* Portfolio
* Public projects
* Followers
* Following
* Likes
* Views
* Collections
* Shared creations

Allow users to choose whether their profile is:

* Public
* Private
* Unlisted

## 4. User Creative Dashboard

Design an outstanding, easy-to-use creator dashboard.

The dashboard should feel like a combination of:

* Professional video editor
* AI generation studio
* Media library
* Project-management platform
* Cloud creative workspace

The dashboard should include:

* Create New Project
* Recent Projects
* Draft Projects
* Generated Images
* Generated Videos
* Films
* Audio
* Uploaded Media
* Favorites
* Collections
* Shared Projects
* Deleted Items
* Storage Usage
* Credit Usage
* Subscription Information

Users should immediately understand how to start creating content.

## 5. AI Creation Studio

Build a central AI Creation Studio.

Users should be able to select:

* Image Generation
* Video Generation
* Film Generation
* Image-to-Video
* Video-to-Video
* Text-to-Image
* Text-to-Video
* Voice-to-Image
* Voice-to-Video
* Script-to-Video
* Script-to-Film
* Storyboard Generator
* Character Generator
* Avatar Generator
* Advertisement Generator
* Product Video Generator
* Social Media Generator

## 6. Advanced Prompt System

The prompt area should support normal users and professional users.

Include:

* Text prompt
* Voice prompt
* Prompt suggestions
* Prompt enhancement
* Prompt rewriting
* Negative prompts
* Style presets
* Camera controls
* Lighting controls
* Environment controls
* Character controls
* Motion controls
* Audio controls
* Duration
* Resolution
* Aspect ratio
* Frame rate
* Output format

Provide an AI assistant that can help improve weak prompts.

For example, when a user writes:

"Create a man walking in Africa."

The AI assistant could suggest a more cinematic version while allowing the user to approve or edit it.

## 7. AI Image Generator

The image generator should include:

* Text-to-image
* Image-to-image
* Reference-image generation
* Inpainting
* Outpainting
* Background replacement
* Object removal
* Object addition
* Face enhancement
* Product-image generation
* Image variation
* Image remix
* Image restyling
* Upscaling
* Sharpening
* Noise removal
* Color correction
* Relighting
* Background removal
* Transparent backgrounds
* Image expansion
* Image restoration
* Old-photo restoration

Allow professional controls such as:

* Aspect ratio
* Resolution
* Seed
* Creativity
* Prompt strength
* Style strength
* Reference strength
* Number of outputs

## 8. AI Video Generator

The video generator should support:

* Text-to-video
* Image-to-video
* Video-to-video
* Character animation
* Product animation
* Camera-motion generation
* Talking characters
* Lip synchronization
* Scene extension
* Video restyling
* Video enhancement
* Slow motion
* Frame interpolation
* Video stabilization
* Background replacement
* Object removal
* Object insertion
* Video upscaling

Users should be able to control:

* Video length
* Resolution
* Aspect ratio
* Frame rate
* Camera movement
* Subject movement
* Style
* Lighting
* Scene
* Character
* Audio
* Voice
* Music
* Sound effects

## 9. AI Film Maker

Create a more advanced Film Maker section.

Users should be able to enter an idea such as:

"Create a 10-minute science-fiction film about a pilot stranded on Mars."

The platform should help create:

1. Film concept
2. Story
3. Screenplay
4. Characters
5. Dialogue
6. Scenes
7. Shot list
8. Storyboard
9. Camera instructions
10. Generated video clips
11. Voice acting
12. Music
13. Sound effects
14. Subtitles
15. Scene transitions
16. Final film timeline

The user should be able to review and edit every stage before final rendering.

## 10. Character Consistency System

Character consistency is extremely important.

Allow users to create reusable AI characters.

Each character profile can include:

* Character name
* Face
* Body type
* Age range
* Hairstyle
* Clothing
* Voice
* Personality
* Expressions
* Movement style
* Reference images

A saved character should be reusable across different images, scenes, videos, and films while maintaining a consistent appearance.

## 11. Scene Builder

Create a dedicated Scene Builder.

Users should be able to define:

* Location
* Time of day
* Weather
* Lighting
* Characters
* Objects
* Background
* Camera
* Movement
* Dialogue
* Music
* Sound effects

Scenes can then be arranged into larger films.

## 12. Storyboard Creator

Provide an AI storyboard system.

Users should be able to:

* Generate storyboard frames
* Rearrange scenes
* Add or delete shots
* Edit shot descriptions
* Modify camera angles
* Change characters
* Generate alternate shots

Display storyboard scenes visually.

## 13. Professional Video Editor

Create a timeline-based editor.

Include multiple tracks for:

* Video
* Images
* Voice
* Music
* Sound effects
* Text
* Subtitles
* Graphics
* Transitions

Editing functions should include:

* Cut
* Split
* Trim
* Crop
* Resize
* Rotate
* Speed adjustment
* Reverse
* Fade
* Transitions
* Filters
* Color correction
* Audio mixing
* Volume adjustment
* Noise reduction
* Voice cleanup
* Subtitle editing

Include undo and redo.

## 14. AI Editing Assistant

Build an AI assistant directly into the editor.

The user should be able to type or speak instructions such as:

"Remove the background."

"Make this scene brighter."

"Change the sky to sunset."

"Make the camera movement smoother."

"Remove the person on the left."

"Add cinematic music."

"Make this video suitable for TikTok."

"Translate the speech into French."

The AI should execute or propose the required editing steps.

## 15. Audio and Voice Studio

Include:

* Text-to-speech
* Speech-to-text
* Voice cloning with appropriate user consent
* Voice-over creation
* Noise removal
* Voice enhancement
* Background-music generation
* Sound-effect generation
* Audio synchronization
* Automatic dubbing
* Audio translation

Allow multiple languages and voices.

## 16. Automatic Subtitles

The platform should automatically create subtitles from video or audio.

Include:

* Subtitle generation
* Subtitle translation
* Subtitle timing
* Subtitle styling
* Burned-in captions
* SRT export
* VTT export

## 17. Translation and Localization

Allow users to translate:

* Video speech
* Voice-over
* Subtitles
* Scripts
* Captions
* Project descriptions

Support multilingual content creation.

## 18. Media Library

Every user's generated and uploaded content should be stored in their private media library.

Include:

* Images
* Videos
* Films
* Audio
* Projects
* Scripts
* Characters
* Storyboards
* Templates

Allow:

* Search
* Filters
* Tags
* Folders
* Collections
* Favorites
* Sorting
* Rename
* Duplicate
* Move
* Archive
* Delete
* Restore

## 19. Project Management

Every creation should belong to a project.

Example structure:

Project
→ Scenes
→ Clips
→ Images
→ Audio
→ Characters
→ Storyboards
→ Exports

Support automatic saving and version history.

Users should be able to restore earlier versions.

## 20. Cloud Storage

Implement secure scalable storage.

Store:

* Original files
* Generated files
* Edited files
* Project assets
* Thumbnails
* Temporary render files

Consider object storage such as:

* Amazon S3
* Cloudflare R2
* Google Cloud Storage
* Azure Blob Storage

Use CDN delivery for media.

## 21. AI Model Integration Layer

Do not design the platform around only one AI provider.

Create a provider-independent AI gateway.

The backend should be able to integrate different AI providers for:

* Image generation
* Video generation
* Speech recognition
* Voice generation
* Language models
* Music generation
* Image enhancement
* Video enhancement

The architecture must allow models to be changed later without rebuilding the entire application.

Create a standard internal API such as:

generateImage()

generateVideo()

generateVoice()

transcribeAudio()

generateMusic()

enhanceImage()

enhanceVideo()

## 22. Job Queue and Processing

AI generation can take a long time.

Implement asynchronous processing using job queues.

Every generation should have statuses such as:

* Queued
* Processing
* Rendering
* Completed
* Failed
* Cancelled

Users should see live progress.

Use technologies such as:

* Redis
* BullMQ
* RabbitMQ
* Kafka where appropriate

## 23. Notification System

Notify users when:

* Generation starts
* Generation completes
* Generation fails
* Rendering completes
* Shared project receives a comment
* Subscription changes
* Credits are running low

Support:

* In-app notifications
* Email
* Optional push notifications

## 24. Commercial Subscription System

Build the platform for commercial use.

Support:

* Free plan
* Starter plan
* Creator plan
* Professional plan
* Business plan
* Enterprise plan

Plans can differ by:

* Monthly credits
* Generation quality
* Maximum video resolution
* Maximum video duration
* Storage
* Number of projects
* Rendering priority
* Watermark removal
* Commercial usage rights
* Team members
* API access

## 25. Credits System

AI operations should consume credits based on computational cost.

Examples:

* Image generation
* HD image generation
* Video generation
* Film rendering
* Video upscaling
* Voice generation
* Music generation

Display estimated credit cost before generation.

Maintain a complete credit transaction history.

## 26. Payment System

Support:

* Credit cards
* Stripe
* PayPal
* Apple Pay
* Google Pay where supported

Include:

* Monthly subscription
* Annual subscription
* Credit packages
* Invoices
* Receipts
* Payment history
* Subscription cancellation
* Upgrades
* Downgrades

## 27. Commercial Licensing

Because the platform is intended for commercial creators, build a licensing system that clearly explains:

* Commercial usage rights
* Ownership rights
* Generated-content rights
* Restrictions
* Third-party model limitations
* Music licensing
* Voice licensing
* Stock asset licensing

Users should be able to view the applicable license for each exported project.

## 28. Public Creator Pages

Allow users to publish selected creations publicly.

Example:

/creator/username

Public creator pages can display:

* Profile
* Biography
* Images
* Videos
* Films
* Collections
* Followers
* Likes
* Views

Allow creators to control which projects are public.

## 29. Social Features

Potentially include:

* Follow creators
* Like content
* Comment
* Share
* Save
* Collections
* Creator discovery
* Trending content

Users should be able to disable social interaction where desired.

## 30. Collaboration

Professional users should be able to collaborate.

Include:

* Invite team members
* Shared projects
* Comments
* Review links
* Editor permissions
* Viewer permissions
* Admin permissions
* Version history

## 31. Template Marketplace

Create a marketplace containing:

* Image templates
* Video templates
* Advertisement templates
* Film templates
* Social-media templates
* Prompt templates
* Character templates
* Animation templates

Later, allow creators to sell templates.

## 32. Export System

Allow exports for major platforms.

Presets may include:

* YouTube
* YouTube Shorts
* Instagram
* Instagram Reels
* TikTok
* Facebook
* LinkedIn
* X
* Website advertising
* Cinema
* Television

Allow custom:

* Resolution
* Codec
* Frame rate
* Bitrate
* File format
* Aspect ratio

## 33. Supported Output Quality

Plan support for:

* 720p
* 1080p
* 2K
* 4K
* Future higher-quality formats

Images should support high-resolution professional exports.

## 34. Admin Dashboard

Create a powerful administration panel.

Administrators should be able to manage:

* Users
* Subscriptions
* Payments
* Credits
* AI models
* Generation jobs
* Storage
* Reported content
* Public content
* Templates
* Notifications
* Support tickets
* API usage
* System logs
* Errors
* Revenue reports
* Usage analytics

## 35. AI Provider Administration

Administrators should be able to enable or disable AI providers without changing code.

Display:

* Provider
* Model
* Cost
* Speed
* Availability
* Error rate
* Usage
* API status

Allow automatic fallback between providers when appropriate.

## 36. Safety and Moderation

Implement responsible content moderation.

Include:

* Prompt moderation
* Upload moderation
* Generated-content moderation
* Abuse reporting
* Copyright-reporting workflow
* Account suspension
* Content removal
* Audit logs

Special protections should exist around identity misuse, non-consensual impersonation, minors, illegal material, and other prohibited content.

## 37. Watermark and Content Provenance

Support optional watermarks depending on subscription.

Also design the platform to support content provenance metadata where technically possible.

## 38. Security

Use strong security practices.

Include:

* HTTPS
* Secure cookies
* CSRF protection
* XSS protection
* SQL injection protection
* Rate limiting
* Secure authentication
* Password hashing
* Two-factor authentication
* File validation
* Malware scanning
* Signed media URLs
* API authentication
* Audit logs
* Role-based permissions
* Backup and recovery

Never expose AI provider API keys in frontend code.

## 39. Privacy and Data Protection

Prepare the platform for international commercial use.

Include appropriate architecture for:

* GDPR
* Account-data export
* Account deletion
* Cookie consent
* Privacy controls
* Data-retention policies
* Consent management
* Age requirements
* Terms of Service
* Privacy Policy

## 40. User Experience

The platform must look premium, modern, and simple.

Do not make the interface confusing even though the product contains many features.

Use a clean dashboard structure such as:

Left sidebar:

Home
Create
Projects
Media
Images
Videos
Films
Characters
Audio
Templates
Shared
Favorites

Bottom:

Storage
Credits
Subscription
Settings

Main content area should change according to the selected tool.

## 41. Responsive Design

The application must work properly on:

* Desktop
* Laptop
* Tablet
* Mobile

However, professional timeline editing should prioritize the desktop experience.

## 42. Accessibility

Follow WCAG accessibility best practices.

Include:

* Keyboard navigation
* Screen-reader labels
* Visible focus states
* Accessible forms
* Good contrast
* Alternative text
* Captions

## 43. Recommended Technical Architecture

Propose the best technology stack for building this platform at commercial scale.

Evaluate options such as:

Frontend:

* Next.js
* React
* TypeScript
* Tailwind CSS

Backend:

* Node.js
* NestJS
* Python/FastAPI services where AI processing benefits from Python

Database:

* PostgreSQL

Cache / Queue:

* Redis

Storage:

* Amazon S3 or Cloudflare R2

CDN:

* Cloudflare or equivalent

Real-time:

* WebSockets

Payments:

* Stripe
* PayPal

Search:

* PostgreSQL initially
* Elasticsearch/OpenSearch if necessary at larger scale

Deployment:

* Docker
* Kubernetes when scale requires it
* CI/CD
* Cloud infrastructure

Do not simply accept these technologies. Compare them and recommend an architecture suitable for this product.

## 44. Database Design

Design the complete database structure.

At minimum include entities for:

* Users
* Profiles
* Sessions
* Subscriptions
* Plans
* Payments
* Invoices
* Credit transactions
* Projects
* Media
* Images
* Videos
* Audio
* Films
* Scenes
* Characters
* Storyboards
* Generations
* Generation jobs
* AI models
* AI providers
* Prompts
* Comments
* Likes
* Followers
* Collections
* Teams
* Team members
* Notifications
* API keys
* Audit logs
* Reports

Provide table relationships and important indexes.

## 45. API Architecture

Design professional APIs for:

* Authentication
* Users
* Profiles
* Projects
* Uploads
* Images
* Videos
* Films
* Audio
* AI generation
* AI editing
* Characters
* Storyboards
* Billing
* Credits
* Subscriptions
* Notifications
* Search
* Sharing
* Collaboration
* Administration

Use secure API versioning.

## 46. Scalability

Design the system so it can grow from a small launch to millions of users.

AI rendering services should scale independently from the main website.

Separate:

* Web application
* Main API
* Generation workers
* Rendering workers
* Audio workers
* Storage
* Billing
* Notification services

Avoid a monolithic architecture that becomes impossible to scale.

## 47. Analytics

Create analytics for users.

Users should see:

* Number of creations
* Views
* Downloads
* Storage usage
* Credit usage
* Popular projects
* Public profile performance

Administrators should see:

* Active users
* Revenue
* Churn
* Generation volume
* AI cost
* Storage cost
* Failed jobs
* Popular tools
* Subscription distribution

## 48. Future API Platform

Design the architecture so companies can later use the AI platform through an API.

Business customers should eventually be able to generate:

* Images
* Videos
* Audio
* Avatars
* Films

using API keys.

Include:

* API key management
* Usage limits
* Rate limits
* Developer documentation
* Usage analytics
* Billing

## 49. Future Mobile Applications

Plan the APIs so native applications can later be created for:

* iOS
* Android
* Desktop

The backend should not depend entirely on the web frontend.

## 50. Development Strategy

Do not attempt to build the entire platform as one huge unstructured application.

First create:

### Phase 1 — Foundation

Authentication
User profiles
Dashboard
Projects
Media library
Cloud uploads
Subscriptions
Payments
Credits

### Phase 2 — AI Creation

Text-to-image
Image editing
Text-to-video
Image-to-video
Voice prompting
Generation queue

### Phase 3 — Professional Editing

Timeline editor
Audio editor
Subtitle editor
AI editing assistant
Export system

### Phase 4 — Film Studio

Characters
Scenes
Storyboards
Script generation
Film timeline
Multi-scene rendering

### Phase 5 — Collaboration and Community

Teams
Sharing
Comments
Public creator pages
Followers
Marketplace

### Phase 6 — Enterprise

Developer API
Enterprise accounts
Advanced permissions
Custom AI models
Higher-scale infrastructure

## 51. What I Want You to Produce

Start by acting as a senior:

* SaaS architect
* AI systems architect
* Full-stack engineer
* UX/UI designer
* Database architect
* DevOps architect
* Product manager
* Security engineer

Then produce:

1. Complete product requirements document.
2. Recommended technology stack.
3. High-level system architecture.
4. Frontend architecture.
5. Backend architecture.
6. AI provider architecture.
7. Database schema.
8. Storage architecture.
9. Generation-job architecture.
10. User dashboard structure.
11. Full application sitemap.
12. Authentication architecture.
13. Subscription and credit system.
14. Payment architecture.
15. Admin dashboard.
16. Security architecture.
17. API structure.
18. Deployment architecture.
19. Development folder structure.
20. UI component system.
21. Development phases.
22. MVP definition.
23. Features for future versions.
24. Scalability strategy.
25. Cost-control strategy for AI generation.
26. Commercial licensing considerations.
27. Moderation and safety architecture.

After completing the architecture, begin generating the actual project structure and production-quality code module by module.

Do not build a basic demo.

Design this as a serious global commercial AI media creation platform that can eventually compete in functionality with professional AI image generators, video-generation tools, film-making tools, and editing platforms while maintaining its own unique architecture and user experience.

The code should be modular, secure, scalable, documented, maintainable, and ready for continuous expansion.
