(React Frontend / Client)
e.g., "A cat in space"
/api/generate (Express API)
(contains prompt & size)
API with given prompt & parameters
encoded image data to the backend
and sends JSON { image: dataURL }
and displays it to the user
User_ID (PK)
Name
Email
Password
Created_At
Prompt_ID (PK)
User_ID (FK)
Prompt_Text
Size
Image_ID (PK)
Prompt_ID (FK)
Image_URL/Base64
Model_Used
Generated_At
Favorite_ID (PK)
Image_ID (FK)
Marked_At
by deep