Anki add-on: Anki MCQ Importer - AI Batch Generator (it actually works!)

Transform your study materials into high-quality Anki cards using Google's Gemini AI! Now supports Multiple Choice (MCQ) , Cloze Deletion , and Basic (Front/Back) formats. Automatically generate flashcards from lecture slides, textbooks, and notes with fully customizable prompts. ✨ Key Features (v4.2) 🧠 Multi-Format AI Generation • MCQ: Generates complex questions with 6+ distractors and detailed rationales. • Cloze: Creates context-rich sentences with {{c1::answer}} deletions. • Basic: Generates concise Question/Answer pairs with rationales. • Context-Aware: "Reads" the previous page to maintain continuity across lecture slides. 🎨 Custom Profiles & Prompts • Config-Based Prompts: Edit the AI instructions directly within the addon. • Update-Safe: Your custom prompts live in the config file and survive addon updates. • Profile System: Create unlimited custom profiles (e.g., "Anatomy MCQ", "Vocabulary Cloze", "History Basic"). • Duplicate & Tweak: Easily clone built-in profiles to experiment with new prompting styles. 🔗 Universal Field Mapping • Works with ANY Note Type, not just the default. • Smart UI maps AI outputs (Question, Answer, Extra, etc.) to your specific Anki fields. • Auto-detects fields for popular note types. ⚡ Modern Performance • Powered by Gemini 2.0 and 2.5 (Pro & Flash models). • Batch processing with progress tracking. • "Welcome Wizard" for instant setup. 📦 Requirements • Anki 2.1.50 or later • Google Gemini API key ( Get free here ) • For MCQ: True Anki MCQ Note Type (Recommended) • For Cloze/Basic: Works with Anki's built-in note types. 🚀 Quick Start 1. Get Your API Key • Visit Google AI Studio . • Create a free API key (starts with AIzaSy...). 2. Initial Setup • Open Anki. The Welcome Wizard will appear. • Paste your API Key. • (Optional) Download and install the MCQ Note Type if you plan to use MCQs. 3. Start Importing • Click ⚡ MCQ Importer → Import Images... • Select your images (screenshots, slides, etc.). • Choose your Root Deck (e.g., "Medical::Pharmacology"). • Watch the AI generate your cards! ⚙️ Customization & Profiles Go to Settings to access the powerful new Profile engine: 1. Active Profile Choose which logic the importer uses. Switch between "MCQ", "Cloze", or "Basic" instantly. 2. Prompt Editor Don't like how the AI phrases questions? • Select a profile. • Edit the Prompt Text directly in the settings window. • Your changes are saved forever (even if you update the addon). • Use the "New Blank Profile" button to write a prompt from scratch. 3. Field Mapping Using a custom card template? No problem. • Select your Note Type. • Map the AI slots (e.g., Question, Rationale, Image) to your card's fields (e.g., Text, Extra, Notes). 💡 How It Works <b>Input:</b> You provide sequential images (Slide 1, Slide 2...). <b>Contextual Analysis:</b> Gemini analyzes the current image <i>and</i> the previous image to understand the full context. <b>Generation:</b> • <b>MCQ Mode:</b> Creates stems, correct answers, plausible distractors, and explanations. • <b>Cloze Mode:</b> Extracts facts and creates {{c1::}} deletions. • <b>Basic Mode:</b> Creates Q&A pairs. <b>Output:</b> Cards are organized into subdecks (e.g., Deck::Topic) with the source image embedded in the "Extra" field. 📝 Supported Content The AI excels at extracting: ✓ Drug classifications (Pharmacology) ✓ Anatomical labeling (Anatomy) ✓ Code snippets and syntax (Programming) ✓ Equations and formulas (Math/Physics) ✓ Historical dates and events ✓ Vocabulary definitions (Language Learning) 🔧 Troubleshooting "API Key not configured" Go to Settings and ensure your key is valid and has no extra spaces. "Model not found" In Settings, click "Refresh Available Models" to sync with Google's latest model list (Gemini 3.0/2.5). "Prompt Reset" If you messed up a built-in profile, use the "↩ Reset to Built-in Default" button in Settings to restore the original prompt. 🔒 Privacy & Security • Images are sent to Google's Gemini API solely for processing. • No data is permanently stored by this addon. • API keys are stored locally in your Anki configuration. 📄 License & Credits • Created by: Anki-Boi (GitHub) • License: Educational / Open Source • Note Type: True Anki MCQ Template Study smarter, not harder. Now more flexible than ever with v4.2!

GitHub repository: anki-boi/true-anki-mcq-note-template
Repository description: A feature-rich, responsive Anki template for interactive multiple-choice cards. Supports both single & multiple correct answers, randomizes choice order, and prevents over-selecting. Get detailed visual feedback (correct, wrong, missed) with a clean, mobile-friendly UI. Highly configurable via in-template JS.
Languages: HTML, CSS