pull/39/head
parent
e9fd068027
commit
0a08fb5b6a
20
README.cn.md
20
README.cn.md
|
|
@ -1,11 +1,6 @@
|
|||
# Stable-Diffusion-Webui-Civitai-Helper
|
||||
Stable Diffusion Webui 扩展Civitai助手,用于更轻松的管理和使用Civitai模型。
|
||||
|
||||
## 注意
|
||||
从今天开始(2023-03-10),Civitai开始把对他的API调用,强制转移到Cloudflare的真人验证页面。导致本扩展暂时从Civitai取不到任何信息。
|
||||
|
||||
如果你有这个问题,只能等Civitai官方取消这个真人验证。如果你没有这个问题,你比我运气好。
|
||||
|
||||
## 关于版本
|
||||
最新版本功能更强大,但是是实验性质的。如果碰到问题,可以去Civitai下载1.2.1老版本: [Civitai Url](https://civitai.com/models/16768/civitai-helper-sd-webui-civitai-extension)
|
||||
|
||||
|
|
@ -83,7 +78,7 @@ civitai不是每个图片都有关键词,一个模型中,也不是所有预
|
|||
## SHA256
|
||||
为了创建文件的SHA256,插件需要读取整个文件。对于大尺寸文件,就会很慢。
|
||||
|
||||
默认,插件使用内存优化的SHA256生成方法,就不会卡住你的系统。所以,如果你想要在扫描模型的同时使用电脑,就不要取消勾选这个优化。
|
||||
默认,插件使用内存优化的SHA256生成方法,就不会卡住你的系统(最新版本强制使用内存优化的)。所以,如果你想要在扫描模型的同时使用电脑,就不要取消勾选这个优化。
|
||||
|
||||
有两种情况,这个SHA256无法从civitai找到对应模型:
|
||||
* 太老的模型,civitai没有存储SHA256.
|
||||
|
|
@ -92,6 +87,19 @@ civitai不是每个图片都有关键词,一个模型中,也不是所有预
|
|||
这些情况下,你可以在插件上,通过提供模型页面的url,来获取模型信息文件。(v1.3新功能)
|
||||
|
||||
|
||||
## 检查模型新版本
|
||||
在每一个检查模型新版本的请求之后,都会有一个1秒的延迟,所以速度有点慢。
|
||||
|
||||
这是为了保护Civitai避免因为本插件而短暂陷入类似DDos的局面。有些云服务商,有类似“免费用户每秒的API请求不能超过1次”的保护机制。Civitai还没有这种设置。但我们还是得自觉保护它的服务器。因为如果它挂了,对大家都没有好处。
|
||||
|
||||
|
||||
## Civitai本身挂掉
|
||||
Civitai在面临类似DDos的问题的时候,会把整个网站立刻置于Cloudflare验证机制的保护下,包括API的接口。于是,API请求,就会被跳转到Cloudflare的真人验证页面而无法获取任何信息。
|
||||
|
||||
这种情况,请耐心等待Civitai恢复之后,再使用需要连接Civitai的功能。根据以往经验,每次Civitai这样折腾一轮要6-8小时。
|
||||
|
||||
|
||||
|
||||
Enjoy!
|
||||
|
||||
|
||||
|
|
|
|||
12
README.md
12
README.md
|
|
@ -87,7 +87,7 @@ On civitai, a model's preview images may not has prompt. This extension will che
|
|||
## SHA256
|
||||
To create a file SHA256, it need to read the whole file to generate a hash code. It gonna be slow for big files.
|
||||
|
||||
Default, it uses a Memory Optimized SHA256 which won't stuck your system. So, do not uncheck it if you want to use your computer when scanning.
|
||||
Default, it uses a Memory Optimized SHA256 which won't stuck your system.(It is the only choice in latest version). So, do not uncheck it if you want to use your computer when scanning.
|
||||
|
||||
There are 2 cases this hash code can not find the model on civitai:
|
||||
* Some old models, which do not have SHA256 code on civitai.
|
||||
|
|
@ -95,6 +95,16 @@ There are 2 cases this hash code can not find the model on civitai:
|
|||
|
||||
In these cases, you can always link a model to civitai by filling its URL in this extension from v1.3.
|
||||
|
||||
## Checking Model's New Version
|
||||
It has 1 second delay after each model's new version checking request. So it is a little slow.
|
||||
|
||||
This is to protect Civitai from facing issue like DDos from this extension. Some cloud service provider has a rule as "no more than 1 API request in a second for free user". Civitai doesn't have it yet, but we still need to protect its server. If it is down, then this extension is no good for you anyway.
|
||||
|
||||
|
||||
## Civitai down
|
||||
When Civitai is facing some issue like DDos, it gonna put civitai under Cloudflare's protection, which gonna re-direct our API request to a real human checking page. Then this extension can not get any information back.
|
||||
|
||||
In that case, juse wait for civitai's recovering. It cloud take 6-8 hours.
|
||||
|
||||
Enjoy!
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue