@civitai/client 0.1.9-beta.15 → 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.
Files changed (38) hide show
  1. package/dist/client/CivitaiClient.js +3 -1
  2. package/dist/generated/schemas.gen.d.ts +430 -863
  3. package/dist/generated/schemas.gen.js +424 -847
  4. package/dist/generated/services.gen.d.ts +98 -12
  5. package/dist/generated/services.gen.js +94 -9
  6. package/dist/generated/types.gen.d.ts +459 -305
  7. package/dist/generated/types.gen.js +43 -43
  8. package/package.json +1 -1
  9. package/dist/client/RequestsClient.d.ts +0 -0
  10. package/dist/client/RequestsClient.js +0 -58
  11. package/dist/generated/GeneratedClient.d.ts +0 -22
  12. package/dist/generated/GeneratedClient.js +0 -40
  13. package/dist/generated/core/ApiError.d.ts +0 -10
  14. package/dist/generated/core/ApiError.js +0 -15
  15. package/dist/generated/core/ApiRequestOptions.d.ts +0 -13
  16. package/dist/generated/core/ApiRequestOptions.js +0 -2
  17. package/dist/generated/core/ApiResult.d.ts +0 -7
  18. package/dist/generated/core/ApiResult.js +0 -2
  19. package/dist/generated/core/AxiosHttpRequest.d.ts +0 -14
  20. package/dist/generated/core/AxiosHttpRequest.js +0 -20
  21. package/dist/generated/core/BaseHttpRequest.d.ts +0 -8
  22. package/dist/generated/core/BaseHttpRequest.js +0 -9
  23. package/dist/generated/core/CancelablePromise.d.ts +0 -37
  24. package/dist/generated/core/CancelablePromise.js +0 -93
  25. package/dist/generated/core/FetchHttpRequest.d.ts +0 -14
  26. package/dist/generated/core/FetchHttpRequest.js +0 -20
  27. package/dist/generated/core/OpenAPI.d.ts +0 -27
  28. package/dist/generated/core/OpenAPI.js +0 -33
  29. package/dist/generated/core/request.d.ts +0 -49
  30. package/dist/generated/core/request.js +0 -325
  31. package/dist/generated/enums.gen.d.ts +0 -97
  32. package/dist/generated/enums.gen.js +0 -101
  33. package/dist/utils/CivitaiClientError.d.ts +0 -0
  34. package/dist/utils/CivitaiClientError.js +0 -4
  35. package/dist/utils/CivitaiError.d.ts +0 -5
  36. package/dist/utils/CivitaiError.js +0 -13
  37. package/dist/utils/createClient.d.ts +0 -1
  38. package/dist/utils/createClient.js +0 -119
@@ -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,6 +353,83 @@ export declare const $ComfyStepTemplate: {
556
353
  readonly type: 'string';
557
354
  };
558
355
  };
356
+ readonly description: 'Comfy workflows';
357
+ };
358
+ export declare const $ComfyVideoGenJob: {
359
+ readonly required: readonly ['$type'];
360
+ readonly allOf: readonly [
361
+ {
362
+ readonly $ref: '#/components/schemas/Job';
363
+ },
364
+ {
365
+ readonly required: readonly ['destinationUrl', 'model', 'prompt'];
366
+ readonly type: 'object';
367
+ readonly properties: {
368
+ readonly model: {
369
+ 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_\\-]+))?$';
370
+ readonly type: 'string';
371
+ };
372
+ readonly prompt: {
373
+ readonly type: 'string';
374
+ };
375
+ readonly negativePrompt: {
376
+ readonly type: 'string';
377
+ readonly nullable: true;
378
+ };
379
+ readonly cfgScale: {
380
+ readonly type: 'number';
381
+ readonly format: 'double';
382
+ };
383
+ readonly destinationUrl: {
384
+ readonly type: 'string';
385
+ readonly format: 'uri';
386
+ };
387
+ readonly sampler: {
388
+ readonly type: 'string';
389
+ };
390
+ readonly width: {
391
+ readonly type: 'integer';
392
+ readonly format: 'int32';
393
+ };
394
+ readonly height: {
395
+ readonly type: 'integer';
396
+ readonly format: 'int32';
397
+ };
398
+ readonly frameRate: {
399
+ readonly type: 'integer';
400
+ readonly format: 'int32';
401
+ };
402
+ readonly length: {
403
+ readonly type: 'integer';
404
+ readonly format: 'int32';
405
+ };
406
+ readonly seed: {
407
+ readonly type: 'integer';
408
+ readonly format: 'int64';
409
+ };
410
+ readonly steps: {
411
+ readonly type: 'integer';
412
+ readonly format: 'int32';
413
+ };
414
+ readonly claimDuration: {
415
+ readonly type: 'string';
416
+ readonly format: 'date-span';
417
+ readonly readOnly: true;
418
+ };
419
+ readonly type: {
420
+ readonly type: 'string';
421
+ readonly readOnly: true;
422
+ };
423
+ };
424
+ readonly additionalProperties: false;
425
+ },
426
+ ];
427
+ readonly properties: {
428
+ readonly $type: {
429
+ readonly enum: readonly ['comfyVideoGen'];
430
+ readonly type: 'string';
431
+ };
432
+ };
559
433
  };
560
434
  export declare const $ConfigurationOptions: {
561
435
  readonly required: readonly ['selector', 'spec'];
@@ -708,7 +582,7 @@ export declare const $EchoStep: {
708
582
  readonly type: 'string';
709
583
  };
710
584
  };
711
- readonly description: 'A workflow step that takes a message string and retuns it.';
585
+ readonly description: 'Echo';
712
586
  };
713
587
  export declare const $EchoStepTemplate: {
714
588
  readonly required: readonly ['$type'];
@@ -733,6 +607,7 @@ export declare const $EchoStepTemplate: {
733
607
  readonly type: 'string';
734
608
  };
735
609
  };
610
+ readonly description: 'Echo';
736
611
  };
737
612
  export declare const $EcosystemElement: {
738
613
  readonly type: 'object';
@@ -801,30 +676,6 @@ export declare const $FluxDevFastImageResourceTrainingInput: {
801
676
  };
802
677
  };
803
678
  };
804
- export declare const $GateJob: {
805
- readonly required: readonly ['$type'];
806
- readonly allOf: readonly [
807
- {
808
- readonly $ref: '#/components/schemas/Job';
809
- },
810
- {
811
- readonly type: 'object';
812
- readonly properties: {
813
- readonly type: {
814
- readonly type: 'string';
815
- readonly readOnly: true;
816
- };
817
- };
818
- readonly additionalProperties: false;
819
- },
820
- ];
821
- readonly properties: {
822
- readonly $type: {
823
- readonly enum: readonly ['gate'];
824
- readonly type: 'string';
825
- };
826
- };
827
- };
828
679
  export declare const $HaiperVideoGenAspectRatio: {
829
680
  readonly enum: readonly ['16:9', '4:3', '1:1', '9:16', '3:4'];
830
681
  readonly type: 'string';
@@ -864,285 +715,105 @@ export declare const $HaiperVideoGenInput: {
864
715
  readonly format: 'int64';
865
716
  };
866
717
  readonly duration: {
718
+ readonly enum: readonly [2, 4, 8];
867
719
  readonly type: 'integer';
868
720
  readonly format: 'int32';
869
721
  };
870
722
  readonly aspectRatio: {
871
723
  readonly $ref: '#/components/schemas/HaiperVideoGenAspectRatio';
872
724
  };
873
- readonly sourceImageUrl: {
874
- readonly type: 'string';
875
- readonly format: 'uri';
876
- readonly nullable: true;
877
- };
878
725
  readonly model: {
879
726
  readonly $ref: '#/components/schemas/HaiperVideoGenModel';
880
727
  };
881
728
  readonly resolution: {
729
+ readonly enum: readonly [720, 1080, 2160];
882
730
  readonly type: 'integer';
883
731
  readonly format: 'int32';
884
732
  };
885
733
  readonly enablePromptEnhancer: {
886
734
  readonly type: 'boolean';
887
735
  };
888
- };
889
- readonly additionalProperties: false;
890
- },
891
- ];
892
- readonly properties: {
893
- readonly engine: {
894
- readonly enum: readonly ['haiper'];
895
- readonly type: 'string';
896
- };
897
- };
898
- };
899
- export declare const $HaiperVideoGenJob: {
900
- readonly required: readonly ['$type'];
901
- readonly allOf: readonly [
902
- {
903
- readonly $ref: '#/components/schemas/Job';
904
- },
905
- {
906
- readonly required: readonly ['destinationUrl', 'mediaHash', 'prompt'];
907
- readonly type: 'object';
908
- readonly properties: {
909
- readonly mediaHash: {
910
- readonly type: 'string';
911
- };
912
- readonly prompt: {
913
- readonly type: 'string';
914
- };
915
- readonly negativePrompt: {
916
- readonly type: 'string';
917
- readonly nullable: true;
918
- };
919
- readonly cameraMovement: {
920
- readonly $ref: '#/components/schemas/HaiperVideoGenCameraMovement';
921
- };
922
- readonly seed: {
923
- readonly maximum: 4294967295;
924
- readonly minimum: -1;
925
- readonly type: 'integer';
926
- readonly format: 'int64';
927
- };
928
- readonly duration: {
929
- readonly type: 'integer';
930
- readonly format: 'int32';
931
- };
932
- readonly aspectRatio: {
933
- readonly $ref: '#/components/schemas/HaiperVideoGenAspectRatio';
934
- };
935
- readonly destinationUrl: {
936
- readonly type: 'string';
937
- readonly format: 'uri';
938
- };
939
- readonly sourceImageUrl: {
940
- readonly type: 'string';
941
- readonly format: 'uri';
942
- readonly nullable: true;
943
- };
944
- readonly model: {
945
- readonly $ref: '#/components/schemas/HaiperVideoGenModel';
946
- };
947
- readonly resolution: {
948
- readonly type: 'integer';
949
- readonly format: 'int32';
950
- };
951
- readonly enablePromptEnhancer: {
952
- readonly type: 'boolean';
953
- };
954
- readonly claimDuration: {
955
- readonly type: 'string';
956
- readonly format: 'date-span';
957
- readonly readOnly: true;
958
- };
959
- readonly type: {
960
- readonly type: 'string';
961
- readonly readOnly: true;
962
- };
963
- };
964
- readonly additionalProperties: false;
965
- },
966
- ];
967
- readonly properties: {
968
- readonly $type: {
969
- readonly enum: readonly ['haiper'];
970
- readonly type: 'string';
971
- };
972
- };
973
- };
974
- export declare const $HaiperVideoGenModel: {
975
- readonly enum: readonly ['v1_5', 'v2'];
976
- readonly type: 'string';
977
- };
978
- export declare const $HaiperVideoGenOutput: {
979
- readonly allOf: readonly [
980
- {
981
- readonly $ref: '#/components/schemas/VideoGenOutput';
982
- },
983
- {
984
- readonly type: 'object';
985
- readonly properties: {
986
- readonly progress: {
987
- readonly type: 'number';
988
- readonly format: 'double';
989
- readonly nullable: true;
990
- };
991
- readonly externalTOSViolation: {
992
- readonly type: 'boolean';
993
- readonly nullable: true;
994
- };
995
- };
996
- readonly additionalProperties: false;
997
- },
998
- ];
999
- };
1000
- export declare const $HumanoidImageMaskCategory: {
1001
- readonly enum: readonly ['dresses', 'upperBody', 'lowerBody'];
1002
- readonly type: 'string';
1003
- };
1004
- export declare const $HumanoidImageMaskInput: {
1005
- readonly required: readonly ['category', 'imageUrl'];
1006
- readonly type: 'object';
1007
- readonly properties: {
1008
- readonly imageUrl: {
1009
- readonly type: 'string';
1010
- readonly format: 'uri';
1011
- };
1012
- readonly category: {
1013
- readonly $ref: '#/components/schemas/HumanoidImageMaskCategory';
1014
- };
1015
- };
1016
- readonly additionalProperties: false;
1017
- };
1018
- export declare const $HumanoidImageMaskJob: {
1019
- readonly required: readonly ['$type'];
1020
- readonly allOf: readonly [
1021
- {
1022
- readonly $ref: '#/components/schemas/Job';
1023
- },
1024
- {
1025
- readonly required: readonly ['category', 'destinationBlobKey', 'imageUrl'];
1026
- readonly type: 'object';
1027
- readonly properties: {
1028
- readonly imageUrl: {
1029
- readonly type: 'string';
1030
- readonly format: 'uri';
1031
- };
1032
- readonly category: {
1033
- readonly $ref: '#/components/schemas/HumanoidImageMaskCategory';
1034
- };
1035
- readonly destinationBlobKey: {
1036
- readonly type: 'string';
1037
- };
1038
- readonly type: {
1039
- readonly type: 'string';
1040
- readonly readOnly: true;
1041
- };
1042
- readonly claimDuration: {
1043
- readonly type: 'string';
1044
- readonly format: 'date-span';
1045
- readonly readOnly: true;
1046
- };
1047
- };
1048
- readonly additionalProperties: false;
1049
- },
1050
- ];
1051
- readonly properties: {
1052
- readonly $type: {
1053
- readonly enum: readonly ['humanoidImageMask'];
1054
- readonly type: 'string';
1055
- };
1056
- };
1057
- };
1058
- export declare const $HumanoidImageMaskOutput: {
1059
- readonly required: readonly ['blob'];
1060
- readonly type: 'object';
1061
- readonly properties: {
1062
- readonly blob: {
1063
- readonly $ref: '#/components/schemas/Blob';
1064
- };
1065
- };
1066
- readonly additionalProperties: false;
1067
- };
1068
- export declare const $HumanoidImageMaskStep: {
1069
- readonly required: readonly ['$type'];
1070
- readonly allOf: readonly [
1071
- {
1072
- readonly $ref: '#/components/schemas/WorkflowStep';
1073
- },
1074
- {
1075
- readonly required: readonly ['input'];
1076
- readonly type: 'object';
1077
- readonly properties: {
1078
- readonly input: {
1079
- readonly $ref: '#/components/schemas/HumanoidImageMaskInput';
1080
- };
1081
- readonly output: {
1082
- readonly $ref: '#/components/schemas/HumanoidImageMaskOutput';
736
+ readonly sourceImage: {
737
+ readonly type: 'string';
738
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
739
+ readonly nullable: true;
1083
740
  };
1084
741
  };
1085
742
  readonly additionalProperties: false;
1086
743
  },
1087
744
  ];
1088
745
  readonly properties: {
1089
- readonly $type: {
1090
- readonly enum: readonly ['humanoidImageMask'];
746
+ readonly engine: {
747
+ readonly enum: readonly ['haiper'];
1091
748
  readonly type: 'string';
1092
749
  };
1093
750
  };
1094
751
  };
1095
- export declare const $HumanoidImageMaskStepTemplate: {
1096
- 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: {
1097
757
  readonly allOf: readonly [
1098
758
  {
1099
- readonly $ref: '#/components/schemas/WorkflowStepTemplate';
759
+ readonly $ref: '#/components/schemas/VideoGenOutput';
1100
760
  },
1101
761
  {
1102
- readonly required: readonly ['input'];
1103
762
  readonly type: 'object';
1104
763
  readonly properties: {
1105
- readonly input: {
1106
- readonly $ref: '#/components/schemas/HumanoidImageMaskInput';
764
+ readonly progress: {
765
+ readonly type: 'number';
766
+ readonly format: 'double';
767
+ readonly nullable: true;
768
+ };
769
+ readonly externalTOSViolation: {
770
+ readonly type: 'boolean';
771
+ readonly nullable: true;
772
+ };
773
+ readonly message: {
774
+ readonly type: 'string';
775
+ readonly nullable: true;
1107
776
  };
1108
777
  };
1109
778
  readonly additionalProperties: false;
1110
779
  },
1111
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';
1112
789
  readonly properties: {
1113
- readonly $type: {
1114
- readonly enum: readonly ['humanoidImageMask'];
790
+ readonly imageUrl: {
1115
791
  readonly type: 'string';
792
+ readonly format: 'uri';
793
+ };
794
+ readonly category: {
795
+ readonly $ref: '#/components/schemas/HumanoidImageMaskCategory';
1116
796
  };
1117
797
  };
798
+ readonly additionalProperties: false;
1118
799
  };
1119
- export declare const $ImageEmbeddingJob: {
1120
- readonly required: readonly ['$type'];
1121
- readonly allOf: readonly [
1122
- {
1123
- readonly $ref: '#/components/schemas/Job';
1124
- },
1125
- {
1126
- readonly required: readonly ['imageUrl'];
1127
- readonly type: 'object';
1128
- readonly properties: {
1129
- readonly imageUrl: {
1130
- readonly type: 'string';
1131
- };
1132
- readonly type: {
1133
- readonly type: 'string';
1134
- readonly readOnly: true;
1135
- };
1136
- };
1137
- readonly additionalProperties: false;
1138
- },
1139
- ];
800
+ export declare const $HumanoidImageMaskOutput: {
801
+ readonly required: readonly ['blob'];
802
+ readonly type: 'object';
1140
803
  readonly properties: {
1141
- readonly $type: {
1142
- readonly enum: readonly ['imageEmbedding'];
1143
- readonly type: 'string';
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';
1144
814
  };
1145
815
  };
816
+ readonly additionalProperties: false;
1146
817
  };
1147
818
  export declare const $ImageJobControlNet: {
1148
819
  readonly type: 'object';
@@ -1411,7 +1082,15 @@ export declare const $ImageResourceTrainingStep: {
1411
1082
  readonly type: 'object';
1412
1083
  readonly properties: {
1413
1084
  readonly input: {
1414
- 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.";
1415
1094
  };
1416
1095
  readonly output: {
1417
1096
  readonly $ref: '#/components/schemas/ImageResourceTrainingOutput';
@@ -1426,7 +1105,7 @@ export declare const $ImageResourceTrainingStep: {
1426
1105
  readonly type: 'string';
1427
1106
  };
1428
1107
  };
1429
- readonly description: 'A workflow step for training image resources.';
1108
+ readonly description: 'LORA Training';
1430
1109
  };
1431
1110
  export declare const $ImageResourceTrainingStepTemplate: {
1432
1111
  readonly required: readonly ['$type'];
@@ -1439,7 +1118,16 @@ export declare const $ImageResourceTrainingStepTemplate: {
1439
1118
  readonly type: 'object';
1440
1119
  readonly properties: {
1441
1120
  readonly input: {
1442
- 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;
1443
1131
  };
1444
1132
  };
1445
1133
  readonly additionalProperties: false;
@@ -1451,58 +1139,86 @@ export declare const $ImageResourceTrainingStepTemplate: {
1451
1139
  readonly type: 'string';
1452
1140
  };
1453
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;
1454
1166
  };
1455
- export declare const $ImageTransformJob: {
1167
+ export declare const $ImageUploadStep: {
1456
1168
  readonly required: readonly ['$type'];
1457
1169
  readonly allOf: readonly [
1458
1170
  {
1459
- readonly $ref: '#/components/schemas/Job';
1171
+ readonly $ref: '#/components/schemas/WorkflowStep';
1460
1172
  },
1461
1173
  {
1174
+ readonly required: readonly ['input'];
1462
1175
  readonly type: 'object';
1463
1176
  readonly properties: {
1464
- readonly imageUrl: {
1465
- readonly type: 'string';
1466
- readonly description: 'The url of the image to transform';
1467
- readonly format: 'uri';
1468
- };
1469
- readonly transformer: {
1470
- readonly $ref: '#/components/schemas/ImageTransformer';
1471
- };
1472
- readonly destinationBlobKey: {
1177
+ readonly input: {
1473
1178
  readonly type: 'string';
1474
- readonly description: 'Get the key of the destination blob to upload the result to';
1179
+ readonly description: "The workflow's input.";
1475
1180
  };
1476
- readonly params: {
1477
- readonly type: 'object';
1478
- readonly additionalProperties: {};
1479
- readonly description: 'A untyped set of parameters that are associated with this job';
1181
+ readonly output: {
1182
+ readonly $ref: '#/components/schemas/ImageUploadOutput';
1480
1183
  };
1481
- 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: {
1482
1207
  readonly type: 'string';
1483
- readonly description: 'Get or set the URL where the transformed image will be uploaded to';
1484
- readonly format: 'uri';
1208
+ readonly description: 'Input for the ImageUploadStep step.';
1485
1209
  readonly nullable: true;
1486
1210
  };
1487
- readonly type: {
1488
- readonly type: 'string';
1489
- readonly readOnly: true;
1490
- };
1491
1211
  };
1492
1212
  readonly additionalProperties: false;
1493
1213
  },
1494
1214
  ];
1495
1215
  readonly properties: {
1496
1216
  readonly $type: {
1497
- readonly enum: readonly ['imageTransform'];
1217
+ readonly enum: readonly ['imageUpload'];
1498
1218
  readonly type: 'string';
1499
1219
  };
1500
1220
  };
1501
- };
1502
- export declare const $ImageTransformer: {
1503
- readonly enum: readonly ['canny', 'depthZoe', 'softedgePidinet', 'rembg'];
1504
- readonly type: 'string';
1505
- readonly description: 'Available image transformers.';
1221
+ readonly description: 'Image upload';
1506
1222
  };
1507
1223
  export declare const $Job: {
1508
1224
  readonly required: readonly ['$type'];
@@ -1603,22 +1319,10 @@ export declare const $Job: {
1603
1319
  readonly mapping: {
1604
1320
  readonly textToImage: '#/components/schemas/TextToImageJob';
1605
1321
  readonly imageResourceTraining: '#/components/schemas/ImageResourceTrainingJob';
1606
- readonly imageTransform: '#/components/schemas/ImageTransformJob';
1607
- readonly movieRating: '#/components/schemas/MovieRatingJob';
1608
- readonly wdTagging: '#/components/schemas/WDTaggingJob';
1609
- readonly mediaTagging: '#/components/schemas/MediaTaggingJob';
1610
- readonly comfy: '#/components/schemas/ComfyJob';
1611
- readonly imageEmbedding: '#/components/schemas/ImageEmbeddingJob';
1612
1322
  readonly similaritySearch: '#/components/schemas/SimilaritySearchJob';
1613
1323
  readonly llmPromptAugmentation: '#/components/schemas/LLMPromptAugmentationJob';
1614
- readonly humanoidImageMask: '#/components/schemas/HumanoidImageMaskJob';
1615
- readonly tryOnU: '#/components/schemas/TryOnUJob';
1616
- readonly mediaCaptioning: '#/components/schemas/MediaCaptioningJob';
1617
- readonly ageClassification: '#/components/schemas/AgeClassificationJob';
1618
- readonly batchOCRSafetyClassification: '#/components/schemas/BatchOCRSafetyClassificationJob';
1619
- readonly gate: '#/components/schemas/GateJob';
1620
- readonly haiper: '#/components/schemas/HaiperVideoGenJob';
1621
1324
  readonly mochi: '#/components/schemas/MochiVideoGenJob';
1325
+ readonly comfyVideoGen: '#/components/schemas/ComfyVideoGenJob';
1622
1326
  };
1623
1327
  };
1624
1328
  };
@@ -1819,6 +1523,11 @@ export declare const $KlingVideoGenInput: {
1819
1523
  readonly format: 'uri';
1820
1524
  readonly nullable: true;
1821
1525
  };
1526
+ readonly sourceImage: {
1527
+ readonly type: 'string';
1528
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
1529
+ readonly nullable: true;
1530
+ };
1822
1531
  };
1823
1532
  readonly additionalProperties: false;
1824
1533
  },
@@ -1918,6 +1627,7 @@ export declare const $KohyaImageResourceTrainingInput: {
1918
1627
  readonly default: 0.00005;
1919
1628
  };
1920
1629
  readonly lrScheduler: {
1630
+ readonly enum: readonly ['constant', 'cosine', 'cosine_with_restarts', 'linear'];
1921
1631
  readonly type: 'string';
1922
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.';
1923
1633
  readonly nullable: true;
@@ -2036,83 +1746,67 @@ export declare const $LLMPromptAugmentationJob: {
2036
1746
  };
2037
1747
  };
2038
1748
  };
2039
- export declare const $MediaCaptioningJob: {
2040
- readonly required: readonly ['$type'];
1749
+ export declare const $LightricksAspectRatio: {
1750
+ readonly enum: readonly ['square', 'landscape', 'portrait'];
1751
+ readonly type: 'string';
1752
+ };
1753
+ export declare const $LightricksVideoGenInput: {
1754
+ readonly required: readonly ['engine'];
2041
1755
  readonly allOf: readonly [
2042
1756
  {
2043
- readonly $ref: '#/components/schemas/Job';
1757
+ readonly $ref: '#/components/schemas/VideoGenInput';
2044
1758
  },
2045
1759
  {
2046
- readonly required: readonly ['mediaUrl', 'model'];
2047
1760
  readonly type: 'object';
2048
1761
  readonly properties: {
2049
- readonly model: {
2050
- readonly type: 'string';
2051
- };
2052
- readonly modelId: {
2053
- readonly type: 'integer';
2054
- readonly format: 'int32';
2055
- };
2056
- readonly mediaUrl: {
1762
+ readonly negativePrompt: {
2057
1763
  readonly type: 'string';
2058
- readonly format: 'uri';
1764
+ readonly nullable: true;
2059
1765
  };
2060
- readonly temperature: {
1766
+ readonly cfgScale: {
1767
+ readonly maximum: 100;
1768
+ readonly minimum: 0;
2061
1769
  readonly type: 'number';
2062
1770
  readonly format: 'double';
1771
+ readonly default: 4;
1772
+ };
1773
+ readonly aspectRatio: {
1774
+ readonly $ref: '#/components/schemas/LightricksAspectRatio';
2063
1775
  };
2064
- readonly maxNewTokens: {
1776
+ readonly frameRate: {
2065
1777
  readonly type: 'integer';
2066
1778
  readonly format: 'int32';
1779
+ readonly default: 25;
2067
1780
  };
2068
- readonly type: {
2069
- readonly type: 'string';
2070
- readonly readOnly: true;
2071
- };
2072
- readonly claimDuration: {
2073
- readonly type: 'string';
2074
- readonly format: 'date-span';
2075
- readonly readOnly: true;
1781
+ readonly duration: {
1782
+ readonly maximum: 30;
1783
+ readonly minimum: 1;
1784
+ readonly type: 'integer';
1785
+ readonly format: 'int32';
1786
+ readonly default: 5;
2076
1787
  };
2077
- };
2078
- readonly additionalProperties: false;
2079
- },
2080
- ];
2081
- readonly properties: {
2082
- readonly $type: {
2083
- readonly enum: readonly ['mediaCaptioning'];
2084
- readonly type: 'string';
2085
- };
2086
- };
2087
- };
2088
- export declare const $MediaTaggingJob: {
2089
- readonly required: readonly ['$type'];
2090
- readonly allOf: readonly [
2091
- {
2092
- readonly $ref: '#/components/schemas/Job';
2093
- },
2094
- {
2095
- readonly type: 'object';
2096
- readonly properties: {
2097
- readonly modelId: {
1788
+ readonly seed: {
2098
1789
  readonly type: 'integer';
2099
1790
  readonly format: 'int32';
1791
+ readonly nullable: true;
2100
1792
  };
2101
- readonly mediaUrl: {
2102
- readonly type: 'string';
2103
- readonly format: 'uri';
1793
+ readonly steps: {
1794
+ readonly maximum: 50;
1795
+ readonly minimum: 10;
1796
+ readonly type: 'integer';
1797
+ readonly format: 'int32';
1798
+ readonly default: 20;
2104
1799
  };
2105
- readonly type: {
2106
- readonly type: 'string';
2107
- readonly readOnly: true;
1800
+ readonly resolution: {
1801
+ readonly $ref: '#/components/schemas/ValueTupleOfInt32AndInt32';
2108
1802
  };
2109
1803
  };
2110
1804
  readonly additionalProperties: false;
2111
1805
  },
2112
1806
  ];
2113
1807
  readonly properties: {
2114
- readonly $type: {
2115
- readonly enum: readonly ['mediaTagging'];
1808
+ readonly engine: {
1809
+ readonly enum: readonly ['lightricks'];
2116
1810
  readonly type: 'string';
2117
1811
  };
2118
1812
  };
@@ -2132,9 +1826,9 @@ export declare const $MiniMaxVideoGenInput: {
2132
1826
  readonly enablePromptEnhancer: {
2133
1827
  readonly type: 'boolean';
2134
1828
  };
2135
- readonly sourceImageUrl: {
1829
+ readonly sourceImage: {
2136
1830
  readonly type: 'string';
2137
- readonly format: 'uri';
1831
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
2138
1832
  readonly nullable: true;
2139
1833
  };
2140
1834
  };
@@ -2164,93 +1858,51 @@ export declare const $MochiVideoGenInput: {
2164
1858
  readonly seed: {
2165
1859
  readonly maximum: 2147483647;
2166
1860
  readonly minimum: -1;
2167
- readonly type: 'integer';
2168
- readonly format: 'int64';
2169
- };
2170
- readonly enablePromptEnhancer: {
2171
- readonly type: 'boolean';
2172
- };
2173
- };
2174
- readonly additionalProperties: false;
2175
- },
2176
- ];
2177
- readonly properties: {
2178
- readonly engine: {
2179
- readonly enum: readonly ['mochi'];
2180
- readonly type: 'string';
2181
- };
2182
- };
2183
- };
2184
- export declare const $MochiVideoGenJob: {
2185
- readonly required: readonly ['$type'];
2186
- readonly allOf: readonly [
2187
- {
2188
- readonly $ref: '#/components/schemas/Job';
2189
- },
2190
- {
2191
- readonly required: readonly ['destinationUrl', 'mediaHash', 'prompt'];
2192
- readonly type: 'object';
2193
- readonly properties: {
2194
- readonly prompt: {
2195
- readonly type: 'string';
2196
- };
2197
- readonly seed: {
2198
- readonly maximum: 4294967295;
2199
- readonly minimum: -1;
2200
- readonly type: 'integer';
2201
- readonly format: 'int64';
2202
- };
2203
- readonly mediaHash: {
2204
- readonly type: 'string';
2205
- };
2206
- readonly destinationUrl: {
2207
- readonly type: 'string';
2208
- readonly format: 'uri';
2209
- };
2210
- readonly enablePromptEnhancer: {
2211
- readonly type: 'boolean';
2212
- };
2213
- readonly type: {
2214
- readonly type: 'string';
2215
- readonly readOnly: true;
2216
- };
2217
- readonly claimDuration: {
2218
- readonly type: 'string';
2219
- readonly format: 'date-span';
2220
- readonly readOnly: true;
1861
+ readonly type: 'integer';
1862
+ readonly format: 'int64';
1863
+ };
1864
+ readonly enablePromptEnhancer: {
1865
+ readonly type: 'boolean';
2221
1866
  };
2222
1867
  };
2223
1868
  readonly additionalProperties: false;
2224
1869
  },
2225
1870
  ];
2226
1871
  readonly properties: {
2227
- readonly $type: {
1872
+ readonly engine: {
2228
1873
  readonly enum: readonly ['mochi'];
2229
1874
  readonly type: 'string';
2230
1875
  };
2231
1876
  };
2232
1877
  };
2233
- export declare const $MovieRatingJob: {
1878
+ export declare const $MochiVideoGenJob: {
2234
1879
  readonly required: readonly ['$type'];
2235
1880
  readonly allOf: readonly [
2236
1881
  {
2237
1882
  readonly $ref: '#/components/schemas/Job';
2238
1883
  },
2239
1884
  {
1885
+ readonly required: readonly ['destinationUrl', 'mediaHash', 'prompt'];
2240
1886
  readonly type: 'object';
2241
1887
  readonly properties: {
2242
- readonly mediaUrl: {
1888
+ readonly prompt: {
2243
1889
  readonly type: 'string';
2244
- readonly format: 'uri';
2245
1890
  };
2246
- readonly model: {
2247
- 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_\\-]+))?$';
1891
+ readonly seed: {
1892
+ readonly maximum: 4294967295;
1893
+ readonly minimum: -1;
1894
+ readonly type: 'integer';
1895
+ readonly format: 'int64';
1896
+ };
1897
+ readonly mediaHash: {
2248
1898
  readonly type: 'string';
2249
- readonly nullable: true;
2250
1899
  };
2251
- readonly blobKey: {
1900
+ readonly destinationUrl: {
2252
1901
  readonly type: 'string';
2253
- readonly nullable: true;
1902
+ readonly format: 'uri';
1903
+ };
1904
+ readonly enablePromptEnhancer: {
1905
+ readonly type: 'boolean';
2254
1906
  };
2255
1907
  readonly type: {
2256
1908
  readonly type: 'string';
@@ -2267,7 +1919,7 @@ export declare const $MovieRatingJob: {
2267
1919
  ];
2268
1920
  readonly properties: {
2269
1921
  readonly $type: {
2270
- readonly enum: readonly ['movieRating'];
1922
+ readonly enum: readonly ['mochi'];
2271
1923
  readonly type: 'string';
2272
1924
  };
2273
1925
  };
@@ -2551,7 +2203,7 @@ export declare const $Subscription: {
2551
2203
  readonly description: 'A subscription for pushed based notifications.';
2552
2204
  };
2553
2205
  export declare const $TextToImageInput: {
2554
- readonly required: readonly ['height', 'model', 'prompt', 'width'];
2206
+ readonly required: readonly ['height', 'prompt', 'width'];
2555
2207
  readonly type: 'object';
2556
2208
  readonly properties: {
2557
2209
  readonly quantity: {
@@ -2566,7 +2218,7 @@ export declare const $TextToImageInput: {
2566
2218
  readonly maximum: 100;
2567
2219
  readonly minimum: 1;
2568
2220
  readonly type: 'integer';
2569
- readonly description: 'The size of each batch.D';
2221
+ readonly description: 'The size of each batch';
2570
2222
  readonly format: 'int32';
2571
2223
  readonly default: 1;
2572
2224
  };
@@ -2574,6 +2226,7 @@ export declare const $TextToImageInput: {
2574
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_\\-]+))?$';
2575
2227
  readonly type: 'string';
2576
2228
  readonly description: 'The AIR of the checkpoint model to use for generation.';
2229
+ readonly default: 'urn:air:sd1:checkpoint:civitai:4384@128713';
2577
2230
  };
2578
2231
  readonly additionalNetworks: {
2579
2232
  readonly type: 'object';
@@ -2736,7 +2389,15 @@ export declare const $TextToImageOutput: {
2736
2389
  readonly images: {
2737
2390
  readonly type: 'array';
2738
2391
  readonly items: {
2739
- 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';
2740
2401
  };
2741
2402
  readonly description: 'A collection of output images.';
2742
2403
  };
@@ -2770,7 +2431,7 @@ export declare const $TextToImageStep: {
2770
2431
  readonly type: 'string';
2771
2432
  };
2772
2433
  };
2773
- readonly description: 'A workflow step for text to image generations.';
2434
+ readonly description: 'TextToImage';
2774
2435
  };
2775
2436
  export declare const $TextToImageStepTemplate: {
2776
2437
  readonly required: readonly ['$type'];
@@ -2795,6 +2456,7 @@ export declare const $TextToImageStepTemplate: {
2795
2456
  readonly type: 'string';
2796
2457
  };
2797
2458
  };
2459
+ readonly description: 'TextToImage';
2798
2460
  };
2799
2461
  export declare const $TransactionInfo: {
2800
2462
  readonly required: readonly ['amount', 'type'];
@@ -2919,30 +2581,9 @@ export declare const $TranscodeStep: {
2919
2581
  readonly type: 'string';
2920
2582
  };
2921
2583
  };
2922
- };
2923
- export declare const $TranscodeStepTemplate: {
2924
- readonly required: readonly ['$type'];
2925
- readonly allOf: readonly [
2926
- {
2927
- readonly $ref: '#/components/schemas/WorkflowStepTemplate';
2928
- },
2929
- {
2930
- readonly required: readonly ['input'];
2931
- readonly type: 'object';
2932
- readonly properties: {
2933
- readonly input: {
2934
- readonly $ref: '#/components/schemas/TranscodeInput';
2935
- };
2936
- };
2937
- readonly additionalProperties: false;
2938
- },
2939
- ];
2940
- readonly properties: {
2941
- readonly $type: {
2942
- readonly enum: readonly ['transcode'];
2943
- readonly type: 'string';
2944
- };
2945
- };
2584
+ readonly description: 'Transcoding';
2585
+ readonly 'x-preview': true;
2586
+ readonly 'x-internal': true;
2946
2587
  };
2947
2588
  export declare const $TryOnUInput: {
2948
2589
  readonly required: readonly ['garmentUrl', 'subjectUrl'];
@@ -2983,135 +2624,24 @@ export declare const $TryOnUInput: {
2983
2624
  };
2984
2625
  readonly additionalProperties: false;
2985
2626
  };
2986
- export declare const $TryOnUJob: {
2987
- readonly required: readonly ['$type'];
2988
- readonly allOf: readonly [
2989
- {
2990
- readonly $ref: '#/components/schemas/Job';
2991
- },
2992
- {
2993
- readonly required: readonly [
2994
- 'destinationBlobKey',
2995
- 'garmentUrl',
2996
- 'subjectMaskUrl',
2997
- 'subjectUrl',
2998
- ];
2999
- readonly type: 'object';
3000
- readonly properties: {
3001
- readonly subjectUrl: {
3002
- readonly type: 'string';
3003
- readonly format: 'uri';
3004
- };
3005
- readonly garmentUrl: {
3006
- readonly type: 'string';
3007
- readonly format: 'uri';
3008
- };
3009
- readonly subjectMaskUrl: {
3010
- readonly type: 'string';
3011
- readonly format: 'uri';
3012
- };
3013
- readonly garmentDescription: {
3014
- readonly type: 'string';
3015
- readonly nullable: true;
3016
- };
3017
- readonly maskSubject: {
3018
- readonly type: 'boolean';
3019
- };
3020
- readonly cropSubject: {
3021
- readonly type: 'boolean';
3022
- };
3023
- readonly steps: {
3024
- readonly type: 'integer';
3025
- readonly format: 'int32';
3026
- };
3027
- readonly seed: {
3028
- readonly type: 'integer';
3029
- readonly format: 'int32';
3030
- };
3031
- readonly destinationBlobKey: {
3032
- readonly type: 'string';
3033
- };
3034
- readonly type: {
3035
- readonly type: 'string';
3036
- readonly readOnly: true;
3037
- };
3038
- readonly claimDuration: {
3039
- readonly type: 'string';
3040
- readonly format: 'date-span';
3041
- readonly readOnly: true;
3042
- };
3043
- };
3044
- readonly additionalProperties: false;
3045
- },
3046
- ];
3047
- readonly properties: {
3048
- readonly $type: {
3049
- readonly enum: readonly ['tryOnU'];
3050
- readonly type: 'string';
3051
- };
3052
- };
3053
- };
3054
2627
  export declare const $TryOnUOutput: {
3055
2628
  readonly required: readonly ['blob'];
3056
2629
  readonly type: 'object';
3057
2630
  readonly properties: {
3058
2631
  readonly blob: {
3059
- 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';
3060
2641
  };
3061
2642
  };
3062
2643
  readonly additionalProperties: false;
3063
2644
  };
3064
- export declare const $TryOnUStep: {
3065
- readonly required: readonly ['$type'];
3066
- readonly allOf: readonly [
3067
- {
3068
- readonly $ref: '#/components/schemas/WorkflowStep';
3069
- },
3070
- {
3071
- readonly required: readonly ['input'];
3072
- readonly type: 'object';
3073
- readonly properties: {
3074
- readonly input: {
3075
- readonly $ref: '#/components/schemas/TryOnUInput';
3076
- };
3077
- readonly output: {
3078
- readonly $ref: '#/components/schemas/TryOnUOutput';
3079
- };
3080
- };
3081
- readonly additionalProperties: false;
3082
- },
3083
- ];
3084
- readonly properties: {
3085
- readonly $type: {
3086
- readonly enum: readonly ['tryOnU'];
3087
- readonly type: 'string';
3088
- };
3089
- };
3090
- };
3091
- export declare const $TryOnUStepTemplate: {
3092
- readonly required: readonly ['$type'];
3093
- readonly allOf: readonly [
3094
- {
3095
- readonly $ref: '#/components/schemas/WorkflowStepTemplate';
3096
- },
3097
- {
3098
- readonly required: readonly ['input'];
3099
- readonly type: 'object';
3100
- readonly properties: {
3101
- readonly input: {
3102
- readonly $ref: '#/components/schemas/TryOnUInput';
3103
- };
3104
- };
3105
- readonly additionalProperties: false;
3106
- },
3107
- ];
3108
- readonly properties: {
3109
- readonly $type: {
3110
- readonly enum: readonly ['tryOnU'];
3111
- readonly type: 'string';
3112
- };
3113
- };
3114
- };
3115
2645
  export declare const $UpdateWorkflowRequest: {
3116
2646
  readonly type: 'object';
3117
2647
  readonly properties: {
@@ -3189,6 +2719,10 @@ export declare const $ValidationProblemDetails: {
3189
2719
  };
3190
2720
  readonly additionalProperties: {};
3191
2721
  };
2722
+ export declare const $ValueTupleOfInt32AndInt32: {
2723
+ readonly type: 'object';
2724
+ readonly additionalProperties: false;
2725
+ };
3192
2726
  export declare const $ValueTupleOfStringAndInt32: {
3193
2727
  readonly type: 'object';
3194
2728
  readonly additionalProperties: false;
@@ -3242,6 +2776,7 @@ export declare const $VideoGenInput: {
3242
2776
  readonly mochi: '#/components/schemas/MochiVideoGenInput';
3243
2777
  readonly kling: '#/components/schemas/KlingVideoGenInput';
3244
2778
  readonly minimax: '#/components/schemas/MiniMaxVideoGenInput';
2779
+ readonly lightricks: '#/components/schemas/LightricksVideoGenInput';
3245
2780
  };
3246
2781
  };
3247
2782
  };
@@ -3249,7 +2784,16 @@ export declare const $VideoGenOutput: {
3249
2784
  readonly type: 'object';
3250
2785
  readonly properties: {
3251
2786
  readonly video: {
3252
- 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;
3253
2797
  };
3254
2798
  };
3255
2799
  readonly additionalProperties: false;
@@ -3265,10 +2809,33 @@ export declare const $VideoGenStep: {
3265
2809
  readonly type: 'object';
3266
2810
  readonly properties: {
3267
2811
  readonly input: {
3268
- 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.";
3269
2830
  };
3270
2831
  readonly output: {
3271
- 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;
3272
2839
  };
3273
2840
  };
3274
2841
  readonly additionalProperties: false;
@@ -3280,6 +2847,7 @@ export declare const $VideoGenStep: {
3280
2847
  readonly type: 'string';
3281
2848
  };
3282
2849
  };
2850
+ readonly description: 'Video generation';
3283
2851
  };
3284
2852
  export declare const $VideoGenStepTemplate: {
3285
2853
  readonly required: readonly ['$type'];
@@ -3292,67 +2860,37 @@ export declare const $VideoGenStepTemplate: {
3292
2860
  readonly type: 'object';
3293
2861
  readonly properties: {
3294
2862
  readonly input: {
3295
- readonly $ref: '#/components/schemas/VideoGenInput';
3296
- };
3297
- };
3298
- readonly additionalProperties: false;
3299
- },
3300
- ];
3301
- readonly properties: {
3302
- readonly $type: {
3303
- readonly enum: readonly ['videoGen'];
3304
- readonly type: 'string';
3305
- };
3306
- };
3307
- };
3308
- export declare const $WDTaggingJob: {
3309
- readonly required: readonly ['$type'];
3310
- readonly allOf: readonly [
3311
- {
3312
- readonly $ref: '#/components/schemas/Job';
3313
- },
3314
- {
3315
- readonly type: 'object';
3316
- readonly properties: {
3317
- readonly model: {
3318
- readonly type: 'string';
3319
- };
3320
- readonly mediaUrl: {
3321
- readonly type: 'string';
3322
- readonly format: 'uri';
3323
- };
3324
- readonly threshold: {
3325
- readonly type: 'number';
3326
- readonly format: 'double';
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.';
3327
2881
  readonly nullable: true;
3328
2882
  };
3329
- readonly movieRatingModel: {
3330
- readonly type: 'string';
3331
- readonly nullable: true;
3332
- };
3333
- readonly prompt: {
3334
- readonly type: 'string';
3335
- readonly nullable: true;
3336
- };
3337
- readonly claimDuration: {
3338
- readonly type: 'string';
3339
- readonly format: 'date-span';
3340
- readonly readOnly: true;
3341
- };
3342
- readonly type: {
3343
- readonly type: 'string';
3344
- readonly readOnly: true;
3345
- };
3346
2883
  };
3347
2884
  readonly additionalProperties: false;
3348
2885
  },
3349
2886
  ];
3350
2887
  readonly properties: {
3351
2888
  readonly $type: {
3352
- readonly enum: readonly ['wdTagging'];
2889
+ readonly enum: readonly ['videoGen'];
3353
2890
  readonly type: 'string';
3354
2891
  };
3355
2892
  };
2893
+ readonly description: 'Video generation';
3356
2894
  };
3357
2895
  export declare const $WorkerCapabilities: {
3358
2896
  readonly type: 'object';
@@ -3375,21 +2913,6 @@ export declare const $WorkerCapabilities: {
3375
2913
  readonly llmPromptAugmentation: {
3376
2914
  readonly $ref: '#/components/schemas/LLMPromptAugmentationCapabilities';
3377
2915
  };
3378
- readonly humanoidImageMask: {
3379
- readonly $ref: '#/components/schemas/WorkerHumanoidImageMaskCapabilities';
3380
- };
3381
- readonly tryOnU: {
3382
- readonly $ref: '#/components/schemas/WorkerTryOnUCapabilities';
3383
- };
3384
- readonly haiper: {
3385
- readonly $ref: '#/components/schemas/WorkerHaiperCapabilities';
3386
- };
3387
- readonly kling: {
3388
- readonly $ref: '#/components/schemas/WorkerKlingCapabilities';
3389
- };
3390
- readonly miniMax: {
3391
- readonly $ref: '#/components/schemas/WorkerMiniMaxCapabilities';
3392
- };
3393
2916
  };
3394
2917
  readonly additionalProperties: false;
3395
2918
  readonly description: "Details of a worker's capabilities.";
@@ -3904,7 +3427,33 @@ export declare const $Workflow: {
3904
3427
  readonly steps: {
3905
3428
  readonly type: 'array';
3906
3429
  readonly items: {
3907
- 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.';
3908
3457
  };
3909
3458
  readonly description: 'The steps for the workflow.';
3910
3459
  };
@@ -4130,14 +3679,12 @@ export declare const $WorkflowStep: {
4130
3679
  readonly propertyName: '$type';
4131
3680
  readonly mapping: {
4132
3681
  readonly ageClassification: '#/components/schemas/AgeClassificationStep';
4133
- readonly batchOCRSafetyClassification: '#/components/schemas/BatchOCRSafetyClassificationStep';
4134
3682
  readonly comfy: '#/components/schemas/ComfyStep';
4135
3683
  readonly echo: '#/components/schemas/EchoStep';
4136
- readonly humanoidImageMask: '#/components/schemas/HumanoidImageMaskStep';
4137
3684
  readonly imageResourceTraining: '#/components/schemas/ImageResourceTrainingStep';
3685
+ readonly imageUpload: '#/components/schemas/ImageUploadStep';
4138
3686
  readonly textToImage: '#/components/schemas/TextToImageStep';
4139
3687
  readonly transcode: '#/components/schemas/TranscodeStep';
4140
- readonly tryOnU: '#/components/schemas/TryOnUStep';
4141
3688
  readonly videoGen: '#/components/schemas/VideoGenStep';
4142
3689
  };
4143
3690
  };
@@ -4303,14 +3850,11 @@ export declare const $WorkflowStepTemplate: {
4303
3850
  readonly propertyName: '$type';
4304
3851
  readonly mapping: {
4305
3852
  readonly ageClassification: '#/components/schemas/AgeClassificationStepTemplate';
4306
- readonly batchOCRSafetyClassification: '#/components/schemas/BatchOCRSafetyClassificationStepTemplate';
4307
3853
  readonly comfy: '#/components/schemas/ComfyStepTemplate';
4308
3854
  readonly echo: '#/components/schemas/EchoStepTemplate';
4309
- readonly humanoidImageMask: '#/components/schemas/HumanoidImageMaskStepTemplate';
4310
3855
  readonly imageResourceTraining: '#/components/schemas/ImageResourceTrainingStepTemplate';
3856
+ readonly imageUpload: '#/components/schemas/ImageUploadStepTemplate';
4311
3857
  readonly textToImage: '#/components/schemas/TextToImageStepTemplate';
4312
- readonly transcode: '#/components/schemas/TranscodeStepTemplate';
4313
- readonly tryOnU: '#/components/schemas/TryOnUStepTemplate';
4314
3858
  readonly videoGen: '#/components/schemas/VideoGenStepTemplate';
4315
3859
  };
4316
3860
  };
@@ -4339,7 +3883,30 @@ export declare const $WorkflowTemplate: {
4339
3883
  readonly minItems: 1;
4340
3884
  readonly type: 'array';
4341
3885
  readonly items: {
4342
- 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.';
4343
3910
  };
4344
3911
  readonly description: 'An array of steps that compose this workflow.';
4345
3912
  };