{"id":18531,"date":"2023-04-21T17:03:56","date_gmt":"2023-04-21T08:03:56","guid":{"rendered":"https:\/\/automaton-media.com\/en\/?p=18531"},"modified":"2023-04-21T17:03:59","modified_gmt":"2023-04-21T08:03:59","slug":"20230421-18531","status":"publish","type":"post","link":"https:\/\/automaton-media.com\/en\/news\/20230421-18531\/","title":{"rendered":"New ChatGPT plugin for RPG Maker MZ lets you auto-generate NPC dialogue"},"content":{"rendered":"\n<p><br><br>Japanese free game development team kotonoha* has released the official version of the <strong>ChatGPT_APIMZ plugin for RPG Maker MZ<\/strong>. By combining this plugin with the OpenAI API, users are able to implement ChatGPT generated dialogue into games created with RPG Maker MZ.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"\u30c4\u30af\u30fc\u30ebMZ\u3067ChatGPT API\u3092\u52d5\u304b\u3059\u30d7\u30e9\u30b0\u30a4\u30f3 ChatGPT_APIMZ Demo\" width=\"1160\" height=\"653\" src=\"https:\/\/www.youtube.com\/embed\/3Ts5NsqiQZ8?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><br>RPG Maker MZ is an RPG creation tool for PC that was released by KADOKAWA in August 2020. Recent titles in the RPG Maker series have also included the ability to use plugins. Users can create their own plugins as well as use those created by others.<\/p>\n\n\n\n<p>ChatGPT is an AI chatbot developed by OpenAI that uses the company\u2019s large language models. The service can be used via a web browser, or it can be implemented into your own programs by using the API. It can be used for a variety of purposes, including having the AI answer questions or assigning it instructions to carry out.<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" src=\"http:\/\/automaton-media.com\/en\/wp-content\/uploads\/2023\/04\/20230421-244817-001.jpg\" alt=\"\" class=\"wp-image-18533\" width=\"1021\" height=\"616\"\/><figcaption class=\"wp-element-caption\">* Screenshot taken from the video above<\/figcaption><\/figure>\n\n\n\n<p>ChatGPT_APIMZ is a plugin that allows ChatGPT to be used in RPG Maker MZ. It lets you use the AI to generate character dialogue and reactions. Ever since ChatGPT was first released, many users have thought of different ways that the technology could be used in games (<a href=\"https:\/\/automaton-media.com\/en\/news\/20230317-18177\/\" target=\"_blank\" rel=\"noreferrer noopener\">related article<\/a>). The ChatGPT_APIMZ plugin is another of these explorations into using AI within the medium.<\/p>\n\n\n\n<p>In the demo video for the plugin, the NPCs do not have set lines of dialogue. They are only assigned a name, role, and some other attributes, upon which ChatGPT then automatically generates their dialogue. For example, in the case of the girl who stands by the entrance of the village, settings that define her character include the fact that she is a seven-year-old girl, her favorite food, and the manner in which she speaks.<\/p>\n\n\n\n<p>When the player speaks to the girl, ChatGPT receives an instruction to tell the player the name of the village. The AI then generates a line of dialogue that provides this information while also being based on the settings assigned to the girl. As the dialogue is being automatically generated, each time you talk to the girl, her response is different.<\/p>\n\n\n\n<p>The plugin can be downloaded from kotonoha*\u2019s <a href=\"https:\/\/aokikotori.com\/archives\/2023\/04\/17\/826\" target=\"_blank\" rel=\"noreferrer noopener\">official site<\/a> (instructions for using the plugin are available in Japanese only), but an OpenAI API key is required to use it. Please note that if you release a game while your API key is still registered to it, there is a risk that it may be leaked to third parties who could attempt to use it. In order to avoid this problem, it is recommended that when releasing your game, you either set the API key on the server side or implement a function that requires the player to input their own key.<\/p>\n\n\n\n<p>kotonoha* have developed over 13 free games, including RPGs and mystery visual novels. Their plugin has already started to be used by other developers, and one has uploaded <a href=\"https:\/\/twitter.com\/ANNO1189\/status\/1648029706648969216\" target=\"_blank\" rel=\"noreferrer noopener\">a video<\/a> showing an in-development game that includes interactions with the AI. We can likely expect more games in the future that use AI in this way.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-twitter wp-block-embed-twitter\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\"><p lang=\"ja\" dir=\"ltr\">\u30d7\u30ed\u30f3\u30d7\u30c8\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u5bfe\u7b56\u3058\u3083\u306a\u3044\u3051\u3069\u3001\u66b4\u529b\u7684\u3059\u304e\u308b\u8a00\u8449\u3092\u4f7f\u3046\u3068\u6025\u306bAI\u4eba\u683c\u304c\u8868\u306b\u51fa\u3066\u840e\u3048\u308b\u3053\u3068\u3092\u8a00\u3063\u3066\u304f\u308b\u554f\u984c\u306e\u5bfe\u7b56\u3092\u3057\u305f\u3002<br>\u3053\u308c\u304b\u3089\u306f\u66b4\u529b\u7684\u306a\u8a00\u8449\u306b\u5bfe\u3057\u3066\u306fJavaScript\u5074\u3067\u9001\u4fe1\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u691c\u95b2\u3057\u3066\u524a\u9664\u3057\u3001AI\u306b\u30d7\u30ec\u30a4\u30e4\u30fc\u3092\u8972\u3046\u3088\u3046\u6307\u793a\u3059\u308b\u3002 <a href=\"https:\/\/t.co\/xASUQoMqgw\">pic.twitter.com\/xASUQoMqgw<\/a><\/p>&mdash; \u5bcc\u7530\u52e2\u6e90 (@ANNO1189) <a href=\"https:\/\/twitter.com\/ANNO1189\/status\/1647406170003628032?ref_src=twsrc%5Etfw\">April 16, 2023<\/a><\/blockquote><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>\n<\/div><figcaption class=\"wp-element-caption\"><font size=\"2\"><strong>Tweet Translation:<br><\/strong>This isn\u2019t a protection measure against prompt injections, but it does solve the issue of the AI personality suddenly coming to the surface and providing meek responses to overly violent language.<br>From now on, violent language is addressed on the JavaScript side by censoring and deleting the outgoing message, before instructing the AI to attack the player.<\/font><\/figcaption><\/figure>\n\n\n\n<p><br><br><br><br><\/p>\n\n\n\n<p style=\"font-size:12px\"><em>Written by. Marco Farinaccia based on the <a href=\"https:\/\/automaton-media.com\/articles\/newsjp\/20230421-244817\/\" target=\"_blank\" rel=\"noreferrer noopener\">original Japanese article<\/a> (original article&#8217;s publication date: 2023-04-21 10:52 JST)<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The ChatGPT_APIMZ plugin for RPG Maker MZ lets users implement ChatGPT generated dialogue into their games.<\/p>\n","protected":false},"author":17,"featured_media":18534,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_gspb_post_css":"","footnotes":""},"categories":[3],"tags":[17],"class_list":["post-18531","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-japan-related-news"],"blocksy_meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>New ChatGPT plugin for RPG Maker MZ lets you auto-generate NPC dialogue - AUTOMATON WEST<\/title>\n<meta name=\"description\" content=\"The ChatGPT_APIMZ plugin for RPG Maker MZ lets users implement ChatGPT generated dialogue into their games.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/automaton-media.com\/en\/news\/20230421-18531\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"New ChatGPT plugin for RPG Maker MZ lets you auto-generate NPC dialogue - AUTOMATON WEST\" \/>\n<meta property=\"og:description\" content=\"The ChatGPT_APIMZ plugin for RPG Maker MZ lets users implement ChatGPT generated dialogue into their games.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/automaton-media.com\/en\/news\/20230421-18531\/\" \/>\n<meta property=\"og:site_name\" content=\"AUTOMATON WEST\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-21T08:03:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-21T08:03:59+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/automaton-media.com\/en\/wp-content\/uploads\/2023\/04\/20230421-244817-header.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Keiichi Yokoyama\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@AUTOMATON_ENG\" \/>\n<meta name=\"twitter:site\" content=\"@AUTOMATON_ENG\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Keiichi Yokoyama\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"New ChatGPT plugin for RPG Maker MZ lets you auto-generate NPC dialogue - AUTOMATON WEST","description":"The ChatGPT_APIMZ plugin for RPG Maker MZ lets users implement ChatGPT generated dialogue into their games.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/automaton-media.com\/en\/news\/20230421-18531\/","og_locale":"en_US","og_type":"article","og_title":"New ChatGPT plugin for RPG Maker MZ lets you auto-generate NPC dialogue - AUTOMATON WEST","og_description":"The ChatGPT_APIMZ plugin for RPG Maker MZ lets users implement ChatGPT generated dialogue into their games.","og_url":"https:\/\/automaton-media.com\/en\/news\/20230421-18531\/","og_site_name":"AUTOMATON WEST","article_published_time":"2023-04-21T08:03:56+00:00","article_modified_time":"2023-04-21T08:03:59+00:00","og_image":[{"width":1200,"height":675,"url":"http:\/\/automaton-media.com\/en\/wp-content\/uploads\/2023\/04\/20230421-244817-header.jpg","type":"image\/jpeg"}],"author":"Keiichi Yokoyama","twitter_card":"summary_large_image","twitter_creator":"@AUTOMATON_ENG","twitter_site":"@AUTOMATON_ENG","twitter_misc":{"Written by":"Keiichi Yokoyama","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/automaton-media.com\/en\/news\/20230421-18531\/#article","isPartOf":{"@id":"https:\/\/automaton-media.com\/en\/news\/20230421-18531\/"},"author":{"name":"Keiichi Yokoyama","@id":"https:\/\/automaton-media.com\/en\/#\/schema\/person\/6f388b2d3593c937cd95f64ae33839f1"},"headline":"New ChatGPT plugin for RPG Maker MZ lets you auto-generate NPC dialogue","datePublished":"2023-04-21T08:03:56+00:00","dateModified":"2023-04-21T08:03:59+00:00","mainEntityOfPage":{"@id":"https:\/\/automaton-media.com\/en\/news\/20230421-18531\/"},"wordCount":615,"publisher":{"@id":"https:\/\/automaton-media.com\/en\/#organization"},"image":{"@id":"https:\/\/automaton-media.com\/en\/news\/20230421-18531\/#primaryimage"},"thumbnailUrl":"https:\/\/automaton-media.com\/en\/wp-content\/uploads\/2023\/04\/20230421-244817-header.jpg","keywords":["News (Japan-related)"],"articleSection":["News"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/automaton-media.com\/en\/news\/20230421-18531\/","url":"https:\/\/automaton-media.com\/en\/news\/20230421-18531\/","name":"New ChatGPT plugin for RPG Maker MZ lets you auto-generate NPC dialogue - AUTOMATON WEST","isPartOf":{"@id":"https:\/\/automaton-media.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/automaton-media.com\/en\/news\/20230421-18531\/#primaryimage"},"image":{"@id":"https:\/\/automaton-media.com\/en\/news\/20230421-18531\/#primaryimage"},"thumbnailUrl":"https:\/\/automaton-media.com\/en\/wp-content\/uploads\/2023\/04\/20230421-244817-header.jpg","datePublished":"2023-04-21T08:03:56+00:00","dateModified":"2023-04-21T08:03:59+00:00","description":"The ChatGPT_APIMZ plugin for RPG Maker MZ lets users implement ChatGPT generated dialogue into their games.","breadcrumb":{"@id":"https:\/\/automaton-media.com\/en\/news\/20230421-18531\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/automaton-media.com\/en\/news\/20230421-18531\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/automaton-media.com\/en\/news\/20230421-18531\/#primaryimage","url":"https:\/\/automaton-media.com\/en\/wp-content\/uploads\/2023\/04\/20230421-244817-header.jpg","contentUrl":"https:\/\/automaton-media.com\/en\/wp-content\/uploads\/2023\/04\/20230421-244817-header.jpg","width":1200,"height":675},{"@type":"BreadcrumbList","@id":"https:\/\/automaton-media.com\/en\/news\/20230421-18531\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/automaton-media.com\/en\/"},{"@type":"ListItem","position":2,"name":"New ChatGPT plugin for RPG Maker MZ lets you auto-generate NPC dialogue"}]},{"@type":"WebSite","@id":"https:\/\/automaton-media.com\/en\/#website","url":"https:\/\/automaton-media.com\/en\/","name":"AUTOMATON WEST","description":"AUTOMATON is a website that covers the Japanese gaming world. We bring you the news on video games from Osaka and Tokyo.","publisher":{"@id":"https:\/\/automaton-media.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/automaton-media.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/automaton-media.com\/en\/#organization","name":"\u682a\u5f0f\u4f1a\u793e\u30a2\u30af\u30c6\u30a3\u30d6\u30b2\u30fc\u30df\u30f3\u30b0\u30e1\u30c7\u30a3\u30a2","url":"https:\/\/automaton-media.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/automaton-media.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/automaton-media.com\/en\/wp-content\/uploads\/2021\/04\/activegamingmedia_logo.png","contentUrl":"https:\/\/automaton-media.com\/en\/wp-content\/uploads\/2021\/04\/activegamingmedia_logo.png","width":374,"height":190,"caption":"\u682a\u5f0f\u4f1a\u793e\u30a2\u30af\u30c6\u30a3\u30d6\u30b2\u30fc\u30df\u30f3\u30b0\u30e1\u30c7\u30a3\u30a2"},"image":{"@id":"https:\/\/automaton-media.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/AUTOMATON_ENG","https:\/\/www.youtube.com\/channel\/UCabvYnvuUUbbGUrxkaFRgSA"]},{"@type":"Person","@id":"https:\/\/automaton-media.com\/en\/#\/schema\/person\/6f388b2d3593c937cd95f64ae33839f1","name":"Keiichi Yokoyama","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/automaton-media.com\/en\/wp-content\/uploads\/2021\/03\/yokoyama-100x100.jpg","url":"https:\/\/automaton-media.com\/en\/wp-content\/uploads\/2021\/03\/yokoyama-100x100.jpg","contentUrl":"https:\/\/automaton-media.com\/en\/wp-content\/uploads\/2021\/03\/yokoyama-100x100.jpg","caption":"Keiichi Yokoyama"},"description":"JP AUTOMATON writer","url":"https:\/\/automaton-media.com\/en\/author\/keiichi-yokoyama\/"}]}},"_links":{"self":[{"href":"https:\/\/automaton-media.com\/en\/wp-json\/wp\/v2\/posts\/18531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/automaton-media.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/automaton-media.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/automaton-media.com\/en\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/automaton-media.com\/en\/wp-json\/wp\/v2\/comments?post=18531"}],"version-history":[{"count":2,"href":"https:\/\/automaton-media.com\/en\/wp-json\/wp\/v2\/posts\/18531\/revisions"}],"predecessor-version":[{"id":18536,"href":"https:\/\/automaton-media.com\/en\/wp-json\/wp\/v2\/posts\/18531\/revisions\/18536"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/automaton-media.com\/en\/wp-json\/wp\/v2\/media\/18534"}],"wp:attachment":[{"href":"https:\/\/automaton-media.com\/en\/wp-json\/wp\/v2\/media?parent=18531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/automaton-media.com\/en\/wp-json\/wp\/v2\/categories?post=18531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/automaton-media.com\/en\/wp-json\/wp\/v2\/tags?post=18531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}