@melite/models-wd14 0.1.5-pre-alpha → 0.2.0-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LICENSE +561 -457
  2. package/lib/index.js +241 -0
  3. package/package.json +5 -5
package/lib/index.js CHANGED
@@ -15,6 +15,13 @@ export const DECL = {
15
15
  },
16
16
  "genre": "image",
17
17
 
18
+ // user-provided seat(s) — the compose caller provides them. No
19
+ // variant-class rows: this family's served face exposes no
20
+ // steps+cfg pair (the census's surface-derived carve).
21
+ "required_defaults": [
22
+ { "name": "input_image", "class": "user" }
23
+ ],
24
+
18
25
  // checkpoint picker; the tagger schema declares no weights knob):
19
26
  // one variant per live WD14Tagger|pysssss `model` name
20
27
  // (live-pinned off the engine's object_info — the node refuses
@@ -25,6 +32,174 @@ export const DECL = {
25
32
  // a fresh card lands here). vram_peak_gb rides ONLY moat's cell
26
33
  // (the family's measured light-ONNX figure); unmeasured
27
34
  // backbones omit it (null = unknown, never a guessed number).
35
+
36
+ // DOES models without links go all green?"): one onnx+csv
37
+ // pair per variant, single-file rows off the node's OWN upstream
38
+ // map (pysssss.json — SmilingWolf/<repo>), the csv digests
39
+ // estate-minted off the fetched bytes (git storage carries no LFS
40
+ // oid). The folder is the identity mount (store wd14_tagger/, the
41
+
42
+ // stale wd14/ mapping with the bytes' actual landing) — the flat
43
+ // renamed pair the node's loader reads.
44
+ "provisions": [
45
+ {
46
+ "name": "wd-v1-4-moat-tagger-v2.onnx",
47
+ "url": "https://huggingface.co/SmilingWolf/wd-v1-4-moat-tagger-v2/resolve/main/model.onnx",
48
+ "folder": "wd14_tagger",
49
+ "sha256": "b8cef913be4c9e8d93f9f903e74271416502ce0b4b04df0ff1e2f00df488aa03",
50
+ "size_bytes": 326197340,
51
+ },
52
+ {
53
+ "name": "wd-v1-4-moat-tagger-v2.csv",
54
+ "url": "https://huggingface.co/SmilingWolf/wd-v1-4-moat-tagger-v2/resolve/main/selected_tags.csv",
55
+ "folder": "wd14_tagger",
56
+ "sha256": "8c8750600db36233a1b274ac88bd46289e588b338218c2e4c62bbc9f2b516368",
57
+ "size_bytes": 253906,
58
+ },
59
+ {
60
+ "name": "wd-v1-4-convnext-tagger-v2.onnx",
61
+ "url": "https://huggingface.co/SmilingWolf/wd-v1-4-convnext-tagger-v2/resolve/main/model.onnx",
62
+ "folder": "wd14_tagger",
63
+ "sha256": "71f06ecb7b9df81d8f271da4d43997ea2ed363cdac29aa64fcb256c9631e656a",
64
+ "size_bytes": 387820405,
65
+ },
66
+ {
67
+ "name": "wd-v1-4-convnext-tagger-v2.csv",
68
+ "url": "https://huggingface.co/SmilingWolf/wd-v1-4-convnext-tagger-v2/resolve/main/selected_tags.csv",
69
+ "folder": "wd14_tagger",
70
+ "sha256": "8c8750600db36233a1b274ac88bd46289e588b338218c2e4c62bbc9f2b516368",
71
+ "size_bytes": 253906,
72
+ },
73
+ {
74
+ "name": "wd-v1-4-convnextv2-tagger-v2.onnx",
75
+ "url": "https://huggingface.co/SmilingWolf/wd-v1-4-convnextv2-tagger-v2/resolve/main/model.onnx",
76
+ "folder": "wd14_tagger",
77
+ "sha256": "e91daa19cd9e8725125b7d70702d1560855fb687f8d8c4218eddaa821f41834a",
78
+ "size_bytes": 388479878,
79
+ },
80
+ {
81
+ "name": "wd-v1-4-convnextv2-tagger-v2.csv",
82
+ "url": "https://huggingface.co/SmilingWolf/wd-v1-4-convnextv2-tagger-v2/resolve/main/selected_tags.csv",
83
+ "folder": "wd14_tagger",
84
+ "sha256": "8c8750600db36233a1b274ac88bd46289e588b338218c2e4c62bbc9f2b516368",
85
+ "size_bytes": 253906,
86
+ },
87
+ {
88
+ "name": "wd-v1-4-vit-tagger-v2.onnx",
89
+ "url": "https://huggingface.co/SmilingWolf/wd-v1-4-vit-tagger-v2/resolve/main/model.onnx",
90
+ "folder": "wd14_tagger",
91
+ "sha256": "8a21cadd1f88a095094cafbffe3028c3cc3d97f4d58c54344c5994bcf48e24ac",
92
+ "size_bytes": 373287959,
93
+ },
94
+ {
95
+ "name": "wd-v1-4-vit-tagger-v2.csv",
96
+ "url": "https://huggingface.co/SmilingWolf/wd-v1-4-vit-tagger-v2/resolve/main/selected_tags.csv",
97
+ "folder": "wd14_tagger",
98
+ "sha256": "8c8750600db36233a1b274ac88bd46289e588b338218c2e4c62bbc9f2b516368",
99
+ "size_bytes": 253906,
100
+ },
101
+ {
102
+ "name": "wd-v1-4-swinv2-tagger-v2.onnx",
103
+ "url": "https://huggingface.co/SmilingWolf/wd-v1-4-swinv2-tagger-v2/resolve/main/model.onnx",
104
+ "folder": "wd14_tagger",
105
+ "sha256": "04ec04fdf7db74b4fed7f4b52f52e04dec4dbad9e4d88d2d178f334079a29fde",
106
+ "size_bytes": 455409152,
107
+ },
108
+ {
109
+ "name": "wd-v1-4-swinv2-tagger-v2.csv",
110
+ "url": "https://huggingface.co/SmilingWolf/wd-v1-4-swinv2-tagger-v2/resolve/main/selected_tags.csv",
111
+ "folder": "wd14_tagger",
112
+ "sha256": "8c8750600db36233a1b274ac88bd46289e588b338218c2e4c62bbc9f2b516368",
113
+ "size_bytes": 253906,
114
+ },
115
+ {
116
+ "name": "wd-v1-4-convnext-tagger.onnx",
117
+ "url": "https://huggingface.co/SmilingWolf/wd-v1-4-convnext-tagger/resolve/main/model.onnx",
118
+ "folder": "wd14_tagger",
119
+ "sha256": "b7d7c9923e0056a2def0f4418df01a1274467b3da8480f146b851289257734de",
120
+ "size_bytes": 377430976,
121
+ },
122
+ {
123
+ "name": "wd-v1-4-convnext-tagger.csv",
124
+ "url": "https://huggingface.co/SmilingWolf/wd-v1-4-convnext-tagger/resolve/main/selected_tags.csv",
125
+ "folder": "wd14_tagger",
126
+ "sha256": "898dbc30bec9a5173b5531fc9b3d6058ea79182832ec4a102facc33cae7669cd",
127
+ "size_bytes": 173829,
128
+ },
129
+ {
130
+ "name": "wd-v1-4-vit-tagger.onnx",
131
+ "url": "https://huggingface.co/SmilingWolf/wd-v1-4-vit-tagger/resolve/main/model.onnx",
132
+ "folder": "wd14_tagger",
133
+ "sha256": "22e88a3226e427998fdf669bdbd035ee7040f3229796dd66ec35b8dd90e852b5",
134
+ "size_bytes": 365487723,
135
+ },
136
+ {
137
+ "name": "wd-v1-4-vit-tagger.csv",
138
+ "url": "https://huggingface.co/SmilingWolf/wd-v1-4-vit-tagger/resolve/main/selected_tags.csv",
139
+ "folder": "wd14_tagger",
140
+ "sha256": "898dbc30bec9a5173b5531fc9b3d6058ea79182832ec4a102facc33cae7669cd",
141
+ "size_bytes": 173829,
142
+ },
143
+ {
144
+ "name": "wd-convnext-tagger-v3.onnx",
145
+ "url": "https://huggingface.co/SmilingWolf/wd-convnext-tagger-v3/resolve/main/model.onnx",
146
+ "folder": "wd14_tagger",
147
+ "sha256": "1b8a7abf13d9b8368267df47501d523789c4aeae66b2296ad98483239dfa32eb",
148
+ "size_bytes": 394990732,
149
+ },
150
+ {
151
+ "name": "wd-convnext-tagger-v3.csv",
152
+ "url": "https://huggingface.co/SmilingWolf/wd-convnext-tagger-v3/resolve/main/selected_tags.csv",
153
+ "folder": "wd14_tagger",
154
+ "sha256": "298633d94d0031d2081c0893f29c82eab7f0df00b08483ba8f29d1e979441217",
155
+ "size_bytes": 308468,
156
+ },
157
+ {
158
+ "name": "wd-swinv2-tagger-v3.onnx",
159
+ "url": "https://huggingface.co/SmilingWolf/wd-swinv2-tagger-v3/resolve/main/model.onnx",
160
+ "folder": "wd14_tagger",
161
+ "sha256": "e6774bff34d43bd49f75a47db4ef217dce701c9847b546523eb85ff6dbba1db1",
162
+ "size_bytes": 467460978,
163
+ },
164
+ {
165
+ "name": "wd-swinv2-tagger-v3.csv",
166
+ "url": "https://huggingface.co/SmilingWolf/wd-swinv2-tagger-v3/resolve/main/selected_tags.csv",
167
+ "folder": "wd14_tagger",
168
+ "sha256": "298633d94d0031d2081c0893f29c82eab7f0df00b08483ba8f29d1e979441217",
169
+ "size_bytes": 308468,
170
+ },
171
+ {
172
+ "name": "wd-vit-tagger-v3.onnx",
173
+ "url": "https://huggingface.co/SmilingWolf/wd-vit-tagger-v3/resolve/main/model.onnx",
174
+ "folder": "wd14_tagger",
175
+ "sha256": "35f23693620b668f4d53fd3c62bf65e40af739bc52c7eb0fbc49258b58d065b6",
176
+ "size_bytes": 378536310,
177
+ },
178
+ {
179
+ "name": "wd-vit-tagger-v3.csv",
180
+ "url": "https://huggingface.co/SmilingWolf/wd-vit-tagger-v3/resolve/main/selected_tags.csv",
181
+ "folder": "wd14_tagger",
182
+ "sha256": "298633d94d0031d2081c0893f29c82eab7f0df00b08483ba8f29d1e979441217",
183
+ "size_bytes": 308468,
184
+ },
185
+ {
186
+ "name": "wd-eva02-large-tagger-v3.onnx",
187
+ "url": "https://huggingface.co/SmilingWolf/wd-eva02-large-tagger-v3/resolve/main/model.onnx",
188
+ "folder": "wd14_tagger",
189
+ "sha256": "9e768793060c7939b277ccb382783e8670e8a042d29d77aa736be0c8cc898bfc",
190
+ "size_bytes": 1260435999,
191
+ },
192
+ {
193
+ "name": "wd-eva02-large-tagger-v3.csv",
194
+ "url": "https://huggingface.co/SmilingWolf/wd-eva02-large-tagger-v3/resolve/main/selected_tags.csv",
195
+ "folder": "wd14_tagger",
196
+ "sha256": "298633d94d0031d2081c0893f29c82eab7f0df00b08483ba8f29d1e979441217",
197
+ "size_bytes": 308468,
198
+ },
199
+ ],
200
+ // THE DECLARED HOME (the lane-presence cure): both backing files
201
+ // live in the wd14_tagger mount's store folder.
202
+ "lane_homes": { "onnx": "wd14", "csv": "wd14" },
28
203
  "variants": [
29
204
  {
30
205
  "id": "wd-v1-4-moat-tagger-v2",
@@ -32,6 +207,12 @@ export const DECL = {
32
207
  "group": "Variant",
33
208
  "route": "wd14",
34
209
  "resolver_defaults": { "checkpoint": "wd-v1-4-moat-tagger-v2" },
210
+
211
+ // engine-side from the wd14_tagger folder — wd-v1-4-moat-tagger-v2.onnx +
212
+ // wd-v1-4-moat-tagger-v2.csv (the node's own download pair, renamed flat).
213
+ // Declared here so the run gate probes them at press and the
214
+ // provisions rows fetch them (no more green-by-luck).
215
+ "lane_inputs": { "onnx": "wd-v1-4-moat-tagger-v2.onnx", "csv": "wd-v1-4-moat-tagger-v2.csv" },
35
216
  "cells": [
36
217
  {
37
218
  "quant": "f32",
@@ -45,6 +226,12 @@ export const DECL = {
45
226
  "label": "wd-v1-4-convnext-tagger-v2",
46
227
  "group": "Variant",
47
228
  "resolver_defaults": { "checkpoint": "wd-v1-4-convnext-tagger-v2" },
229
+
230
+ // engine-side from the wd14_tagger folder — wd-v1-4-convnext-tagger-v2.onnx +
231
+ // wd-v1-4-convnext-tagger-v2.csv (the node's own download pair, renamed flat).
232
+ // Declared here so the run gate probes them at press and the
233
+ // provisions rows fetch them (no more green-by-luck).
234
+ "lane_inputs": { "onnx": "wd-v1-4-convnext-tagger-v2.onnx", "csv": "wd-v1-4-convnext-tagger-v2.csv" },
48
235
  "cells": [{ "quant": "f32", "label": "F32" }],
49
236
  },
50
237
  {
@@ -52,6 +239,12 @@ export const DECL = {
52
239
  "label": "wd-v1-4-convnextv2-tagger-v2",
53
240
  "group": "Variant",
54
241
  "resolver_defaults": { "checkpoint": "wd-v1-4-convnextv2-tagger-v2" },
242
+
243
+ // engine-side from the wd14_tagger folder — wd-v1-4-convnextv2-tagger-v2.onnx +
244
+ // wd-v1-4-convnextv2-tagger-v2.csv (the node's own download pair, renamed flat).
245
+ // Declared here so the run gate probes them at press and the
246
+ // provisions rows fetch them (no more green-by-luck).
247
+ "lane_inputs": { "onnx": "wd-v1-4-convnextv2-tagger-v2.onnx", "csv": "wd-v1-4-convnextv2-tagger-v2.csv" },
55
248
  "cells": [{ "quant": "f32", "label": "F32" }],
56
249
  },
57
250
  {
@@ -59,6 +252,12 @@ export const DECL = {
59
252
  "label": "wd-v1-4-vit-tagger-v2",
60
253
  "group": "Variant",
61
254
  "resolver_defaults": { "checkpoint": "wd-v1-4-vit-tagger-v2" },
255
+
256
+ // engine-side from the wd14_tagger folder — wd-v1-4-vit-tagger-v2.onnx +
257
+ // wd-v1-4-vit-tagger-v2.csv (the node's own download pair, renamed flat).
258
+ // Declared here so the run gate probes them at press and the
259
+ // provisions rows fetch them (no more green-by-luck).
260
+ "lane_inputs": { "onnx": "wd-v1-4-vit-tagger-v2.onnx", "csv": "wd-v1-4-vit-tagger-v2.csv" },
62
261
  "cells": [{ "quant": "f32", "label": "F32" }],
63
262
  },
64
263
  {
@@ -66,6 +265,12 @@ export const DECL = {
66
265
  "label": "wd-v1-4-swinv2-tagger-v2",
67
266
  "group": "Variant",
68
267
  "resolver_defaults": { "checkpoint": "wd-v1-4-swinv2-tagger-v2" },
268
+
269
+ // engine-side from the wd14_tagger folder — wd-v1-4-swinv2-tagger-v2.onnx +
270
+ // wd-v1-4-swinv2-tagger-v2.csv (the node's own download pair, renamed flat).
271
+ // Declared here so the run gate probes them at press and the
272
+ // provisions rows fetch them (no more green-by-luck).
273
+ "lane_inputs": { "onnx": "wd-v1-4-swinv2-tagger-v2.onnx", "csv": "wd-v1-4-swinv2-tagger-v2.csv" },
69
274
  "cells": [{ "quant": "f32", "label": "F32" }],
70
275
  },
71
276
  {
@@ -73,6 +278,12 @@ export const DECL = {
73
278
  "label": "wd-v1-4-convnext-tagger",
74
279
  "group": "Variant",
75
280
  "resolver_defaults": { "checkpoint": "wd-v1-4-convnext-tagger" },
281
+
282
+ // engine-side from the wd14_tagger folder — wd-v1-4-convnext-tagger.onnx +
283
+ // wd-v1-4-convnext-tagger.csv (the node's own download pair, renamed flat).
284
+ // Declared here so the run gate probes them at press and the
285
+ // provisions rows fetch them (no more green-by-luck).
286
+ "lane_inputs": { "onnx": "wd-v1-4-convnext-tagger.onnx", "csv": "wd-v1-4-convnext-tagger.csv" },
76
287
  "cells": [{ "quant": "f32", "label": "F32" }],
77
288
  },
78
289
  {
@@ -80,6 +291,12 @@ export const DECL = {
80
291
  "label": "wd-v1-4-vit-tagger",
81
292
  "group": "Variant",
82
293
  "resolver_defaults": { "checkpoint": "wd-v1-4-vit-tagger" },
294
+
295
+ // engine-side from the wd14_tagger folder — wd-v1-4-vit-tagger.onnx +
296
+ // wd-v1-4-vit-tagger.csv (the node's own download pair, renamed flat).
297
+ // Declared here so the run gate probes them at press and the
298
+ // provisions rows fetch them (no more green-by-luck).
299
+ "lane_inputs": { "onnx": "wd-v1-4-vit-tagger.onnx", "csv": "wd-v1-4-vit-tagger.csv" },
83
300
  "cells": [{ "quant": "f32", "label": "F32" }],
84
301
  },
85
302
  {
@@ -87,6 +304,12 @@ export const DECL = {
87
304
  "label": "wd-convnext-tagger-v3",
88
305
  "group": "Variant",
89
306
  "resolver_defaults": { "checkpoint": "wd-convnext-tagger-v3" },
307
+
308
+ // engine-side from the wd14_tagger folder — wd-convnext-tagger-v3.onnx +
309
+ // wd-convnext-tagger-v3.csv (the node's own download pair, renamed flat).
310
+ // Declared here so the run gate probes them at press and the
311
+ // provisions rows fetch them (no more green-by-luck).
312
+ "lane_inputs": { "onnx": "wd-convnext-tagger-v3.onnx", "csv": "wd-convnext-tagger-v3.csv" },
90
313
  "cells": [{ "quant": "f32", "label": "F32" }],
91
314
  },
92
315
  {
@@ -94,6 +317,12 @@ export const DECL = {
94
317
  "label": "wd-swinv2-tagger-v3",
95
318
  "group": "Variant",
96
319
  "resolver_defaults": { "checkpoint": "wd-swinv2-tagger-v3" },
320
+
321
+ // engine-side from the wd14_tagger folder — wd-swinv2-tagger-v3.onnx +
322
+ // wd-swinv2-tagger-v3.csv (the node's own download pair, renamed flat).
323
+ // Declared here so the run gate probes them at press and the
324
+ // provisions rows fetch them (no more green-by-luck).
325
+ "lane_inputs": { "onnx": "wd-swinv2-tagger-v3.onnx", "csv": "wd-swinv2-tagger-v3.csv" },
97
326
  "cells": [{ "quant": "f32", "label": "F32" }],
98
327
  },
99
328
  {
@@ -101,6 +330,12 @@ export const DECL = {
101
330
  "label": "wd-vit-tagger-v3",
102
331
  "group": "Variant",
103
332
  "resolver_defaults": { "checkpoint": "wd-vit-tagger-v3" },
333
+
334
+ // engine-side from the wd14_tagger folder — wd-vit-tagger-v3.onnx +
335
+ // wd-vit-tagger-v3.csv (the node's own download pair, renamed flat).
336
+ // Declared here so the run gate probes them at press and the
337
+ // provisions rows fetch them (no more green-by-luck).
338
+ "lane_inputs": { "onnx": "wd-vit-tagger-v3.onnx", "csv": "wd-vit-tagger-v3.csv" },
104
339
  "cells": [{ "quant": "f32", "label": "F32" }],
105
340
  },
106
341
  {
@@ -108,6 +343,12 @@ export const DECL = {
108
343
  "label": "wd-eva02-large-tagger-v3",
109
344
  "group": "Variant",
110
345
  "resolver_defaults": { "checkpoint": "wd-eva02-large-tagger-v3" },
346
+
347
+ // engine-side from the wd14_tagger folder — wd-eva02-large-tagger-v3.onnx +
348
+ // wd-eva02-large-tagger-v3.csv (the node's own download pair, renamed flat).
349
+ // Declared here so the run gate probes them at press and the
350
+ // provisions rows fetch them (no more green-by-luck).
351
+ "lane_inputs": { "onnx": "wd-eva02-large-tagger-v3.onnx", "csv": "wd-eva02-large-tagger-v3.csv" },
111
352
  "cells": [{ "quant": "f32", "label": "F32" }],
112
353
  }
113
354
  ],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@melite/models-wd14",
3
- "version": "0.1.5-pre-alpha",
4
- "license": "SSPL-1.0",
3
+ "version": "0.2.0-alpha",
4
+ "license": "AGPL-3.0-or-later",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {
@@ -11,12 +11,12 @@
11
11
  "./package.json": "./package.json"
12
12
  },
13
13
  "dependencies": {
14
- "@melite/comfyui-card-kit": "0.1.5-pre-alpha"
14
+ "@melite/comfyui-card-kit": "0.2.0-alpha"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/node": "^22.20.0",
18
18
  "typescript": "^5.9.3",
19
- "@deepseek-ai/cordis": "^4.0.4"
19
+ "@deepseek-ai/cordis": "^4.0.5"
20
20
  },
21
21
  "files": [
22
22
  "lib/index.js",
@@ -24,7 +24,7 @@
24
24
  "lib/**/*.d.ts"
25
25
  ],
26
26
  "peerDependencies": {
27
- "@deepseek-ai/cordis": "^4.0.4"
27
+ "@deepseek-ai/cordis": "^4.0.5"
28
28
  },
29
29
  "scripts": {
30
30
  "build": "tsc -p tsconfig.build.json",