opencomic-ai-bin 1.0.3 → 1.0.5
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.
- package/README.md +4 -0
- package/dist/calculate-latency.mjs +49 -1
- package/dist/index.cjs +49 -1
- package/dist/index.mjs +49 -1
- package/index.mts +49 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -246,6 +246,7 @@ Model | Name | Upscaler | Source
|
|
|
246
246
|
`1x_NMKD-Jaywreck3-Lite_320k` | NMKD Jaywreck3 Lite | `upscayl` | [NMKD.de](https://nmkd.de/?esrgan)
|
|
247
247
|
`1x_NMKD-Jaywreck3-Soft-Lite_320k` | NMKD Jaywreck3 Soft Lite | `upscayl` | [NMKD.de](https://nmkd.de/?esrgan)
|
|
248
248
|
`1x-SaiyaJin-DeJpeg` | SaiyaJin DeJpeg | `upscayl` | [OpenModelDB](https://openmodeldb.info/models/1x-SaiyaJin-DeJpeg)
|
|
249
|
+
`1x_JPEGDestroyerV2_96000G` | JPEG Destroyer V2 | `upscayl` | [Hugging Face](https://huggingface.co/utnah/esrgan)
|
|
249
250
|
|
|
250
251
|
### Descreen
|
|
251
252
|
|
|
@@ -269,6 +270,9 @@ Model | Name | Upscaler | Source
|
|
|
269
270
|
`remacri-4x` | Remacri | `upscayl` | [upscayl/upscayl](https://github.com/upscayl/upscayl/tree/d6e9a36b894d302e6268dc239e8a51ff29c49ded/resources/models)
|
|
270
271
|
`ultramix-balanced-4x` | Ultramix Balanced | `upscayl` | [upscayl/upscayl](https://github.com/upscayl/upscayl/tree/d6e9a36b894d302e6268dc239e8a51ff29c49ded/resources/models)
|
|
271
272
|
`ultrasharp-4x` | Ultrasharp | `upscayl` | [upscayl/upscayl](https://github.com/upscayl/upscayl/tree/d6e9a36b894d302e6268dc239e8a51ff29c49ded/resources/models)
|
|
273
|
+
`4xInt-RemAnime` | Int-RemAnime | `upscayl` | [Phhofm/models](https://github.com/Phhofm/models)
|
|
274
|
+
`AI-Forever_x4plus` | AI-Forever x4plus | `upscayl` | [Hugging Face](https://huggingface.co/leonelhs/realesrgan)
|
|
275
|
+
`4xNomosWebPhoto_esrgan` | Nomos Web Photo ESRGAN | `upscayl` | [OpenModelDB](https://openmodeldb.info/models/4x-NomosWebPhoto-esrgan)
|
|
272
276
|
`4xHFA2k` | HFA2k | `upscayl` | [upscayl/custom-models](https://github.com/upscayl/custom-models/tree/4b6d2cfa59c7442af115dfc6e50fd8d7d40b96ef/models)
|
|
273
277
|
`4xLSDIRCompactC3` | LSDIR Compact C3 | `upscayl` | [upscayl/custom-models](https://github.com/upscayl/custom-models/tree/4b6d2cfa59c7442af115dfc6e50fd8d7d40b96ef/models)
|
|
274
278
|
`4xLSDIRplusC` | LSDIR Plus C | `upscayl` | [upscayl/custom-models](https://github.com/upscayl/custom-models/tree/4b6d2cfa59c7442af115dfc6e50fd8d7d40b96ef/models)
|
|
@@ -269,6 +269,42 @@ let models = {
|
|
|
269
269
|
'2x-AnimeSharpV4_RCAN_fp16_op17.param',
|
|
270
270
|
],
|
|
271
271
|
},*/
|
|
272
|
+
'4xInt-RemAnime': {
|
|
273
|
+
name: 'Int-RemAnime',
|
|
274
|
+
upscaler: 'upscayl',
|
|
275
|
+
scales: [2, 3, 4],
|
|
276
|
+
noise: undefined,
|
|
277
|
+
latency: 7.26,
|
|
278
|
+
folder: './models',
|
|
279
|
+
files: [
|
|
280
|
+
'4xInt-RemAnime.bin',
|
|
281
|
+
'4xInt-RemAnime.param',
|
|
282
|
+
],
|
|
283
|
+
},
|
|
284
|
+
'AI-Forever_x4plus': {
|
|
285
|
+
name: 'AI-Forever x4plus',
|
|
286
|
+
upscaler: 'upscayl',
|
|
287
|
+
scales: [2, 3, 4],
|
|
288
|
+
noise: undefined,
|
|
289
|
+
latency: 7.77,
|
|
290
|
+
folder: './models',
|
|
291
|
+
files: [
|
|
292
|
+
'AI-Forever_x4plus.bin',
|
|
293
|
+
'AI-Forever_x4plus.param',
|
|
294
|
+
],
|
|
295
|
+
},
|
|
296
|
+
'4xNomosWebPhoto_esrgan': {
|
|
297
|
+
name: 'Nomos Web Photo ESRGAN',
|
|
298
|
+
upscaler: 'upscayl',
|
|
299
|
+
scales: [2, 3, 4],
|
|
300
|
+
noise: undefined,
|
|
301
|
+
latency: 7.29,
|
|
302
|
+
folder: './models',
|
|
303
|
+
files: [
|
|
304
|
+
'4xNomosWebPhoto_esrgan.bin',
|
|
305
|
+
'4xNomosWebPhoto_esrgan.param',
|
|
306
|
+
],
|
|
307
|
+
},
|
|
272
308
|
'4xHFA2k': {
|
|
273
309
|
name: 'HFA2k',
|
|
274
310
|
upscaler: 'upscayl',
|
|
@@ -441,6 +477,18 @@ let models = {
|
|
|
441
477
|
'1x-SaiyaJin-DeJpeg.param',
|
|
442
478
|
],
|
|
443
479
|
},
|
|
480
|
+
'1x_JPEGDestroyerV2_96000G': {
|
|
481
|
+
name: 'JPEG Destroyer V2',
|
|
482
|
+
upscaler: 'upscayl',
|
|
483
|
+
scales: [1],
|
|
484
|
+
noise: undefined,
|
|
485
|
+
latency: 6.37,
|
|
486
|
+
folder: './models',
|
|
487
|
+
files: [
|
|
488
|
+
'1x_JPEGDestroyerV2_96000G.bin',
|
|
489
|
+
'1x_JPEGDestroyerV2_96000G.param',
|
|
490
|
+
],
|
|
491
|
+
},
|
|
444
492
|
},
|
|
445
493
|
};
|
|
446
494
|
const modelSpeed = (latency) => {
|
|
@@ -474,7 +522,7 @@ models = {
|
|
|
474
522
|
'artifact-removal': parseModels(models['artifact-removal'], 'artifact-removal'),
|
|
475
523
|
};
|
|
476
524
|
const DEFAULT_MODEL = 'realcugan';
|
|
477
|
-
const DOWNLOADING_URL = 'https://raw.githubusercontent.com/ollm/opencomic-ai-models/
|
|
525
|
+
const DOWNLOADING_URL = 'https://raw.githubusercontent.com/ollm/opencomic-ai-models/476007f6e316c7471173af573d0e1ec7e6a941e1/models/';
|
|
478
526
|
const modelsList = [...Object.keys(models.upscale), ...Object.keys(models.descreen), ...Object.keys(models['artifact-removal'])];
|
|
479
527
|
const modelsTypeList = {
|
|
480
528
|
upscale: Object.keys(models.upscale),
|
package/dist/index.cjs
CHANGED
|
@@ -271,6 +271,42 @@ let models = {
|
|
|
271
271
|
'2x-AnimeSharpV4_RCAN_fp16_op17.param',
|
|
272
272
|
],
|
|
273
273
|
},*/
|
|
274
|
+
'4xInt-RemAnime': {
|
|
275
|
+
name: 'Int-RemAnime',
|
|
276
|
+
upscaler: 'upscayl',
|
|
277
|
+
scales: [2, 3, 4],
|
|
278
|
+
noise: undefined,
|
|
279
|
+
latency: 7.26,
|
|
280
|
+
folder: './models',
|
|
281
|
+
files: [
|
|
282
|
+
'4xInt-RemAnime.bin',
|
|
283
|
+
'4xInt-RemAnime.param',
|
|
284
|
+
],
|
|
285
|
+
},
|
|
286
|
+
'AI-Forever_x4plus': {
|
|
287
|
+
name: 'AI-Forever x4plus',
|
|
288
|
+
upscaler: 'upscayl',
|
|
289
|
+
scales: [2, 3, 4],
|
|
290
|
+
noise: undefined,
|
|
291
|
+
latency: 7.77,
|
|
292
|
+
folder: './models',
|
|
293
|
+
files: [
|
|
294
|
+
'AI-Forever_x4plus.bin',
|
|
295
|
+
'AI-Forever_x4plus.param',
|
|
296
|
+
],
|
|
297
|
+
},
|
|
298
|
+
'4xNomosWebPhoto_esrgan': {
|
|
299
|
+
name: 'Nomos Web Photo ESRGAN',
|
|
300
|
+
upscaler: 'upscayl',
|
|
301
|
+
scales: [2, 3, 4],
|
|
302
|
+
noise: undefined,
|
|
303
|
+
latency: 7.29,
|
|
304
|
+
folder: './models',
|
|
305
|
+
files: [
|
|
306
|
+
'4xNomosWebPhoto_esrgan.bin',
|
|
307
|
+
'4xNomosWebPhoto_esrgan.param',
|
|
308
|
+
],
|
|
309
|
+
},
|
|
274
310
|
'4xHFA2k': {
|
|
275
311
|
name: 'HFA2k',
|
|
276
312
|
upscaler: 'upscayl',
|
|
@@ -443,6 +479,18 @@ let models = {
|
|
|
443
479
|
'1x-SaiyaJin-DeJpeg.param',
|
|
444
480
|
],
|
|
445
481
|
},
|
|
482
|
+
'1x_JPEGDestroyerV2_96000G': {
|
|
483
|
+
name: 'JPEG Destroyer V2',
|
|
484
|
+
upscaler: 'upscayl',
|
|
485
|
+
scales: [1],
|
|
486
|
+
noise: undefined,
|
|
487
|
+
latency: 6.37,
|
|
488
|
+
folder: './models',
|
|
489
|
+
files: [
|
|
490
|
+
'1x_JPEGDestroyerV2_96000G.bin',
|
|
491
|
+
'1x_JPEGDestroyerV2_96000G.param',
|
|
492
|
+
],
|
|
493
|
+
},
|
|
446
494
|
},
|
|
447
495
|
};
|
|
448
496
|
const modelSpeed = (latency) => {
|
|
@@ -476,7 +524,7 @@ models = {
|
|
|
476
524
|
'artifact-removal': parseModels(models['artifact-removal'], 'artifact-removal'),
|
|
477
525
|
};
|
|
478
526
|
const DEFAULT_MODEL = 'realcugan';
|
|
479
|
-
const DOWNLOADING_URL = 'https://raw.githubusercontent.com/ollm/opencomic-ai-models/
|
|
527
|
+
const DOWNLOADING_URL = 'https://raw.githubusercontent.com/ollm/opencomic-ai-models/476007f6e316c7471173af573d0e1ec7e6a941e1/models/';
|
|
480
528
|
const modelsList = [...Object.keys(models.upscale), ...Object.keys(models.descreen), ...Object.keys(models['artifact-removal'])];
|
|
481
529
|
const modelsTypeList = {
|
|
482
530
|
upscale: Object.keys(models.upscale),
|
package/dist/index.mjs
CHANGED
|
@@ -269,6 +269,42 @@ let models = {
|
|
|
269
269
|
'2x-AnimeSharpV4_RCAN_fp16_op17.param',
|
|
270
270
|
],
|
|
271
271
|
},*/
|
|
272
|
+
'4xInt-RemAnime': {
|
|
273
|
+
name: 'Int-RemAnime',
|
|
274
|
+
upscaler: 'upscayl',
|
|
275
|
+
scales: [2, 3, 4],
|
|
276
|
+
noise: undefined,
|
|
277
|
+
latency: 7.26,
|
|
278
|
+
folder: './models',
|
|
279
|
+
files: [
|
|
280
|
+
'4xInt-RemAnime.bin',
|
|
281
|
+
'4xInt-RemAnime.param',
|
|
282
|
+
],
|
|
283
|
+
},
|
|
284
|
+
'AI-Forever_x4plus': {
|
|
285
|
+
name: 'AI-Forever x4plus',
|
|
286
|
+
upscaler: 'upscayl',
|
|
287
|
+
scales: [2, 3, 4],
|
|
288
|
+
noise: undefined,
|
|
289
|
+
latency: 7.77,
|
|
290
|
+
folder: './models',
|
|
291
|
+
files: [
|
|
292
|
+
'AI-Forever_x4plus.bin',
|
|
293
|
+
'AI-Forever_x4plus.param',
|
|
294
|
+
],
|
|
295
|
+
},
|
|
296
|
+
'4xNomosWebPhoto_esrgan': {
|
|
297
|
+
name: 'Nomos Web Photo ESRGAN',
|
|
298
|
+
upscaler: 'upscayl',
|
|
299
|
+
scales: [2, 3, 4],
|
|
300
|
+
noise: undefined,
|
|
301
|
+
latency: 7.29,
|
|
302
|
+
folder: './models',
|
|
303
|
+
files: [
|
|
304
|
+
'4xNomosWebPhoto_esrgan.bin',
|
|
305
|
+
'4xNomosWebPhoto_esrgan.param',
|
|
306
|
+
],
|
|
307
|
+
},
|
|
272
308
|
'4xHFA2k': {
|
|
273
309
|
name: 'HFA2k',
|
|
274
310
|
upscaler: 'upscayl',
|
|
@@ -441,6 +477,18 @@ let models = {
|
|
|
441
477
|
'1x-SaiyaJin-DeJpeg.param',
|
|
442
478
|
],
|
|
443
479
|
},
|
|
480
|
+
'1x_JPEGDestroyerV2_96000G': {
|
|
481
|
+
name: 'JPEG Destroyer V2',
|
|
482
|
+
upscaler: 'upscayl',
|
|
483
|
+
scales: [1],
|
|
484
|
+
noise: undefined,
|
|
485
|
+
latency: 6.37,
|
|
486
|
+
folder: './models',
|
|
487
|
+
files: [
|
|
488
|
+
'1x_JPEGDestroyerV2_96000G.bin',
|
|
489
|
+
'1x_JPEGDestroyerV2_96000G.param',
|
|
490
|
+
],
|
|
491
|
+
},
|
|
444
492
|
},
|
|
445
493
|
};
|
|
446
494
|
const modelSpeed = (latency) => {
|
|
@@ -474,7 +522,7 @@ models = {
|
|
|
474
522
|
'artifact-removal': parseModels(models['artifact-removal'], 'artifact-removal'),
|
|
475
523
|
};
|
|
476
524
|
const DEFAULT_MODEL = 'realcugan';
|
|
477
|
-
const DOWNLOADING_URL = 'https://raw.githubusercontent.com/ollm/opencomic-ai-models/
|
|
525
|
+
const DOWNLOADING_URL = 'https://raw.githubusercontent.com/ollm/opencomic-ai-models/476007f6e316c7471173af573d0e1ec7e6a941e1/models/';
|
|
478
526
|
const modelsList = [...Object.keys(models.upscale), ...Object.keys(models.descreen), ...Object.keys(models['artifact-removal'])];
|
|
479
527
|
const modelsTypeList = {
|
|
480
528
|
upscale: Object.keys(models.upscale),
|
package/index.mts
CHANGED
|
@@ -317,6 +317,42 @@ let models: Record<ModelType, Record<string, ModelObject>> = {
|
|
|
317
317
|
'2x-AnimeSharpV4_RCAN_fp16_op17.param',
|
|
318
318
|
],
|
|
319
319
|
},*/
|
|
320
|
+
'4xInt-RemAnime': {
|
|
321
|
+
name: 'Int-RemAnime',
|
|
322
|
+
upscaler: 'upscayl',
|
|
323
|
+
scales: [2, 3, 4],
|
|
324
|
+
noise: undefined,
|
|
325
|
+
latency: 7.26,
|
|
326
|
+
folder: './models',
|
|
327
|
+
files: [
|
|
328
|
+
'4xInt-RemAnime.bin',
|
|
329
|
+
'4xInt-RemAnime.param',
|
|
330
|
+
],
|
|
331
|
+
},
|
|
332
|
+
'AI-Forever_x4plus': {
|
|
333
|
+
name: 'AI-Forever x4plus',
|
|
334
|
+
upscaler: 'upscayl',
|
|
335
|
+
scales: [2, 3, 4],
|
|
336
|
+
noise: undefined,
|
|
337
|
+
latency: 7.77,
|
|
338
|
+
folder: './models',
|
|
339
|
+
files: [
|
|
340
|
+
'AI-Forever_x4plus.bin',
|
|
341
|
+
'AI-Forever_x4plus.param',
|
|
342
|
+
],
|
|
343
|
+
},
|
|
344
|
+
'4xNomosWebPhoto_esrgan': {
|
|
345
|
+
name: 'Nomos Web Photo ESRGAN',
|
|
346
|
+
upscaler: 'upscayl',
|
|
347
|
+
scales: [2, 3, 4],
|
|
348
|
+
noise: undefined,
|
|
349
|
+
latency: 7.29,
|
|
350
|
+
folder: './models',
|
|
351
|
+
files: [
|
|
352
|
+
'4xNomosWebPhoto_esrgan.bin',
|
|
353
|
+
'4xNomosWebPhoto_esrgan.param',
|
|
354
|
+
],
|
|
355
|
+
},
|
|
320
356
|
'4xHFA2k': {
|
|
321
357
|
name: 'HFA2k',
|
|
322
358
|
upscaler: 'upscayl',
|
|
@@ -489,6 +525,18 @@ let models: Record<ModelType, Record<string, ModelObject>> = {
|
|
|
489
525
|
'1x-SaiyaJin-DeJpeg.param',
|
|
490
526
|
],
|
|
491
527
|
},
|
|
528
|
+
'1x_JPEGDestroyerV2_96000G': {
|
|
529
|
+
name: 'JPEG Destroyer V2',
|
|
530
|
+
upscaler: 'upscayl',
|
|
531
|
+
scales: [1],
|
|
532
|
+
noise: undefined,
|
|
533
|
+
latency: 6.37,
|
|
534
|
+
folder: './models',
|
|
535
|
+
files: [
|
|
536
|
+
'1x_JPEGDestroyerV2_96000G.bin',
|
|
537
|
+
'1x_JPEGDestroyerV2_96000G.param',
|
|
538
|
+
],
|
|
539
|
+
},
|
|
492
540
|
},
|
|
493
541
|
};
|
|
494
542
|
|
|
@@ -551,7 +599,7 @@ export interface Downloading {
|
|
|
551
599
|
}
|
|
552
600
|
|
|
553
601
|
const DEFAULT_MODEL: Model = 'realcugan';
|
|
554
|
-
const DOWNLOADING_URL = 'https://raw.githubusercontent.com/ollm/opencomic-ai-models/
|
|
602
|
+
const DOWNLOADING_URL = 'https://raw.githubusercontent.com/ollm/opencomic-ai-models/476007f6e316c7471173af573d0e1ec7e6a941e1/models/';
|
|
555
603
|
|
|
556
604
|
const modelsList: Model[] = [...Object.keys(models.upscale) as Model[], ...Object.keys(models.descreen) as Model[], ...Object.keys(models['artifact-removal']) as Model[]];
|
|
557
605
|
const modelsTypeList: Record<ModelType, Model[]> = {
|