{"id":8,"date":"2024-02-07T20:23:53","date_gmt":"2024-02-07T20:23:53","guid":{"rendered":"https:\/\/blogs.oregonstate.edu\/steeljer\/?p=8"},"modified":"2024-02-07T20:23:53","modified_gmt":"2024-02-07T20:23:53","slug":"blog-post2","status":"publish","type":"post","link":"https:\/\/blogs.oregonstate.edu\/steeljer\/2024\/02\/07\/blog-post2\/","title":{"rendered":"Blog Post#2"},"content":{"rendered":"\n<p>For our project, The Online Trading Card Game Generator, we are using AI to generate images. Right now, that means connecting to OpenAI&#8217;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. <\/p>\n\n\n\n<p>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&#8217;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&#8217;s an API that we call. Later in the project, we&#8217;ll potentially use ChatGPT to either create card prompts or create rule sets for the game. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>For our project, The Online Trading Card Game Generator, we are using AI to generate images. Right now, that means connecting to OpenAI&#8217;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 [&hellip;]<\/p>\n","protected":false},"author":14117,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.oregonstate.edu\/steeljer\/wp-json\/wp\/v2\/posts\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.oregonstate.edu\/steeljer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.oregonstate.edu\/steeljer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/steeljer\/wp-json\/wp\/v2\/users\/14117"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/steeljer\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":2,"href":"https:\/\/blogs.oregonstate.edu\/steeljer\/wp-json\/wp\/v2\/posts\/8\/revisions"}],"predecessor-version":[{"id":11,"href":"https:\/\/blogs.oregonstate.edu\/steeljer\/wp-json\/wp\/v2\/posts\/8\/revisions\/11"}],"wp:attachment":[{"href":"https:\/\/blogs.oregonstate.edu\/steeljer\/wp-json\/wp\/v2\/media?parent=8"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/steeljer\/wp-json\/wp\/v2\/categories?post=8"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/steeljer\/wp-json\/wp\/v2\/tags?post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}