AnkiWeb
- Rating
- 0 (π 0 Β· π 0)
- Updated
- 2026-09-14
- Anki versions
- 26.08.1~
- Description language
- en
AnkiWeb addon 597444116
Generates AI flashcards with definitions, examples, audio, and images from words, questions, or study material, supporting OpenRouter and local models and image generators.
Open on AnkiWeb GitHub Ask about alternatives
active
| Min Anki | Max Anki | Updated |
|---|---|---|
| 23.10 | 26.08.1+ | 2026-09-14 |
Loadingβ¦
Generates AI flashcards from words, questions, or notes via OpenRouter, with five modes, media, code highlighting, batch support, and cost estimates.
Generates AI-powered flashcards with word lemmas, contextual definitions, example sentences, and TTS pronunciation, plus CEFR-level reading stories from studied words.
Generates Estonian vocabulary flashcards from any word form, including principal forms, translations, definitions, and examples via online dictionary lookup.
Generates vocabulary cards from English headwords with definitions, examples, IPA, synonyms, translations, cloze, TTS, and optional mnemonic images via multiple AI providers.
Generates Anki flashcards with example sentences, translations, or definitions by entering a word, choosing languages, deck, and optional TTS audio.
Generates complete Anki flashcards from one word via Merriam-Webster, MyMemory, and Pixabay, filling definitions, pronunciation, synonyms, examples, English-Arabic translation, images, and Arabic definitions without AI.
Fork of AnkiForge by Xpom1, licensed under GPL-3.0.
This fork adds:
- Support for local/custom OpenAI-compatible APIs (LM Studio, Ollama, vLLM, ...) alongside OpenRouter β mix and match models per slot (text/image/audio).
- Free, fully offline image generation via a local Automatic1111 (stable-diffusion-webui) or ComfyUI server β pick a backend in Settings and select "Local Stable Diffusion" as the Image model.
- A fix for a JSON-parsing bug where an unquoted IPA value could corrupt the generated definition/example fields.
AI-powered flashcard generation for Anki β create high-quality cards in seconds using any LLM via OpenRouter or a local model server.
<!-- Replace with actual screenshot after taking them -->

AnkiForge NG is a free, open-source Anki add-on that generates flashcards using AI. Instead of spending hours writing cards by hand, just type a few words or paste your study notes β AnkiForge NG creates complete, ready-to-study cards with definitions, examples, audio, and images.
It works with any model available on OpenRouter (GPT-4o, Claude, Gemini, Llama, and 200+ others) β or with a local model server like LM Studio, Ollama, or vLLM β so you choose the price/quality/privacy balance that works for you.
| Mode | What you give it | What you get back |
|---|---|---|
| Language Cards | A list of words | Definition, example sentence, IPA transcription, audio pronunciation, and a photo for each word |
| Questions β Answers | Your questions | Detailed AI-generated answers as Q&A flashcards |
| From Material | Any study text (notes, articles, textbook pages) | 10β30 atomic Q&A cards extracted from key facts |
| QA + Image | Your questions | Answers with AI-generated illustrations |
| QA + Audio | Your questions | Answers with text-to-speech narration |


| Front | Back |
|---|---|
![]() |
![]() |



597444116.ankiaddon file from ReleasesInstead of paying per image through OpenRouter, you can point AnkiForge at a local Stable Diffusion server for free, offline image generation. In Tools β AnkiForge Settings β Local Image Generation, pick a backend, set its URL, hit Test connection, then select "Local Stable Diffusion" as the Image model.
Three backends are supported:
| Backend | What it is | Default URL |
|---|---|---|
| Automatic1111 | stable-diffusion-webui | http://127.0.0.1:7860 |
| Draw Things | Draw Things app (Mac/iOS), native Apple Silicon β enable its HTTP API server under Settings β API Server | http://127.0.0.1:7860 |
| ComfyUI | ComfyUI β requires a checkpoint filename in Settings, since ComfyUI has no "currently loaded model" concept | http://127.0.0.1:8188 |
1024 in Settings for SDXL checkpoints (SDXL-Turbo specifically was
distilled at 512px, so it's the one SDXL exception). AnkiForge auto-detects
this from the ComfyUI checkpoint filename; for Automatic1111/Draw Things
(no checkpoint info available) set it explicitly.{"steps": 25, "cfg_scale": 7, "sampler_name": "DPM++ 2M Karras"} β useful
for a checkpoint or sampler preference the auto-detection doesn't cover, or
to just pin settings once instead of re-tuning them per request. Sampler
names differ by backend: ComfyUI uses lowercase ids (euler,
euler_ancestral, dpmpp_2m), Automatic1111/Draw Things use dropdown-style
names (Euler, Euler a, DPM++ 2M Karras).The setup that's worked reliably for us on Apple Silicon:
http://127.0.0.1:7860, HTTP API server
enabled in Draw Things (Settings β API Server β Protocol: HTTP)512 (DreamShaper v8 is SD1.5-native){"steps": 16, "cfg_scale": 7, "sampler_name": "DPM++ 2M AYS"}
(DPM++ 2M AYS is Draw Things' default sampler β matching it here avoids
a mismatch between what AnkiForge requests and what the app actually uses.)AnkiForge is free. You only pay for AI usage through OpenRouter.
| Mode | Cost per card* |
|---|---|
| Questions β Answers | ~$0.001 |
| Language (text only) | ~$0.002 |
| Language (text + audio + image) | ~$0.01 |
| From Material | ~$0.001 per card |
| QA + Image | ~$0.01 |
| QA + Audio | ~$0.003 |
* Estimates for GPT-4o-mini. Actual cost depends on the model you choose. AnkiForge shows the estimated cost before generation.
git clone https://github.com/sdelfi/AnkiForge-NG.git
cd AnkiForge-NG
uv sync # install dependencies
uv run pytest # run tests with coverage
uv run ruff check src/ tests/ # lint
uv run ruff format src/ tests/ # format
uv run mypy src/ # type check
Bump __version__ in src/ankiforge/__init__.py and push to main β
.github/workflows/release.yml builds the
.ankiaddon and publishes it as a GitHub Release tagged vX.Y.Z. Ordinary
commits are a no-op for this (the workflow skips creating a release if that
version's tag already exists), so nothing extra needs pushing when the
version hasn't changed. AnkiWeb has no upload API, so the new build still
needs to be uploaded there by hand at https://ankiweb.net/shared/addons/
("Share Add-on" β add a branch with the new version).
src/ankiforge/
βββ __init__.py # Entry point β registers add-on in Anki
βββ models.py # Dataclasses: CardRequest, GeneratedCard, AddonConfig
βββ config/
β βββ manager.py # Read/write config via Anki API + JSON fallback
β βββ dialog.py # Settings dialog (API key, model pickers, balance, local endpoint)
βββ openrouter/
β βββ client.py # HTTP client with retry/backoff (OpenRouter + any OpenAI-compatible server)
β βββ routing_client.py # Routes calls to OpenRouter vs. a local/custom endpoint by model id
β βββ models.py # Model, Modality types
β βββ exceptions.py # Typed exception hierarchy
βββ generators/
β βββ language.py # Word β definition + example + audio + image
β βββ questions.py # Question β detailed answer
β βββ material.py # Text β atomic QA cards (2-phase map-reduce)
β βββ image.py # Question β answer + AI illustration
β βββ audio.py # Question β answer + TTS audio
βββ anki_bridge/
β βββ deck_manager.py # Deck CRUD
β βββ media_manager.py # Save audio/images to Anki media folder
β βββ note_types.py # 4 note types with HTML/CSS templates
βββ ui/
βββ main_button.py # Toolbar & deck browser button
βββ generate_dialog.py # Mode selection, input dialog, generation logic
βββ progress_widget.py # Progress bar with cancel
βββ styles.py # Shared QSS styles
AnkiForge NG is free and open source. If you find it useful, consider supporting development of this fork:
EVM: 0xb67934785132FD5b4DEcEaF70780F5E8bA48580f
<br>Networks: Ethereum, Base, Arbitrum, Avalanche
This fork builds on the original AnkiForge by Xpom1.
GPL-3.0 β see LICENSE. This is a fork of AnkiForge by Xpom1, also GPL-3.0.