Skip to content

Latest commit

 

History

History
91 lines (71 loc) · 2.21 KB

File metadata and controls

91 lines (71 loc) · 2.21 KB

Discord TTS

Example Deployments

The following is a deployment configuration intended for Japanese text‑to‑speech using only the VOICEVOX Engine as the backend.

By configuring it appropriately, you can enable other engines as well.

discord-tts.tts.toml

[default_style]
service_id = "VOICEVOX"
style_id = "0"

[tts_services.VOICEVOX.Voicevox]
url = "http://voicevox:50021"
max_chars = 240

docker-compose.yml

services:
  discord-tts:
    image: ghcr.io/yanorei32/discord-tts:master
    restart: unless-stopped

    environment:
      DISCORD_TOKEN: ${DISCORD_TOKEN}

    volumes:
      - type: bind
        source: ./discord-tts.tts.toml
        target: /etc/discord-tts.tts.toml
        read_only: true

      - type: volume
        source: data
        target: /var/discordtts/

  voicevox:
    image: voicevox/voicevox_engine:cpu-latest
    restart: unless-stopped

volumes:
  data:

.env

DISCORD_TOKEN=ush9Zohzie6ahmohsoo6meCh.IThah7.jeephaijiachu8kuWoh0aephe5e

Command Reference

https://github.com/yanorei32/discord-tts/wiki/Command-Reference

Implemented TTS Backends

⚠ Non-official API. No warranty and not supported. Use at your own risk!