MoleAPIMoleAPI
DocumentationAI Applications

LunaTranslator - Open-Source GalGame Translator

LunaTranslator Guide — An open-source visual novel translator with support for HOOK, OCR, and AI translation engines. Integrates with MoleAPI to improve translation quality.

LunaTranslator is a free and open-source visual novel translator designed to deliver a native-language-level visual novel gaming experience.

Features

  • HOOK Primarily uses HOOK to extract in-game text and is compatible with nearly all common and obscure visual novels

  • Embedded Translation Some games also support directly embedding translations into the game for a more immersive experience

  • HOOK Emulator For most games on NS/PSP/PSV/PS2, supports using HOOK with emulators to read game text directly

  • OCR Built-in high-accuracy OCR models, with support for many other online and offline OCR engines for flexible text extraction from any content

  • Extensive Translation Interfaces Supports nearly all translation engines, including large language model translation and offline translation

  • Language Learning Supports Japanese word segmentation and furigana annotation, as well as AnkiConnect and the Yomitan plugin

  • Text-to-Speech Supports a wide range of online and offline speech synthesis engines

  • Speech Recognition On Windows 10 and Windows 11, Windows Speech Recognition can be used.

Installation

Download and install from LunaTranslator Documentation - Download & Launch & Update

Integrating MoleAPI with LunaTranslator

LunaTranslator can be easily integrated with MoleAPI, but the configuration process may vary slightly between versions. Please refer to your actual version.

Manual Configuration

  1. Get your API Key from MoleAPI -> Console -> Token Management

    Get API Key

  2. In LunaTranslator -> Settings -> Translation Settings -> Large Language Model, choose to add a new entry

    Add API

  3. Copy the General Large Language Model Interface template and create a new interface

    Add API2

  4. In the newly added interface, enter the corresponding API address and API Key

    Set API1

    Set API2

  5. Click the refresh button next to the model dropdown to retrieve the model list from the MoleAPI platform. Select or enter a model name, then click Confirm to save

    Set API3

  6. Click the toggle switch next to MoleAPI to enable the interface and start using it

    Enable API

For more usage methods, see the official LunaTranslator documentation: LunaTranslator Documentation - Large Language Model Translation Interface

How is this guide?

Last updated on

Back HomeGateway