How it works
Every field of the Tarkib window, every part of a card and every setting, one screen at a time. To install Tarkib and make your first card, start with Get started.
The Tarkib window

- Word or phrase The word you want to learn, in the language below. A short phrase works too.
- Language German, English or Spanish. The deck follows it, and each deck remembers its language.
- Deck Where the card goes. Add deck creates a new one.
- Meaning hint Optional, in any language. Picks one sense when a word has several.
- Scenario hint Optional, in any language. Sets the scene for the sentences, like work or travel.
- Image keyword Optional. Describe the picture you want, in any language.
- Level A1 to C1, or Native for real spoken German, English or Spanish. Change default opens Settings, where you set the level new cards start at.
- Generate cloze companion On by default. Also makes a card where you type the missing word.
- Settings Your keys, languages, voices and default level.
- Add Makes the card and adds it. The window stays open for the next word.
Other ways to open it: Ctrl+Shift+G (Cmd+Shift+G on a Mac), Tools, then Add a card with Tarkib, and the Tarkib button in the card editor.
Before the card is written
- If the word is not in the language you picked, Tarkib says so and asks: Add it anyway?
- If you mistype, it asks: Did you mean ...?
- If the word is already in the deck, it warns you first.
After it is added
The cards are written by AI, so please check each one and edit it like any other note. If you do not want it, one Undo removes the card and its typing card together.
Your card

- Your word The front of the card: your word with an emoji.
- Meaning and level The meaning in your language, with the level of the card.
- Article and plural Article colored by gender, the plural, and the genitive from B1.
- Photo A photo that fits the word, found with your free Pexels key.
- Two sentences One casual, one formal, usually du and Sie, both translated.
- Grammar patterns Prepositions with their case and more, all from these sentences.
- Explanation One short sentence in simple German about the word.
- Translation Both sentences and their grammar patterns, translated into your language.
- Answer buttons Again, Hard, Good or Easy. Each shows when the card comes back.
The card also has audio: the word and both sentences, in the language you learn. The translations are read aloud only if you pick a voice for them on the Languages tab.
Your new card is in its deck, with its typing card just below.

- Tarkib deck 2 new: your card and its typing card. Click it, then Study Now.
- Cloze subdeck Typing cards go into a Cloze deck inside the deck you chose.
- Next card Opens Tarkib again whenever you want the next card.
The typing card
The typing card shows a sentence in the language you learn with the word left out. Type the word and click Check to see if you got it right, letter by letter. A second translation language, if you set one, goes on the word card only.
Studying on your phone
The cards are normal Anki notes with their pictures and sound, so they sync to AnkiDroid and AnkiMobile like any other deck. Only making them needs Anki on a computer.
The settings, tab by tab
The Provider tab picks the AI that writes your cards.

- Preset Groq is the free default. OpenAI, Gemini and others work too.
- Model and Refresh Bigger models make better cards. Refresh reloads the list.
- API key Stored only on this computer and sent only to your provider.
- Get a key Changes with the preset. For Groq it opens console.groq.com.
- Test keys Checks the AI key and any photo keys, without making a card.
- Save Saves every tab. A new AI or photo key that does not work gets a warning. Cancel closes without saving.
If you already have a key for OpenAI, Google Gemini, OpenRouter, Mistral or Anthropic, or you run Ollama on your own computer, pick it under Preset on the Provider tab and paste the key. Any OpenAI-compatible server works too. A ChatGPT subscription does not include API use. The OpenAI API is billed separately.
The Images tab decides where the photos come from.

- Without a key Tarkib falls back to Openverse, which often finds no photo.
- Pexels key A key you already have. Pexels has paused new keys. Tried first in most decks.
- Pixabay key Free, with generous limits, and the key to get now. Tried after Pexels.
- Serper key Optional. Searches Google Images, better for IT terms.
The Languages tab sets the language you learn, its translation and the voices.

- Language you learn German, English or Spanish. The rows below belong to this language, and each language keeps its own.
- German voice Reads the German word and both sentences aloud. No key needed.
- Play and refresh Play reads a sample sentence. Refresh loads the latest voices.
- Translation language Your language for the meanings and translations, any of 24.
- Translation voice Reads the translations aloud. (none), the default, keeps them silent.
- Secondary translation Optional. A second language, like Arabic next to English.
- Secondary voice Reads the second language aloud. (none), the default, keeps it silent.
German and Spanish cards start with English as their translation language. To set up English or Spanish cards, pick the language under Language you learn: each keeps its own voice, and English cards offer German instead of English. Arabic translations use Modern Standard Arabic.
The Voice tab picks the service that reads your cards aloud.

- Voice service Microsoft Edge is the free default. The others need your own key.
- Test Reads a German sample with the service you picked, or says why it failed.
- Speech speed Normal, or about 20 percent slower for the language you learn, at A1 and A2 or at every level.
- Other services Open one to set it up. Each says if it has a free tier and where to get the key.
- Backup order If your service fails, the ones set up are tried top to bottom, then Microsoft Edge.
The default Microsoft Edge service is unofficial and can stop working without notice, so it is safer to set up a backup. The Tarkib window tells you which backup read a card and why, or why a card is missing sound.
The Cards tab sets your default level and your style.

- Default level New cards start at this level. You can still change it per card.
- Your style Optional wishes in any language, like topics, names or tone. They go with every card while Use my style is ticked.
- Starter decks Empty topic decks, like Verben. Cards made there fit the topic.
- Ready-made decks Finished decks from A1 to C1. A1 is free, the other levels are paid.
Where your keys go
Your keys are stored only on your computer, in the Anki add-on settings. They are never synced, and each one only goes to its own service. Nothing is sent to me, and there is no server of mine in between. What is sent where.