Bỏ qua đến nội dung

Anki AI - Enhance Your Flashcards with ChatGPT and other LLMs

Chờ xử lý #anki #addon #enhance #your #flashcards #with
https://github.com/rroessler1/anki-ai-field-generator/issues
26/2/2026

Cách tải addon Anki AI - Enhance Your Flashcards with ChatGPT and other LLMs

Bạn có thể tải addon bằng một trong hai cách sau:

Click nút Copy bên dưới để copy code vào clipboard

643253121

Sau đó mở Anki → Tools → Add-ons → Get Add-ons → Dán code → OK

Mở trang addon trên AnkiWeb và tìm mã code ở cuối trang

Mở trên AnkiWeb

Cuộn xuống cuối trang AnkiWeb, tìm dòng có mã code 643253121 và copy

23

Mô tả chi tiết

Description This plugin allows you to use Large Language Models (LLMs) to add information to your Anki flashcards using the power of AI. Supports Claude (Anthropic), ChatGPT (OpenAI), Gemini (Google), and Deepseek models. Completely free! (You create your own API key and pay for LLM usage) Quickstart: Install this plugin. (Open Anki. Tools -> Add-ons -> Get Addons -> Enter code: 643253121) In the Card Browser, select the cards you want to modify (tip: Shift+Click to select many or Ctrl+A to select all) You have a new menu option: Anki AI -> Update Your Flashcards with AI Enter your API key and the required prompts. Detailed Setup:

  1. Create an API Key:
  2. Create a System Prompt:
  3. Create a User Prompt:
  4. Save the response to your Anki Cards: FAQ: What is an API Key? Which LLM should I use? Can I use a custom LLM? Why are the models so slow / why am I getting rate-limited? Can I use this to generate new Anki cards? How much does it cost? What if I have questions, bug reports, or feature requests? How can I support the creator of this plugin? Pricing

All the companies have models are relatively inexpensive, and have the pricing information on their website. But specifically:

The cheapest models currently are Anthropic’s claude-3-5-haiku, Google’s gemini-2.5-flash-lite, DeepSeek’s deepseek-chat, and OpenAI’s gpt-4.1-nano. More advanced models might cost quite a bit more. Pricing is based on number of tokens in the input and the output. A “token” is generally a few letters. I tested with the same prompt, and Claude uses 3x the number of tokens as OpenAI and Deepseek. This makes Claude more expensive. Estimated Costs: Example Prompts and Use Case Ideas

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:

Generate Example Sentences: Generate Cloze Deletions: Summarize Information: Step-by-Step Derivations: Generate a Context-Rich Explanation:


Liên kết hỗ trợ


Reviews (22)

👍 2026-02-14

Thank you for this Add-on

14 Feb 2026 update: Why do I like this so much? It’s insanely flexible! Comment from author before post was edited Thank you for the thumbs up!

👍 2026-01-26

Great add on, saves so much time and is very flexible!

👍 2026-01-15

Really helpful add-on. It saves time generating content for my Anki cards, and the interface is straightforward. I noticed that line breaks in the AI output aren’t preserved—multi-line responses (like numbered definitions) end up on one line. Since Anki fields use HTML, I added a small local fix in note_processor.py to convert newlines to <br> tags:

Convert newlines to <br> tags for HTML rendering in Anki fieldsfield_value = response[response_key]if isinstance(field_value, str): field_valu

👍 2025-12-30

This plugin is amazing! Just one wish: Profiles/Presets. I have different prompts for different card types, and swapping them manually gets tedious. Being able to save and load different settings would make this perfect. Thanks!

👍 2025-12-03

I really enjoyed this plugin, I wish there was an option to generate some cards given you are inside a deck, that would make this plugin complete. Comment from author Thank you for the thumbs up! So while you’re studying, generate brand new cards (all the fields are completely new)? I think that would be doable - I’ll add it as a feature request.

👍 2025-12-01

EDIT:

I couldn’t make it work with deepseek, but finally found a way to charge money for using ChatGPT’s API (Being in China, it wasn’t easy), and it works!!! I have been batch editing a bunch of cards with this add-on, it saves so much time!! Thanks a lot!!!

Hi, this seems like a very valuable add-on, I even got an API key from deepseek, but I am being unable to use it, I keep getting this error:

Error: Error: 400 Bad Request {“error”:{“message”:“Prompt must contain the word ‘json’ insome

👍 2025-11-26

Great work! Also thanks for updating to the latest models. Comment from author You are welcome, thanks for the thumbs up!

👍 2025-11-20

Thank you so much! There may be a small bug. When I’m bulk processing cards, sometimes I get the error:

Error: Gemini API response candidate is missing ‘content’ or ‘parts’.

I don’t have these fields as input nor output. Sometimes I have to hit continue like 10 times so it gets out of the loop and works on the next card. I’m using Gemini 2.5 Flash.


Update: I want to thank you again. This addon is such a game changer. PD: is it possible that you add the option to use the latest models

👍 2025-11-04

Awesome work!

👍 2025-10-21

It works great!

👍 2025-10-12

saves time

👍 2025-10-06

I have many code syntax based cards which I like to improve them to ask more about concepts rather than the rote memorization. Doing it manually was a pain in the neck, but this add-on really helps me to do that!

👍 2025-09-10

useful and simple to use, opens up so many possibilities

👍 2025-09-04

Works great for adding AI-generated content to specific fields. I had a deck with vignettes and cloze-deleted answers, but not context. I was able to use my GPT api to have explanations added to a custom field, which was super helpful. It’s not, however, plug and play for great content, as you do need to spend some time generating a well-thought-out prompt for the AI. I also wish it supported GPT5, but I’m currently using 4.1 with success. Comment from author Thank you for the thumbs up! It no

👍 2025-08-24

This is an absolute game changer and makes my whole process so much easier! Absolutely buying this dev a coffee Comment from author Thanks so much! I really appreciate that!

👍 2025-08-02

This addon is an absolute godsend!

I put in a word, and it fills up the whole note for me: translation, example, IPA, grammar insights.

An absolute MUST HAVE for language learners. Comment from author Thank you very much for the feedback and encouragement!

👍 2025-06-26

Hello, can I add Gemini’s API interface? I want to use it Comment from author Update: I had time so I added Gemini support, thank you for the suggestion :)

But if you were offering to add it (or want to add other LLMs), the code is designed to be able to easily add an API, all you have to do is to implement this class here: https://github.com/rroessler1/anki-ai-field-generator/blob/main/llm_client.py (See deepseek_client.py for an example implementation.)

👍 2025-05-16

This is really the best current AI add-on for Anki. I’ve been waiting for something like this for over a year! Great work! Comment from author Thank you so much for the feedback!

👍 2025-05-05

That’s definitely the best AI add-on for Anki. It’s so underrated, deserves way more attention, and it works on 25.02, unlike the others.

Comment from author Thank you very much for the thumbs up and feedback, I’m so grateful for the comment! I published it a bit late and so I think not too many people have discovered it yet, so please help me spread the word :)

👍 2025-03-17

its nice, but a little bit complicated to use. You cannot save your system promt without running the addon once. Creating templates for each Card type would be nice.

But thank you for your effort and work. Happy to have someone like you in this community. Comment from author Thanks you for the thumbs up and the feedback! These are great feature requests, I agree they would make it more usable. I’ll make an effort to implement them in the new few days / weeks.

👍 2025-03-17

Amazing work, thanks for helping desperate language learners out there!!

👍 2025-03-12

Good job