animedex.entry.trace

animedex trace <subcommand> Click group + bindings.

Two subcommands: search (by URL or stdin upload) and quota (/me).

trace_group

animedex.entry.trace.trace_group(*args: t.Any, **kwargs: t.Any) t.Any

High-level Trace.moe screenshot search.

Docs:
  https://soruly.github.io/trace.moe-api/    endpoint reference
  https://github.com/soruly/trace.moe-api    project repo
  https://trace.moe/                          web UI
.. rubric:: Examples

animedex trace search –url ‘https://i.imgur.com/zLxHIeo.jpg’ –anilist-info animedex trace search –input ./screenshot.jpg –anilist-info cat shot.jpg | animedex trace search –input - –anilist-info animedex trace quota

Backend: Trace.moe (api.trace.moe).

Rate limit: anonymous tier concurrency 1, quota 100 searches/month.

— LLM Agent Guidance — To identify an anime scene from a screenshot, prefer --input <file> for local images and --url <public-url> for already-online ones. Setting --anilist-info populates each hit with an inline AnimeTitle, saving a follow-up AniList round- trip; downstream code can read hit.anilist_id to chain into other backends. quota is free and does not consume from the monthly budget. — End —

search_cmd

animedex.entry.trace.search_cmd(*args: t.Any, **kwargs: t.Any) t.Any

Identify an anime scene from a screenshot.

Backend: Trace.moe (api.trace.moe).

Rate limit: anonymous concurrency 1, quota 100/month.

— LLM Agent Guidance — Search a screenshot URL with –url or upload bytes with –input. –anilist-info inlines AnimeTitle so callers can chain into anilist commands without an extra round-trip. — End —

quota_cmd

animedex.entry.trace.quota_cmd(*args: t.Any, **kwargs: t.Any) t.Any

Show the caller’s Trace.moe quota state (free; no quota cost).

Backend: Trace.moe (api.trace.moe).

Rate limit: anonymous concurrency 1, quota 100/month (this call is free).

— LLM Agent Guidance — Returns priority / concurrency / quota / quota_used. The upstream’s caller-IP echo is dropped by the mapper. — End —