Skip to content

Game Asset Generator using Artificial Intelligence and NLP. Transforms natural language into game assets such as game objects, worlds, quests, storylines, branching-dialogue trees and 2D textures.

Notifications You must be signed in to change notification settings

jamesvovos/ai-game-asset-creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI 2D Game Asset Creator.

Generate 2D Game Assets utilising artificial intelligence, natural language processing and fine-tuned text-to-image deep learning models.

DashboardImage

Installation Guide

1. Install OpenAI

Install OpenAPI:

pip install openai

Add your OpenAI API key to a .env file like so: OPENAI_API_KEY=yourapikeyhere.

2. Install LangChain

Install LangChain:

pip install langchain

3. Install Streamlit

Install Streamlit:

pip install streamlit

4. Install Dotenv

Install Dotenv:

pip install python-dotenv

5. Run the server

CD/ into the project directory and run the command:

streamlit run app.py

Sample Responses:

SampleOutputImage2

Features

  • Chain together LLM generated output via pipeline architecture in order to create 2D game assets such as quests, items, storyline, character dialogue, etc.
  • Customise and fine-tune deeplearning text-to-image models to suit sylistic preferences.
  • Export 2D generated assets created by simple prompts.

.env

Create a .env file in the root project directory. Add the following variables with their relevant API keys: OPENAI_API_KEY, LEONARDO_AI_API_KEY, LEONARDO_AI_USER_ID. Refer to Leonardo AI's API documentation https://docs.leonardo.ai/reference NOTE: WIP - Creating database & API to store data.

# API Keys
OPENAI_API_KEY=""
LEONARDO_AI_API_KEY=""
LEONARDO_AI_USER_ID=""

License

MIT

About

Game Asset Generator using Artificial Intelligence and NLP. Transforms natural language into game assets such as game objects, worlds, quests, storylines, branching-dialogue trees and 2D textures.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages