Greasy Fork is available in English.

Civitai网站辅助(English Version)

Civitai model information assisted acquisition

Autor
faded_lov
Instalações hoje
0
Total de instalações
172
Avaliações
1 0 0
Versão
2.5.5
Criado
03/05/2023
Atualizado
27/05/2023
Licença
GPL
Aplicável a

This is the English version of the script (https://greasyfork.org/zh-CN/scripts/460557-civitai%E7%BD%91%E7%AB%99%E8%BE%85%E5%8A%A9)

Most of it is machine translation, so there may be some grammatical problems.

Hope it's all right

Script introduction

  • The script is used to quickly obtain model information from Civitai website and quickly download images.
  • Information in the downloaded txt or markdown text includes:
    1. Title
    2. Model link
    3. Trigger words
    4. Model remarks (txt version needs to be filled in, markdown version will automatically obtain model introduction and version introduction)
    5. Sample graph link and parameters

Current implementation function

  1. Set the name of the downloaded txt file, markdown file, or png file to the file name of the model, so that you can query the information of the model locally.
  2. Download of model preview picture (support all versions of models, and the file name is the name of the file corresponding to the model version)
    1. Supports downloading images from the gallery (Usage: click the binding image download button in the upper right corner after loading the image)
    2. One-click download of model preview picture
    3. gif format recognition
    4. Support to detect whether the picture contains metadata (_noInfo) and match the image format of the Civitai-Helper (.preview.png).
  3. Document download (click "like" automatically at the same time) (there are two formats: txt and markdown, switch through the upper right corner)
  4. Lazy one click download (download content can be customized)
  5. Switch the format of trigger words saving (\n) (suitable for the case that a tag represents a complete set of trigger words)
  6. Support to download different versions of the model
  7. Support light themes and dark themes
  8. Support downloading .info file (Civitai-Helper)
  9. Pop-up the common errors and print the information to the console

Matters needing attention

  1. Before using a newly downloaded script or each script update, make sure everything is working properly
  2. The parameters in markdown format text may not look the same when copied (different viewers or editors will have different effects), this is markdown for symbols such as \ and <> that are escaped at render time but which the editor (especially if rendered on the fly) copies to pre-render text.
  3. If the download button when access to the file name in the drop-down choice, there is a data model and training can be normal, but there are a variety of models, such as some versions of link) still need to manually choose model, At the same time, the file name obtained may not be correct (if the file name is a model when iterating through the array of returned data, it will extract its file name. Therefore, it cannot be distinguished if many of the drop-down selections are models, but most of them are just different file formats with the same file name, which has little impact).
  4. If the preview image download button is missing, click the Rebind Button in the upper right corner to re-bind
  5. If the Downloading task fails to download images, press the F12 button to start the console and check whether errors occur.
  6. When the problem is fed back, it is best to attach the browser console error display, pay attention to the console output when the right display is' userscript.html? ... '(https://smms.app/ is recommended)