Greasy Fork is available in English.

JanitorAI - Text to Speech - Built-in/ElevenLabs/GeminiTTS

Text to Speech (TTS) integration for JanitorAI using built-in voices, ElevenLabs TTS, and Gemini TTS with emotion analysis and audio segmentation.

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
ZephyrThePink
1日のインストール数
1
累計インストール数
95
評価
1 0 0
バージョン
3.9.5
作成日
2025/07/23
更新日
2025/12/05
大きさ
129KB
ライセンス
MIT
対象サイト

JanitorAI Text to Speech (TTS)

Overview

This userscript brings advanced Text-to-Speech (TTS) features to JanitorAI.com, letting you listen to chat messages with high-quality voices—including ElevenLabs and GeminiTTS—and seamless integration with Live2D avatars.

Features

  • Modern UI: The settings menu and controls have been reworked for a cleaner, more modern look.
  • Automatic TTS Playback: Instantly reads new bot and user messages as they appear.
  • Voice Selection:
    • Supports browser built-in voices.
    • Integrates with ElevenLabs and GeminiTTS for natural-sounding speech.
    • Assign different voices for bot, user, or default.
  • Live2D Compatibility: Works alongside Live2D scripts for animated avatar experiences.
  • Playback Controls: Play/stop buttons on each message for manual listening.
  • Flexible Settings:
    • Enable/disable TTS globally.
    • Narrate user messages.
    • Skip code blocks, bullet points, or only read quoted text.
    • Ignore text inside asterisks (e.g., emphasis).
    • Adjust playback speed.
  • Settings Menu: Accessible from the chat menu for quick configuration.
  • Voice Preview: List and preview all available voices with Ctrl+Alt+V.

Improvements

  • UI Rework: The interface is now more intuitive and visually appealing.
  • ElevenLabs Defaults Fixed: Default settings for ElevenLabs voices have been corrected from previous versions for better out-of-the-box performance.
  • Edge-TTS Note: Edge-TTS was planned but could not be included due to technical limitations with the npm libraries used.

How to Use

  1. Install the script as a userscript (e.g., with Tampermonkey).
  2. Open a chat on JanitorAI.com.
  3. Configure TTS: Click "Text to Speech" in the chat menu to select voices and adjust options.
  4. Listen: Messages are read aloud automatically (if enabled), or use the play button on each message.

ElevenLabs & GeminiTTS Settings Guide

  • ElevenLabs Parameters:

    • Voice ID: Choose from available ElevenLabs voices.
    • Stability: Controls consistency of the voice (0–100%, higher is more stable).
    • Similarity Boost: Adjusts how closely the voice matches the original (0–100%).
    • Model: Select the speech model (e.g., Eleven Multilingual v2).
    • API Key: Enter your ElevenLabs API key for access.
  • GeminiTTS Style Prompt:

    • Style Prompt: Enter a descriptive prompt to influence the speaking style (e.g., “cheerful and energetic” or “calm and professional”).

⚠️ IMPORTANT: LIVE2D FEATURES REQUIRE A GEMINI (LLM) API KEY! ⚠️

To use Live2D features, you must set your Gemini API key in the settings.
Replace "YOUR_GEMINI_API_KEY" with your actual API key.


Tip: For the best experience, try ElevenLabs or GeminiTTS voices and combine with Live2D avatars for immersive, interactive chats!