Skip to content

Transform your stories into captivating comic art with dialogue effortlessly! this project harnesses the power of GeminiAI and stable diffusion for processing and generating stunning images and dialogues

Girishbari/comic-cult

Repository files navigation

Comic-cult

redbull gives you wings 💸we give you comic 🖼️

banner

ℹ️ Project description

Transform your stories into captivating comic art with dialogue effortlessly! Our project harnesses the power of GemeiAI and stable diffusion for processing and generating stunning images and dialogues. Utilizing feature flags, you can seamlessly toggle environment variables on and off as needed. The final masterpiece is delivered straight to your inbox as a beautifully crafted comic PDF. Enjoy the magic of storytelling in a whole new visual dimension! 📧💬🖼️

Demo 💻

comic-cult.mov

⚒️ Features:

Feature Name Feature Description
gemini Dialogue Generation With advanced dialogue generation capabilities, your characters come to life on the comic pages. Using sophisticated summary, gemeni generates natural and dynamic dialogues that complement the visuals, enhancing the overall storytelling experience.
dream studio Comic Art Generation : Leveraging stability AI and DreamStudio API keys, Comic Art Generation process is infused with stability and creativity. Stability AI ensures consistent and reliable image processing, while DreamStudio API keys unlock a world of artistic possibilities, allowing us to create captivating comic art with ease.
flagsmit Flagsmith Feature Flags Integration I've implemented flagsmith feature flags into our project, providing you with ultimate control over its functionalities. Whether you need to toggle specific features on or off, our feature flags make it effortless to customize the comic generation process according to your preferences and requirements.
nodemailer Email Delivery of Comic PDF: Seamlessly integrating nodemailer into our workflow, I've streamlined the process of delivering your comic PDF straight to your inbox. Nodemailer provides a robust and reliable solution for sending emails programmatically, ensuring that your comic masterpiece reaches its destination efficiently and securely.

🤔 What challenges I ran into

Comic Art generation I wanted to make something that is of fun and also gives me a lot of learning I used apis of openAi even utilized the langchain for some instances but wanted to take my level above, I wanted to play around with images that directed me of using any stable diffusion model (which I had no Idea how to use) I tried running model locally also used google collab however all these things made me more perplexed at the end I was in the need of some Stable diffusion API and key which dream-studio and Stability AI provided
Workflow/pipeline of making Probably I worked for this part mostly such a pipeline was the backbone of this project, I was too confused and wanted to leave project for once however, I slowly worked of making a streamlined flow of generating dialogues (gemini helped) and then getting images(Stability API helped) based on that dialogue, adding dialogues onto images(Canvas helped), all these steps I wanted to be reliable and smooth which could provide happy user experience
Using promises I have only heard and learned about promises and never utilized them in my any of the project until now, oh man they were life saver, they helped me in making and flow better and workable, I literally now want to use promises everywhere, I really got the understand of promises, async await, .then and catch
failure of express func and integration of nodemailer I am using express for my backend to serve front of various routes I never thought that res.sendfile, res.download would be so pathetic to use, they are made to sendfile from backend to frontend and guess what they were giving errors for the same, almost at this point also I am thinking to use them but they were so un-useful but then nodemailer came, I had this thought in back of my mind that if express functions does not work I will try sending pdf to user mail and using nodemailer this was so useful that I never imagined basically in few minutes I did this

💻 Tech Stack

  • Next.js - Next.js is an open-source web development framework.
  • TypeScript - TypeScript is a free and open-source high-level programming language.
  • Tailwind CSS - Tailwind CSS is a utility-first CSS framework for rapidly building modern websites without ever leaving your HTML.
  • Daisy UI - It has inbuilt tailwind component which can be used
  • Express - It is use to make server endpoint and serve front end as needed
  • flagsmith - Manage feature flags across web, mobile, and server side applications
  • Gemini AI - It has api which could be use ful to make prompt and get output
  • Nodemailer - Used to send mail or attachment programmatically
  • Turborepo - Incremental build system used for building monorepo projects

🔨 Locally install

To run this project, you will need to add the following environment variables to your .env file (use .env.example for reference)

[Gemini AI] https://ai.google.dev/docs
[Dream Studio] https://dreamstudio.ai/
[Nodemailer] https://stackoverflow.com/questions/45478293/username-and-password-not-accepted-when-using-nodemailer

🤔 How to contribute ?

Contributing to open-source software (OSS) projects can be a rewarding and fulfilling experience. Not only can you learn new skills, but you can also help make a valuable contribution to a project that benefits the broader community

  • Remember to read Code of Conduct before contributing.

  • Read the Git Workflow to follow best practices.

  • Follow the Contribution Guidelines.

  • Create an issue to report bugs, and vulnerabilities or add a new feature.

  • Remember to add a good commit message.

  • Don't spam if you do it your PR/issue will be closed.

About

Transform your stories into captivating comic art with dialogue effortlessly! this project harnesses the power of GeminiAI and stable diffusion for processing and generating stunning images and dialogues

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published