animedex.entry.api.trace

animedex api trace subcommand.

api_trace

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

Issue a Trace.moe request (screenshot reverse search).

Anonymous tier: concurrency 1, quota 100 searches/month. GET /me reports the current quota state and is free; every /search call consumes one from the monthly budget. To search by image upload pass --input <file> (or - for stdin) with PATH=``/search``; the bytes are sent as the request body, defaulting the method to POST only when -X/--method is omitted.

Docs:
  https://soruly.github.io/trace.moe-api/    endpoint reference
  https://github.com/soruly/trace.moe-api    project repo
  https://trace.moe/                          web UI
Common paths:
  /me                                    quota state (free)
  /search?url=<encoded-image-url>        search by URL
  /search?anilistInfo&url=<encoded>      search + AniList metadata
  /search                                upload body (use --input)
.. rubric:: Examples

animedex api trace /me animedex api trace ‘/search?anilistInfo&url=https%3A%2F%2Fi.imgur.com%2FzLxHIeo.jpg’ animedex api trace /search –input ./screenshot.jpg cat screenshot.jpg | animedex api trace /search –input -

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

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

— LLM Agent Guidance — Two paths matter for the substrate API layer: GET /me (free) and GET /search?url=<encoded> (1 quota each). To search by image upload, pass –input path/to/image.jpg with PATH=/search; the bytes are sent as the request body. The wrapper defaults to POST only when the caller did not pass -X/–method. — End —