@civitai/client 0.1.9-beta.2 → 0.1.9-beta.3
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.
|
@@ -177,7 +177,6 @@ export declare const $ComfyStep: {
|
|
|
177
177
|
readonly type: 'object';
|
|
178
178
|
readonly additionalProperties: {};
|
|
179
179
|
readonly description: 'A collection of user defined metadata for the workflow step.';
|
|
180
|
-
readonly nullable: true;
|
|
181
180
|
};
|
|
182
181
|
readonly input: {
|
|
183
182
|
readonly $ref: '#/components/schemas/ComfyInput';
|
|
@@ -396,7 +395,6 @@ export declare const $EchoStep: {
|
|
|
396
395
|
readonly type: 'object';
|
|
397
396
|
readonly additionalProperties: {};
|
|
398
397
|
readonly description: 'A collection of user defined metadata for the workflow step.';
|
|
399
|
-
readonly nullable: true;
|
|
400
398
|
};
|
|
401
399
|
readonly input: {
|
|
402
400
|
readonly $ref: '#/components/schemas/EchoInput';
|
|
@@ -550,7 +548,6 @@ export declare const $HumanoidImageMaskStep: {
|
|
|
550
548
|
readonly type: 'object';
|
|
551
549
|
readonly additionalProperties: {};
|
|
552
550
|
readonly description: 'A collection of user defined metadata for the workflow step.';
|
|
553
|
-
readonly nullable: true;
|
|
554
551
|
};
|
|
555
552
|
readonly input: {
|
|
556
553
|
readonly $ref: '#/components/schemas/HumanoidImageMaskInput';
|
|
@@ -947,7 +944,6 @@ export declare const $ImageResourceTrainingStep: {
|
|
|
947
944
|
readonly type: 'object';
|
|
948
945
|
readonly additionalProperties: {};
|
|
949
946
|
readonly description: 'A collection of user defined metadata for the workflow step.';
|
|
950
|
-
readonly nullable: true;
|
|
951
947
|
};
|
|
952
948
|
readonly input: {
|
|
953
949
|
readonly $ref: '#/components/schemas/ImageResourceTrainingInput';
|
|
@@ -1347,6 +1343,17 @@ export declare const $ResourceInfo: {
|
|
|
1347
1343
|
readonly type: 'boolean';
|
|
1348
1344
|
readonly description: 'A bool indicating if generation is enabled for this resource.';
|
|
1349
1345
|
};
|
|
1346
|
+
readonly freeTrialLimit: {
|
|
1347
|
+
readonly type: 'integer';
|
|
1348
|
+
readonly description: 'An optional limit on the number of uses for this resource per user that has early acccess.';
|
|
1349
|
+
readonly format: 'int32';
|
|
1350
|
+
readonly nullable: true;
|
|
1351
|
+
};
|
|
1352
|
+
readonly requiresAuthorization: {
|
|
1353
|
+
readonly type: 'boolean';
|
|
1354
|
+
readonly description: 'Wether this resource requires authorization.';
|
|
1355
|
+
readonly nullable: true;
|
|
1356
|
+
};
|
|
1350
1357
|
};
|
|
1351
1358
|
readonly additionalProperties: false;
|
|
1352
1359
|
readonly description: 'Details for a specific resource.';
|
|
@@ -1685,7 +1692,6 @@ export declare const $TextToImageStep: {
|
|
|
1685
1692
|
readonly type: 'object';
|
|
1686
1693
|
readonly additionalProperties: {};
|
|
1687
1694
|
readonly description: 'A collection of user defined metadata for the workflow step.';
|
|
1688
|
-
readonly nullable: true;
|
|
1689
1695
|
};
|
|
1690
1696
|
readonly input: {
|
|
1691
1697
|
readonly $ref: '#/components/schemas/TextToImageInput';
|
|
@@ -1932,7 +1938,6 @@ export declare const $TranscodeStep: {
|
|
|
1932
1938
|
readonly type: 'object';
|
|
1933
1939
|
readonly additionalProperties: {};
|
|
1934
1940
|
readonly description: 'A collection of user defined metadata for the workflow step.';
|
|
1935
|
-
readonly nullable: true;
|
|
1936
1941
|
};
|
|
1937
1942
|
readonly input: {
|
|
1938
1943
|
readonly $ref: '#/components/schemas/TranscodeInput';
|
|
@@ -2073,7 +2078,6 @@ export declare const $TryOnUStep: {
|
|
|
2073
2078
|
readonly type: 'object';
|
|
2074
2079
|
readonly additionalProperties: {};
|
|
2075
2080
|
readonly description: 'A collection of user defined metadata for the workflow step.';
|
|
2076
|
-
readonly nullable: true;
|
|
2077
2081
|
};
|
|
2078
2082
|
readonly input: {
|
|
2079
2083
|
readonly $ref: '#/components/schemas/TryOnUInput';
|
|
@@ -2624,7 +2628,6 @@ export declare const $Workflow: {
|
|
|
2624
2628
|
readonly type: 'object';
|
|
2625
2629
|
readonly additionalProperties: {};
|
|
2626
2630
|
readonly description: 'A collection of user defined metadata for the workflow.';
|
|
2627
|
-
readonly nullable: true;
|
|
2628
2631
|
};
|
|
2629
2632
|
readonly status: {
|
|
2630
2633
|
readonly $ref: '#/components/schemas/WorkflowStatus';
|
|
@@ -2676,6 +2679,11 @@ export declare const $Workflow: {
|
|
|
2676
2679
|
readonly nsfwLevel: {
|
|
2677
2680
|
readonly $ref: '#/components/schemas/NSFWLevel';
|
|
2678
2681
|
};
|
|
2682
|
+
readonly experimental: {
|
|
2683
|
+
readonly type: 'boolean';
|
|
2684
|
+
readonly description: 'Get or set whether this workflow is experimental';
|
|
2685
|
+
readonly nullable: true;
|
|
2686
|
+
};
|
|
2679
2687
|
};
|
|
2680
2688
|
readonly additionalProperties: false;
|
|
2681
2689
|
readonly description: 'Details of a workflow.';
|
|
@@ -2859,7 +2867,6 @@ export declare const $WorkflowStep: {
|
|
|
2859
2867
|
readonly type: 'object';
|
|
2860
2868
|
readonly additionalProperties: {};
|
|
2861
2869
|
readonly description: 'A collection of user defined metadata for the workflow step.';
|
|
2862
|
-
readonly nullable: true;
|
|
2863
2870
|
};
|
|
2864
2871
|
};
|
|
2865
2872
|
readonly additionalProperties: false;
|
|
@@ -3093,6 +3100,11 @@ export declare const $WorkflowTemplate: {
|
|
|
3093
3100
|
readonly nsfwLevel: {
|
|
3094
3101
|
readonly $ref: '#/components/schemas/NSFWLevel';
|
|
3095
3102
|
};
|
|
3103
|
+
readonly experimental: {
|
|
3104
|
+
readonly type: 'boolean';
|
|
3105
|
+
readonly description: 'Get or set whether this workflow is experimental';
|
|
3106
|
+
readonly nullable: true;
|
|
3107
|
+
};
|
|
3096
3108
|
};
|
|
3097
3109
|
readonly additionalProperties: false;
|
|
3098
3110
|
readonly description: 'Details of a requested workflow.';
|
|
@@ -183,7 +183,6 @@ exports.$ComfyStep = {
|
|
|
183
183
|
type: 'object',
|
|
184
184
|
additionalProperties: {},
|
|
185
185
|
description: 'A collection of user defined metadata for the workflow step.',
|
|
186
|
-
nullable: true,
|
|
187
186
|
},
|
|
188
187
|
input: {
|
|
189
188
|
$ref: '#/components/schemas/ComfyInput',
|
|
@@ -402,7 +401,6 @@ exports.$EchoStep = {
|
|
|
402
401
|
type: 'object',
|
|
403
402
|
additionalProperties: {},
|
|
404
403
|
description: 'A collection of user defined metadata for the workflow step.',
|
|
405
|
-
nullable: true,
|
|
406
404
|
},
|
|
407
405
|
input: {
|
|
408
406
|
$ref: '#/components/schemas/EchoInput',
|
|
@@ -556,7 +554,6 @@ exports.$HumanoidImageMaskStep = {
|
|
|
556
554
|
type: 'object',
|
|
557
555
|
additionalProperties: {},
|
|
558
556
|
description: 'A collection of user defined metadata for the workflow step.',
|
|
559
|
-
nullable: true,
|
|
560
557
|
},
|
|
561
558
|
input: {
|
|
562
559
|
$ref: '#/components/schemas/HumanoidImageMaskInput',
|
|
@@ -955,7 +952,6 @@ exports.$ImageResourceTrainingStep = {
|
|
|
955
952
|
type: 'object',
|
|
956
953
|
additionalProperties: {},
|
|
957
954
|
description: 'A collection of user defined metadata for the workflow step.',
|
|
958
|
-
nullable: true,
|
|
959
955
|
},
|
|
960
956
|
input: {
|
|
961
957
|
$ref: '#/components/schemas/ImageResourceTrainingInput',
|
|
@@ -1355,6 +1351,17 @@ exports.$ResourceInfo = {
|
|
|
1355
1351
|
type: 'boolean',
|
|
1356
1352
|
description: 'A bool indicating if generation is enabled for this resource.',
|
|
1357
1353
|
},
|
|
1354
|
+
freeTrialLimit: {
|
|
1355
|
+
type: 'integer',
|
|
1356
|
+
description: 'An optional limit on the number of uses for this resource per user that has early acccess.',
|
|
1357
|
+
format: 'int32',
|
|
1358
|
+
nullable: true,
|
|
1359
|
+
},
|
|
1360
|
+
requiresAuthorization: {
|
|
1361
|
+
type: 'boolean',
|
|
1362
|
+
description: 'Wether this resource requires authorization.',
|
|
1363
|
+
nullable: true,
|
|
1364
|
+
},
|
|
1358
1365
|
},
|
|
1359
1366
|
additionalProperties: false,
|
|
1360
1367
|
description: 'Details for a specific resource.',
|
|
@@ -1693,7 +1700,6 @@ exports.$TextToImageStep = {
|
|
|
1693
1700
|
type: 'object',
|
|
1694
1701
|
additionalProperties: {},
|
|
1695
1702
|
description: 'A collection of user defined metadata for the workflow step.',
|
|
1696
|
-
nullable: true,
|
|
1697
1703
|
},
|
|
1698
1704
|
input: {
|
|
1699
1705
|
$ref: '#/components/schemas/TextToImageInput',
|
|
@@ -1940,7 +1946,6 @@ exports.$TranscodeStep = {
|
|
|
1940
1946
|
type: 'object',
|
|
1941
1947
|
additionalProperties: {},
|
|
1942
1948
|
description: 'A collection of user defined metadata for the workflow step.',
|
|
1943
|
-
nullable: true,
|
|
1944
1949
|
},
|
|
1945
1950
|
input: {
|
|
1946
1951
|
$ref: '#/components/schemas/TranscodeInput',
|
|
@@ -2081,7 +2086,6 @@ exports.$TryOnUStep = {
|
|
|
2081
2086
|
type: 'object',
|
|
2082
2087
|
additionalProperties: {},
|
|
2083
2088
|
description: 'A collection of user defined metadata for the workflow step.',
|
|
2084
|
-
nullable: true,
|
|
2085
2089
|
},
|
|
2086
2090
|
input: {
|
|
2087
2091
|
$ref: '#/components/schemas/TryOnUInput',
|
|
@@ -2626,7 +2630,6 @@ exports.$Workflow = {
|
|
|
2626
2630
|
type: 'object',
|
|
2627
2631
|
additionalProperties: {},
|
|
2628
2632
|
description: 'A collection of user defined metadata for the workflow.',
|
|
2629
|
-
nullable: true,
|
|
2630
2633
|
},
|
|
2631
2634
|
status: {
|
|
2632
2635
|
$ref: '#/components/schemas/WorkflowStatus',
|
|
@@ -2678,6 +2681,11 @@ exports.$Workflow = {
|
|
|
2678
2681
|
nsfwLevel: {
|
|
2679
2682
|
$ref: '#/components/schemas/NSFWLevel',
|
|
2680
2683
|
},
|
|
2684
|
+
experimental: {
|
|
2685
|
+
type: 'boolean',
|
|
2686
|
+
description: 'Get or set whether this workflow is experimental',
|
|
2687
|
+
nullable: true,
|
|
2688
|
+
},
|
|
2681
2689
|
},
|
|
2682
2690
|
additionalProperties: false,
|
|
2683
2691
|
description: 'Details of a workflow.',
|
|
@@ -2861,7 +2869,6 @@ exports.$WorkflowStep = {
|
|
|
2861
2869
|
type: 'object',
|
|
2862
2870
|
additionalProperties: {},
|
|
2863
2871
|
description: 'A collection of user defined metadata for the workflow step.',
|
|
2864
|
-
nullable: true,
|
|
2865
2872
|
},
|
|
2866
2873
|
},
|
|
2867
2874
|
additionalProperties: false,
|
|
@@ -3097,6 +3104,11 @@ At most 10 tags can be assigned to a workflow. Each tag can be at most 200 chara
|
|
|
3097
3104
|
nsfwLevel: {
|
|
3098
3105
|
$ref: '#/components/schemas/NSFWLevel',
|
|
3099
3106
|
},
|
|
3107
|
+
experimental: {
|
|
3108
|
+
type: 'boolean',
|
|
3109
|
+
description: 'Get or set whether this workflow is experimental',
|
|
3110
|
+
nullable: true,
|
|
3111
|
+
},
|
|
3100
3112
|
},
|
|
3101
3113
|
additionalProperties: false,
|
|
3102
3114
|
description: 'Details of a requested workflow.',
|
|
@@ -88,7 +88,7 @@ export type ComfyStep = WorkflowStep & {
|
|
|
88
88
|
*/
|
|
89
89
|
metadata?: {
|
|
90
90
|
[key: string]: unknown;
|
|
91
|
-
}
|
|
91
|
+
};
|
|
92
92
|
input: ComfyInput;
|
|
93
93
|
output?: ComfyOutput;
|
|
94
94
|
$type: 'comfy';
|
|
@@ -191,7 +191,7 @@ export type EchoStep = WorkflowStep & {
|
|
|
191
191
|
*/
|
|
192
192
|
metadata?: {
|
|
193
193
|
[key: string]: unknown;
|
|
194
|
-
}
|
|
194
|
+
};
|
|
195
195
|
input: EchoInput;
|
|
196
196
|
output?: EchoOutput;
|
|
197
197
|
$type: 'echo';
|
|
@@ -272,7 +272,7 @@ export type HumanoidImageMaskStep = WorkflowStep & {
|
|
|
272
272
|
*/
|
|
273
273
|
metadata?: {
|
|
274
274
|
[key: string]: unknown;
|
|
275
|
-
}
|
|
275
|
+
};
|
|
276
276
|
input: HumanoidImageMaskInput;
|
|
277
277
|
output?: HumanoidImageMaskOutput;
|
|
278
278
|
$type: 'humanoidImageMask';
|
|
@@ -524,7 +524,7 @@ export type ImageResourceTrainingStep = WorkflowStep & {
|
|
|
524
524
|
*/
|
|
525
525
|
metadata?: {
|
|
526
526
|
[key: string]: unknown;
|
|
527
|
-
}
|
|
527
|
+
};
|
|
528
528
|
input: ImageResourceTrainingInput;
|
|
529
529
|
output?: ImageResourceTrainingOutput;
|
|
530
530
|
$type: 'imageResourceTraining';
|
|
@@ -833,6 +833,14 @@ export type ResourceInfo = {
|
|
|
833
833
|
* A bool indicating if generation is enabled for this resource.
|
|
834
834
|
*/
|
|
835
835
|
canGenerate?: boolean;
|
|
836
|
+
/**
|
|
837
|
+
* An optional limit on the number of uses for this resource per user that has early acccess.
|
|
838
|
+
*/
|
|
839
|
+
freeTrialLimit?: number | null;
|
|
840
|
+
/**
|
|
841
|
+
* Wether this resource requires authorization.
|
|
842
|
+
*/
|
|
843
|
+
requiresAuthorization?: boolean | null;
|
|
836
844
|
};
|
|
837
845
|
/**
|
|
838
846
|
* The available options for schedulers used in image generation.
|
|
@@ -1090,7 +1098,7 @@ export type TextToImageStep = WorkflowStep & {
|
|
|
1090
1098
|
*/
|
|
1091
1099
|
metadata?: {
|
|
1092
1100
|
[key: string]: unknown;
|
|
1093
|
-
}
|
|
1101
|
+
};
|
|
1094
1102
|
input: TextToImageInput;
|
|
1095
1103
|
output?: TextToImageOutput;
|
|
1096
1104
|
$type: 'textToImage';
|
|
@@ -1226,7 +1234,7 @@ export type TranscodeStep = WorkflowStep & {
|
|
|
1226
1234
|
*/
|
|
1227
1235
|
metadata?: {
|
|
1228
1236
|
[key: string]: unknown;
|
|
1229
|
-
}
|
|
1237
|
+
};
|
|
1230
1238
|
input: TranscodeInput;
|
|
1231
1239
|
output?: TranscodeOutput;
|
|
1232
1240
|
$type: 'transcode';
|
|
@@ -1285,7 +1293,7 @@ export type TryOnUStep = WorkflowStep & {
|
|
|
1285
1293
|
*/
|
|
1286
1294
|
metadata?: {
|
|
1287
1295
|
[key: string]: unknown;
|
|
1288
|
-
}
|
|
1296
|
+
};
|
|
1289
1297
|
input: TryOnUInput;
|
|
1290
1298
|
output?: TryOnUOutput;
|
|
1291
1299
|
$type: 'tryOnU';
|
|
@@ -1674,7 +1682,7 @@ export type Workflow = {
|
|
|
1674
1682
|
*/
|
|
1675
1683
|
metadata?: {
|
|
1676
1684
|
[key: string]: unknown;
|
|
1677
|
-
}
|
|
1685
|
+
};
|
|
1678
1686
|
status?: WorkflowStatus;
|
|
1679
1687
|
/**
|
|
1680
1688
|
* The date / time the workflow was started. Null if not yet started.
|
|
@@ -1705,6 +1713,10 @@ export type Workflow = {
|
|
|
1705
1713
|
tips?: WorkflowTips;
|
|
1706
1714
|
cost?: WorkflowCost;
|
|
1707
1715
|
nsfwLevel?: NSFWLevel;
|
|
1716
|
+
/**
|
|
1717
|
+
* Get or set whether this workflow is experimental
|
|
1718
|
+
*/
|
|
1719
|
+
experimental?: boolean | null;
|
|
1708
1720
|
};
|
|
1709
1721
|
/**
|
|
1710
1722
|
* Details of a callback setup for a workflow.
|
|
@@ -1843,7 +1855,7 @@ export type WorkflowStep = {
|
|
|
1843
1855
|
*/
|
|
1844
1856
|
metadata?: {
|
|
1845
1857
|
[key: string]: unknown;
|
|
1846
|
-
}
|
|
1858
|
+
};
|
|
1847
1859
|
};
|
|
1848
1860
|
/**
|
|
1849
1861
|
* Details of a workflow step event.
|
|
@@ -1980,6 +1992,10 @@ export type WorkflowTemplate = {
|
|
|
1980
1992
|
[key: string]: unknown;
|
|
1981
1993
|
};
|
|
1982
1994
|
nsfwLevel?: NSFWLevel;
|
|
1995
|
+
/**
|
|
1996
|
+
* Get or set whether this workflow is experimental
|
|
1997
|
+
*/
|
|
1998
|
+
experimental?: boolean | null;
|
|
1983
1999
|
};
|
|
1984
2000
|
export type WorkflowTips = {
|
|
1985
2001
|
/**
|