Anki AI Dynamic Cards Add-on (AI generated examples)

AnkiWeb addon 895469405

Generates fresh AI example sentences on the fly for simple English word or phrase cards, supports multiple AI providers, and stores nothing in your collection.
AI-generated summary; may contain mistakes.

ai

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
5 (👍 3 · 👎 2)
Updated
2025-12-24
Anki versions
2.1.66~
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

stale

  • Last update or commit: 2025-12-25 (311 days before the snapshot).
  • GitHub Actions workflows: 3.
  • Commits in the last year: 9.
  • Issues: 0 open, 1 closed.
  • Pull requests: 0 open, 3 merged.
  • Median first response: 63 hours (1 answered issues and pull requests).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.02.1.66+2025-12-24
History across monthly snapshots

Loading…

Similar addons

IntelliFiller ChatGPT has 1 fork →

Autofills Anki card fields using ChatGPT or Claude via customizable prompts that reference field names, with saved prompts and batch filling across multiple selected cards.

card-creationai

29 votes 62% approval 👍 23 · 👎 6 Anki 24.11~ Updated 2025-03-09
Dynamic Cards

Pings Mistral or Gemini LLMs to generate slightly reworded versions of your cards, showing different wording on each review to prevent memorizing phrasing.

ai

1 votes 21% approval 👍 1 · 👎 0 ⭐ 7 Anki 26.05~ Updated 2026-08-13
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

Description

Learning a new word or phrase without a steady stream of examples is frustrating. This add‑on generates fresh, relevant example sentences right on your cards. It works best with simple English cards and minimal formatting, where the target word or phrase is highlighted using <b> tags.

Anki AI Dynamic Cards is an Anki add‑on that generates example sentences on the fly (nothing is stored in your collection). Supported providers: OpenAI, Google Gemini, Google Gemma, Anthropic, Grok (X.ai), DeepSeek, and OpenRouter.

For example - you have a card with a verb to memorize "to deter", then the add‑on will generate a sentence like:
"The bright lights outside the house helped deter burglars from attempting to break in."

From Anki app (Qt6):

  • Tools -> Add-ons -> Get Add-ons... -> code 895469405
  • Restart Anki
  • Select your AI provider and enter API key in the dialog box when prompted
    image

How it looks:

  1. Original simple card (remains unmodified).
    image
  2. The add-on takes the front of the card and uses AI to generate a new, unique sentence.
    image
  3. Now you have a new unique sentence that includes the learnable word.
    image
  4. You can generate a new example with the word by pressing "Next Example" if needed.
    image
  5. These examples are generated in real-time and are not stored, ensuring you get a unique context for your words each time.

Add-on configuration:

{
    "_default_models": {
        "anthropic": "claude-haiku-4-5",
        "deepseek": "deepseek-chat",
        "google-gemini": "gemini-2.5-flash",
        "google-gemma": "gemma-3-27b-it",
        "grok": "grok-4-1-fast-non-reasoning",
        "openai": "gpt-5-nano",
        "openrouter": "openai/gpt-5-nano"
    },
    "_provider_options": "openai, google-gemini, google-gemma, anthropic, grok, deepseek, openrouter",
    "_provider_urls": {
        "anthropic": "https://api.anthropic.com/v1/messages",
        "deepseek": "https://api.deepseek.com/chat/completions",
        "google-gemini": "https://generativelanguage.googleapis.com/v1beta/openai/chat/completions",
        "google-gemma": "https://generativelanguage.googleapis.com/v1beta/openai/chat/completions",
        "grok": "https://api.x.ai/v1/chat/completions",
        "openai": "https://api.openai.com/v1/chat/completions",
        "openrouter": "https://openrouter.ai/api/v1/chat/completions"
    },
    "api_key": "",
    "model": "",
    "provider": "google-gemma"
}

README

Anki AI Dynamic Cards Add-on

Have you ever noticed how frustrating it is when learning a new word or phrase, you don't have access to an endless supply of real-life examples? This plugin solves that problem using AI! Each time, you will see new and relevant examples for the words and phrases you are studying. Currently, this plugin only supports English and simple cards either without formatting or with minimal formatting, where the word or phrase being studied is highlighted using <b> tags.

Anki AI Dynamic Cards is an add-on for Anki that dynamically generates example sentences related to words or phrases you are learning, using AI. This add-on provides a unique way to improve the effectiveness of memorizing new words and their usage in context, giving users the ability to practice real-world scenarios. These generated examples don't stored in database.

Supported AI Providers

  • OpenAI (GPT models)
  • Google Gemini
  • Google Gemma (Gemma models)
  • Anthropic (Claude models)
  • Grok (X.ai)
  • DeepSeek
  • OpenRouter (access to multiple models)

Installation

From Anki app (Qt6):

  • Tools -> Add-ons -> Get Add-ons... -> code 895469405
  • Restart Anki
  • Select your AI provider and enter API key in the dialog box when prompted
  • image

How it looks:

  1. Original simple card (remains unmodified).
    image
  2. The add-on takes the front of the card and uses AI to generate a new, unique sentence.
    image
  3. Now you have a new unique sentence that includes the learnable word.
    image
  4. You can generate a new example with the word by pressing "Next Example" if needed.
    image
  5. These examples are generated in real-time and are not stored, ensuring you get a unique context for your words each time.

Add-on configuration:

{
    "_default_models": {
        "anthropic": "claude-haiku-4-5",
        "deepseek": "deepseek-chat",
        "google-gemini": "gemini-2.5-flash",
        "google-gemma": "gemma-3-27b-it",
        "grok": "grok-4-1-fast-non-reasoning",
        "openai": "gpt-5-nano",
        "openrouter": "openai/gpt-5-nano"
    },
    "_provider_options": "openai, google-gemini, google-gemma, anthropic, grok, deepseek, openrouter",
    "_provider_urls": {
        "anthropic": "https://api.anthropic.com/v1/messages",
        "deepseek": "https://api.deepseek.com/chat/completions",
        "google-gemini": "https://generativelanguage.googleapis.com/v1beta/openai/chat/completions",
        "google-gemma": "https://generativelanguage.googleapis.com/v1beta/openai/chat/completions",
        "grok": "https://api.x.ai/v1/chat/completions",
        "openai": "https://api.openai.com/v1/chat/completions",
        "openrouter": "https://openrouter.ai/api/v1/chat/completions"
    },
    "api_key": "",
    "model": "",
    "provider": "grok"
}

To install Anki AI Dynamic Cards manually, you need to download the add-on package from releases and install it manually. You can do this by following these steps:

  • Download the add-on package from the release page
  • Find out an Anki add-ons directory. In Anki, select Tools > Add-ons > View Files. This will open the Anki add-ons directory
  • Extract the downloaded package ai-dynamic-cards.ankiaddon into the add-ons directory
  • Restart Anki
  • Select your AI provider and enter API key in the dialog box when prompted

To install the addon directly from the sources you need:

  • Clone the repo
  • Find out an Anki add-ons directory. In Anki, select Tools > Add-ons > View Files. This will open the Anki add-ons directory
  • Restart Anki
  • Select your AI provider and enter API key in the dialog box when prompted

Configuration

Quick setup:

  • Open Tools ƒ+' AI Dynamic Cards Settings
  • Choose a provider
  • Paste your API key
  • (Optional) Set a model; leave empty to use the provider's default
  • Click Save

You can configure the add-on in two ways:

  1. Settings Dialog: Tools → AI Dynamic Cards Settings
  2. Standard Anki Config: Tools → Add-ons → Select add-on → Config

Configuration options:

  • provider: AI provider (openai, google-gemini, google-gemma, anthropic, grok, deepseek, openrouter)
  • api_key: Your API key for the selected provider
  • model: (optional) Specific model to use. If empty, uses default model for provider

Building from Source

To build the .ankiaddon package from source code:

Windows (PowerShell)

Compress-Archive -Path '__init__.py', 'manifest.json', 'config.json' -DestinationPath 'ai-dynamic-cards.zip' -Force
Rename-Item 'ai-dynamic-cards.zip' 'ai-dynamic-cards.ankiaddon' -Force

Linux / macOS

zip ai-dynamic-cards.ankiaddon __init__.py manifest.json config.json

Required files for package:

  • __init__.py - main addon code
  • manifest.json - addon metadata
  • config.json - default configuration

After building, install via: Tools → Add-ons → Install from file...

Usage

To use Anki AI Dynamic Cards, you need to create a deck with cards that contains just a one word or phrase you want to memorize. Anki AI Dynamic Cards will automatically generate an example sentence for the word you are learning. You can then review the card as usual.