Skip to content

civitai-hub v0.3.0

Choose a tag to compare

@mr8bit mr8bit released this 16 Jun 20:39
· 3 commits to main since this release
7d088fe

"Discover, identify, manage" milestone.

New commands

  • civitai search — search models (--type/--base-model/--sort/--limit/--json), with cursor pagination.
  • civitai by-hash <hash|file> — identify a model from a hash or a local file (reverse of download).
  • civitai login / logout / config — store the API token (0600 file; flag > env > stored), show config.
  • civitai cache ls / verify / rm / prune — inspect and manage the local cache.

Polish

  • download --json and download --offline; info surfaces early-access; ship py.typed (PEP 561).
  • Library: civitai_hub.search(), civitai_hub.find_by_hash().

Install: pipx install civitai-hub · ghcr.io/mr8bit/civit-ai-cli:0.3.0