Translate comic and manga/hwa/hua in batch.
Warning
- Under construction π οΈ
- Unstable
β οΈ - Not thoroughly tested yet
βοΈ
Update & redownload config.json and prompt.yaml to get the latest features. For more info, see CHANGELOG.
All PowerShell scripts (.ps1) are only tested on Windows and may not be compatible with PowerShell Core run directly on other OSes.
For advanced users, use this guide.
Me: "System, how to extract text from image with PaddleOCR?"
System: "To extract text from image with PaddleOCR- Oops, something went wrong with this response."
Me: "...."**A few moments later**
Me: "Alright, translate this OCR results to English."
System: "503 UNAVAILABLE. {'error': {'code': 503, 'message': 'The model is overloaded. Please try again later.', 'status': 'UNAVAILABLE'}}"
Me: "WTF!"
SCT
Read:
-> "S-C-T"
-> "ess-see-tee"
-> "Shitty" π©
This is just a shitty simple app for translating comics in batch with Gemini. It can translate comic images in a folder recursively and save them to the corresponding output folder/subfolders with its limitations. Don't use this janky app! Instead, use these:
However, if you insist on using my app, then proceed to the next section. You've been warned! Just don't expect much cuz it's intended to be "simpler" than those better alternatives or other programs not mentioned here (go search them on your own).
Go to here.
Go to here.
- Click on the green button on the top.
- Select "Download ZIP".
- Right click on the downloaded .zip file.
- Select "Extract Here" with WinRAR or 7-Zip.
Important
The installer only supports Windows 10 & 11.
- Open PowerShell as Administrator.
- Change PowerShell execution policy by entering the command below:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine- Enter y or yes.
- Close the PowerShell.
- Right click on installer.ps1.
- Select "Run with PowerShell".
- Select "Yes" if UAC prompt pops up.
- Wait until you get
${{\color{lightgreen}{\textsf{INSTALLATION COMPLETED!}}}}$ message.
Tip
If you get a warning when opening the installer, uncheck the option, then Open. If you don't do this, the script won't be able to run properly.
- Open .env file with text/code editor (Notepad, VS Code, etc).
- Paste your Gemini API key between the quotation marks.
- Save.
- Open config.json with text/code editor.
- Change the settings as you see fit.
- Save.
For more info, see config options.
- Right click on launcher.ps1.
- Select "Run with PowerShell".
- Select a folder containing your manga/hwa/hua.
Warning
This updater will replace the old files with the newer ones, so make sure to back up the files you want to keep first. For more info, see here.
Exclusions:
- config.json
- prompt.yaml
- filters/*
- Right click on updater.ps1 > Run with PowerShell.
- Wait until you get
${{\color{lightgreen}{\textsf{UPDATE COMPLETED!}}}}$ message.
- It can't automatically detect the input language and only supports one language in each process. As a result, you need to manually specify the language in config.json.
- Some texts, especially non-plain/styled texts, may not be recognized properly if at all.
- Some unwanted texts may also be detected and recognized, making the result riddled with unnecessary texts and white rectangles.
- Gemini itself is prone to throwing "model overloaded" error & returning
Noneor incomplete response and response with messed-up format. When those happen, just retry it manually or increasemax_retriesin config.json for more automatic retries.
- Visit https://aistudio.google.com/app/apikey.
- Accept the Terms and Conditions.
- Click "Create API key".
- Name your key.
- Choose project > Create project.
- Select the newly created project.
- Click "Create key".
- Click the code in the "Key" column.
- Click "Copy key".
Tip
Gemini API Free Tier has rate limits, see: https://ai.google.dev/gemini-api/docs/rate-limits.
To check your quota:
- Visit https://aistudio.google.com/app/usage
- Make sure you are on the right account & project.
- Click "Open in Cloud Console" on the bottom.
- Scroll down > Click "Quotas & System Limits".
- Scroll down > You will see your model quota usage on the top result. If you don't see it, use Filter to search it.
For example:
Go to here.



