Caravaggio, the renowned Italian painter of the early modern period, is celebrated for his dramatic intensity and pioneering use of chiaroscuro. But what if he had been a Marvel artist?
Caravaggio-AI's collection showcases AI-generated interpretations of how Caravaggio might have envisioned each of Marvel's seventy-three (and counting) iconic events.
With a unique fusion of his signature artistic techniques and the dynamic universe of Marvel, these images provide a captivating exploration of an alternate artistic reality.
We update our gallery daily with a new image, inviting you to explore this evolving fusion of art and storytelling. Join us daily to witness the unfolding of this extraordinary artistic journey.
Data provided by Marvel. © 2014 Marvel
DISCLAIMER: This is a fan project. It is NOT an official Marvel project nor is it endorsed by Marvel.
Caravarvel-AI (Caravaggio + Marvel + AI) is a personal project that uses Marvel's Developer API to retrieve data about their events (like sagas).
The description for each event is then sent to Dall-E (OpenAI's image creation model) with the following prompt:
"Create a Caravaggio style painting based on the following prompt, ignoring the artists who created this story if there are any references to them. Focus on the summary of the story. Do not include any text in the resulting image. Ensure that there are no copyrighted characters in the resulting image, and that there is ethnic, gender, physical and sexual diversity. Replace any elements of this prompt with generic ones to avoid breach of copyright:"
followed by the description of the event.
Sadly, Dall-E "enriches" the prompt by default, meaning that the original description is largely changed and, sometimes, the "enriched" prompt is very different from the original description.
Once Dall-E finishes creating the image from the prompt it returns the URL to the image. This is then fetched and the image saved in an S3 bucket. The address to this bucked is saved in the DB alongside the description, title and some other bits of information.
Lastly, in the frontend, when you post a comment it gets sent to ChatGPT for moderation. Comments are moderated based on OpenAI's usage policies.
See the backend code here: https://github.com/icenando/marvel-ai
See the frontend code here: https://github.com/icenando/marvel-ai-ui