AnkiAutoImage

AnkiWeb addon 2105191380

Adds images, audio, and sentences to Anki notes using Yahoo image search, legacy Google Custom Search, Nadeshiko, and Gemini image generation, with configurable settings and review hotkeys.
AI-generated summary; may contain mistakes.

card-creationaisync-integrationshortcuts

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
9 (👍 6 · 👎 3)
Updated
2026-06-06
Anki versions
2.1.1~
License
Apache-2.0 (from the headers of the Python files)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, CSV, C, JavaScript, JSON, Starlark, YAML, Ignore List
Description language
en

Maintenance

active

  • Last update or commit: 2026-06-06 (148 days before the snapshot).
  • Test files: 10.
  • Commits in the last year: 21.
  • Issues: 1 open, 5 closed.
  • Pull requests: 0 open, 1 merged.
  • Median first response: 757 hours (4 answered issues and pull requests).
  • Outside pull requests: 100% of 1 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2026-06-06
History across monthly snapshots

Loading…

Similar addons

Quick Image Search

Adds a Search Images button to the Browse editor toolbar that opens a Google image search for a configurable note field, with domain and shortcut settings.

card-creationshortcuts

1 votes 21% approval 👍 1 · 👎 0 ⭐ 0 Anki 26.09.3~ Updated 2026-10-24

Description

Disclaimer: Google image search through Custom Search JSON API / Programmable Search Engine is legacy and fragile. Existing google_api_key + google_cx setups may keep working until January 1, 2027, but broad Google image search is not expected to be available after that date and Google has not provided a direct Google Images API replacement path. Prefer Nadeshiko for sentence media or Gemini Image for generated images.

Auto Images - Anki Add-on

Adds media to Anki notes from:

  • Yahoo image backfill, with legacy Google Custom Search support
  • Nadeshiko sentence image/audio/text
  • Gemini Image generation through Google GenAI
image

Install

  1. Install the add-on in Anki.
  2. Open Tools -> AutoImage -> Settings and add the API keys you use.
  3. Run Tools -> AutoImage -> Run or Browser -> Edit -> Auto Images once before using review hotkeys, so the hotkeys can reuse your selected fields.

API Keys

  • Nadeshiko: https://nadeshiko.co/user/developer
  • Gemini API: https://aistudio.google.com/apikey
  • Legacy Google image search: https://developers.google.com/custom-search/v1/introduction and cx from https://programmablesearchengine.google.com/controlpanel/all

Settings

Open Tools -> AutoImage -> Settings. The settings UI is also used by Anki's add-on Config button.

Tabs:

  • General: replace behavior, image-search provider order, and shared query prefix/suffix settings.
  • Legacy Google: Google Custom Search API key and Programmable Search engine ID for existing Google setups.
  • Nadeshiko: API key, sentence length bounds, sentence selection mode, default media/sentence fields, sentence languages, and query suffix.
  • Gemini Image: Gemini API key, image model, aspect ratio, person-generation policy, and prompt template.
  • Hotkeys: review-mode shortcuts for image search, Nadeshiko, and Gemini Image.

See config.json for the shipped defaults. Advanced users can still edit the raw JSON through Anki's add-on config storage, but normal setup should use the Settings UI.

Usage

  • Open Tools -> AutoImage -> Run for a deck, or Browser -> Edit -> Auto Images for selected notes.
  • Choose a Query Field.
  • Choose a provider:
    • Image Search: image-search backfill using the provider order from Settings.
    • Nadeshiko: image/audio/sentence fields, with optional Sentence EN Field. Sentence selection can be longest, random, smallest, or median.
    • Gemini Image: generated image written to the target field.
  • Click Run.

Yahoo is the default no-key image-search provider.

Review hotkeys:

  • Image search backfill: Ctrl+Shift+G
  • Nadeshiko image/audio/sentence: Ctrl+Shift+Y
  • Gemini Image: Ctrl+Shift+U

Hotkeys use the last saved fields for that provider. Image Search and Gemini Image hotkeys overwrite the target image field. The Nadeshiko hotkey overwrites image/audio fields and writes sentence text when matching fields are available.

Logs

  • Logs: user_files/auto-image.log
  • Legacy Google quota counter: user_files/quota.json

Attribution

Inspired by the design and UX flow in the Yomitan backfill add-on: https://github.com/Manhhao/backfill-anki-yomitan

README

Disclaimer: Google image search through Custom Search JSON API / Programmable Search Engine is legacy and fragile. Existing google_api_key + google_cx setups may keep working until January 1, 2027, but broad Google image search is not expected to be available after that date and Google has not provided a direct Google Images API replacement path. Prefer Nadeshiko for sentence media or Gemini Image for generated images.

Auto Images - Anki Add-on

Downloads Anki add-on

Adds media to Anki notes from:

  • Yahoo image backfill, with legacy Google Custom Search support
  • Nadeshiko sentence image/audio/text
  • Gemini Image generation through Google GenAI
image

Install

  1. Install the add-on in Anki.
  2. Open Tools -> AutoImage -> Settings and add the API keys you use.
  3. Run Tools -> AutoImage -> Run or Browser -> Edit -> Auto Images once before using review hotkeys, so the hotkeys can reuse your selected fields.

API Keys

  • Nadeshiko: https://nadeshiko.co/user/developer
  • Gemini API: https://aistudio.google.com/apikey
  • Legacy Google image search: https://developers.google.com/custom-search/v1/introduction and cx from https://programmablesearchengine.google.com/controlpanel/all

Settings

Open Tools -> AutoImage -> Settings. The settings UI is also used by Anki's add-on Config button.

Tabs:

  • General: replace behavior, image-search provider order, and shared query prefix/suffix settings.
  • Legacy Google: Google Custom Search API key and Programmable Search engine ID for existing Google setups.
  • Nadeshiko: API key, sentence length bounds, sentence selection mode, default media/sentence fields, sentence languages, and query suffix.
  • Gemini Image: Gemini API key, image model, aspect ratio, person-generation policy, and prompt template.
  • Hotkeys: review-mode shortcuts for image search, Nadeshiko, and Gemini Image.

See config.json for the shipped defaults. Advanced users can still edit the raw JSON through Anki's add-on config storage, but normal setup should use the Settings UI.

Usage

  • Open Tools -> AutoImage -> Run for a deck, or Browser -> Edit -> Auto Images for selected notes.
  • Choose a Query Field.
  • Choose a provider:
    • Image Search: image-search backfill using the provider order from Settings.
    • Nadeshiko: image/audio/sentence fields, with optional Sentence EN Field. Sentence selection can be longest, random, smallest, or median.
    • Gemini Image: generated image written to the target field.
  • Click Run.

Yahoo is the default no-key image-search provider.

Review hotkeys:

  • Image search backfill: Ctrl+Shift+G
  • Nadeshiko image/audio/sentence: Ctrl+Shift+Y
  • Gemini Image: Ctrl+Shift+U

Hotkeys use the last saved fields for that provider. Image Search and Gemini Image hotkeys overwrite the target image field. The Nadeshiko hotkey overwrites image/audio fields and writes sentence text when matching fields are available.

Logs

  • Logs: user_files/auto-image.log
  • Legacy Google quota counter: user_files/quota.json

Attribution

Inspired by the design and UX flow in the Yomitan backfill add-on: https://github.com/Manhhao/backfill-anki-yomitan