Inspiration
Inspired by wanting to see what different animals looked like at different time periods. At first, we wanted to use generative AI to create new dinosaurs, but then decided it would be better to have animals go in a time machine to any time period.
What it does
It takes input of an era (prehistoric, present, or future), a pattern, a color, the animal that goes into the time machine, and any additional traits the user wants. Then, using Google's Gemini 2.0 Flash Preview Image Generation API, it creates an animal that matches all the inputs the user puts in.
How we built it
We used Python to implement Gemini. Then, we created a webpage in HTML and CSS. We then connected the web page and the Python script using Flask.
Challenges we ran into
At first, the AI was not creating an image in the style we wanted. We decided to refine the prompt and put in an exact style, and the more specific we got, the better the images were.
Accomplishments that we're proud of
Using Flask to connect HTML and Python to create a front and back end. We are also proud of the style and layout of the web page.
What we learned
We learned Flask and how to use AI in our own project.
What's next for Pawst, Present, and Future
We want to create a quality check. We would do this by having sample images of our desired art style. Then, we would use another AI from Gemini to check if the image styles were similar to about 75%. If it wasn't, the AI would regenerate the image.
Log in or sign up for Devpost to join the conversation.