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

AnkiWeb addon 895469405

Generates fresh, unstored AI example sentences for simple English word or phrase cards, supports multiple providers, and lets users request new examples.
AI-generated summary; may contain mistakes.

ai

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
5 (πŸ‘ 3 Β· πŸ‘Ž 2)
Updated
2025-12-24
Anki versions
2.1.66~
Description language
en

Maintenance

stale

  • Last update or commit was 280 days before the snapshot (2025-12-25).
  • The repository has 3 GitHub Actions workflows.

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

Autofills Anki fields using ChatGPT or Claude prompts with card field placeholders, supports multiple cards, saves prompts, and requires an API key; requests cost about $0.002 each.

card-creationai

Rating 29 πŸ‘ 23 Β· πŸ‘Ž 6 ⭐ 7 Anki 24.11~ Updated 2025-03-09
Vocabulary En-Ar Flashcards Generator

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.

card-creationdictionary

Rating 0 πŸ‘ 0 Β· πŸ‘Ž 0 Anki 2.1.1~ Updated 2026-03-30

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
  • <img width="504" height="280" alt="image" src="https://github.com/user-attachments/assets/d9d63a59-6314-4441-8403-89ef83c20c66" />

How it looks:

  1. Original simple card (remains unmodified).<br><img width="484" height="540" alt="image" src="https://github.com/user-attachments/assets/33dc539b-6fa7-4904-b758-9754791cf9c9" />
  2. The add-on takes the front of the card and uses AI to generate a new, unique sentence.<br><img width="482" height="226" alt="image" src="https://github.com/user-attachments/assets/c3e4898c-1846-4355-bc0e-52a3992f1043" />
  3. Now you have a new unique sentence that includes the learnable word.<br><img width="1172" height="164" alt="image" src="https://github.com/user-attachments/assets/10ad9da4-57ae-48ba-bf95-8c0539dc55c8" />
  4. You can generate a new example with the word by pressing "Next Example" if needed.<br><img width="1105" height="156" alt="image" src="https://github.com/user-attachments/assets/fe924d2f-c953-4b17-8275-427b8961a624" />
  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.