@civitai/client 0.1.9-beta.16 → 0.1.9-beta.17

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.
@@ -10,66 +10,12 @@ export declare const $AgeClassificationInput: {
10
10
  };
11
11
  readonly mediaUrl: {
12
12
  readonly type: 'string';
13
- readonly description: 'The URL of the media to classify';
13
+ readonly description: 'The URL of the media to classify. This can either be a URL to an image or a video or a ZIP containing multiple images';
14
14
  readonly format: 'uri';
15
15
  };
16
16
  };
17
17
  readonly additionalProperties: false;
18
18
  };
19
- export declare const $AgeClassificationJob: {
20
- readonly required: readonly ['$type'];
21
- readonly allOf: readonly [
22
- {
23
- readonly $ref: '#/components/schemas/Job';
24
- },
25
- {
26
- readonly required: readonly [
27
- 'destinationBlobKey',
28
- 'destinationUrl',
29
- 'failOnMinorDetected',
30
- 'mediaUrl',
31
- ];
32
- readonly type: 'object';
33
- readonly properties: {
34
- readonly model: {
35
- 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_\\-]+))?$';
36
- readonly type: 'string';
37
- readonly nullable: true;
38
- };
39
- readonly mediaUrl: {
40
- readonly type: 'string';
41
- readonly format: 'uri';
42
- };
43
- readonly destinationBlobKey: {
44
- readonly type: 'string';
45
- };
46
- readonly destinationUrl: {
47
- readonly type: 'string';
48
- readonly format: 'uri';
49
- };
50
- readonly failOnMinorDetected: {
51
- readonly type: 'boolean';
52
- };
53
- readonly claimDuration: {
54
- readonly type: 'string';
55
- readonly format: 'date-span';
56
- readonly readOnly: true;
57
- };
58
- readonly type: {
59
- readonly type: 'string';
60
- readonly readOnly: true;
61
- };
62
- };
63
- readonly additionalProperties: false;
64
- },
65
- ];
66
- readonly properties: {
67
- readonly $type: {
68
- readonly enum: readonly ['ageClassification'];
69
- readonly type: 'string';
70
- };
71
- };
72
- };
73
19
  export declare const $AgeClassificationOutput: {
74
20
  readonly required: readonly ['hasMinor', 'labels', 'prediction'];
75
21
  readonly type: 'object';
@@ -122,6 +68,7 @@ export declare const $AgeClassificationStep: {
122
68
  readonly type: 'string';
123
69
  };
124
70
  };
71
+ readonly description: 'Age classification';
125
72
  };
126
73
  export declare const $AgeClassificationStepTemplate: {
127
74
  readonly required: readonly ['$type'];
@@ -146,6 +93,7 @@ export declare const $AgeClassificationStepTemplate: {
146
93
  readonly type: 'string';
147
94
  };
148
95
  };
96
+ readonly description: 'Age classification';
149
97
  };
150
98
  export declare const $AgeClassifierLabel: {
151
99
  readonly required: readonly ['age', 'boundingBox', 'isMinor'];
@@ -181,39 +129,6 @@ export declare const $BatchOCRSafetyClassificationInput: {
181
129
  };
182
130
  readonly additionalProperties: false;
183
131
  };
184
- export declare const $BatchOCRSafetyClassificationJob: {
185
- readonly required: readonly ['$type'];
186
- readonly allOf: readonly [
187
- {
188
- readonly $ref: '#/components/schemas/Job';
189
- },
190
- {
191
- readonly required: readonly ['mediaUrls'];
192
- readonly type: 'object';
193
- readonly properties: {
194
- readonly mediaUrls: {
195
- readonly uniqueItems: true;
196
- readonly type: 'array';
197
- readonly items: {
198
- readonly type: 'string';
199
- readonly format: 'uri';
200
- };
201
- };
202
- readonly type: {
203
- readonly type: 'string';
204
- readonly readOnly: true;
205
- };
206
- };
207
- readonly additionalProperties: false;
208
- },
209
- ];
210
- readonly properties: {
211
- readonly $type: {
212
- readonly enum: readonly ['batchOCRSafetyClassification'];
213
- readonly type: 'string';
214
- };
215
- };
216
- };
217
132
  export declare const $BatchOCRSafetyClassificationOutput: {
218
133
  readonly required: readonly ['results'];
219
134
  readonly type: 'object';
@@ -245,57 +160,6 @@ export declare const $BatchOCRSafetyClassificationResult: {
245
160
  };
246
161
  readonly additionalProperties: false;
247
162
  };
248
- export declare const $BatchOCRSafetyClassificationStep: {
249
- readonly required: readonly ['$type'];
250
- readonly allOf: readonly [
251
- {
252
- readonly $ref: '#/components/schemas/WorkflowStep';
253
- },
254
- {
255
- readonly required: readonly ['input'];
256
- readonly type: 'object';
257
- readonly properties: {
258
- readonly input: {
259
- readonly $ref: '#/components/schemas/BatchOCRSafetyClassificationInput';
260
- };
261
- readonly output: {
262
- readonly $ref: '#/components/schemas/BatchOCRSafetyClassificationOutput';
263
- };
264
- };
265
- readonly additionalProperties: false;
266
- },
267
- ];
268
- readonly properties: {
269
- readonly $type: {
270
- readonly enum: readonly ['batchOCRSafetyClassification'];
271
- readonly type: 'string';
272
- };
273
- };
274
- };
275
- export declare const $BatchOCRSafetyClassificationStepTemplate: {
276
- readonly required: readonly ['$type'];
277
- readonly allOf: readonly [
278
- {
279
- readonly $ref: '#/components/schemas/WorkflowStepTemplate';
280
- },
281
- {
282
- readonly required: readonly ['input'];
283
- readonly type: 'object';
284
- readonly properties: {
285
- readonly input: {
286
- readonly $ref: '#/components/schemas/BatchOCRSafetyClassificationInput';
287
- };
288
- };
289
- readonly additionalProperties: false;
290
- },
291
- ];
292
- readonly properties: {
293
- readonly $type: {
294
- readonly enum: readonly ['batchOCRSafetyClassification'];
295
- readonly type: 'string';
296
- };
297
- };
298
- };
299
163
  export declare const $Blob: {
300
164
  readonly required: readonly ['available', 'id', 'type'];
301
165
  readonly type: 'object';
@@ -372,81 +236,6 @@ export declare const $ComfyInput: {
372
236
  };
373
237
  readonly additionalProperties: false;
374
238
  };
375
- export declare const $ComfyJob: {
376
- readonly required: readonly ['$type'];
377
- readonly allOf: readonly [
378
- {
379
- readonly $ref: '#/components/schemas/Job';
380
- },
381
- {
382
- readonly required: readonly ['params', 'slots'];
383
- readonly type: 'object';
384
- readonly properties: {
385
- readonly params: {
386
- readonly type: 'object';
387
- readonly additionalProperties: {
388
- readonly $ref: '#/components/schemas/ComfyNode';
389
- };
390
- readonly description: 'A untyped set of parameters that are associated with this job';
391
- };
392
- readonly resources: {
393
- readonly uniqueItems: true;
394
- readonly type: 'array';
395
- readonly items: {
396
- 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_\\-]+))?$';
397
- readonly type: 'string';
398
- };
399
- readonly nullable: true;
400
- };
401
- readonly slots: {
402
- readonly type: 'array';
403
- readonly items: {
404
- readonly $ref: '#/components/schemas/ComfyJobSlot';
405
- };
406
- readonly description: 'Slots for the resulting blob outputs.';
407
- };
408
- readonly imageMetadata: {
409
- readonly type: 'string';
410
- readonly description: 'Get or set additional metadata that will be embedded with generated images';
411
- readonly nullable: true;
412
- };
413
- readonly type: {
414
- readonly type: 'string';
415
- readonly readOnly: true;
416
- };
417
- readonly claimDuration: {
418
- readonly type: 'string';
419
- readonly format: 'date-span';
420
- readonly readOnly: true;
421
- };
422
- };
423
- readonly additionalProperties: false;
424
- },
425
- ];
426
- readonly properties: {
427
- readonly $type: {
428
- readonly enum: readonly ['comfy'];
429
- readonly type: 'string';
430
- };
431
- };
432
- };
433
- export declare const $ComfyJobSlot: {
434
- readonly required: readonly ['blobKey', 'destinationUrl'];
435
- readonly type: 'object';
436
- readonly properties: {
437
- readonly blobKey: {
438
- readonly type: 'string';
439
- readonly description: 'The hash for the blob output.';
440
- };
441
- readonly destinationUrl: {
442
- readonly type: 'string';
443
- readonly description: 'The destination url for blob upload.';
444
- readonly format: 'uri';
445
- };
446
- };
447
- readonly additionalProperties: false;
448
- readonly description: 'Contains slot information for a blob generated by a ComfyJob.';
449
- };
450
239
  export declare const $ComfyNode: {
451
240
  readonly required: readonly ['classType', 'inputs'];
452
241
  readonly type: 'object';
@@ -498,7 +287,15 @@ export declare const $ComfyOutput: {
498
287
  readonly blobs: {
499
288
  readonly type: 'array';
500
289
  readonly items: {
501
- readonly $ref: '#/components/schemas/Blob';
290
+ readonly oneOf: readonly [
291
+ {
292
+ readonly $ref: '#/components/schemas/Blob';
293
+ },
294
+ {
295
+ readonly $ref: '#/components/schemas/VideoBlob';
296
+ },
297
+ ];
298
+ readonly description: 'Represents a blob that gets produced as part of a specific job';
502
299
  };
503
300
  readonly description: 'Get a list of blobs that got generated by this comfy workflow step.';
504
301
  };
@@ -531,7 +328,7 @@ export declare const $ComfyStep: {
531
328
  readonly type: 'string';
532
329
  };
533
330
  };
534
- readonly description: '';
331
+ readonly description: 'Comfy workflows';
535
332
  };
536
333
  export declare const $ComfyStepTemplate: {
537
334
  readonly required: readonly ['$type'];
@@ -556,112 +353,7 @@ export declare const $ComfyStepTemplate: {
556
353
  readonly type: 'string';
557
354
  };
558
355
  };
559
- };
560
- export declare const $ComfyVideoGenInput: {
561
- readonly required: readonly ['engine'];
562
- readonly allOf: readonly [
563
- {
564
- readonly $ref: '#/components/schemas/VideoGenInput';
565
- },
566
- {
567
- readonly type: 'object';
568
- readonly properties: {
569
- readonly model: {
570
- 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_\\-]+))?$';
571
- readonly type: 'string';
572
- readonly default: 'urn:air:ltxv:checkpoint:civitai:982559@1100593';
573
- };
574
- readonly negativePrompt: {
575
- readonly type: 'string';
576
- readonly nullable: true;
577
- };
578
- readonly sampler: {
579
- readonly enum: readonly [
580
- 'euler',
581
- 'euler_cfg_pp',
582
- 'euler_ancestral',
583
- 'euler_ancestral_cfg_pp',
584
- 'heun',
585
- 'heunpp2',
586
- 'dpm_2',
587
- 'dpm_2_ancestral',
588
- 'lms',
589
- 'dpm_fast',
590
- 'dpm_adaptive',
591
- 'dpmpp_2s_ancestral',
592
- 'dpmpp_2s_ancestral_cfg_pp',
593
- 'dpmpp_sde',
594
- 'dpmpp_sde_gpu',
595
- 'dpmpp_2m',
596
- 'dpmpp_2m_cfg_pp',
597
- 'dpmpp_2m_sde',
598
- 'dpmpp_2m_sde_gpu',
599
- 'dpmpp_3m_sde',
600
- 'dpmpp_3m_sde_gpu',
601
- 'ddpm',
602
- 'lcm',
603
- 'ipndm',
604
- 'ipndm_v',
605
- 'deis',
606
- ];
607
- readonly type: 'string';
608
- readonly default: 'euler_ancestral';
609
- };
610
- readonly cfgScale: {
611
- readonly maximum: 100;
612
- readonly minimum: 0;
613
- readonly type: 'number';
614
- readonly format: 'double';
615
- readonly default: 4;
616
- };
617
- readonly width: {
618
- readonly maximum: 1280;
619
- readonly minimum: 64;
620
- readonly type: 'integer';
621
- readonly format: 'int32';
622
- readonly default: 720;
623
- };
624
- readonly height: {
625
- readonly maximum: 720;
626
- readonly minimum: 64;
627
- readonly type: 'integer';
628
- readonly format: 'int32';
629
- readonly default: 720;
630
- };
631
- readonly frameRate: {
632
- readonly type: 'integer';
633
- readonly format: 'int32';
634
- readonly default: 25;
635
- };
636
- readonly duration: {
637
- readonly maximum: 30;
638
- readonly minimum: 1;
639
- readonly type: 'integer';
640
- readonly format: 'int32';
641
- readonly default: 5;
642
- };
643
- readonly seed: {
644
- readonly type: 'integer';
645
- readonly format: 'int32';
646
- readonly nullable: true;
647
- };
648
- readonly steps: {
649
- readonly maximum: 50;
650
- readonly minimum: 10;
651
- readonly type: 'integer';
652
- readonly format: 'int32';
653
- readonly default: 20;
654
- };
655
- };
656
- readonly additionalProperties: false;
657
- },
658
- ];
659
- readonly properties: {
660
- readonly engine: {
661
- readonly enum: readonly ['comfy'];
662
- readonly type: 'string';
663
- };
664
- };
356
+ readonly description: 'Comfy workflows';
665
357
  };
666
358
  export declare const $ComfyVideoGenJob: {
667
359
  readonly required: readonly ['$type'];
@@ -890,7 +582,7 @@ export declare const $EchoStep: {
890
582
  readonly type: 'string';
891
583
  };
892
584
  };
893
- readonly description: 'A workflow step that takes a message string and retuns it.';
585
+ readonly description: 'Echo';
894
586
  };
895
587
  export declare const $EchoStepTemplate: {
896
588
  readonly required: readonly ['$type'];
@@ -915,6 +607,7 @@ export declare const $EchoStepTemplate: {
915
607
  readonly type: 'string';
916
608
  };
917
609
  };
610
+ readonly description: 'Echo';
918
611
  };
919
612
  export declare const $EcosystemElement: {
920
613
  readonly type: 'object';
@@ -983,30 +676,6 @@ export declare const $FluxDevFastImageResourceTrainingInput: {
983
676
  };
984
677
  };
985
678
  };
986
- export declare const $GateJob: {
987
- readonly required: readonly ['$type'];
988
- readonly allOf: readonly [
989
- {
990
- readonly $ref: '#/components/schemas/Job';
991
- },
992
- {
993
- readonly type: 'object';
994
- readonly properties: {
995
- readonly type: {
996
- readonly type: 'string';
997
- readonly readOnly: true;
998
- };
999
- };
1000
- readonly additionalProperties: false;
1001
- },
1002
- ];
1003
- readonly properties: {
1004
- readonly $type: {
1005
- readonly enum: readonly ['gate'];
1006
- readonly type: 'string';
1007
- };
1008
- };
1009
- };
1010
679
  export declare const $HaiperVideoGenAspectRatio: {
1011
680
  readonly enum: readonly ['16:9', '4:3', '1:1', '9:16', '3:4'];
1012
681
  readonly type: 'string';
@@ -1057,279 +726,94 @@ export declare const $HaiperVideoGenInput: {
1057
726
  readonly $ref: '#/components/schemas/HaiperVideoGenModel';
1058
727
  };
1059
728
  readonly resolution: {
1060
- readonly enum: readonly [720, 1080, 2160];
1061
- readonly type: 'integer';
1062
- readonly format: 'int32';
1063
- };
1064
- readonly enablePromptEnhancer: {
1065
- readonly type: 'boolean';
1066
- };
1067
- readonly sourceImage: {
1068
- readonly $ref: '#/components/schemas/SourceImage';
1069
- };
1070
- };
1071
- readonly additionalProperties: false;
1072
- },
1073
- ];
1074
- readonly properties: {
1075
- readonly engine: {
1076
- readonly enum: readonly ['haiper'];
1077
- readonly type: 'string';
1078
- };
1079
- };
1080
- };
1081
- export declare const $HaiperVideoGenJob: {
1082
- readonly required: readonly ['$type'];
1083
- readonly allOf: readonly [
1084
- {
1085
- readonly $ref: '#/components/schemas/Job';
1086
- },
1087
- {
1088
- readonly required: readonly ['destinationUrl', 'mediaHash', 'prompt'];
1089
- readonly type: 'object';
1090
- readonly properties: {
1091
- readonly mediaHash: {
1092
- readonly type: 'string';
1093
- };
1094
- readonly prompt: {
1095
- readonly type: 'string';
1096
- };
1097
- readonly negativePrompt: {
1098
- readonly type: 'string';
1099
- readonly nullable: true;
1100
- };
1101
- readonly cameraMovement: {
1102
- readonly $ref: '#/components/schemas/HaiperVideoGenCameraMovement';
1103
- };
1104
- readonly seed: {
1105
- readonly maximum: 4294967295;
1106
- readonly minimum: -1;
1107
- readonly type: 'integer';
1108
- readonly format: 'int64';
1109
- };
1110
- readonly duration: {
1111
- readonly enum: readonly [2, 4, 8];
1112
- readonly type: 'integer';
1113
- readonly format: 'int32';
1114
- };
1115
- readonly aspectRatio: {
1116
- readonly $ref: '#/components/schemas/HaiperVideoGenAspectRatio';
1117
- };
1118
- readonly destinationUrl: {
1119
- readonly type: 'string';
1120
- readonly format: 'uri';
1121
- };
1122
- readonly sourceImageUrl: {
1123
- readonly type: 'string';
1124
- readonly format: 'uri';
1125
- readonly nullable: true;
1126
- };
1127
- readonly model: {
1128
- readonly $ref: '#/components/schemas/HaiperVideoGenModel';
1129
- };
1130
- readonly resolution: {
1131
- readonly type: 'integer';
1132
- readonly format: 'int32';
1133
- };
1134
- readonly enablePromptEnhancer: {
1135
- readonly type: 'boolean';
1136
- };
1137
- readonly claimDuration: {
1138
- readonly type: 'string';
1139
- readonly format: 'date-span';
1140
- readonly readOnly: true;
1141
- };
1142
- readonly type: {
1143
- readonly type: 'string';
1144
- readonly readOnly: true;
1145
- };
1146
- };
1147
- readonly additionalProperties: false;
1148
- },
1149
- ];
1150
- readonly properties: {
1151
- readonly $type: {
1152
- readonly enum: readonly ['haiper'];
1153
- readonly type: 'string';
1154
- };
1155
- };
1156
- };
1157
- export declare const $HaiperVideoGenModel: {
1158
- readonly enum: readonly ['v1_5', 'v2'];
1159
- readonly type: 'string';
1160
- };
1161
- export declare const $HaiperVideoGenOutput: {
1162
- readonly allOf: readonly [
1163
- {
1164
- readonly $ref: '#/components/schemas/VideoGenOutput';
1165
- },
1166
- {
1167
- readonly type: 'object';
1168
- readonly properties: {
1169
- readonly progress: {
1170
- readonly type: 'number';
1171
- readonly format: 'double';
1172
- readonly nullable: true;
1173
- };
1174
- readonly externalTOSViolation: {
1175
- readonly type: 'boolean';
1176
- readonly nullable: true;
1177
- };
1178
- readonly message: {
1179
- readonly type: 'string';
1180
- readonly nullable: true;
1181
- };
1182
- };
1183
- readonly additionalProperties: false;
1184
- },
1185
- ];
1186
- };
1187
- export declare const $HumanoidImageMaskCategory: {
1188
- readonly enum: readonly ['dresses', 'upperBody', 'lowerBody'];
1189
- readonly type: 'string';
1190
- };
1191
- export declare const $HumanoidImageMaskInput: {
1192
- readonly required: readonly ['category', 'imageUrl'];
1193
- readonly type: 'object';
1194
- readonly properties: {
1195
- readonly imageUrl: {
1196
- readonly type: 'string';
1197
- readonly format: 'uri';
1198
- };
1199
- readonly category: {
1200
- readonly $ref: '#/components/schemas/HumanoidImageMaskCategory';
1201
- };
1202
- };
1203
- readonly additionalProperties: false;
1204
- };
1205
- export declare const $HumanoidImageMaskJob: {
1206
- readonly required: readonly ['$type'];
1207
- readonly allOf: readonly [
1208
- {
1209
- readonly $ref: '#/components/schemas/Job';
1210
- },
1211
- {
1212
- readonly required: readonly ['category', 'destinationBlobKey', 'imageUrl'];
1213
- readonly type: 'object';
1214
- readonly properties: {
1215
- readonly imageUrl: {
1216
- readonly type: 'string';
1217
- readonly format: 'uri';
1218
- };
1219
- readonly category: {
1220
- readonly $ref: '#/components/schemas/HumanoidImageMaskCategory';
1221
- };
1222
- readonly destinationBlobKey: {
1223
- readonly type: 'string';
1224
- };
1225
- readonly type: {
1226
- readonly type: 'string';
1227
- readonly readOnly: true;
1228
- };
1229
- readonly claimDuration: {
1230
- readonly type: 'string';
1231
- readonly format: 'date-span';
1232
- readonly readOnly: true;
1233
- };
1234
- };
1235
- readonly additionalProperties: false;
1236
- },
1237
- ];
1238
- readonly properties: {
1239
- readonly $type: {
1240
- readonly enum: readonly ['humanoidImageMask'];
1241
- readonly type: 'string';
1242
- };
1243
- };
1244
- };
1245
- export declare const $HumanoidImageMaskOutput: {
1246
- readonly required: readonly ['blob'];
1247
- readonly type: 'object';
1248
- readonly properties: {
1249
- readonly blob: {
1250
- readonly $ref: '#/components/schemas/Blob';
1251
- };
1252
- };
1253
- readonly additionalProperties: false;
1254
- };
1255
- export declare const $HumanoidImageMaskStep: {
1256
- readonly required: readonly ['$type'];
1257
- readonly allOf: readonly [
1258
- {
1259
- readonly $ref: '#/components/schemas/WorkflowStep';
1260
- },
1261
- {
1262
- readonly required: readonly ['input'];
1263
- readonly type: 'object';
1264
- readonly properties: {
1265
- readonly input: {
1266
- readonly $ref: '#/components/schemas/HumanoidImageMaskInput';
1267
- };
1268
- readonly output: {
1269
- readonly $ref: '#/components/schemas/HumanoidImageMaskOutput';
1270
- };
1271
- };
1272
- readonly additionalProperties: false;
1273
- },
1274
- ];
1275
- readonly properties: {
1276
- readonly $type: {
1277
- readonly enum: readonly ['humanoidImageMask'];
1278
- readonly type: 'string';
1279
- };
1280
- };
1281
- };
1282
- export declare const $HumanoidImageMaskStepTemplate: {
1283
- readonly required: readonly ['$type'];
1284
- readonly allOf: readonly [
1285
- {
1286
- readonly $ref: '#/components/schemas/WorkflowStepTemplate';
1287
- },
1288
- {
1289
- readonly required: readonly ['input'];
1290
- readonly type: 'object';
1291
- readonly properties: {
1292
- readonly input: {
1293
- readonly $ref: '#/components/schemas/HumanoidImageMaskInput';
729
+ readonly enum: readonly [720, 1080, 2160];
730
+ readonly type: 'integer';
731
+ readonly format: 'int32';
732
+ };
733
+ readonly enablePromptEnhancer: {
734
+ readonly type: 'boolean';
735
+ };
736
+ readonly sourceImage: {
737
+ readonly type: 'string';
738
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
739
+ readonly nullable: true;
1294
740
  };
1295
741
  };
1296
742
  readonly additionalProperties: false;
1297
743
  },
1298
744
  ];
1299
745
  readonly properties: {
1300
- readonly $type: {
1301
- readonly enum: readonly ['humanoidImageMask'];
746
+ readonly engine: {
747
+ readonly enum: readonly ['haiper'];
1302
748
  readonly type: 'string';
1303
749
  };
1304
750
  };
1305
751
  };
1306
- export declare const $ImageEmbeddingJob: {
1307
- readonly required: readonly ['$type'];
752
+ export declare const $HaiperVideoGenModel: {
753
+ readonly enum: readonly ['v1_5', 'v2'];
754
+ readonly type: 'string';
755
+ };
756
+ export declare const $HaiperVideoGenOutput: {
1308
757
  readonly allOf: readonly [
1309
758
  {
1310
- readonly $ref: '#/components/schemas/Job';
759
+ readonly $ref: '#/components/schemas/VideoGenOutput';
1311
760
  },
1312
761
  {
1313
- readonly required: readonly ['imageUrl'];
1314
762
  readonly type: 'object';
1315
763
  readonly properties: {
1316
- readonly imageUrl: {
1317
- readonly type: 'string';
764
+ readonly progress: {
765
+ readonly type: 'number';
766
+ readonly format: 'double';
767
+ readonly nullable: true;
1318
768
  };
1319
- readonly type: {
769
+ readonly externalTOSViolation: {
770
+ readonly type: 'boolean';
771
+ readonly nullable: true;
772
+ };
773
+ readonly message: {
1320
774
  readonly type: 'string';
1321
- readonly readOnly: true;
775
+ readonly nullable: true;
1322
776
  };
1323
777
  };
1324
778
  readonly additionalProperties: false;
1325
779
  },
1326
780
  ];
781
+ };
782
+ export declare const $HumanoidImageMaskCategory: {
783
+ readonly enum: readonly ['dresses', 'upperBody', 'lowerBody'];
784
+ readonly type: 'string';
785
+ };
786
+ export declare const $HumanoidImageMaskInput: {
787
+ readonly required: readonly ['category', 'imageUrl'];
788
+ readonly type: 'object';
1327
789
  readonly properties: {
1328
- readonly $type: {
1329
- readonly enum: readonly ['imageEmbedding'];
790
+ readonly imageUrl: {
1330
791
  readonly type: 'string';
792
+ readonly format: 'uri';
793
+ };
794
+ readonly category: {
795
+ readonly $ref: '#/components/schemas/HumanoidImageMaskCategory';
1331
796
  };
1332
797
  };
798
+ readonly additionalProperties: false;
799
+ };
800
+ export declare const $HumanoidImageMaskOutput: {
801
+ readonly required: readonly ['blob'];
802
+ readonly type: 'object';
803
+ readonly properties: {
804
+ readonly blob: {
805
+ readonly oneOf: readonly [
806
+ {
807
+ readonly $ref: '#/components/schemas/Blob';
808
+ },
809
+ {
810
+ readonly $ref: '#/components/schemas/VideoBlob';
811
+ },
812
+ ];
813
+ readonly description: 'Represents a blob that gets produced as part of a specific job';
814
+ };
815
+ };
816
+ readonly additionalProperties: false;
1333
817
  };
1334
818
  export declare const $ImageJobControlNet: {
1335
819
  readonly type: 'object';
@@ -1598,7 +1082,15 @@ export declare const $ImageResourceTrainingStep: {
1598
1082
  readonly type: 'object';
1599
1083
  readonly properties: {
1600
1084
  readonly input: {
1601
- readonly $ref: '#/components/schemas/ImageResourceTrainingInput';
1085
+ readonly oneOf: readonly [
1086
+ {
1087
+ readonly $ref: '#/components/schemas/KohyaImageResourceTrainingInput';
1088
+ },
1089
+ {
1090
+ readonly $ref: '#/components/schemas/FluxDevFastImageResourceTrainingInput';
1091
+ },
1092
+ ];
1093
+ readonly description: "The workflow's input.";
1602
1094
  };
1603
1095
  readonly output: {
1604
1096
  readonly $ref: '#/components/schemas/ImageResourceTrainingOutput';
@@ -1613,7 +1105,7 @@ export declare const $ImageResourceTrainingStep: {
1613
1105
  readonly type: 'string';
1614
1106
  };
1615
1107
  };
1616
- readonly description: 'A workflow step for training image resources.';
1108
+ readonly description: 'LORA Training';
1617
1109
  };
1618
1110
  export declare const $ImageResourceTrainingStepTemplate: {
1619
1111
  readonly required: readonly ['$type'];
@@ -1626,7 +1118,16 @@ export declare const $ImageResourceTrainingStepTemplate: {
1626
1118
  readonly type: 'object';
1627
1119
  readonly properties: {
1628
1120
  readonly input: {
1629
- readonly $ref: '#/components/schemas/ImageResourceTrainingInput';
1121
+ readonly oneOf: readonly [
1122
+ {
1123
+ readonly $ref: '#/components/schemas/KohyaImageResourceTrainingInput';
1124
+ },
1125
+ {
1126
+ readonly $ref: '#/components/schemas/FluxDevFastImageResourceTrainingInput';
1127
+ },
1128
+ ];
1129
+ readonly description: 'Input for the ImageResourceTrainingStep step.';
1130
+ readonly nullable: true;
1630
1131
  };
1631
1132
  };
1632
1133
  readonly additionalProperties: false;
@@ -1638,58 +1139,86 @@ export declare const $ImageResourceTrainingStepTemplate: {
1638
1139
  readonly type: 'string';
1639
1140
  };
1640
1141
  };
1142
+ readonly description: 'LORA Training';
1143
+ };
1144
+ export declare const $ImageTransformer: {
1145
+ readonly enum: readonly ['canny', 'depthZoe', 'softedgePidinet', 'rembg'];
1146
+ readonly type: 'string';
1147
+ readonly description: 'Available image transformers.';
1148
+ };
1149
+ export declare const $ImageUploadOutput: {
1150
+ readonly required: readonly ['blob'];
1151
+ readonly type: 'object';
1152
+ readonly properties: {
1153
+ readonly blob: {
1154
+ readonly oneOf: readonly [
1155
+ {
1156
+ readonly $ref: '#/components/schemas/Blob';
1157
+ },
1158
+ {
1159
+ readonly $ref: '#/components/schemas/VideoBlob';
1160
+ },
1161
+ ];
1162
+ readonly description: 'Represents a blob that gets produced as part of a specific job';
1163
+ };
1164
+ };
1165
+ readonly additionalProperties: false;
1641
1166
  };
1642
- export declare const $ImageTransformJob: {
1167
+ export declare const $ImageUploadStep: {
1643
1168
  readonly required: readonly ['$type'];
1644
1169
  readonly allOf: readonly [
1645
1170
  {
1646
- readonly $ref: '#/components/schemas/Job';
1171
+ readonly $ref: '#/components/schemas/WorkflowStep';
1647
1172
  },
1648
1173
  {
1174
+ readonly required: readonly ['input'];
1649
1175
  readonly type: 'object';
1650
1176
  readonly properties: {
1651
- readonly imageUrl: {
1652
- readonly type: 'string';
1653
- readonly description: 'The url of the image to transform';
1654
- readonly format: 'uri';
1655
- };
1656
- readonly transformer: {
1657
- readonly $ref: '#/components/schemas/ImageTransformer';
1658
- };
1659
- readonly destinationBlobKey: {
1177
+ readonly input: {
1660
1178
  readonly type: 'string';
1661
- readonly description: 'Get the key of the destination blob to upload the result to';
1179
+ readonly description: "The workflow's input.";
1662
1180
  };
1663
- readonly params: {
1664
- readonly type: 'object';
1665
- readonly additionalProperties: {};
1666
- readonly description: 'A untyped set of parameters that are associated with this job';
1181
+ readonly output: {
1182
+ readonly $ref: '#/components/schemas/ImageUploadOutput';
1667
1183
  };
1668
- readonly destinationUrl: {
1184
+ };
1185
+ readonly additionalProperties: false;
1186
+ },
1187
+ ];
1188
+ readonly properties: {
1189
+ readonly $type: {
1190
+ readonly enum: readonly ['imageUpload'];
1191
+ readonly type: 'string';
1192
+ };
1193
+ };
1194
+ readonly description: 'Image upload';
1195
+ };
1196
+ export declare const $ImageUploadStepTemplate: {
1197
+ readonly required: readonly ['$type'];
1198
+ readonly allOf: readonly [
1199
+ {
1200
+ readonly $ref: '#/components/schemas/WorkflowStepTemplate';
1201
+ },
1202
+ {
1203
+ readonly required: readonly ['input'];
1204
+ readonly type: 'object';
1205
+ readonly properties: {
1206
+ readonly input: {
1669
1207
  readonly type: 'string';
1670
- readonly description: 'Get or set the URL where the transformed image will be uploaded to';
1671
- readonly format: 'uri';
1208
+ readonly description: 'Input for the ImageUploadStep step.';
1672
1209
  readonly nullable: true;
1673
1210
  };
1674
- readonly type: {
1675
- readonly type: 'string';
1676
- readonly readOnly: true;
1677
- };
1678
1211
  };
1679
1212
  readonly additionalProperties: false;
1680
1213
  },
1681
1214
  ];
1682
1215
  readonly properties: {
1683
1216
  readonly $type: {
1684
- readonly enum: readonly ['imageTransform'];
1217
+ readonly enum: readonly ['imageUpload'];
1685
1218
  readonly type: 'string';
1686
1219
  };
1687
1220
  };
1688
- };
1689
- export declare const $ImageTransformer: {
1690
- readonly enum: readonly ['canny', 'depthZoe', 'softedgePidinet', 'rembg'];
1691
- readonly type: 'string';
1692
- readonly description: 'Available image transformers.';
1221
+ readonly description: 'Image upload';
1693
1222
  };
1694
1223
  export declare const $Job: {
1695
1224
  readonly required: readonly ['$type'];
@@ -1790,21 +1319,8 @@ export declare const $Job: {
1790
1319
  readonly mapping: {
1791
1320
  readonly textToImage: '#/components/schemas/TextToImageJob';
1792
1321
  readonly imageResourceTraining: '#/components/schemas/ImageResourceTrainingJob';
1793
- readonly imageTransform: '#/components/schemas/ImageTransformJob';
1794
- readonly movieRating: '#/components/schemas/MovieRatingJob';
1795
- readonly wdTagging: '#/components/schemas/WDTaggingJob';
1796
- readonly mediaTagging: '#/components/schemas/MediaTaggingJob';
1797
- readonly comfy: '#/components/schemas/ComfyJob';
1798
- readonly imageEmbedding: '#/components/schemas/ImageEmbeddingJob';
1799
1322
  readonly similaritySearch: '#/components/schemas/SimilaritySearchJob';
1800
1323
  readonly llmPromptAugmentation: '#/components/schemas/LLMPromptAugmentationJob';
1801
- readonly humanoidImageMask: '#/components/schemas/HumanoidImageMaskJob';
1802
- readonly tryOnU: '#/components/schemas/TryOnUJob';
1803
- readonly mediaCaptioning: '#/components/schemas/MediaCaptioningJob';
1804
- readonly ageClassification: '#/components/schemas/AgeClassificationJob';
1805
- readonly batchOCRSafetyClassification: '#/components/schemas/BatchOCRSafetyClassificationJob';
1806
- readonly gate: '#/components/schemas/GateJob';
1807
- readonly haiper: '#/components/schemas/HaiperVideoGenJob';
1808
1324
  readonly mochi: '#/components/schemas/MochiVideoGenJob';
1809
1325
  readonly comfyVideoGen: '#/components/schemas/ComfyVideoGenJob';
1810
1326
  };
@@ -2008,7 +1524,9 @@ export declare const $KlingVideoGenInput: {
2008
1524
  readonly nullable: true;
2009
1525
  };
2010
1526
  readonly sourceImage: {
2011
- readonly $ref: '#/components/schemas/SourceImage';
1527
+ readonly type: 'string';
1528
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
1529
+ readonly nullable: true;
2012
1530
  };
2013
1531
  };
2014
1532
  readonly additionalProperties: false;
@@ -2109,13 +1627,7 @@ export declare const $KohyaImageResourceTrainingInput: {
2109
1627
  readonly default: 0.00005;
2110
1628
  };
2111
1629
  readonly lrScheduler: {
2112
- readonly enum: readonly [
2113
- 'constant',
2114
- 'cosine',
2115
- 'cosine_with_restarts',
2116
- 'cosine_with_restarts',
2117
- 'linear',
2118
- ];
1630
+ readonly enum: readonly ['constant', 'cosine', 'cosine_with_restarts', 'linear'];
2119
1631
  readonly type: 'string';
2120
1632
  readonly description: 'You can change the learning rate in the middle of learning. A scheduler is a setting for how to change the learning rate.';
2121
1633
  readonly nullable: true;
@@ -2299,103 +1811,6 @@ export declare const $LightricksVideoGenInput: {
2299
1811
  };
2300
1812
  };
2301
1813
  };
2302
- export declare const $MediaCaptioningJob: {
2303
- readonly required: readonly ['$type'];
2304
- readonly allOf: readonly [
2305
- {
2306
- readonly $ref: '#/components/schemas/Job';
2307
- },
2308
- {
2309
- readonly required: readonly ['mediaUrl', 'model'];
2310
- readonly type: 'object';
2311
- readonly properties: {
2312
- readonly model: {
2313
- readonly type: 'string';
2314
- };
2315
- readonly modelId: {
2316
- readonly type: 'integer';
2317
- readonly format: 'int32';
2318
- };
2319
- readonly mediaUrl: {
2320
- readonly type: 'string';
2321
- readonly format: 'uri';
2322
- };
2323
- readonly temperature: {
2324
- readonly type: 'number';
2325
- readonly format: 'double';
2326
- };
2327
- readonly maxNewTokens: {
2328
- readonly type: 'integer';
2329
- readonly format: 'int32';
2330
- };
2331
- readonly type: {
2332
- readonly type: 'string';
2333
- readonly readOnly: true;
2334
- };
2335
- readonly claimDuration: {
2336
- readonly type: 'string';
2337
- readonly format: 'date-span';
2338
- readonly readOnly: true;
2339
- };
2340
- };
2341
- readonly additionalProperties: false;
2342
- },
2343
- ];
2344
- readonly properties: {
2345
- readonly $type: {
2346
- readonly enum: readonly ['mediaCaptioning'];
2347
- readonly type: 'string';
2348
- };
2349
- };
2350
- };
2351
- export declare const $MediaTaggingJob: {
2352
- readonly required: readonly ['$type'];
2353
- readonly allOf: readonly [
2354
- {
2355
- readonly $ref: '#/components/schemas/Job';
2356
- },
2357
- {
2358
- readonly type: 'object';
2359
- readonly properties: {
2360
- readonly modelId: {
2361
- readonly type: 'integer';
2362
- readonly format: 'int32';
2363
- };
2364
- readonly mediaUrl: {
2365
- readonly type: 'string';
2366
- readonly format: 'uri';
2367
- };
2368
- readonly type: {
2369
- readonly type: 'string';
2370
- readonly readOnly: true;
2371
- };
2372
- };
2373
- readonly additionalProperties: false;
2374
- },
2375
- ];
2376
- readonly properties: {
2377
- readonly $type: {
2378
- readonly enum: readonly ['mediaTagging'];
2379
- readonly type: 'string';
2380
- };
2381
- };
2382
- };
2383
- export declare const $MemoryOfByte: {
2384
- readonly type: 'object';
2385
- readonly properties: {
2386
- readonly length: {
2387
- readonly type: 'integer';
2388
- readonly format: 'int32';
2389
- };
2390
- readonly isEmpty: {
2391
- readonly type: 'boolean';
2392
- };
2393
- readonly span: {
2394
- readonly $ref: '#/components/schemas/SpanOfByte';
2395
- };
2396
- };
2397
- readonly additionalProperties: false;
2398
- };
2399
1814
  export declare const $MiniMaxVideoGenInput: {
2400
1815
  readonly required: readonly ['engine'];
2401
1816
  readonly allOf: readonly [
@@ -2412,7 +1827,9 @@ export declare const $MiniMaxVideoGenInput: {
2412
1827
  readonly type: 'boolean';
2413
1828
  };
2414
1829
  readonly sourceImage: {
2415
- readonly $ref: '#/components/schemas/SourceImage';
1830
+ readonly type: 'string';
1831
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
1832
+ readonly nullable: true;
2416
1833
  };
2417
1834
  };
2418
1835
  readonly additionalProperties: false;
@@ -2475,59 +1892,17 @@ export declare const $MochiVideoGenJob: {
2475
1892
  readonly maximum: 4294967295;
2476
1893
  readonly minimum: -1;
2477
1894
  readonly type: 'integer';
2478
- readonly format: 'int64';
2479
- };
2480
- readonly mediaHash: {
2481
- readonly type: 'string';
2482
- };
2483
- readonly destinationUrl: {
2484
- readonly type: 'string';
2485
- readonly format: 'uri';
2486
- };
2487
- readonly enablePromptEnhancer: {
2488
- readonly type: 'boolean';
2489
- };
2490
- readonly type: {
2491
- readonly type: 'string';
2492
- readonly readOnly: true;
2493
- };
2494
- readonly claimDuration: {
2495
- readonly type: 'string';
2496
- readonly format: 'date-span';
2497
- readonly readOnly: true;
2498
- };
2499
- };
2500
- readonly additionalProperties: false;
2501
- },
2502
- ];
2503
- readonly properties: {
2504
- readonly $type: {
2505
- readonly enum: readonly ['mochi'];
2506
- readonly type: 'string';
2507
- };
2508
- };
2509
- };
2510
- export declare const $MovieRatingJob: {
2511
- readonly required: readonly ['$type'];
2512
- readonly allOf: readonly [
2513
- {
2514
- readonly $ref: '#/components/schemas/Job';
2515
- },
2516
- {
2517
- readonly type: 'object';
2518
- readonly properties: {
2519
- readonly mediaUrl: {
2520
- readonly type: 'string';
2521
- readonly format: 'uri';
1895
+ readonly format: 'int64';
2522
1896
  };
2523
- readonly model: {
2524
- 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_\\-]+))?$';
1897
+ readonly mediaHash: {
2525
1898
  readonly type: 'string';
2526
- readonly nullable: true;
2527
1899
  };
2528
- readonly blobKey: {
1900
+ readonly destinationUrl: {
2529
1901
  readonly type: 'string';
2530
- readonly nullable: true;
1902
+ readonly format: 'uri';
1903
+ };
1904
+ readonly enablePromptEnhancer: {
1905
+ readonly type: 'boolean';
2531
1906
  };
2532
1907
  readonly type: {
2533
1908
  readonly type: 'string';
@@ -2544,7 +1919,7 @@ export declare const $MovieRatingJob: {
2544
1919
  ];
2545
1920
  readonly properties: {
2546
1921
  readonly $type: {
2547
- readonly enum: readonly ['movieRating'];
1922
+ readonly enum: readonly ['mochi'];
2548
1923
  readonly type: 'string';
2549
1924
  };
2550
1925
  };
@@ -2815,28 +2190,6 @@ export declare const $SimilaritySearchJob: {
2815
2190
  };
2816
2191
  readonly description: 'Details for a similarity search job.';
2817
2192
  };
2818
- export declare const $SourceImage: {
2819
- readonly type: 'object';
2820
- readonly properties: {
2821
- readonly buffer: {
2822
- readonly $ref: '#/components/schemas/MemoryOfByte';
2823
- };
2824
- };
2825
- readonly additionalProperties: false;
2826
- };
2827
- export declare const $SpanOfByte: {
2828
- readonly type: 'object';
2829
- readonly properties: {
2830
- readonly length: {
2831
- readonly type: 'integer';
2832
- readonly format: 'int32';
2833
- };
2834
- readonly isEmpty: {
2835
- readonly type: 'boolean';
2836
- };
2837
- };
2838
- readonly additionalProperties: false;
2839
- };
2840
2193
  export declare const $Subscription: {
2841
2194
  readonly required: readonly ['webhook'];
2842
2195
  readonly type: 'object';
@@ -2850,7 +2203,7 @@ export declare const $Subscription: {
2850
2203
  readonly description: 'A subscription for pushed based notifications.';
2851
2204
  };
2852
2205
  export declare const $TextToImageInput: {
2853
- readonly required: readonly ['height', 'model', 'prompt', 'width'];
2206
+ readonly required: readonly ['height', 'prompt', 'width'];
2854
2207
  readonly type: 'object';
2855
2208
  readonly properties: {
2856
2209
  readonly quantity: {
@@ -2865,7 +2218,7 @@ export declare const $TextToImageInput: {
2865
2218
  readonly maximum: 100;
2866
2219
  readonly minimum: 1;
2867
2220
  readonly type: 'integer';
2868
- readonly description: 'The size of each batch.D';
2221
+ readonly description: 'The size of each batch';
2869
2222
  readonly format: 'int32';
2870
2223
  readonly default: 1;
2871
2224
  };
@@ -2873,6 +2226,7 @@ export declare const $TextToImageInput: {
2873
2226
  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_\\-]+))?$';
2874
2227
  readonly type: 'string';
2875
2228
  readonly description: 'The AIR of the checkpoint model to use for generation.';
2229
+ readonly default: 'urn:air:sd1:checkpoint:civitai:4384@128713';
2876
2230
  };
2877
2231
  readonly additionalNetworks: {
2878
2232
  readonly type: 'object';
@@ -3035,7 +2389,15 @@ export declare const $TextToImageOutput: {
3035
2389
  readonly images: {
3036
2390
  readonly type: 'array';
3037
2391
  readonly items: {
3038
- readonly $ref: '#/components/schemas/Blob';
2392
+ readonly oneOf: readonly [
2393
+ {
2394
+ readonly $ref: '#/components/schemas/Blob';
2395
+ },
2396
+ {
2397
+ readonly $ref: '#/components/schemas/VideoBlob';
2398
+ },
2399
+ ];
2400
+ readonly description: 'Represents a blob that gets produced as part of a specific job';
3039
2401
  };
3040
2402
  readonly description: 'A collection of output images.';
3041
2403
  };
@@ -3069,7 +2431,7 @@ export declare const $TextToImageStep: {
3069
2431
  readonly type: 'string';
3070
2432
  };
3071
2433
  };
3072
- readonly description: 'A workflow step for text to image generations.';
2434
+ readonly description: 'TextToImage';
3073
2435
  };
3074
2436
  export declare const $TextToImageStepTemplate: {
3075
2437
  readonly required: readonly ['$type'];
@@ -3094,6 +2456,7 @@ export declare const $TextToImageStepTemplate: {
3094
2456
  readonly type: 'string';
3095
2457
  };
3096
2458
  };
2459
+ readonly description: 'TextToImage';
3097
2460
  };
3098
2461
  export declare const $TransactionInfo: {
3099
2462
  readonly required: readonly ['amount', 'type'];
@@ -3218,30 +2581,9 @@ export declare const $TranscodeStep: {
3218
2581
  readonly type: 'string';
3219
2582
  };
3220
2583
  };
3221
- };
3222
- export declare const $TranscodeStepTemplate: {
3223
- readonly required: readonly ['$type'];
3224
- readonly allOf: readonly [
3225
- {
3226
- readonly $ref: '#/components/schemas/WorkflowStepTemplate';
3227
- },
3228
- {
3229
- readonly required: readonly ['input'];
3230
- readonly type: 'object';
3231
- readonly properties: {
3232
- readonly input: {
3233
- readonly $ref: '#/components/schemas/TranscodeInput';
3234
- };
3235
- };
3236
- readonly additionalProperties: false;
3237
- },
3238
- ];
3239
- readonly properties: {
3240
- readonly $type: {
3241
- readonly enum: readonly ['transcode'];
3242
- readonly type: 'string';
3243
- };
3244
- };
2584
+ readonly description: 'Transcoding';
2585
+ readonly 'x-preview': true;
2586
+ readonly 'x-internal': true;
3245
2587
  };
3246
2588
  export declare const $TryOnUInput: {
3247
2589
  readonly required: readonly ['garmentUrl', 'subjectUrl'];
@@ -3282,135 +2624,24 @@ export declare const $TryOnUInput: {
3282
2624
  };
3283
2625
  readonly additionalProperties: false;
3284
2626
  };
3285
- export declare const $TryOnUJob: {
3286
- readonly required: readonly ['$type'];
3287
- readonly allOf: readonly [
3288
- {
3289
- readonly $ref: '#/components/schemas/Job';
3290
- },
3291
- {
3292
- readonly required: readonly [
3293
- 'destinationBlobKey',
3294
- 'garmentUrl',
3295
- 'subjectMaskUrl',
3296
- 'subjectUrl',
3297
- ];
3298
- readonly type: 'object';
3299
- readonly properties: {
3300
- readonly subjectUrl: {
3301
- readonly type: 'string';
3302
- readonly format: 'uri';
3303
- };
3304
- readonly garmentUrl: {
3305
- readonly type: 'string';
3306
- readonly format: 'uri';
3307
- };
3308
- readonly subjectMaskUrl: {
3309
- readonly type: 'string';
3310
- readonly format: 'uri';
3311
- };
3312
- readonly garmentDescription: {
3313
- readonly type: 'string';
3314
- readonly nullable: true;
3315
- };
3316
- readonly maskSubject: {
3317
- readonly type: 'boolean';
3318
- };
3319
- readonly cropSubject: {
3320
- readonly type: 'boolean';
3321
- };
3322
- readonly steps: {
3323
- readonly type: 'integer';
3324
- readonly format: 'int32';
3325
- };
3326
- readonly seed: {
3327
- readonly type: 'integer';
3328
- readonly format: 'int32';
3329
- };
3330
- readonly destinationBlobKey: {
3331
- readonly type: 'string';
3332
- };
3333
- readonly type: {
3334
- readonly type: 'string';
3335
- readonly readOnly: true;
3336
- };
3337
- readonly claimDuration: {
3338
- readonly type: 'string';
3339
- readonly format: 'date-span';
3340
- readonly readOnly: true;
3341
- };
3342
- };
3343
- readonly additionalProperties: false;
3344
- },
3345
- ];
3346
- readonly properties: {
3347
- readonly $type: {
3348
- readonly enum: readonly ['tryOnU'];
3349
- readonly type: 'string';
3350
- };
3351
- };
3352
- };
3353
2627
  export declare const $TryOnUOutput: {
3354
2628
  readonly required: readonly ['blob'];
3355
2629
  readonly type: 'object';
3356
2630
  readonly properties: {
3357
2631
  readonly blob: {
3358
- readonly $ref: '#/components/schemas/Blob';
2632
+ readonly oneOf: readonly [
2633
+ {
2634
+ readonly $ref: '#/components/schemas/Blob';
2635
+ },
2636
+ {
2637
+ readonly $ref: '#/components/schemas/VideoBlob';
2638
+ },
2639
+ ];
2640
+ readonly description: 'Represents a blob that gets produced as part of a specific job';
3359
2641
  };
3360
2642
  };
3361
2643
  readonly additionalProperties: false;
3362
2644
  };
3363
- export declare const $TryOnUStep: {
3364
- readonly required: readonly ['$type'];
3365
- readonly allOf: readonly [
3366
- {
3367
- readonly $ref: '#/components/schemas/WorkflowStep';
3368
- },
3369
- {
3370
- readonly required: readonly ['input'];
3371
- readonly type: 'object';
3372
- readonly properties: {
3373
- readonly input: {
3374
- readonly $ref: '#/components/schemas/TryOnUInput';
3375
- };
3376
- readonly output: {
3377
- readonly $ref: '#/components/schemas/TryOnUOutput';
3378
- };
3379
- };
3380
- readonly additionalProperties: false;
3381
- },
3382
- ];
3383
- readonly properties: {
3384
- readonly $type: {
3385
- readonly enum: readonly ['tryOnU'];
3386
- readonly type: 'string';
3387
- };
3388
- };
3389
- };
3390
- export declare const $TryOnUStepTemplate: {
3391
- readonly required: readonly ['$type'];
3392
- readonly allOf: readonly [
3393
- {
3394
- readonly $ref: '#/components/schemas/WorkflowStepTemplate';
3395
- },
3396
- {
3397
- readonly required: readonly ['input'];
3398
- readonly type: 'object';
3399
- readonly properties: {
3400
- readonly input: {
3401
- readonly $ref: '#/components/schemas/TryOnUInput';
3402
- };
3403
- };
3404
- readonly additionalProperties: false;
3405
- },
3406
- ];
3407
- readonly properties: {
3408
- readonly $type: {
3409
- readonly enum: readonly ['tryOnU'];
3410
- readonly type: 'string';
3411
- };
3412
- };
3413
- };
3414
2645
  export declare const $UpdateWorkflowRequest: {
3415
2646
  readonly type: 'object';
3416
2647
  readonly properties: {
@@ -3545,7 +2776,6 @@ export declare const $VideoGenInput: {
3545
2776
  readonly mochi: '#/components/schemas/MochiVideoGenInput';
3546
2777
  readonly kling: '#/components/schemas/KlingVideoGenInput';
3547
2778
  readonly minimax: '#/components/schemas/MiniMaxVideoGenInput';
3548
- readonly comfy: '#/components/schemas/ComfyVideoGenInput';
3549
2779
  readonly lightricks: '#/components/schemas/LightricksVideoGenInput';
3550
2780
  };
3551
2781
  };
@@ -3554,7 +2784,16 @@ export declare const $VideoGenOutput: {
3554
2784
  readonly type: 'object';
3555
2785
  readonly properties: {
3556
2786
  readonly video: {
3557
- readonly $ref: '#/components/schemas/Blob';
2787
+ readonly oneOf: readonly [
2788
+ {
2789
+ readonly $ref: '#/components/schemas/Blob';
2790
+ },
2791
+ {
2792
+ readonly $ref: '#/components/schemas/VideoBlob';
2793
+ },
2794
+ ];
2795
+ readonly description: 'Represents a blob that gets produced as part of a specific job';
2796
+ readonly nullable: true;
3558
2797
  };
3559
2798
  };
3560
2799
  readonly additionalProperties: false;
@@ -3570,10 +2809,33 @@ export declare const $VideoGenStep: {
3570
2809
  readonly type: 'object';
3571
2810
  readonly properties: {
3572
2811
  readonly input: {
3573
- readonly $ref: '#/components/schemas/VideoGenInput';
2812
+ readonly oneOf: readonly [
2813
+ {
2814
+ readonly $ref: '#/components/schemas/HaiperVideoGenInput';
2815
+ },
2816
+ {
2817
+ readonly $ref: '#/components/schemas/MochiVideoGenInput';
2818
+ },
2819
+ {
2820
+ readonly $ref: '#/components/schemas/KlingVideoGenInput';
2821
+ },
2822
+ {
2823
+ readonly $ref: '#/components/schemas/MiniMaxVideoGenInput';
2824
+ },
2825
+ {
2826
+ readonly $ref: '#/components/schemas/LightricksVideoGenInput';
2827
+ },
2828
+ ];
2829
+ readonly description: "The workflow's input.";
3574
2830
  };
3575
2831
  readonly output: {
3576
- readonly $ref: '#/components/schemas/VideoGenOutput';
2832
+ readonly oneOf: readonly [
2833
+ {
2834
+ readonly $ref: '#/components/schemas/HaiperVideoGenOutput';
2835
+ },
2836
+ ];
2837
+ readonly description: "The workflow's output.";
2838
+ readonly nullable: true;
3577
2839
  };
3578
2840
  };
3579
2841
  readonly additionalProperties: false;
@@ -3585,6 +2847,7 @@ export declare const $VideoGenStep: {
3585
2847
  readonly type: 'string';
3586
2848
  };
3587
2849
  };
2850
+ readonly description: 'Video generation';
3588
2851
  };
3589
2852
  export declare const $VideoGenStepTemplate: {
3590
2853
  readonly required: readonly ['$type'];
@@ -3597,67 +2860,37 @@ export declare const $VideoGenStepTemplate: {
3597
2860
  readonly type: 'object';
3598
2861
  readonly properties: {
3599
2862
  readonly input: {
3600
- readonly $ref: '#/components/schemas/VideoGenInput';
3601
- };
3602
- };
3603
- readonly additionalProperties: false;
3604
- },
3605
- ];
3606
- readonly properties: {
3607
- readonly $type: {
3608
- readonly enum: readonly ['videoGen'];
3609
- readonly type: 'string';
3610
- };
3611
- };
3612
- };
3613
- export declare const $WDTaggingJob: {
3614
- readonly required: readonly ['$type'];
3615
- readonly allOf: readonly [
3616
- {
3617
- readonly $ref: '#/components/schemas/Job';
3618
- },
3619
- {
3620
- readonly type: 'object';
3621
- readonly properties: {
3622
- readonly model: {
3623
- readonly type: 'string';
3624
- };
3625
- readonly mediaUrl: {
3626
- readonly type: 'string';
3627
- readonly format: 'uri';
3628
- };
3629
- readonly threshold: {
3630
- readonly type: 'number';
3631
- readonly format: 'double';
3632
- readonly nullable: true;
3633
- };
3634
- readonly movieRatingModel: {
3635
- readonly type: 'string';
3636
- readonly nullable: true;
3637
- };
3638
- readonly prompt: {
3639
- readonly type: 'string';
2863
+ readonly oneOf: readonly [
2864
+ {
2865
+ readonly $ref: '#/components/schemas/HaiperVideoGenInput';
2866
+ },
2867
+ {
2868
+ readonly $ref: '#/components/schemas/MochiVideoGenInput';
2869
+ },
2870
+ {
2871
+ readonly $ref: '#/components/schemas/KlingVideoGenInput';
2872
+ },
2873
+ {
2874
+ readonly $ref: '#/components/schemas/MiniMaxVideoGenInput';
2875
+ },
2876
+ {
2877
+ readonly $ref: '#/components/schemas/LightricksVideoGenInput';
2878
+ },
2879
+ ];
2880
+ readonly description: 'Input for the VideoGenStep step.';
3640
2881
  readonly nullable: true;
3641
2882
  };
3642
- readonly claimDuration: {
3643
- readonly type: 'string';
3644
- readonly format: 'date-span';
3645
- readonly readOnly: true;
3646
- };
3647
- readonly type: {
3648
- readonly type: 'string';
3649
- readonly readOnly: true;
3650
- };
3651
2883
  };
3652
2884
  readonly additionalProperties: false;
3653
2885
  },
3654
2886
  ];
3655
2887
  readonly properties: {
3656
2888
  readonly $type: {
3657
- readonly enum: readonly ['wdTagging'];
2889
+ readonly enum: readonly ['videoGen'];
3658
2890
  readonly type: 'string';
3659
2891
  };
3660
2892
  };
2893
+ readonly description: 'Video generation';
3661
2894
  };
3662
2895
  export declare const $WorkerCapabilities: {
3663
2896
  readonly type: 'object';
@@ -3680,21 +2913,6 @@ export declare const $WorkerCapabilities: {
3680
2913
  readonly llmPromptAugmentation: {
3681
2914
  readonly $ref: '#/components/schemas/LLMPromptAugmentationCapabilities';
3682
2915
  };
3683
- readonly humanoidImageMask: {
3684
- readonly $ref: '#/components/schemas/WorkerHumanoidImageMaskCapabilities';
3685
- };
3686
- readonly tryOnU: {
3687
- readonly $ref: '#/components/schemas/WorkerTryOnUCapabilities';
3688
- };
3689
- readonly haiper: {
3690
- readonly $ref: '#/components/schemas/WorkerHaiperCapabilities';
3691
- };
3692
- readonly kling: {
3693
- readonly $ref: '#/components/schemas/WorkerKlingCapabilities';
3694
- };
3695
- readonly miniMax: {
3696
- readonly $ref: '#/components/schemas/WorkerMiniMaxCapabilities';
3697
- };
3698
2916
  };
3699
2917
  readonly additionalProperties: false;
3700
2918
  readonly description: "Details of a worker's capabilities.";
@@ -4209,7 +3427,33 @@ export declare const $Workflow: {
4209
3427
  readonly steps: {
4210
3428
  readonly type: 'array';
4211
3429
  readonly items: {
4212
- readonly $ref: '#/components/schemas/WorkflowStep';
3430
+ readonly oneOf: readonly [
3431
+ {
3432
+ readonly $ref: '#/components/schemas/AgeClassificationStep';
3433
+ },
3434
+ {
3435
+ readonly $ref: '#/components/schemas/ComfyStep';
3436
+ },
3437
+ {
3438
+ readonly $ref: '#/components/schemas/EchoStep';
3439
+ },
3440
+ {
3441
+ readonly $ref: '#/components/schemas/ImageResourceTrainingStep';
3442
+ },
3443
+ {
3444
+ readonly $ref: '#/components/schemas/ImageUploadStep';
3445
+ },
3446
+ {
3447
+ readonly $ref: '#/components/schemas/TextToImageStep';
3448
+ },
3449
+ {
3450
+ readonly $ref: '#/components/schemas/TranscodeStep';
3451
+ },
3452
+ {
3453
+ readonly $ref: '#/components/schemas/VideoGenStep';
3454
+ },
3455
+ ];
3456
+ readonly description: 'Details of a workflow step.';
4213
3457
  };
4214
3458
  readonly description: 'The steps for the workflow.';
4215
3459
  };
@@ -4435,14 +3679,12 @@ export declare const $WorkflowStep: {
4435
3679
  readonly propertyName: '$type';
4436
3680
  readonly mapping: {
4437
3681
  readonly ageClassification: '#/components/schemas/AgeClassificationStep';
4438
- readonly batchOCRSafetyClassification: '#/components/schemas/BatchOCRSafetyClassificationStep';
4439
3682
  readonly comfy: '#/components/schemas/ComfyStep';
4440
3683
  readonly echo: '#/components/schemas/EchoStep';
4441
- readonly humanoidImageMask: '#/components/schemas/HumanoidImageMaskStep';
4442
3684
  readonly imageResourceTraining: '#/components/schemas/ImageResourceTrainingStep';
3685
+ readonly imageUpload: '#/components/schemas/ImageUploadStep';
4443
3686
  readonly textToImage: '#/components/schemas/TextToImageStep';
4444
3687
  readonly transcode: '#/components/schemas/TranscodeStep';
4445
- readonly tryOnU: '#/components/schemas/TryOnUStep';
4446
3688
  readonly videoGen: '#/components/schemas/VideoGenStep';
4447
3689
  };
4448
3690
  };
@@ -4608,14 +3850,11 @@ export declare const $WorkflowStepTemplate: {
4608
3850
  readonly propertyName: '$type';
4609
3851
  readonly mapping: {
4610
3852
  readonly ageClassification: '#/components/schemas/AgeClassificationStepTemplate';
4611
- readonly batchOCRSafetyClassification: '#/components/schemas/BatchOCRSafetyClassificationStepTemplate';
4612
3853
  readonly comfy: '#/components/schemas/ComfyStepTemplate';
4613
3854
  readonly echo: '#/components/schemas/EchoStepTemplate';
4614
- readonly humanoidImageMask: '#/components/schemas/HumanoidImageMaskStepTemplate';
4615
3855
  readonly imageResourceTraining: '#/components/schemas/ImageResourceTrainingStepTemplate';
3856
+ readonly imageUpload: '#/components/schemas/ImageUploadStepTemplate';
4616
3857
  readonly textToImage: '#/components/schemas/TextToImageStepTemplate';
4617
- readonly transcode: '#/components/schemas/TranscodeStepTemplate';
4618
- readonly tryOnU: '#/components/schemas/TryOnUStepTemplate';
4619
3858
  readonly videoGen: '#/components/schemas/VideoGenStepTemplate';
4620
3859
  };
4621
3860
  };
@@ -4644,7 +3883,30 @@ export declare const $WorkflowTemplate: {
4644
3883
  readonly minItems: 1;
4645
3884
  readonly type: 'array';
4646
3885
  readonly items: {
4647
- readonly $ref: '#/components/schemas/WorkflowStepTemplate';
3886
+ readonly oneOf: readonly [
3887
+ {
3888
+ readonly $ref: '#/components/schemas/AgeClassificationStepTemplate';
3889
+ },
3890
+ {
3891
+ readonly $ref: '#/components/schemas/ComfyStepTemplate';
3892
+ },
3893
+ {
3894
+ readonly $ref: '#/components/schemas/EchoStepTemplate';
3895
+ },
3896
+ {
3897
+ readonly $ref: '#/components/schemas/ImageResourceTrainingStepTemplate';
3898
+ },
3899
+ {
3900
+ readonly $ref: '#/components/schemas/ImageUploadStepTemplate';
3901
+ },
3902
+ {
3903
+ readonly $ref: '#/components/schemas/TextToImageStepTemplate';
3904
+ },
3905
+ {
3906
+ readonly $ref: '#/components/schemas/VideoGenStepTemplate';
3907
+ },
3908
+ ];
3909
+ readonly description: 'Details of a workflow step template.';
4648
3910
  };
4649
3911
  readonly description: 'An array of steps that compose this workflow.';
4650
3912
  };