Text to Speech

circle-info

The TTS (Text-to-Speech) Extension is available starting from VNTranslator Pro v1.0.0, accessible for Supporter+ tier and above.


Enabling the TTS Extension

To enable the TTS Extension, follow these steps:

  • Go to Settings -> Extensions -> Text to Speech

  • Toggle the switch to On

  • Relaunch the app


Creating a New TTS List

  • Open the TTS Window

  • Click the New List button to create a new TTS list


Adding Voices to a TTS List

  • Click on the TTS name to open the Voice Editor

  • Click the Add Voice button to add a new voice entry

  • In the Character Name field, enter the character name associated with the voice

  • In the Text Source field, select the input source for the TTS voice. You can choose between:

    • Source Text - Uses the original text as the TTS input

    • Target Text (Translation) - Uses the translated text as the TTS input

About Character Names

The character name is used to determine which voice will be played based on the text source. Below are the available options:

  • Default or None - Defines the default voice that will be played when no matching character name is found in the source text or translation

  • "%" Pattern (Wildcard) - Use the % wildcard to define a dynamic name pattern. For example, if the source text contains Anita: Hello World, you can enter Anita% as the character name to match it

  • Multiple Character Names - You can enter more than one character name by separating them with a comma (,). For example: Ani%, Amelia%


Supported TTS Engines

VNTranslator supports the following TTS engines:

Online

Offline

circle-info

Note: Offline TTS engines must be installed on your computer before use


Custom Engine

  • Endpoint

  • ContentType

    • application/json

    • multipart/form-data

  • Headers

  • Body

  • ResponseType

    • Audio Format

    • Base64 Format

  • ResponseQuery