Yansefy commited on
Commit
6cf824d
·
1 Parent(s): 896cd4e

first commit

Browse files
Files changed (2) hide show
  1. CVA.rar +3 -0
  2. readme.txt +80 -0
CVA.rar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92f808f38d5094664f22ab4be8b49d5c6f049b6e70454a217749842737c88853
3
+ size 40771974
readme.txt ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ To understand this, you should be familiar with CivitAI metadata.
2
+
3
+ Models, versions, files, images, and creators may have additional entries.
4
+
5
+ If you want to retrieve JSON as close to the original as possible, look
6
+ for keys beginning with "yansefy_" in those places and remove them. You
7
+ may not want to do this, though.
8
+
9
+ This is a list of all possible entries:
10
+ ----------------------------------------------------------------------------
11
+ model['yansefy_deleted'] :
12
+ version['yansefy_deleted'] :
13
+ file['yansefy_deleted'] :
14
+ image['yansefy_deleted'] :
15
+
16
+ Optional, false by default. Self-explanatory.
17
+ ----------------------------------------------------------------------------
18
+ creator['yansefy_aka'] :
19
+
20
+ Optional, an array of all known aliases for a creator. Only present if
21
+ creator['username'] isn't the only one.
22
+ ----------------------------------------------------------------------------
23
+ model['yansefy_source'] :
24
+ version['yansefy_source'] :
25
+ file['yansefy_source'] :
26
+
27
+ Optional, "CivitAI API" by default.
28
+
29
+ A string indicating the source from which I'm getting the metadata. It can
30
+ now have one of these values:
31
+
32
+ "CivitAI API"
33
+ "HuggingFace Crawler"
34
+ ----------------------------------------------------------------------------
35
+ version['yansefy_order'] :
36
+ file['yansefy_order'] :
37
+ image['yansefy_order'] :
38
+
39
+ We're working with deleted items, so the "index" key is sometimes outdated
40
+ and unhelpful. To determine the order in which items are displayed, I use
41
+ "yansefy_order." The lowest values ​​should be displayed first.
42
+ ----------------------------------------------------------------------------
43
+ model['yansefy_id'] :
44
+ version['yansefy_id'] :
45
+ file['yansefy_id'] :
46
+ image['yansefy_id'] :
47
+ creator['yansefy_id'] :
48
+
49
+
50
+ This is the ID of the model/version/file/image/creator in my personal
51
+ database.
52
+ ----------------------------------------------------------------------------
53
+ version['yansefy_parent_id'] :
54
+ file['yansefy_parent_id'] :
55
+ image['yansefy_parent_id'] :
56
+
57
+ This is the ID of the parent item in my personal database. The parent item
58
+ is a model ID for versions and a version ID for files and images.
59
+ ----------------------------------------------------------------------------
60
+ file['yansefy_hashes'] :
61
+
62
+ Optional.
63
+
64
+ This is a pool of known hashes for this file. If not present, no
65
+ alternative hashes are known.
66
+
67
+ Format:
68
+
69
+ file['yansefy_hashes'][SOURCE][HASH1, HASH2, HASH3...]
70
+
71
+ SOURCE can be:
72
+
73
+ "CivitAI API" : The hash was seen in metadata from the CivitAI API
74
+ "HuggingFace Crawler" : The hash was seen in metadata from HuggingFace
75
+ repositories.
76
+ "HuggingFace (Old Hashes)" : The hash was seen in metadata from HuggingFace
77
+ repositories, and they are known to be old.
78
+
79
+ A file can have multiple hashes from different sources.
80
+