Inspiration
AI generated art that is a result of specific and tailored prompts with additional context.
What it does
Prompt Enhancer is both a Discord bot and website that allows users to input a simple image generation prompt related to movies. Prompt Enhancer will then refer to its database or webscrape various websites for metadata to make the prompt more film accurate.
Example
kermit the frog in the grand budapest hotel -> film still, kermit the frog in the grand budapest htoel (2014), Film By Wes Anderson, Adventure, Comedy, Crime, Celluloid, ARRICAM Studio (ST) Camera, shot on Kodak Vision3 200T 5213/7213 Neg. Film, 35mm Film Negative Width, Color --style raw --ar 2:1 --stylize 50
How we built it
The most important part of the project was the scraping and storing of movie metadata. A python script interacts with the user and uses the IMDB python package search tool to find the most popular movie based on the users request. It then checks a database to see if the movie has been processed before. If not, it will webscrape IMDB and Who Shot on What to find data regarding director, genre, camera, film width, and other important pieces that can affect how Midjourney renders images.
Challenges we ran into
The first site we attempted to scrape was IMDB, which is a dynamic web page. This created issues as it is significantly hard to website scrape dynamic websites. Who Shot on What was easier as it was static and the ability to locally save the HTML sped up development.
Accomplishments that we're proud of
The enhanced prompts produce images are faithful to the design to their original films and are more accurate than the naive prompts.
What we learned
We learned a lot about webscraping and how to scrape dynamic pages. We also learned a lot about AI prompting and the surprisingly depth behind prompts that create impressive works of art.
What's next for GenAI Prompt Enchancer
The next step is to enhance the website and potentially add a feature for users to add items to the gallery. There are also plans better cleansing of data and user input.
Log in or sign up for Devpost to join the conversation.