NPC Dialog Generator using OpenAI

Author: jacklehamster


To use this API, first call: "/api", then provide the following query parameters: - choice [optional]: Choices separated by "|". Ex: choice=A|B|A|C (note that you must include previous choices to continue a conversation). You can also insert custom choices like choice=pizza|A - model [optional]: The chatgpt model to use. Default is "gpt-3.5-turbo-1106". List at: https://platform.openai.com/docs/models - creature [optional]: A description of the creature. Default is "an angel with wings".
You can check out the NPC dialog demo, which uses this API. Click here:

Please wait for DEMO to load... (could take up to a minute)

If it doesn't work, try the link: https://open-ai-npc.onrender.com

Source on Github: https://github.com/jacklehamster/open-ai-npc
While you wait, watch videos below showing how the demo works.