@civitai/client 0.1.9-beta.26 → 0.1.9-beta.28
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.
|
@@ -593,10 +593,10 @@ export declare const $ComfyVideoGenJob: {
|
|
|
593
593
|
readonly format: 'uri';
|
|
594
594
|
readonly nullable: true;
|
|
595
595
|
};
|
|
596
|
-
readonly
|
|
596
|
+
readonly loras: {
|
|
597
597
|
readonly type: 'array';
|
|
598
598
|
readonly items: {
|
|
599
|
-
readonly
|
|
599
|
+
readonly $ref: '#/components/schemas/Lora';
|
|
600
600
|
};
|
|
601
601
|
readonly nullable: true;
|
|
602
602
|
};
|
|
@@ -1044,6 +1044,17 @@ export declare const $HunyuanVdeoGenInput: {
|
|
|
1044
1044
|
readonly type: 'integer';
|
|
1045
1045
|
readonly format: 'int32';
|
|
1046
1046
|
};
|
|
1047
|
+
readonly loras: {
|
|
1048
|
+
readonly type: 'array';
|
|
1049
|
+
readonly items: {
|
|
1050
|
+
readonly $ref: '#/components/schemas/HunyuanVdeoGenLoraInput';
|
|
1051
|
+
};
|
|
1052
|
+
};
|
|
1053
|
+
readonly model: {
|
|
1054
|
+
readonly pattern: '^(?:urn:)?(?:air:)?(?:(?<ecosystem>[a-zA-Z0-9_\\-\\/]+):)?(?:(?<type>[a-zA-Z0-9_\\-\\/]+):)?(?<source>[a-zA-Z0-9_\\-\\/]+):(?<id>[a-zA-Z0-9_\\-\\/\\.]+)(?:@(?<version>[a-zA-Z0-9_\\-\\/.]+))?(?:\\.(?<format>[a-zA-Z0-9_\\-]+))?$';
|
|
1055
|
+
readonly type: 'string';
|
|
1056
|
+
readonly nullable: true;
|
|
1057
|
+
};
|
|
1047
1058
|
};
|
|
1048
1059
|
readonly additionalProperties: false;
|
|
1049
1060
|
},
|
|
@@ -1055,6 +1066,21 @@ export declare const $HunyuanVdeoGenInput: {
|
|
|
1055
1066
|
};
|
|
1056
1067
|
};
|
|
1057
1068
|
};
|
|
1069
|
+
export declare const $HunyuanVdeoGenLoraInput: {
|
|
1070
|
+
readonly required: readonly ['air', 'strength'];
|
|
1071
|
+
readonly type: 'object';
|
|
1072
|
+
readonly properties: {
|
|
1073
|
+
readonly air: {
|
|
1074
|
+
readonly pattern: '^(?:urn:)?(?:air:)?(?:(?<ecosystem>[a-zA-Z0-9_\\-\\/]+):)?(?:(?<type>[a-zA-Z0-9_\\-\\/]+):)?(?<source>[a-zA-Z0-9_\\-\\/]+):(?<id>[a-zA-Z0-9_\\-\\/\\.]+)(?:@(?<version>[a-zA-Z0-9_\\-\\/.]+))?(?:\\.(?<format>[a-zA-Z0-9_\\-]+))?$';
|
|
1075
|
+
readonly type: 'string';
|
|
1076
|
+
};
|
|
1077
|
+
readonly strength: {
|
|
1078
|
+
readonly type: 'number';
|
|
1079
|
+
readonly format: 'double';
|
|
1080
|
+
};
|
|
1081
|
+
};
|
|
1082
|
+
readonly additionalProperties: false;
|
|
1083
|
+
};
|
|
1058
1084
|
export declare const $ImageJobControlNet: {
|
|
1059
1085
|
readonly type: 'object';
|
|
1060
1086
|
readonly properties: {
|
|
@@ -2026,6 +2052,20 @@ export declare const $LightricksVideoGenInput: {
|
|
|
2026
2052
|
};
|
|
2027
2053
|
};
|
|
2028
2054
|
};
|
|
2055
|
+
export declare const $Lora: {
|
|
2056
|
+
readonly type: 'object';
|
|
2057
|
+
readonly properties: {
|
|
2058
|
+
readonly air: {
|
|
2059
|
+
readonly pattern: '^(?:urn:)?(?:air:)?(?:(?<ecosystem>[a-zA-Z0-9_\\-\\/]+):)?(?:(?<type>[a-zA-Z0-9_\\-\\/]+):)?(?<source>[a-zA-Z0-9_\\-\\/]+):(?<id>[a-zA-Z0-9_\\-\\/\\.]+)(?:@(?<version>[a-zA-Z0-9_\\-\\/.]+))?(?:\\.(?<format>[a-zA-Z0-9_\\-]+))?$';
|
|
2060
|
+
readonly type: 'string';
|
|
2061
|
+
};
|
|
2062
|
+
readonly strength: {
|
|
2063
|
+
readonly type: 'number';
|
|
2064
|
+
readonly format: 'double';
|
|
2065
|
+
};
|
|
2066
|
+
};
|
|
2067
|
+
readonly additionalProperties: false;
|
|
2068
|
+
};
|
|
2029
2069
|
export declare const $MiniMaxVideoGenInput: {
|
|
2030
2070
|
readonly required: readonly ['engine'];
|
|
2031
2071
|
readonly allOf: readonly [
|
|
@@ -3277,6 +3317,7 @@ export declare const $VideoGenInput: {
|
|
|
3277
3317
|
readonly minimax: '#/components/schemas/MiniMaxVideoGenInput';
|
|
3278
3318
|
readonly lightricks: '#/components/schemas/LightricksVideoGenInput';
|
|
3279
3319
|
readonly hunyuan: '#/components/schemas/HunyuanVdeoGenInput';
|
|
3320
|
+
readonly wan: '#/components/schemas/WanVdeoGenInput';
|
|
3280
3321
|
readonly vidu: '#/components/schemas/ViduVideoGenInput';
|
|
3281
3322
|
};
|
|
3282
3323
|
};
|
|
@@ -3498,6 +3539,81 @@ export declare const $WDTaggingJob: {
|
|
|
3498
3539
|
};
|
|
3499
3540
|
};
|
|
3500
3541
|
};
|
|
3542
|
+
export declare const $WanVdeoGenInput: {
|
|
3543
|
+
readonly required: readonly ['engine'];
|
|
3544
|
+
readonly allOf: readonly [
|
|
3545
|
+
{
|
|
3546
|
+
readonly $ref: '#/components/schemas/VideoGenInput';
|
|
3547
|
+
},
|
|
3548
|
+
{
|
|
3549
|
+
readonly type: 'object';
|
|
3550
|
+
readonly properties: {
|
|
3551
|
+
readonly sourceImage: {
|
|
3552
|
+
readonly type: 'string';
|
|
3553
|
+
readonly description: 'Either A URL, A DataURL or a Base64 string';
|
|
3554
|
+
readonly nullable: true;
|
|
3555
|
+
};
|
|
3556
|
+
readonly cfgScale: {
|
|
3557
|
+
readonly maximum: 100;
|
|
3558
|
+
readonly minimum: 0;
|
|
3559
|
+
readonly type: 'number';
|
|
3560
|
+
readonly format: 'double';
|
|
3561
|
+
readonly default: 4;
|
|
3562
|
+
};
|
|
3563
|
+
readonly frameRate: {
|
|
3564
|
+
readonly type: 'integer';
|
|
3565
|
+
readonly format: 'int32';
|
|
3566
|
+
readonly default: 25;
|
|
3567
|
+
};
|
|
3568
|
+
readonly duration: {
|
|
3569
|
+
readonly maximum: 30;
|
|
3570
|
+
readonly minimum: 1;
|
|
3571
|
+
readonly type: 'integer';
|
|
3572
|
+
readonly format: 'int32';
|
|
3573
|
+
readonly default: 5;
|
|
3574
|
+
};
|
|
3575
|
+
readonly seed: {
|
|
3576
|
+
readonly type: 'integer';
|
|
3577
|
+
readonly format: 'int32';
|
|
3578
|
+
readonly nullable: true;
|
|
3579
|
+
};
|
|
3580
|
+
readonly steps: {
|
|
3581
|
+
readonly maximum: 50;
|
|
3582
|
+
readonly minimum: 10;
|
|
3583
|
+
readonly type: 'integer';
|
|
3584
|
+
readonly format: 'int32';
|
|
3585
|
+
readonly default: 20;
|
|
3586
|
+
};
|
|
3587
|
+
readonly width: {
|
|
3588
|
+
readonly type: 'integer';
|
|
3589
|
+
readonly format: 'int32';
|
|
3590
|
+
};
|
|
3591
|
+
readonly height: {
|
|
3592
|
+
readonly type: 'integer';
|
|
3593
|
+
readonly format: 'int32';
|
|
3594
|
+
};
|
|
3595
|
+
readonly model: {
|
|
3596
|
+
readonly pattern: '^(?:urn:)?(?:air:)?(?:(?<ecosystem>[a-zA-Z0-9_\\-\\/]+):)?(?:(?<type>[a-zA-Z0-9_\\-\\/]+):)?(?<source>[a-zA-Z0-9_\\-\\/]+):(?<id>[a-zA-Z0-9_\\-\\/\\.]+)(?:@(?<version>[a-zA-Z0-9_\\-\\/.]+))?(?:\\.(?<format>[a-zA-Z0-9_\\-]+))?$';
|
|
3597
|
+
readonly type: 'string';
|
|
3598
|
+
readonly nullable: true;
|
|
3599
|
+
};
|
|
3600
|
+
readonly loras: {
|
|
3601
|
+
readonly type: 'array';
|
|
3602
|
+
readonly items: {
|
|
3603
|
+
readonly $ref: '#/components/schemas/HunyuanVdeoGenLoraInput';
|
|
3604
|
+
};
|
|
3605
|
+
};
|
|
3606
|
+
};
|
|
3607
|
+
readonly additionalProperties: false;
|
|
3608
|
+
},
|
|
3609
|
+
];
|
|
3610
|
+
readonly properties: {
|
|
3611
|
+
readonly engine: {
|
|
3612
|
+
readonly enum: readonly ['wan'];
|
|
3613
|
+
readonly type: 'string';
|
|
3614
|
+
};
|
|
3615
|
+
};
|
|
3616
|
+
};
|
|
3501
3617
|
export declare const $WorkerCapabilities: {
|
|
3502
3618
|
readonly type: 'object';
|
|
3503
3619
|
readonly properties: {
|
|
@@ -3630,6 +3746,12 @@ export declare const $WorkerDetails: {
|
|
|
3630
3746
|
readonly format: 'int64';
|
|
3631
3747
|
readonly nullable: true;
|
|
3632
3748
|
};
|
|
3749
|
+
readonly availableCapacity: {
|
|
3750
|
+
readonly type: 'number';
|
|
3751
|
+
readonly description: 'The remaining capacity that this worker can claim, or null if remaining capacity can not be computed';
|
|
3752
|
+
readonly format: 'double';
|
|
3753
|
+
readonly nullable: true;
|
|
3754
|
+
};
|
|
3633
3755
|
};
|
|
3634
3756
|
readonly additionalProperties: false;
|
|
3635
3757
|
readonly description: 'Details for a particular worker.';
|
|
@@ -589,10 +589,10 @@ export const $ComfyVideoGenJob = {
|
|
|
589
589
|
format: 'uri',
|
|
590
590
|
nullable: true,
|
|
591
591
|
},
|
|
592
|
-
|
|
592
|
+
loras: {
|
|
593
593
|
type: 'array',
|
|
594
594
|
items: {
|
|
595
|
-
|
|
595
|
+
$ref: '#/components/schemas/Lora',
|
|
596
596
|
},
|
|
597
597
|
nullable: true,
|
|
598
598
|
},
|
|
@@ -1032,6 +1032,17 @@ export const $HunyuanVdeoGenInput = {
|
|
|
1032
1032
|
type: 'integer',
|
|
1033
1033
|
format: 'int32',
|
|
1034
1034
|
},
|
|
1035
|
+
loras: {
|
|
1036
|
+
type: 'array',
|
|
1037
|
+
items: {
|
|
1038
|
+
$ref: '#/components/schemas/HunyuanVdeoGenLoraInput',
|
|
1039
|
+
},
|
|
1040
|
+
},
|
|
1041
|
+
model: {
|
|
1042
|
+
pattern: '^(?:urn:)?(?:air:)?(?:(?<ecosystem>[a-zA-Z0-9_\\-\\/]+):)?(?:(?<type>[a-zA-Z0-9_\\-\\/]+):)?(?<source>[a-zA-Z0-9_\\-\\/]+):(?<id>[a-zA-Z0-9_\\-\\/\\.]+)(?:@(?<version>[a-zA-Z0-9_\\-\\/.]+))?(?:\\.(?<format>[a-zA-Z0-9_\\-]+))?$',
|
|
1043
|
+
type: 'string',
|
|
1044
|
+
nullable: true,
|
|
1045
|
+
},
|
|
1035
1046
|
},
|
|
1036
1047
|
additionalProperties: false,
|
|
1037
1048
|
},
|
|
@@ -1043,6 +1054,21 @@ export const $HunyuanVdeoGenInput = {
|
|
|
1043
1054
|
},
|
|
1044
1055
|
},
|
|
1045
1056
|
};
|
|
1057
|
+
export const $HunyuanVdeoGenLoraInput = {
|
|
1058
|
+
required: ['air', 'strength'],
|
|
1059
|
+
type: 'object',
|
|
1060
|
+
properties: {
|
|
1061
|
+
air: {
|
|
1062
|
+
pattern: '^(?:urn:)?(?:air:)?(?:(?<ecosystem>[a-zA-Z0-9_\\-\\/]+):)?(?:(?<type>[a-zA-Z0-9_\\-\\/]+):)?(?<source>[a-zA-Z0-9_\\-\\/]+):(?<id>[a-zA-Z0-9_\\-\\/\\.]+)(?:@(?<version>[a-zA-Z0-9_\\-\\/.]+))?(?:\\.(?<format>[a-zA-Z0-9_\\-]+))?$',
|
|
1063
|
+
type: 'string',
|
|
1064
|
+
},
|
|
1065
|
+
strength: {
|
|
1066
|
+
type: 'number',
|
|
1067
|
+
format: 'double',
|
|
1068
|
+
},
|
|
1069
|
+
},
|
|
1070
|
+
additionalProperties: false,
|
|
1071
|
+
};
|
|
1046
1072
|
export const $ImageJobControlNet = {
|
|
1047
1073
|
type: 'object',
|
|
1048
1074
|
properties: {
|
|
@@ -2029,6 +2055,20 @@ export const $LightricksVideoGenInput = {
|
|
|
2029
2055
|
},
|
|
2030
2056
|
},
|
|
2031
2057
|
};
|
|
2058
|
+
export const $Lora = {
|
|
2059
|
+
type: 'object',
|
|
2060
|
+
properties: {
|
|
2061
|
+
air: {
|
|
2062
|
+
pattern: '^(?:urn:)?(?:air:)?(?:(?<ecosystem>[a-zA-Z0-9_\\-\\/]+):)?(?:(?<type>[a-zA-Z0-9_\\-\\/]+):)?(?<source>[a-zA-Z0-9_\\-\\/]+):(?<id>[a-zA-Z0-9_\\-\\/\\.]+)(?:@(?<version>[a-zA-Z0-9_\\-\\/.]+))?(?:\\.(?<format>[a-zA-Z0-9_\\-]+))?$',
|
|
2063
|
+
type: 'string',
|
|
2064
|
+
},
|
|
2065
|
+
strength: {
|
|
2066
|
+
type: 'number',
|
|
2067
|
+
format: 'double',
|
|
2068
|
+
},
|
|
2069
|
+
},
|
|
2070
|
+
additionalProperties: false,
|
|
2071
|
+
};
|
|
2032
2072
|
export const $MiniMaxVideoGenInput = {
|
|
2033
2073
|
required: ['engine'],
|
|
2034
2074
|
allOf: [
|
|
@@ -3287,6 +3327,7 @@ export const $VideoGenInput = {
|
|
|
3287
3327
|
minimax: '#/components/schemas/MiniMaxVideoGenInput',
|
|
3288
3328
|
lightricks: '#/components/schemas/LightricksVideoGenInput',
|
|
3289
3329
|
hunyuan: '#/components/schemas/HunyuanVdeoGenInput',
|
|
3330
|
+
wan: '#/components/schemas/WanVdeoGenInput',
|
|
3290
3331
|
vidu: '#/components/schemas/ViduVideoGenInput',
|
|
3291
3332
|
},
|
|
3292
3333
|
},
|
|
@@ -3508,6 +3549,81 @@ export const $WDTaggingJob = {
|
|
|
3508
3549
|
},
|
|
3509
3550
|
},
|
|
3510
3551
|
};
|
|
3552
|
+
export const $WanVdeoGenInput = {
|
|
3553
|
+
required: ['engine'],
|
|
3554
|
+
allOf: [
|
|
3555
|
+
{
|
|
3556
|
+
$ref: '#/components/schemas/VideoGenInput',
|
|
3557
|
+
},
|
|
3558
|
+
{
|
|
3559
|
+
type: 'object',
|
|
3560
|
+
properties: {
|
|
3561
|
+
sourceImage: {
|
|
3562
|
+
type: 'string',
|
|
3563
|
+
description: 'Either A URL, A DataURL or a Base64 string',
|
|
3564
|
+
nullable: true,
|
|
3565
|
+
},
|
|
3566
|
+
cfgScale: {
|
|
3567
|
+
maximum: 100,
|
|
3568
|
+
minimum: 0,
|
|
3569
|
+
type: 'number',
|
|
3570
|
+
format: 'double',
|
|
3571
|
+
default: 4,
|
|
3572
|
+
},
|
|
3573
|
+
frameRate: {
|
|
3574
|
+
type: 'integer',
|
|
3575
|
+
format: 'int32',
|
|
3576
|
+
default: 25,
|
|
3577
|
+
},
|
|
3578
|
+
duration: {
|
|
3579
|
+
maximum: 30,
|
|
3580
|
+
minimum: 1,
|
|
3581
|
+
type: 'integer',
|
|
3582
|
+
format: 'int32',
|
|
3583
|
+
default: 5,
|
|
3584
|
+
},
|
|
3585
|
+
seed: {
|
|
3586
|
+
type: 'integer',
|
|
3587
|
+
format: 'int32',
|
|
3588
|
+
nullable: true,
|
|
3589
|
+
},
|
|
3590
|
+
steps: {
|
|
3591
|
+
maximum: 50,
|
|
3592
|
+
minimum: 10,
|
|
3593
|
+
type: 'integer',
|
|
3594
|
+
format: 'int32',
|
|
3595
|
+
default: 20,
|
|
3596
|
+
},
|
|
3597
|
+
width: {
|
|
3598
|
+
type: 'integer',
|
|
3599
|
+
format: 'int32',
|
|
3600
|
+
},
|
|
3601
|
+
height: {
|
|
3602
|
+
type: 'integer',
|
|
3603
|
+
format: 'int32',
|
|
3604
|
+
},
|
|
3605
|
+
model: {
|
|
3606
|
+
pattern: '^(?:urn:)?(?:air:)?(?:(?<ecosystem>[a-zA-Z0-9_\\-\\/]+):)?(?:(?<type>[a-zA-Z0-9_\\-\\/]+):)?(?<source>[a-zA-Z0-9_\\-\\/]+):(?<id>[a-zA-Z0-9_\\-\\/\\.]+)(?:@(?<version>[a-zA-Z0-9_\\-\\/.]+))?(?:\\.(?<format>[a-zA-Z0-9_\\-]+))?$',
|
|
3607
|
+
type: 'string',
|
|
3608
|
+
nullable: true,
|
|
3609
|
+
},
|
|
3610
|
+
loras: {
|
|
3611
|
+
type: 'array',
|
|
3612
|
+
items: {
|
|
3613
|
+
$ref: '#/components/schemas/HunyuanVdeoGenLoraInput',
|
|
3614
|
+
},
|
|
3615
|
+
},
|
|
3616
|
+
},
|
|
3617
|
+
additionalProperties: false,
|
|
3618
|
+
},
|
|
3619
|
+
],
|
|
3620
|
+
properties: {
|
|
3621
|
+
engine: {
|
|
3622
|
+
enum: ['wan'],
|
|
3623
|
+
type: 'string',
|
|
3624
|
+
},
|
|
3625
|
+
},
|
|
3626
|
+
};
|
|
3511
3627
|
export const $WorkerCapabilities = {
|
|
3512
3628
|
type: 'object',
|
|
3513
3629
|
properties: {
|
|
@@ -3640,6 +3756,12 @@ export const $WorkerDetails = {
|
|
|
3640
3756
|
format: 'int64',
|
|
3641
3757
|
nullable: true,
|
|
3642
3758
|
},
|
|
3759
|
+
availableCapacity: {
|
|
3760
|
+
type: 'number',
|
|
3761
|
+
description: 'The remaining capacity that this worker can claim, or null if remaining capacity can not be computed',
|
|
3762
|
+
format: 'double',
|
|
3763
|
+
nullable: true,
|
|
3764
|
+
},
|
|
3643
3765
|
},
|
|
3644
3766
|
additionalProperties: false,
|
|
3645
3767
|
description: 'Details for a particular worker.',
|
|
@@ -229,7 +229,7 @@ export type ComfyVideoGenJob = Job & {
|
|
|
229
229
|
seed?: number;
|
|
230
230
|
steps?: number;
|
|
231
231
|
sourceImageUrl?: string | null;
|
|
232
|
-
|
|
232
|
+
loras?: Array<Lora> | null;
|
|
233
233
|
readonly claimDuration?: string;
|
|
234
234
|
readonly type?: string;
|
|
235
235
|
} & {
|
|
@@ -460,6 +460,8 @@ export type HunyuanVdeoGenInput = VideoGenInput & {
|
|
|
460
460
|
steps?: number;
|
|
461
461
|
width?: number;
|
|
462
462
|
height?: number;
|
|
463
|
+
loras?: Array<HunyuanVdeoGenLoraInput>;
|
|
464
|
+
model?: string | null;
|
|
463
465
|
} & {
|
|
464
466
|
engine: 'hunyuan';
|
|
465
467
|
};
|
|
@@ -467,6 +469,10 @@ export type engine3 = 'hunyuan';
|
|
|
467
469
|
export declare const engine3: {
|
|
468
470
|
readonly HUNYUAN: 'hunyuan';
|
|
469
471
|
};
|
|
472
|
+
export type HunyuanVdeoGenLoraInput = {
|
|
473
|
+
air: string;
|
|
474
|
+
strength: number;
|
|
475
|
+
};
|
|
470
476
|
/**
|
|
471
477
|
* Information for a controlnet provided for a text to image input.
|
|
472
478
|
*/
|
|
@@ -1065,6 +1071,10 @@ export type engine6 = 'lightricks';
|
|
|
1065
1071
|
export declare const engine6: {
|
|
1066
1072
|
readonly LIGHTRICKS: 'lightricks';
|
|
1067
1073
|
};
|
|
1074
|
+
export type Lora = {
|
|
1075
|
+
air?: string;
|
|
1076
|
+
strength?: number;
|
|
1077
|
+
};
|
|
1068
1078
|
export type MiniMaxVideoGenInput = VideoGenInput & {
|
|
1069
1079
|
model?: MiniMaxVideoGenModel;
|
|
1070
1080
|
enablePromptEnhancer?: boolean;
|
|
@@ -1884,6 +1894,27 @@ export type $type16 = 'wdTagging';
|
|
|
1884
1894
|
export declare const $type16: {
|
|
1885
1895
|
readonly WD_TAGGING: 'wdTagging';
|
|
1886
1896
|
};
|
|
1897
|
+
export type WanVdeoGenInput = VideoGenInput & {
|
|
1898
|
+
/**
|
|
1899
|
+
* Either A URL, A DataURL or a Base64 string
|
|
1900
|
+
*/
|
|
1901
|
+
sourceImage?: string | null;
|
|
1902
|
+
cfgScale?: number;
|
|
1903
|
+
frameRate?: number;
|
|
1904
|
+
duration?: number;
|
|
1905
|
+
seed?: number | null;
|
|
1906
|
+
steps?: number;
|
|
1907
|
+
width?: number;
|
|
1908
|
+
height?: number;
|
|
1909
|
+
model?: string | null;
|
|
1910
|
+
loras?: Array<HunyuanVdeoGenLoraInput>;
|
|
1911
|
+
} & {
|
|
1912
|
+
engine: 'wan';
|
|
1913
|
+
};
|
|
1914
|
+
export type engine11 = 'wan';
|
|
1915
|
+
export declare const engine11: {
|
|
1916
|
+
readonly WAN: 'wan';
|
|
1917
|
+
};
|
|
1887
1918
|
/**
|
|
1888
1919
|
* Details of a worker's capabilities.
|
|
1889
1920
|
*/
|
|
@@ -1978,6 +2009,10 @@ export type WorkerDetails = {
|
|
|
1978
2009
|
* The size in bytes of resources that are queued up for this worker to download
|
|
1979
2010
|
*/
|
|
1980
2011
|
upcomingResourcesSize?: number | null;
|
|
2012
|
+
/**
|
|
2013
|
+
* The remaining capacity that this worker can claim, or null if remaining capacity can not be computed
|
|
2014
|
+
*/
|
|
2015
|
+
availableCapacity?: number | null;
|
|
1981
2016
|
};
|
|
1982
2017
|
export type WorkerHaiperCapabilities = {
|
|
1983
2018
|
[key: string]: unknown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@civitai/client",
|
|
3
|
-
"version": "0.1.9-beta.
|
|
3
|
+
"version": "0.1.9-beta.28",
|
|
4
4
|
"description": "Civitai's javascript client for generating ai content",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -53,4 +53,4 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
}
|
|
56
|
-
}
|
|
56
|
+
}
|