Note: ผมทำอีกโปรเจคอยู่ เดี๋ยวกลับมาอัพเดตแก้ปัญหาที่มีอยู่ครับ มันต้องไปแก้ตั้งแต่การแกะโครงสร้างเวลา ai แปลเลยต้องรอให้ว่างจริงๆ อัพเดตรอบต่อไปจะใช้ claude ai โค๊ดขยะน่าจะน้อยลงและเป็นมิตรกับระบบมากขึ้น
| Version | Extension Download | API Download | Note |
|---|---|---|---|
| Chrome Web Store | Easiest option, but still requires API | ||
| v3.0.0 | Manual install | ||
| v2.0.2 | Manual install | ||
| v1.0.1 | Manual install |
- Install from Chrome Web Store.
- Download and extract the Source Code for your version.
- Open Chrome → Go to
chrome://extensions/. - Enable Developer Mode (top right).
- Click Load unpacked.
- Select the extracted folder.
- Go to: https://huggingface.co/spaces/plan291037/TextPhantom_OCR_API2/tree/main
- Click the three dots in the top-right and select Duplicate this Space.
- The build will start automatically — wait until you see Running.
- Click the three dots again and choose Embed this Space.
- Copy the link and use it in your API extension.
Notes:
- If unused, the Space will shut down automatically within 48 hours.
- To stop it manually, go to Settings and click the small Pause Space link.
- This API works only in images mode.
- Navigate to the page you want to translate.
- Right-click anywhere → choose 🔍 Translate... from the context menu.
TextPhantom can use Google Gemma models via Hugging Face.
This option is free to start (you use your own Hugging Face API key).
Google Gemma models require accepting a license before use.
-
Log in to Hugging Face
https://huggingface.co/login -
Open the model page
https://huggingface.co/google/gemma-3-27b-it -
Click “Agree and access” (or “Request access”)
-
Wait for approval (usually a few minutes)
You only need to do this once per account.
This API key will be used by TextPhantom to call the AI model.
-
Click New token
-
Set:
- Name:
textphantom-ai - Role:
Read
- Name:
-
Create the token and copy it
-
Required Token Permissions When creating your Hugging Face API key, make sure the following permissions are enabled:
- ✅ Read access to contents of all public gated repos you can access
Required to use gated models such as Google Gemma.





