GithubHelp home page GithubHelp logo

k0ntr4 / anigame_fusion Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 51 KB

A simple side project that uses cagliostrolab/animagine-xl-3.1 and igdb to create images of anime characters with elements of specific games. Can be used as a profile picture generator.

License: MIT License

Python 97.55% SCSS 2.45%
anime anime-characters character-generation contributions-welcome cuda-support deep-learning game-elements gaming gui igdb-api image-generation mit-license natural-language-processing nltk profile-pictures pyside6 python pytorch requests-cache fusion-generator

anigame_fusion's Introduction

Anime Game Character Fusion Generator

Overview

The Anime Game Character Fusion Generator is a fun and creative side project designed to blend elements of anime characters with specific game themes, producing unique and visually appealing images. Leveraging the power of the cagliostrolab/animagine-xl-3.1 library for anime character generation and the igdb (Internet Game Database) API for accessing game data, this project offers users the ability to generate personalized profile pictures that reflect their favorite anime and gaming interests.

Features

  • Anime Character Generation: Utilizes the cagliostrolab/animagine-xl-3.1 library to create anime-style characters.

  • Game Theme Integration: Integrates elements from specific games into the generated anime characters, allowing users to select their favorite games.

  • Profile Picture Generator: Generates images suitable for use as profile pictures on social media platforms, gaming forums, or other online communities, providing users with a personalized and visually striking representation of their interests.

Installation

  1. Clone the repository from GitHub:

    git clone https://github.com/your-username/anime-game-character-fusion.git
  2. Install dependencies using pip:

    pip install -r requirements.txt
  3. (Optional) Install Sass and compile Sass file into CSS:

    sass ./resources/form.scss ./resources/form.css
  4. Obtain API credentials for the igdb API and set them as environment variables TWITCH_CLIENT_ID & TWITCH_CLIENT_SECRET with your actual API key.

Installation (Optional: CUDA Support)

If you have an NVIDIA GPU with CUDA support and want to accelerate image generation, follow these additional steps:

  1. Ensure you have CUDA installed on your system. Refer to the NVIDIA CUDA Toolkit documentation for installation instructions specific to your operating system.

  2. Once CUDA is installed, reinstall pytorch:

    pip uninstall torch
    #command from link above
  3. Run the project as usual, and image generation should now benefit from GPU acceleration, resulting in faster processing times.

Note: CUDA support may require additional configuration and setup, and not all systems or GPUs may be compatible. Refer to the documentation provided by NVIDIA and the cagliostrolab/animagine-xl-3.1 library for more detailed information on enabling CUDA support.

Usage

  1. Run the main script with your PYTHONPATH environment variable set to ".":

    python src/main.py
  2. Follow the gui to customize your anime character and select game elements to incorporate into the fusion.

  3. Once satisfied with the selections, the generated image will be previewed and can be saved to the specified directory.

Dependencies

  • cagliostrolab/animagine-xl-3.1: A powerful library for generating anime-style characters with customizable attributes.

  • igdb API: Provides access to a vast database of game-related information, allowing integration of game elements into the generated images.

Contributing

Contributions to the project are welcome! If you have ideas for new features, improvements, or bug fixes, feel free to submit a pull request. Please adhere to the established coding conventions and follow the project's code of conduct.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

  • Special thanks to the developers of cagliostrolab/animagine-xl-3.1 for providing a fantastic library for anime character generation.
  • Thanks to the creators of the igdb API for enabling access to comprehensive game data.
  • Special thanks to the PySide6 developers for providing a powerful toolkit for creating cross-platform desktop applications with Python.
  • Thanks to the NLTK developers for creating a comprehensive library for natural language processing tasks in Python.
  • Acknowledgements to the requests_cache developers for offering a convenient way to cache HTTP responses in Python applications.
  • Thanks to the PyTorch developers for developing an efficient and flexible deep learning framework for research and production.
  • Gratitude to the developers of thefuzz for providing a useful library for fuzzy string matching, enhancing the accuracy of character name search.

anigame_fusion's People

Contributors

dependabot[bot] avatar k0ntr4 avatar matzey avatar

Watchers

 avatar  avatar

Forkers

matzey

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.