Anki AI Supporter - AI Deck Studio, Auto-Fill, Audio & Image

AnkiWeb addon 1345023762 Built with AI

Generates complete flashcard decks, auto-fills note fields, and enriches cards with pronunciation audio and illustrations using OpenAI-compatible or OAuth AI backends in eight languages.
AI-generated summary; may contain mistakes.

card-creationai

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
0 (👍 0 · 👎 0)
Updated
2026-11-26
Anki versions
25.09~
License
MIT (from the GitHub repository)
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

active

  • Last update or commit: 2026-11-26 (5 days before the snapshot).
  • Commits in the last year: 1.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.5025.09+2026-11-26
History across monthly snapshots

Loading…

Similar addons

Vocabulary En-Ar Flashcards Generator

Generates complete Anki flashcards from a single word, filling fields with dictionary definitions, pronunciation, synonyms, examples, English-Arabic translation, and images without AI.

card-creationdictionary

1 votes 21% approval 👍 1 · 👎 0 Anki 2.1.1~ Updated 2026-03-30
Japanese Support - Auto Fill cards

Automatically fills Japanese vocabulary and sentence flashcards from a typed word or sentence, adding translations, kana readings, kanji readings, transitivity, part-of-speech, offline dictionary lookups, and Google TTS audio.

card-creationcard-templatesdictionary

1 votes 21% approval 👍 1 · 👎 0 Anki 2.1.1~ Updated 2026-07-28

Description

Anki AI Supporter is an all-in-one AI assistant for Anki Desktop that helps you generate complete flashcard decks, auto-fill note fields in the Editor, and enrich cards with pronunciation audio and illustrations.

Key Features

  • AI Deck Studio (Ctrl+Shift+A): Generate structured flashcards from any topic, vocabulary list, or pasted text. Automatically inspects and maps to your existing Deck and Note Type fields.
  • Slim Deck Browser Quick Bar & Dock Panel (Ctrl+Shift+B): Compact 1-row quick bar directly on the Deck Browser screen, plus an optional collapsible right-side AI dock.
  • Editor Auto-Fill & Browser Batch Fill: Fill missing fields (definitions, IPA/pronunciation, examples, translations) directly inside the Note Editor or across multiple selected notes in the Browser.
  • Automatic Media Enrichment: Adds TTS pronunciation audio (word & example sentences), illustration images, masked hints, and built-in Chinese support (auto Pinyin & Sino-Vietnamese / Hán-Việt).
  • Flexible AI Backends: Works with any OpenAI-compatible Custom Base URL / API Key (cloud or local) as well as isolated OAuth sign-in stored privately inside the add-on's user_files folder.
  • 8 Interface Languages: English, Tiếng Việt, 中文, 日本語, 한국어, Español, Français, and Deutsch.

Quick Start

  1. Install the add-on and restart Anki.
  2. Open Tools → Anki AI Settings (or click Config in the Add-ons window) to configure your AI provider / model or sign in via OAuth.
  3. Use the quick bar on the Deck Browser, press Ctrl+Shift+A for Deck Studio, or use the AI strip inside the Note Editor.

Feedback & Issues

Please report bugs or request features on the Support Page.

README

✨ Anki AI Supporter

Ultra-compact AI flashcard generator, 1-click auto-fill engine & deck studio for Anki Desktop (Qt6)
Isolated OAuth2 PKCE vault · Multi-provider LLMs · Smart deck schema learning · Auto images & multilingual voice audio

Latest Release GitHub Stars Anki Qt6 Python 3.11+ MIT License Buy Me a Coffee

Showcase · Features · Installation · Shortcuts · Architecture · Star History · Support


📸 Showcase

Slim 1-Row Deck Browser Pill Bar
Slim 1-Row Deck Browser Pill Bar — Pick a deck, type a word (or leave blank), press Enter or click ⚡ +1 Word to generate & save immediately.
Anki AI Settings — Isolated OAuth & Rules
Isolated OAuth Vault & Card Rules — Separate Antigravity OAuth, Codex OAuth & Custom Base URL sessions, live model discovery, and language rules.

🚀 Features

Capability What It Does
1-Row Minimal Footprint Adds a slim pill bar directly inside Anki's Deck Browser (max-width: 680px) and a 34px toolbar strip in the Add/Edit Editor — zero startup dock clutter.
1-Click Card Creation & Auto-Fill Type a word and hit Enter (or leave empty and click ⚡ +1 Word) to generate a complete, non-duplicate flashcard straight into your target deck.
AI Deck Studio (Ctrl+Shift+A) Batch-generate multiple cards by topic, target language, or deck context with a preview table and 1-Click Generate & Save.
100% Isolated OAuth Vault Private PKCE OAuth2 sessions for Antigravity and OpenAI Codex stored exclusively in anki_ai_supporter/user_files/oauth_vault.json. Never reads or overwrites external CLI/IDE credentials, never forces browser auto-open (copyable OAuth link + loopback/manual callback).
Custom OpenAI-Compatible Endpoint Connect any local or remote /v1/chat/completions or /v1/responses provider with zero credential leakage and instant 0ms tab switching + async model discovery.
Smart Deck Schema & Duplicate Guard Inspects each deck's Note Type (from 2-field Basic up to 12-field TOEIC or custom schemas), matches existing card style, and checks existing notes to skip duplicates.
Rich Media & Multilingual Voice Automatically fetches illustrations and native TTS .mp3 audio for both headwords and example sentences directly into Anki's collection.media (EN, ZH, JA, KO, FR, DE, ES, VI, etc.).
Chinese + Pinyin + Han-Viet Engine Dedicated 14-field template (Anki AI Chinese) with large Hanzi, tone-marked Pinyin, Han-Viet badges, per-sentence Pinyin, and collision-free zh-CN audio slugs.
8 UI Languages & WCAG 2.1 AA Themes Instant live switching between English, Tiếng Việt, 中文, 日本語, 한국어, Español, Français, Deutsch across Light and Dark palettes.

📦 Installation

Option 1 — One-Click .ankiaddon (Recommended)

  1. Download anki_ai_supporter.ankiaddon from the Latest GitHub Release.
  2. Double-click the file (or open Anki → Tools → Add-ons → Install from file...).
  3. Restart Anki. You will see the AI Pill Bar on the Deck Browser and Tools → AI Deck Studio / Docked AI Box / Anki AI Settings.

Option 2 — Windows PowerShell Installer (From Source)

git clone https://github.com/tameruict/AI-Anki.git
cd AI-Anki
.\scripts\install_to_anki.ps1

Existing user_files/config.json and user_files/oauth_vault.json are preserved across updates.

Option 3 — Build .ankiaddon Archive Yourself

python scripts/package_addon.py
# Output: dist/anki_ai_supporter.ankiaddon

🔐 OAuth Configuration (BYO Credentials)

This repository ships with zero embedded OAuth client IDs or client secrets.

  • Custom Base URL works out of the box with any OpenAI-compatible local or remote endpoint.
  • To use Antigravity OAuth or OpenAI Codex OAuth, supply your own OAuth credentials via environment variables (ANKI_AI_ANTIGRAVITY_CLIENT_ID, ANKI_AI_ANTIGRAVITY_CLIENT_SECRET, ANKI_AI_CODEX_CLIENT_ID) or in anki_ai_supporter/user_files/config.json (antigravity_client_id, antigravity_client_secret, codex_client_id).

⌨️ Keyboard Shortcuts

Shortcut Surface Action
Enter Deck Browser Pill Bar Generate & add 1 new card to selected deck (auto-picks a word if empty)
Ctrl+Shift+G Add / Edit Card Editor ⚡ AI Fill — populate all remaining fields from the headword
Ctrl+Shift+A Global (Anki Main Window) Open AI Deck Studio for batch generation & preview
Ctrl+Shift+B Global (Anki Main Window) Toggle opt-in Docked AI Box side panel

🧩 Architecture

flowchart TD
    subgraph UI["Ultra-Compact UI Layer (PyQt6 / aqt)"]
        DeckBar["Deck Browser 1-Row Pill Bar"]
        EditorStrip["Editor 1-Row Strip (Ctrl+Shift+G)"]
        StudioDlg["AI Deck Studio (Ctrl+Shift+A)"]
        DockWidget["Opt-in Side Dock (Ctrl+Shift+B)"]
        SettingsDlg["OAuth, Model & Rule Settings"]
    end

    subgraph Core["Card Generation & Media Engine"]
        Worker["QThread Async Worker"]
        CardGen["CardGenerator (Schema Detection & Duplicate Guard)"]
        Media["MediaEnrichment (Images + Multilingual TTS Audio)"]
    end

    subgraph Auth["Isolated Auth Vault (user_files/oauth_vault.json)"]
        AgOAuth["Antigravity OAuth2 PKCE"]
        CodexOAuth["Codex OAuth2 PKCE"]
        CustomUrl["Custom Base URL Client"]
    end

    DeckBar --> Worker
    EditorStrip --> Worker
    StudioDlg --> Worker
    DockWidget --> Worker
    Worker --> CardGen
    CardGen --> Media
    CardGen --> AgOAuth
    CardGen --> CodexOAuth
    CardGen --> CustomUrl
    SettingsDlg <--> Auth

⭐ Star History

If Anki AI Supporter saves you time building decks, consider giving the repo a ⭐ — it helps others discover the project!

Star History Chart

☕ Support

Building and maintaining Anki add-ons, multi-provider OAuth flows, and media pipelines takes time. If this tool levels up your spaced-repetition workflow, you can support future updates with a coffee:

Buy Me A Coffee

buymeacoffee.com/tameruict

📚 Additional Docs & License