AI Porn is here, Create and Fap TRY FREE
x

Tool Ren'Py Ren'py realtime translator Mod[v0.44.a]

5.00 star(s) 1 Vote
Jul 28, 2025
203
117
53
View attachment 5552548 View attachment 5552550
1. Sorry, where can I find those code?
2. is a must?
3. I am gonna use AI studio API key and Gemini flash 2.5. Should I input "Gemini flash 2.5" in model_name?
1-The guide in the first post is out of date now.
You can search "openrouter" in realtimetrans.rpy to locate the lines.
2-No.
But i did not test other providers,you may need to test yourself.
3-I think gemini is not supporting openai type requests ,so it probably not works.


I've been very busy at work this week, with increased maintenance due to the Christmas holidays weather.
Therefore, updates won't be frequent.
I'll try to release an update this weekend and update the guide to the latest version.
 
  • Like
Reactions: CAT0X0 and AVM666
Jul 28, 2025
203
117
53
View attachment 5552548 View attachment 5552550
1. Sorry, where can I find those code?
2. is a must?
3. I am gonna use AI studio API key and Gemini flash 2.5. Should I input "Gemini flash 2.5" in model_name?
Tested AI studio API key and Gemini flash 2.5.
1-In realtimetranslrpy,you should find
Code:
("api_keys", ["Your-API-KEY1", "Your-API-KEY2"]),#api,model,keys can not be set within the game ,you need to edit this file to change them.
 ("model_name", "meta-llama/llama-3.3-8b-instruct:free"),
 ("base_url", "https://openrouter.ai/api/v1/chat/completions"),
2-replace code with

Code:
("api_keys", ["my GEMINI api"]),#api,model,keys can not be set within the game ,you need to edit this file to change them.
 ("model_name", "gemini-2.5-flash"),
 ("base_url", "https://generativelanguage.googleapis.com/v1beta/openai/v1/chat/completions"),
3-Set the time_interval properly to meet google's rate limit.
In my test using free api,i encountered error 429 RESOURCE_EXHAUSTED very soon.
You might need to pay for increasing rate limit .
 
Jul 28, 2025
203
117
53
Tested AI studio API key and Gemini flash 2.5.
1-In realtimetranslrpy,you should find
Code:
("api_keys", ["Your-API-KEY1", "Your-API-KEY2"]),#api,model,keys can not be set within the game ,you need to edit this file to change them.
("model_name", "meta-llama/llama-3.3-8b-instruct:free"),
("base_url", "https://openrouter.ai/api/v1/chat/completions"),
2-replace code with

Code:
("api_keys", ["my GEMINI api"]),#api,model,keys can not be set within the game ,you need to edit this file to change them.
("model_name", "gemini-2.5-flash"),
("base_url", "https://generativelanguage.googleapis.com/v1beta/openai/v1/chat/completions"),
3-Set the time_interval properly to meet google's rate limit.
In my test using free api,i encountered error 429 RESOURCE_EXHAUSTED very soon.
You might need to pay for increasing rate limit .
And for guys who want to use LLM,
Check your providers' docs.
ONLY IF your api provider supports open-ai type requests,LLM is possible.

Check the example python codes.
base_url should be set to end_points url ,usually it is
url,eg. google provides " "
+"v1/chat/completions"
api_key and model_name should be same as example python code.
 
Jul 28, 2025
203
117
53
v0.44.a
update:27-12-2025
updated file:realtimetrans.rpy
1-Add prescan for part of the menu texts .
2-Prescan is now working in sub process,so it should not block game in the beginning now.
3-Add variables apply for prescan texts,
if there are variables in prescan texts,
it will be replaced with its value and added to translation_cache.
 
  • Like
Reactions: pepplez
5.00 star(s) 1 Vote