Bug Fix / 錯誤修復
Pasted CivitAI URL now fetches the model directly (works for minor-flagged models)
貼 CivitAI 網址改用直接拉取單一模型(支援 minor 標記的模型)
Pasting a model URL (e.g. https://civitai.com/models/1727234/...) in the Browse search box used to set ?ids=<id> on the /api/v1/models list endpoint. This worked for ordinary models but silently returned zero results when the target was flagged minor=True by CivitAI's content policy — the list endpoint filters those out server-side regardless of ?ids=, so users hit "No models found" with no indication the model actually existed and was publicly available.
在 Browse 搜尋框貼上 model 網址(例如 https://civitai.com/models/1727234/...)之前的做法是把 ID 塞進 /api/v1/models?ids=<id> 的清單端點。對一般模型沒問題,但只要對方被 CivitAI 內容政策標記 minor=True,清單端點就會在 server 側過濾掉,不管你怎麼帶 ?ids= 都拿到空結果 — 使用者只會看到「No models found」,完全沒線索知道那個模型其實是公開、可下載的。
Changes:
- URL pastes now bypass the list endpoint and call
/api/v1/models/{id}directly. CivitAI exposes this per-model endpoint for explicit fetches and it returns the model regardless ofminorflag. - The single result is wrapped to look like a normal search response so card rendering / download flows are unchanged.
- All other filters (Content type, Base model, Category, Filter by user, Sort by, etc.) are intentionally ignored when a URL is detected — pasting a specific URL is treated as "I want exactly this one".
變更內容:
- 貼 URL 時改走
/api/v1/models/{id}單一模型端點,跳過清單端點。CivitAI 對單一模型端點的公開存取不套用minor過濾。 - 單一結果會被包成跟一般搜尋一樣的回應,卡片渲染、下載邏輯都不需要改。
- 偵測到 URL 時,所有其他 filter(Content type、Base model、Category、Filter by user、Sort by 等)全部刻意略過 — 既然你貼的是特定 URL,代表「就要這個」,不需要再被過濾掉。
Notes / 補充說明
This patch only changes behavior for URL pastes; normal text searches keep using the list endpoint with all your filters as before. The minor flag is a CivitAI server-side content-policy filter — there is no public API path to search or enumerate minor-flagged models. Pasting a known URL is the only supported access pattern.
此 patch 只影響「貼 URL」的行為,一般文字搜尋仍然走清單端點搭配你選的 filter,沒有任何改變。minor 旗標是 CivitAI 在 server 端套的內容政策過濾 — 公開 API 沒有任何路線可以搜尋或列舉 minor=True 的模型,「已知 URL 直接拿」是唯一支援的存取方式。
Previous Releases / 歷史版本
- v1.2.1 - Browse Filters + Selection Performance / Browse 過濾器擴充 + 選取效能
- v1.2 - Installed Tab Overhaul / Installed 分頁大改版
- v1.1.1 - Fix Copy / Copy All buttons silent failure / 修復 Copy 按鈕靜默失效
- v1.1.0 - Multi-version Cards & civitai.red Full Support / 多版本卡片 + civitai.red 完整支援
- v1.0.2 - Fix installed detection for commission/restricted models / 修復受限模型安裝偵測
- v1.0.1 - Initial release / 初始版本