CivitAI: API client, input parser and CIVITAI_TOKEN

First step towards CivitAI downloads. Lookups of models, versions and
download access (login required, early access with its deadline), and a
parser for civitai.com / .red / .green links, download links and AIR ids.
Nothing uses it yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pascal LinxweilerandClaude Opus 5.5 committed 2026-11-10 15:06:01 +01:00
1 parent 29e6893a17
commit 765dac2ed2
6 files changed
+573 -1

No files matched your search

+5
View File
@@ -22,6 +22,11 @@ OIDC_CLIENT_SECRET=
# (higher rate limits). Stays on the server; never sent to the browser or written to logs.
HF_TOKEN=
# CivitAI API key (civitai.com or civitai.red → Account settings → API keys). Optional: public files
# download without it, files whose creator requires a login need it. Early access still has to be
# unlocked on CivitAI; Kaname never spends Buzz. Stays on the server.
CIVITAI_TOKEN=
# Optional, comma-separated: only members of these groups (`groups` claim) can log in.
OIDC_ALLOWED_GROUPS=