Skip to content

okafke/trAIding-cards

Repository files navigation

trAIding-cards

An AI generated trading card game.

This project was part of the 2023 Digital Science Night

This project was part of the 2024 NextMedia AI Festival

DiffusionBooth | trAIding-cards | trAIding-cards-gallery

Are 151 Pokémon not enough for you? Ever wanted to see what a hungry fridge on fire looks like? A demonic post box? Or the Kitchen Mixer Overlord? Let your imagination run wild: trAIding-cards uses Dall-E and ChatGPT to create cards for you. You can find all cards generated during the Digital Science Night in the Gallery.

Image 1 Image 4 Image 3

Image 2 Image 5 Image 6

Setup

Note that lots of the code in this repository is still written with the Digitial Science Night in mind. E.g. that includes lots of the specific printer code and printer ips.

Clone the repository. Create a file called env.properties in src/main/resources and add your OpenAI API key:

openai.api.key=<your OpenAI key>

Then execute:

./gradlew bootRun

Visit http://localhost:8080. Start creating cards :) Based on the current cost of the Openai API (08/12/2023) each card costs about 5–10 cents.

About

An AI generated trading card game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published