OSRChat – Connect LLMs to Your OSR for Free Conversation! Supports Ollama, Privacy-Friendly, and Ultra-Lightweight

, ,

v1.3: https://github.com/Karasukaigan/OSRChat/releases/download/v1.3.0/osrchat-installer-win-x64-v1.3.0.exe

Improvements

  1. Added a retry button to the bottom-right corner of the chat bubble.

  2. Fixed an issue where the backend could not properly handle interruption when the frontend stopped a streaming response.

  3. Added a system role prompt called “S2O” to convert SillyTavern character cards into a format compatible with OSRChat.

1 Like

"Bro, does it support multi-axis mode for the SR6?

Multi-axis isn’t supported for now. The main difficulty is that multi-axis behavior is hard to describe, and AI would likely struggle to understand, analyze, and generate multi-axis funscripts.

v1.4: https://github.com/Karasukaigan/OSRChat/releases/download/v1.4.0/osrchat-installer-win-x64-v1.4.2.exe

v1.4.2

Fixed an issue where chat bubbles were being squashed.

v1.4.1

While the model is generating text, it is displayed as small gray scrolling text until the output is complete. @dollshotz

v1.4.0

  1. Added a text-to-image generation feature, enabling image creation by connecting to a ComfyUI server.
  2. Improved the overall user experience.

2 Likes

Ill give this a try after work today, thanks!

Im not getting the Comfyui connected still fun. I have comfyui and the SXDL model etc, but its not able to make pics

edit: ok after talking and playing with it for a few it is generating prompts but not connected, so as soon as I figure out how to get it connected… anyway, its a lot of fun anyway, lol, thanks

The way text-to-image generation works is as follows: the frontend sends the prompt to the OSRChat backend, and the backend submits the corresponding ComfyUI workflow (either SDXL or ZIT text-to-image workflow) to the connected ComfyUI server based on the configuration. The ComfyUI server returns an ID to track the generation progress. If the image is generated successfully, it is downloaded from the ComfyUI server to the OSRChat backend, and then sent back to the frontend.

What needs to be ensured is that the correct models are available on the ComfyUI server with the correct names and ports configured properly. It is also recommended to use the latest version of ComfyUI and deploy it from source rather than using ComfyUI Portable. Additionally, before submitting the workflow, it’s best to preload the required models into VRAM or system memory to avoid request timeouts caused by slow model loading.

v1.4.3: https://github.com/Karasukaigan/OSRChat/releases/download/v1.4.3/osrchat-installer-win-x64-v1.4.3.exe

Improvements

  1. Added an image aspect ratio option for text-to-image generation.
  2. Fixed a bug where the retry button could not be used in certain situations.
  3. Improved the input experience of the message input box.
  4. Optimized the Examples in character cards.
  5. Optimized the system prompt.
1 Like

[Translated by Google Gemini]

I modified OSRChat 1.2 through vibe-coding to add multi-axis support, allowing it to fully utilize the SR6. Here are the details:

  1. The modification is based on OSRChat 1.2, because it was the latest version when I started working on it;
  2. The main modifications were made to player.py. Along with multi-axis support, I added a slow filler script with a stroke range of 90-0, which will automatically play after the json script finishes;
  3. I wrote a complete set of prompts, and slightly modified a small part of index.html to prevent the line breaks at the end of the LLM’s output from being swallowed;
  4. A VSR6.py script is included in the package. This is an SR6 simulation script that can receive T-Code commands when OSRChat is in UDP mode with the address set to 127.0.0.1:8888, allowing you to test it without a physical SR6;
  5. By default, GM_Engine_v1 + SR6_Engine + Multi Testing is a relatively stable prompt combination. If needed, you can make modifications based on the Multi Testing prompt;
  6. Testing was based on the reasoning mode of DeepSeek V4 Flash; other LLMs have not been tested yet;
  7. Originally, there was a feature connecting to XToys to implement Coyote electro-stimulation, but the results weren’t very ideal, so I removed it.
  8. The version with the Coyote-related code removed has not yet been tested on a physical SR6, so please be a little careful when using it.
  9. Run server.py to start it, or open a terminal in the OSRChat root directory and enter python server.py to run it.

Finally, a huge thanks to the original author of OSRChat, @Karasukaigan, for open-sourcing it!

[Original Version]

我通过vibe-coding修改了OSRChat 1.2,让其可以支持多轴,能完全利用上SR6。以下是详细信息:

  1. 修改基于OSRChat 1.2,因为我在着手修改时的最新版本就是1.2;
  2. 主要修改了player.py,在支持多轴的同时新增了行程为90-0的慢速filler脚本,会在json脚本播放完成后自动播放;
  3. 编写了整套的提示词,顺带修改了index.html的一小部分以避免LLM输出的末尾文段换行被吞掉;
  4. 随包附赠VSR6.py,这是一个模拟SR6的脚本,可以在OSRChat的UDP模式且地址为127.0.0.1:8888的情况下接收T-Code指令,用以在没有实体SR6的情况下进行测试;
  5. 在默认情况下,GM_Engine_v1 + SR6_Engine + Multi Testing 是较为稳定的提示词组合。如有需要,可以在Multi Testing提示词的基础上修改;
  6. 测试基于DeepSeek V4 Flash的思考模式,其他LLM尚未进行过测试;
  7. 本来还有跟XToys连接以实现郊狼电击的功能,但效果不是很理想,所以删除了。
  8. 删除郊狼的相关代码后的版本尚未在实机SR6上测试,请各位使用时稍加小心。
  9. 运行server.py以启动,或是在OSRChat根目录打开终端,输入 python server.py以运行。

最后,十分感谢OSRChat原作者@Karasukaigan的开源!

3 Likes

query on how to use this, interested in having a multi axis ai experience!

This sounds very promising :slight_smile:
Sadly, I could not get an LLM connection up and running.

I’m trying to use Ollama with a local installation.
Neither leaving the API key blank or entering an API key does work.
It also shows “Disconnected” in the upper right area.

In browsers I can see the following error (tried Crome and Firefox).
grafik

Maybe I’m doing something wrong. It sounds like a browser security feature is blocking the OSRChat from working. But that seems unlikely :sweat_smile:

Perhaps someone who has managed to get it working can help?
Thanks in advance! :slightly_smiling_face:

OSRChat is no longer maintained, so I’d recommend switching to TavLite instead.

LLM connection issues are usually caused by configuration problems, especially the Base URL or Model settings.

For Ollama, the Base URL is typically either http://localhost:11434/v1 or http://192.168.1.xxx:11434/v1 if you’re connecting over your local network.

Thanks for the headsup, I’ll have a look at Tavlite :)