AnkiWeb
- Rating
- 0 (👍 0 · 👎 0)
- Updated
- 2026-01-09
- Anki versions
- 24.12~
- Description language
- en
AnkiWeb addon 413678923
Automatically generates Anki note field content using AI providers, with custom base URLs, custom model names, batch processing, prompts, and field mappings.
Open on AnkiWeb GitHub Ask about alternatives
stale
| Min Anki | Max Anki | Updated |
|---|---|---|
| 2.1.50 | 24.12+ | 2026-01-09 |
Loading…
Turns clipboard study material into Anki flashcards inside the Add window using your chosen AI provider, with queue review, custom note-type mapping, and card-quality prompts.
Fills blank Anki note fields with AI-generated text, audio, and images using configurable per-field instructions, batch processing, and multiple providers.
Generates AI text and MP3 audio from note fields via configurable OpenAI-compatible providers and Edge TTS, supporting prompt templates, vision OCR, batch notes, and local settings storage.
Generates vocabulary card fields using AI/LLM APIs from a subtitle or sentence inside Anki's card editor.
Generates HTML explanations for Anki cards via OpenAI or Gemini, reading selected fields and inserting output into a chosen field, with batch and reviewer options.
Generates AI-powered flashcard content across seven providers, supports batch and multi-field updates, custom prompts, local models, logging, and advanced configuration.
This is not a standalone script, it's a plugin for Anki which can be downloaded here: https://ankiweb.net/shared/info/643253121
This is a fork of rroessler1/anki-ai-field-generator with the following enhancements:
<details> <summary><b>1. Create an API Key:</b></summary> <br/> For all of these you'll have to add a credit card and add a few dollars of credit first.
<br/>
<b>Claude (Anthropic):</b>
Sign up here: https://console.anthropic.com/dashboard
Then click "Get API Keys" and create a key.
<b>ChatGPT (OpenAI):</b>
Go here: https://platform.openai.com/
If you've never signed up for OpenAI before, click "Sign up".
Follow the prompts, and be sure to create an API key and also to add a credit card with a few dollars, otherwise it won't work.
<b>Gemini</b>
Go here: https://aistudio.google.com/app/apikey
And click the "Create API key" button.
<b>DeepSeek</b>
Sign up here: https://platform.deepseek.com/
Then click on "API Keys" and create a key. </details>
<details> <summary><b>2. Create a System Prompt:</b></summary> <br/> This is where you write specific instructions, examples, and do "prompt engineering".
This is <u>also</u> where you tell the model which output to return, which you'll need in Step 4.
Example System Prompt:
You are an experienced German teacher who is helping me practice grammar.
You will be provided with a German word. Respond with:
-an "exampleSentence" at A2 or B1 level about 10-15 words long using the provided German word, and
-the "translation" of that sentence into English
In the above prompt, the model will return "exampleSentence" and "translation", which you'll use in step 4.
<details> <summary><b>DeepSeek specific:</b></summary>
If you use DeepSeek, you must include an example JSON response in your System Prompt. Your prompt should look like this:
You are an experienced German teacher who is helping me practice grammar. You will be provided with a German word. Respond with:
-an "exampleSentence" at A2 or B1 level about 10-15 words long using the provided German word, and
-the "translation" of that sentence into English
EXAMPLE JSON OUTPUT:
{
"exampleSentence": "Mein Bruder kommt aus den USA.",
"translation": "My brother is from the USA."
}
</details> </details>
<details> <summary><b>3. Create a User Prompt:</b></summary> <br/> This is where you use Fields from your Cards by writing the field name surrounded by braces {}.
Example User Prompt:
{de_sentence}
</details>
<details> <summary><b>4. Save the response to your Anki Cards:</b></summary> <br/> In the System Prompt, you told the LLM what information you want.
In our example it's an "exampleSentence" and a "translation", but you can ask the LLM for any information and call it whatever you want.
In the "Save the Output" part, match the information to Fields on your Cards. For example:
exampleSentence de_sentence
translation en_sentence
In our example, the LLM returns:
</details>
<details> <summary><b>What is an API Key?</b></summary> <br/> An API Key is a secret unique identifier used to authenticate and authorize a user. So basically it identifies you with your account, so you can be charged for your usage.
An API Key should never be shared with anyone. Because then they can use your account and your saved credit.
If you accidentally "expose" your API key (text it to someone by accident or whatever), you can easily delete it and create a new one using the links listed above.
</details> <details> <summary><b>Which LLM should I use?</b></summary> <br/>
Answer quality: they're all pretty good, and it depends more on your prompt engineering
Speed: Claude is the fastest, as it allows 50 calls per minute, whereas OpenAI only allows 3 per minute and 200 per day (from the beginner tier). Gemini has a nice free tier for the "Flash-Light Preview" model with 15 calls per minute and 1000 per day.
Cost: OpenAI's gpt-4o-mini model is currently the cheapest.
</details> <details> <summary><b>Why is the OpenAI model so slow / why am I getting rate-limited?</b></summary> <br/> Unfortunately when you first sign up for OpenAI you can only make 3 calls per minute (and 200 per day). The plugin handles this, sadly just by "pausing" for 20 seconds at a time.
Once you spend $5, then you can make 500 calls per minute. I don't know of any way to just automatically spend $5 to get to the next Tier.
</details>
<details> <summary><b>Can I use this to generate new Anki cards?</b></summary> <br/> Not exactly - this plugin doesn’t create new Anki cards from scratch. However, you can import a list of words or phrases into a new deck (e.g., from an Excel sheet) and then use the plugin to automatically generate additional information for each card, such as:
</details>
<details> <summary><b>How much does it cost?</b></summary> <br/> This Add-on is free! See "Pricing" below for a more detailed breakdown of expected costs of using the LLMs.
</details> <details> <summary><b>What if I have questions, bug reports, or feature requests?</b></summary> <br/> Please submit them to the GitHub repo here: https://github.com/rroessler1/anki-ai-field-generator/issues
</details> <details> <summary><b>How can I support the creator of this plugin?</b></summary> <br/> I'd be very grateful! You can buy me a coffee here: https://buymeacoffee.com/rroessler
And please upvote it here: https://ankiweb.net/shared/info/643253121 , that helps other people discover it and encourages me to keep it maintained. </details>
All the companies have models are relatively inexpensive, and have the pricing information on their website. But specifically:
<details> <summary><b>Estimated Costs:</b></summary> <br/> Using the example prompts shown in the UI:
OpenAI: One flashcard uses 180 tokens, so 1 million tokens = 5500 cards = $0.15 USD
DeepSeek: One flashcard uses 195 tokens, so 1 million tokens = 5100 cards = $0.27 USD
Claude: One flashcard uses 660 tokens, so 1 million tokens = 1500 cards = $0.80 USD
So Claude is relatively more expensive, but it's the fastest. Once you are past the basic tier on OpenAI (once you spend $5), it becomes equivalently fast.
</details>
This plugin is designed to be flexible so that with a bit of creativity you could create almost anything. But here are some example use cases:
<details> <summary><b>Generate Example Sentences:</b></summary>
System Prompt:
You are an experienced German teacher who is helping me practice grammar.
You will be provided with a German word. Respond with:
-an "exampleSentence" at A2 or B1 level about 10-15 words long using the provided German word, and
-the "translation" of that sentence into English
User Prompt:
{de_word}
Output Mapping:
exampleSentence de_sentence
translation en_sentence
</details>
<details> <summary><b>Generate Cloze Deletions:</b></summary>
System Prompt:
You are an Anki plugin that helps users create Cloze deletions. You will be provided with a sentence.
Choose 1-3 key words or phrases and replace them using Anki's Cloze deletion format: {{c1::word or phrase}}.
If there are multiple deletions, use c1, c2, c3, etc.
Ensure that deletions are meaningful and not too easy.
User Prompt:
{sentence}
Output Mapping:
cloze_sentence formatted_cloze_sentence
</details>
<details> <summary><b>Summarize Information:</b></summary>
System Prompt:
You are an expert at summarizing complex information.
You will be provided with a passage of text.
Summarize it in 1-2 sentences while preserving the core meaning.
Keep the language clear and concise.
User Prompt:
{field_text}
Output Mapping:
summary summarized_text
<details> <summary><b>Step-by-Step Derivations:</b></summary>
System Prompt:
You are a math and science tutor who explains concepts with step-by-step derivations.
You will be provided with a math or science problem.
Break it down into logical steps, explaining each step clearly.
Use LaTeX formatting for equations when necessary.
User Prompt:
{problem_statement}
Output Mapping:
derivation step_by_step_solution
</details>
<details> <summary><b>Generate a Context-Rich Explanation:</b></summary>
System Prompt:
You are an expert language tutor helping students understand vocabulary in context.
You will be provided with:
- A target word or phrase
- An example sentence containing that word or phrase
- A definition of the word or phrase
- (Optional) A topic or category for additional context
Respond with:
- A revised version of the example sentence that sounds more natural and
contextually appropriate.
- A brief explanation of the word or phrase in simple terms.
- A usage tip explaining when and how to use the word correctly.
User Prompt:
Word: {word}
Example Sentence: {example_sentence}
Definition: {definition}
Category (optional): {category}
Output Mapping:
refined_sentence example_sentence
explanation simple_explanation
usage_tip usage_guidance
</details>