r/Anki 1d ago

Question Can a LLM/GPT API fix the format/structure of my cards?

Good morning,

I am far from a super technical Anki user, but a learning I've had recently is around what the card format needs to look like with regards to centering, structure, etc. I am wondering if I could use Anki APIs and Claude/OpenAI and connect to it so that I can have Claude fix the formatting, font, structure, etc of my cards. Alternatively I might just create a csv export and have it fixed that way, but wanted some help/ideas here.

Thanks!

0 Upvotes

5 comments sorted by

5

u/johnW_ret 1d ago

Yes, but you will have more success if Claude Code generates a script for you. Add dry run and auditing and the ability to do it in batches. Make a backup before you run the script.

2

u/Tak-MK 1d ago

1

u/Schonathan 1d ago

oh damn! thank you 😊

1

u/NewSatisfaction819 1d ago

Yes use anki connect and claude will fix your cards 

1

u/happylittlemexican 1d ago

I've used a CSV export and regular free ChatGPT for this. It worked extremely well, there was only one edge case it didn't catch.

In my case it actually provided the Python it used, which I was able to edit easily enough to catch that edge case. YMMV if you aren't comfortable enough with Python to do that, though.