Blog Post#2

For our project, The Online Trading Card Game Generator, we are using AI to generate images. Right now, that means connecting to OpenAI’s external API and requesting their server with a prompt. An interesting concept that I had to implement was using a file buffer to read the data into memory. This reminded me of coding in C, where every memory object had to be given an address.

One consequence of choosing one particular AI image generator is that they generate different images qualities. Perhaps choosing a different one would have served better for a generated card image. Using AI in this particular project hasn’t been any different than importing a library. In other project, that use AI extensively to model a system, it would be different. For us, it’s an API that we call. Later in the project, we’ll potentially use ChatGPT to either create card prompts or create rule sets for the game.

Print Friendly, PDF & Email

Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *