Get Free Synopsis PDF
We will prepare a detailed synopsis for your college submission. Includes problem statement, objectives, DFD, ER diagram, and more.
This project builds a prompt-assist tool that helps users craft more effective prompts for text-to-image generation models by suggesting style keywords, composition details, and lighting descriptors based on a rough initial idea. A language model analyzes the user's draft prompt and an embedding-based retrieval system surfaces relevant descriptive terms from a curated prompt-engineering knowledge base, then generates several enhanced prompt variations. A React-based interface lets users iteratively refine prompts and preview generated images side by side to compare results.
Problem Statement
Many users struggle to get the desired results from text-to-image generation tools because effective prompt writing requires specialized vocabulary around style, lighting, and composition that casual users do not know. A prompt-assist tool that enhances rough ideas into detailed, effective prompts can significantly improve the quality and relevance of generated images for non-expert users.
The problem in one line
Ask a beginner to type a prompt for an image generator and you get "a cat on a sofa". Ask someone experienced and you get the lighting, camera angle, art style and mood. This project closes that gap: the user types a rough idea, and the tool suggests the missing details and shows the difference side by side.
How the pieces fit together
- Knowledge base: a list of useful prompt terms grouped by type (style, lighting, composition, camera, colour). You can build it from public prompt collections such as DiffusionDB, which contains real prompts people used with Stable Diffusion.
- Retrieval: turn each term and the user's draft into embeddings, then fetch the closest style and lighting terms for that idea.
- Rewriter: an LLM takes the draft plus the retrieved terms and writes three improved prompt variations.
- Image generation: send the original and the improved prompts to an image model (a hosted API or Stable Diffusion running locally) and show the results side by side in a React interface.
Keeping it doable in one semester
Don't train any model from scratch. Your contribution is the retrieval pipeline, the prompt templates and the interface. Use a free or low-cost image API for the demo, and cache generated images so the viva doesn't depend on a slow network.
Pick one theme to start, for example product photos or fantasy art, and make the knowledge base strong for that theme before widening it.
How to show that it works
Prepare 15-20 rough prompts and generate images for both the original and the improved version. Ask classmates to pick the better image without telling them which is which, and report how often the improved prompt wins. A simple blind test like this gives you real numbers for the results chapter.
Objectives
Build a curated knowledge base of effective prompt-engineering terms and patterns
Implement a retrieval system to surface relevant descriptive terms for a draft prompt
Use a language model to generate enhanced prompt variations from user input
Integrate with a text-to-image generation API to preview resulting images
Build an interface for iterative prompt refinement and side-by-side image comparison
Modules
Prompt Knowledge Base Module
Curates a structured collection of effective style, lighting, and composition descriptors used in prompt engineering.
Retrieval Module
Uses embedding-based search to surface relevant descriptive terms matching the user's draft prompt intent.
Prompt Enhancement Module
Applies a language model to combine the user's idea with retrieved descriptors into several enhanced prompt variations.
Image Preview Module
Sends enhanced prompts to a text-to-image generation API and displays the resulting images.
Iterative Refinement Interface Module
Allows users to compare generated images side by side and further refine prompts based on results.
Expected Output
The tool transforms rough user ideas into detailed, effective prompts and previews the resulting generated images side by side, helping non-expert users achieve noticeably improved image generation results. It demonstrates a practical retrieval-augmented approach to prompt engineering assistance.
Future Scope
Future work includes learning personalized style preferences from a user's past successful prompts and extending support to video-generation prompt assistance.