Turn images into powerful active-recall cards — without fighting the editor. Draw masks freely, edit them anytime, and optionally let AI suggest what to hide. Built for anatomy, diagrams, and anyone who studies visually.
Key features • Fast image-occlusion style masking workflow • Manual precision + optional AI suggestions • Non-destructive (does not alter your original images)
How to use Open the masking editor, add an image, draw masks, and generate cards.
Source code GitHub: https://github.com/yuwayanagitani/anki-ai-masker
==================================================
API Key Required for optional AI features This add-on uses external AI services and requires your own API key. Supported providers include OpenAI and Google Gemini. No API key is included or provided by this add-on.
How to Set the API Key (Environment Variable) The API key must be stored as an environment variable so that Anki can access it securely.
macOS Run the following command in Terminal: launchctl setenv OPENAI_API_KEY your_api_key_here or for Gemini: launchctl setenv GEMINI_API_KEY your_api_key_here Restart Anki after setting the variable.
Note: On macOS, environment variables set with launchctl may be cleared after an OS reboot. To avoid re-setting them every time, define the variables persistently using a LaunchAgent or your shell profile.
Windows
Open “Environment Variables” from System Settings. (You can access it by searching “environment” in your start menu (windows button).
Add a new user variable: Variable name: OPENAI_API_KEY or GEMINI_API_KEY Variable value: your_api_key_here
Restart Anki after saving.
Once the environment variable is set, the add-on will automatically detect it on startup.
==================================================
Updates v0.2.0 - Processing mechanism of card masks are converted into new one. Could reduce the field of the cards. (2025-12-16) v0.2.2 - Now you can pick colors from color pallet for masks. (2025-12-16)
==================================================
Supports
This tool is built to support medical students and residents. Support via thumbing up 👍 on this page and Buy Me a Coffee ☕ motivates me a lot!!
Screenshots

