Yandere AI Girlfriend Simulator (Demo) - API SETUP Tutorial


Welcome and thank you for your interest in our game demo, Yandere AI Girlfriend Simulator! To play the demo, you'll need to use your own OpenAI API key and Azure Speech Service key (although the latter is optional but recommended). 

We apologize for any inconvenience this may cause, but as a small team of two, we've found that allowing you to use your own key and cover your own fee is the most practical approach for now. This way, it allows us to share our experimental findings with you as soon as we develop them.

[Cost for online services] We do not get any revenue from OpenAI or Azure. On the other hand, if you register a brand new account on OpenAI, it should give you $5 free credit to spend for the first 3 months, which can support at least 10+ rounds of play. Same thing on Azure, you can choose Free F0 tier on Azure Speech and get 5 hours free voice generating service each month (I actually never run out of the 5 hours limit yet..). The cost overall should be cheap (I played over 2 hundred rounds during development but OpenAI only charges me $18) But always be aware of the server cost though (you can adjust the spend limit on OpenAI platform as well)!

OPENAI API

OpenAI/ChatGPT is the core technology that allows us to create real-time dialogues, unique reactions, and endless solutions in the game.  So you have to use it to get the immersive experience.

To set up the OpenAI API key for the game, follow these steps:

  1. Go to https://platform.openai.com/account/api-keys,  sign up or login. 
  2. Create your secret key and copy it.
  3. Paste the key into the designated space for the OpenAI API key in the game.
  4. Add a payment method. BE AWARE OF THE USAGE AND FEES.
  5. Quit and restart the game


BE WARNED! OpenAI is a pay as you go service. so make sure to read and understand their terms and pricing before committing.

If you have any issues setting up the account, refer to the OpenAI website for solutions.


If you experience any issues, here are some common causes and solutions:

  • If the game keeps showing "thinking" it could indicate a connection issue or an issue with your OpenAI account. 
  • Your 3-month free trial may have expired.
  • You may not have a payment method set up. Remember, OpenAI is a paid service.
  • Check if your key is still working. OpenAI may revoke it if they find it's been leaked publicly.
  • Check your WiFi or VPN.
  • It's possible that OpenAI is down  (don’t remember happened before, ChatGPT did)
  • Some people mentioned that you have to use Gmail to login, but we logged in with Microsoft account and it worked just fine. 


Azure Speech Services API

This service is used for the text-to-speech function in the game. Which means, it’s optional, without it, you won’t be able to hear the voice. But we highly recommend using it, because we specially picked and tuned the voice, and it greatly enhances the experience. 

To set up the Azure Speech Services API key for the game, follow these steps:

  1. Sign in or start free to Microsoft Azure (https://azure.microsoft.com/en-us/products/cognitive-services/text-to-speech/#overview) 
  2. Search “speech services
  3. Click “Create speech service”.  If you have already created something before, there won't be this button, and I'm sure you'll be able to figure out the rest. 
  4. Fill out the required information according to the guidance, and make sure you select "Free F0" for the pricing tier
  5. Review and create
  6. Wait until the deployment is done
  7. Go to resources and find the key and region name. Copy and paste them into the corresponding blanks in the game.
  8. You might need to quit and restart the game


BE WARNED! Azure is also a pay as you go service. Make sure to read and understand their terms and pricing before committing.

However, you likely won't use Azure as frequently as OpenAI, as it only runs when generating speech. During our development process, we were pleasantly surprised to find that we haven't exceeded the free limit yet.

But read the terms and pricing carefully and check the usage as you check your credit card.

Troubleshoot:

While we haven't heard of many issues with setting up Azure API, please let us know if you run into any trouble and we'll do our best to look into it.


FUTURE PLAN

We're aware that setting up the API keys can be a hassle, and we're actively seeking solutions to eliminate that pain for you. We're also dedicated to fixing any bugs (yeah we noticed that embrassed typo) and improving the overall user experience. Other than those, we're planning on adding  more features, stories, and even new mechanisms powered by ChatGPT. 

If you have any feedback or ideas you'd like to share with us, please don't hesitate to leave a comment, send us an email (vivyhasadream@gmail.com) (with [YAGS] in the subject). Our team will try to respond more. We developed this game in less than one month and there's a long way to go, we appreciate your support and can't wait to see what the future holds.


Thanks for staying with us forever and ever journey. Until next time, stay safe, and remember to keep your yandere tendencies in check (just kidding... or are we?). 

Get Yandere AI Girlfriend Simulator ~ With You Til The End 世界尽头与可爱猫娘 ~ 病娇AI女友 Powered by ChatGPT

Download NowName your own price

Comments

Log in with itch.io to leave a comment.

Viewing most recent comments 25 to 44 of 64 · Next page · Previous page · First page · Last page
(-3)

How do you open the actual game, im stuc

(+1)

Lovely game so far... any plans to add VR type support to it?

Also had a bug where Maria, my AI GF, was disturbed when I mentioned the coffin photo in the hallway.... and mentioned about getting some ladders and tools, sat there for ten minutes and then fell over spontaneously before crying about me pushing her and getting us both stuck immobile with her 'crawling' on me, any idea how to fix that?

Can you add KoboldAI?🥲

Enjoyed the demo, I can tell the devs worked very hard on this.  My only suggestion so far (and im sure this is being worked on atm) would be for future updates to have the AI understand better how to engage activities

ex. I was able to get the AI to sit on the sofa but they would not stand back up or interact with objects unless I explicitly asked them to. I also wasn't able to actually turn on the tv, etc. even when the AI gave me objects to interact with them.

(+4)(-1)

the game keeps crashing whenever I click on "start game"

(+1)(-1)

Can someone help me I can`t open the game , and I think that`s bc of 7 zip?

I must say im impressed, the embarassed part sometimes get annoying and limitation of AI to detect metaphors, speechcrafts is sometimes a bother but overally project with potential. I would suggest making save mechanism to save progress with longer sessions. Also I took away 3 knifes and she still materialised another one (guess the pocket are quite deep). After 3h of talking about nothing, having fantasy roleplay session and convincing her she had dementia I msut say I definitly had Fun. I'm looking forward to things you can expand in future.

(2 edits) (+3)(-15)

you are really bad Developer, you don't allow us to try, you want us to pay by force, shame on you, I couldn't try the game because of you, you put a free download button and you don't give the opportunity to try it, if you don't allow it, make the game paid then, the fraudsters talked about the payment plan when you enter the game , I just downloaded the game today won't let me try, you are Scammers. 😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡😡

(+2)

maybe it was poorly designed, since you have to use external api's, but Scammers, that's too far none of the money you might spend in Microsoft azure or openai goes to them,so definitely not a scam. but I agree that it's too complicated for the mid-user.

What the hell are you on about LOL

(+1)

Lol, you have no idea how this works. The game relies on a technologie that the DEV has not the license to share. It would probaply cost him a few hundred thousand. And that is not within the scope of an indie game.

It's the same as some Dev offers you a free PS5 game while you don't own a PS5.

so does that mean after we use an API Key, we will be charged if it expires? or will we be charged if we use the key code? OR since it's a free charge, once free trail usage ends we will have to pay? or we don't pay at all but will be granted $5?

(-1)

yo can someone gimme the api shit idk just gimme that shit im broke

same

I cant talk to her with a microphone because it says "invalid language model"

(+2)

im not paying

I would rather pay for the game than pay Microsoft for ingame Tex to Voice.! 

(+2)

lat lest you had it working I could not even get a trial version to work because I don't have Company VatID and my college apparently doesn't exits accordion to Microsoft and hate putting a credit card in case I get charged a month in 12 months

So until the developer can bake into the next update for free, speech-to-text like Evie boot, then I do not play something that many people can hear and I have to read, it is a video game, not a book,comic/manga. Thanks

Yeah, you dont even go to college, If you did then i would probably be Hustlers.

Actually I was at Riverside College Widnes (foundation building section, still part of college) this education year I even got Students Beans discount.

So I wasn't lying, except on the floor. 😅

(+1)

Hi, it is possible to get speech-to-text for free without needing a Company VatId or Micropsft not letting me use my college i got for student access and needing to put my credit card information.

I just want the girl in this game to speak with a voice, how hard is it to not include it from the get-go for free?

Please either have this game cost money with build in voices or just give us the Speech SERVICE API key FREE On itch.

I not playing without voice to speech. huff

(+1)

Is it possible to use something similar to the following python code to prevent the need to have Azure? 


import pyttsx3

example_returned_text = 'This is an example of how using these few lines of code may prevent the need to use the Azure Speech Service. Just replace this line of code with the output text that is returned from the AI'

def speak(api_text: str, speech_rate=125, speech_volume=1.0):

    engine = pyttsx3.init()

    engine.setProperty('rate', speech_rate)

    engine.setProperty('volume', speech_volume)
    engine.say(api_text)

    engine.runAndWait()

speak(example_returned_text)

(-1)

Cant find speech services

Viewing most recent comments 25 to 44 of 64 · Next page · Previous page · First page · Last page