Giter VIP home page Giter VIP logo

hackillinois-2023's Introduction

AI Video Convertor Based on ControlNet

Introduction:

Our AI Video Converter is a powerful tool that transforms self-recorded or normal MMD videos into a variety of different styles, transfer between anime, realistic and more styles. With its potential to turn rough sketches into polished animations, it's a game-changer for the animation and film industries. With just a few clicks, you can enhance the quality of your videos and take your work to the next level. original

Model:

  1. anything 4.5 for animated model:https://huggingface.co/andite/anything-v4.0
  2. realistic Vision 1.3 for realistic model: https://civitai.com/models/4201/realistic-vision-v13
  3. Protogen v2.2 for 3D model: https://civitai.com/models/3627/protogen-v22-anime-official-release
  4. Dreamlike Diffusion 1.0 for art model: https://civitai.com/models/1274/dreamlike-diffusion-10
  5. fp16 controlNet model :https://huggingface.co/webui/ControlNet-modules-safetensors/tree/main

Inspiration:

In 2022, we witnessed a milestone in the world of AI-generated art, as delicate AI-generated drawings surpassed the skill of human artists. This achievement was followed in 2023 by the birth of ControlNet, which further pushed the boundaries of AI drawing generation by allowing for a stable and more controlled approach to creating drawings. In recent months, we have seen some incredible AI animations that are both delicate and consistent. These animations are created by cutting a video into individual frames, rendering each frame, and then putting them back together. But we wondered: could this process be made more user-friendly and convenient?" That's why we make this tool to help even non-programmers to generate their own AI Video!

What we learned:

Throughout the development process, we learned a lot about how to interact with stable diffusion and ControlNet models using Python and JavaScript APIs. We also gained experience in running Python servers like Flask and interacting with Vue frontend. We learned how to process videos, including automatically separating them into frames and then converting them back into a video after AI generation.

How we built our project:

We started by assigning tasks using Trello cards and creating a programming architecture flowchart to understand the structure of our entire program. We downloaded all the stable diffusion and ControlNet models onto one computer and tested them locally. We also created a local server to make it easier to switch to a crowd server. Finally, we used a web interface to make it easy for users to convert their videos in a user-friendly way.

Challenges:

Developing this cutting-edge technology was a challenging experience for our team of four freshmen, particularly when it came to time management. Testing the API from ControlNet and debugging took a lot of time, with ten minutes required to test a single video. We had to work tirelessly without sleep for 24 hours to complete the project.

How to run

To run the server, follow the steps below:

  1. Install flask and npm files
pip install flask
npm install
  1. Go into the client folder and run dev
cd client
npm run dev
  1. Ctrl-C to end hosting on 8080 (after building everything), go back to HackIllinois folder and build server
Ctrl-C
cd ../
python server.py
  1. Go to "127.0.0.1:5000" and you will see everything

hackillinois-2023's People

Contributors

charliedreemur avatar etwilight avatar ekcom avatar yuqingg3 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.