Anki Gemini Vision (AI Image to Text)

AnkiWeb addon 350429081

Right-click any image in the card editor to instantly extract text, math formulas in KaTeX format, and structured lists via Google's Gemini 2.5 Flash, using your own API key with optional proxy.
AI-generated summary; may contain mistakes.

card-creationai

Open on AnkiWeb Find alternatives

AnkiWeb

Votes
0 (👍 0 · 👎 0)
Updated
2026-02-25
Anki versions
23.12.1~
License
Not found (this does not mean that the addon has no license)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

stale

  • Last update or commit: 2026-02-25 (249 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.6623.12.1+2026-02-25
History across monthly snapshots

Loading…

Similar addons

Gemini LaTeX Fixer

Converts dollar-sign LaTeX from AI text into Anki's MathJax format automatically on paste, and bulk-converts existing collections via a Tools menu item.

card-creationnote-managementformatting

4 votes 30% approval 👍 3 · 👎 1 Anki 2.1.66~ Updated 2026-03-05
PixelFairy AI - for Anki (windows only)

Integrates Google Gemini AI into Anki's editor to generate questions, answers, and flashcards from text, selected paragraphs, or images using customizable prompts and keyboard shortcuts.

card-creationaishortcuts

4 votes 15% approval 👍 2 · 👎 2 ⭐ 2 Anki 25.02~ Updated 2025-05-15

Description

Anki Gemini Vision is a powerful Anki add-on that integrates Google's Gemini 2.5 Flash model directly into your Anki editor. It allows you to right-click any image in your card editor to seamlessly extract text, complex math formulas (KaTeX format), and structured lists, converting them instantly into editable Anki text!

✨ Features / 功能特点

  • 🤖 AI Image to Text: Right-click an uploaded image and select [Gemini] 将此图片内容转为文本附加到末尾 to extract its text.
  • 🧮 KaTeX & Math Formula Support: The prompt is specifically optimized to output rendering-friendly Anki KaTeX formats ($...$ for inline, $$...$$ for block display without breaking HTML tags).
  • 📋 Smart Formatting: Recognizes and structures complex lists, options, and multi-paragraph text without relying on unsupported Markdown tables in Anki.
  • ⚡ Local & Private: Uses your own Google Gemini API Key. Fast and secure.
  • 🌐 Proxy Support: Built-in HTTP/SOCKS5 proxy configuration for regions where Gemini API is restricted.

🚀 How to Use / 使用方法

  1. Get an API Key: Go to Google AI Studio to generate a free Gemini API Key.
  2. Configure Add-on:
    • In Anki, go to Tools -> Add-ons -> Select Anki Gemini Vision -> Config.
    • Fill in your "api_key".
    • If you need a proxy, fill in "proxy_url" (e.g., http://127.0.0.1:7897).
  3. Use in Editor:
    • Open any card in the Add or Browser window.
    • Paste or Insert an image.
    • Right-click on the image.
    • Click the Gemini extraction button. Wait a few seconds, and the recognized text will be appended automatically!

🛠️ Configuration Example / 配置文件示例

{
    "api_key": "YOUR_GEMINI_API_KEY_HERE",
    "proxy_url": "http://127.0.0.1:7897"
}

🐛 Troubleshooting / 常见问题排查

  • HTTP Error 400 (User location is not supported): Your current IP is in a region not supported by Google Gemini. Please enable the proxy software, ensure it's running, and fill in the proxy port in the add-on configuration.
  • No Response / Plugin error: Double-check that your API key is valid and has sufficient quota.

Developed using Antigravity AI Assistant. Open Source / Feedback welcome!