@civitai/client 0.2.0-beta.17 → 0.2.0-beta.18

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.
@@ -3,73 +3,19 @@ export declare const $AgeClassificationInput: {
3
3
  readonly type: 'object';
4
4
  readonly properties: {
5
5
  readonly model: {
6
- 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_\\-]+))?$';
6
+ 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_\\-]+))?$';
7
7
  readonly type: 'string';
8
8
  readonly description: 'An optional model to use for age classification. If not provided, the default model will determined by the worker';
9
9
  readonly nullable: true;
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,61 +160,13 @@ 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
- readonly required: readonly ['available', 'id'];
164
+ readonly required: readonly ['available', 'id', 'type'];
301
165
  readonly type: 'object';
302
166
  readonly properties: {
167
+ readonly type: {
168
+ readonly type: 'string';
169
+ };
303
170
  readonly id: {
304
171
  readonly type: 'string';
305
172
  readonly description: 'Gets the id of the blob that contains this image.';
@@ -328,115 +195,90 @@ export declare const $Blob: {
328
195
  readonly nsfwLevel: {
329
196
  readonly $ref: '#/components/schemas/NSFWLevel';
330
197
  };
198
+ readonly blockedReason: {
199
+ readonly type: 'string';
200
+ readonly description: 'Get an optional reason for why the blob was blocked. This is only set if the blob was blocked.';
201
+ readonly nullable: true;
202
+ };
331
203
  };
332
204
  readonly additionalProperties: false;
333
205
  readonly description: 'Represents a blob that gets produced as part of a specific job';
206
+ readonly discriminator: {
207
+ readonly propertyName: 'type';
208
+ readonly mapping: {
209
+ readonly image: '#/components/schemas/ImageBlob';
210
+ readonly video: '#/components/schemas/VideoBlob';
211
+ };
212
+ };
334
213
  };
335
214
  export declare const $BuzzClientAccount: {
336
215
  readonly enum: readonly ['user', 'generation'];
337
216
  readonly type: 'string';
338
217
  };
339
- export declare const $ComfyInput: {
340
- readonly required: readonly ['comfyWorkflow'];
341
- readonly type: 'object';
342
- readonly properties: {
343
- readonly comfyWorkflow: {
344
- readonly type: 'object';
345
- readonly additionalProperties: {
346
- readonly $ref: '#/components/schemas/ComfyNode';
347
- };
348
- readonly description: 'Get the comfy workflow that needs to be executed';
349
- };
350
- readonly quantity: {
351
- readonly maximum: 100;
352
- readonly minimum: 1;
353
- readonly type: 'integer';
354
- readonly description: 'The number of jobs to start with this workflow.';
355
- readonly format: 'int32';
356
- readonly default: 1;
357
- };
358
- readonly imageMetadata: {
359
- readonly type: 'string';
360
- readonly description: 'External metadata that will be stored with the image';
361
- readonly nullable: true;
362
- };
363
- };
364
- readonly additionalProperties: false;
365
- };
366
- export declare const $ComfyJob: {
367
- readonly required: readonly ['$type'];
218
+ export declare const $CivitaiWan21VideoGenInput: {
219
+ readonly required: readonly ['provider'];
368
220
  readonly allOf: readonly [
369
221
  {
370
- readonly $ref: '#/components/schemas/Job';
222
+ readonly $ref: '#/components/schemas/Wan21VideoGenInput';
371
223
  },
372
224
  {
373
- readonly required: readonly ['params', 'slots'];
374
225
  readonly type: 'object';
375
226
  readonly properties: {
376
- readonly params: {
377
- readonly type: 'object';
378
- readonly additionalProperties: {
379
- readonly $ref: '#/components/schemas/ComfyNode';
380
- };
381
- readonly description: 'A untyped set of parameters that are associated with this job';
382
- };
383
- readonly resources: {
384
- readonly uniqueItems: true;
385
- readonly type: 'array';
386
- readonly items: {
387
- 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_\\-]+))?$';
388
- readonly type: 'string';
389
- };
390
- readonly nullable: true;
227
+ readonly width: {
228
+ readonly type: 'integer';
229
+ readonly format: 'int32';
391
230
  };
392
- readonly slots: {
393
- readonly type: 'array';
394
- readonly items: {
395
- readonly $ref: '#/components/schemas/ComfyJobSlot';
396
- };
397
- readonly description: 'Slots for the resulting blob outputs.';
231
+ readonly height: {
232
+ readonly type: 'integer';
233
+ readonly format: 'int32';
398
234
  };
399
- readonly imageMetadata: {
235
+ readonly model: {
236
+ 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_\\-]+))?$';
400
237
  readonly type: 'string';
401
- readonly description: 'Get or set additional metadata that will be embedded with generated images';
402
238
  readonly nullable: true;
403
239
  };
404
- readonly type: {
405
- readonly type: 'string';
406
- readonly readOnly: true;
407
- };
408
- readonly claimDuration: {
409
- readonly type: 'string';
410
- readonly format: 'date-span';
411
- readonly readOnly: true;
412
- };
413
240
  };
414
241
  readonly additionalProperties: false;
415
242
  },
416
243
  ];
417
244
  readonly properties: {
418
- readonly $type: {
419
- readonly enum: readonly ['comfy'];
245
+ readonly provider: {
246
+ readonly enum: readonly ['civitai'];
420
247
  readonly type: 'string';
421
248
  };
422
249
  };
423
250
  };
424
- export declare const $ComfyJobSlot: {
425
- readonly required: readonly ['blobKey', 'destinationUrl'];
251
+ export declare const $ComfyInput: {
252
+ readonly required: readonly ['comfyWorkflow'];
426
253
  readonly type: 'object';
427
254
  readonly properties: {
428
- readonly blobKey: {
429
- readonly type: 'string';
430
- readonly description: 'The hash for the blob output.';
255
+ readonly comfyWorkflow: {
256
+ readonly type: 'object';
257
+ readonly additionalProperties: {
258
+ readonly $ref: '#/components/schemas/ComfyNode';
259
+ };
260
+ readonly description: 'Get the comfy workflow that needs to be executed';
431
261
  };
432
- readonly destinationUrl: {
262
+ readonly quantity: {
263
+ readonly maximum: 100;
264
+ readonly minimum: 1;
265
+ readonly type: 'integer';
266
+ readonly description: 'The number of jobs to start with this workflow.';
267
+ readonly format: 'int32';
268
+ readonly default: 1;
269
+ };
270
+ readonly imageMetadata: {
433
271
  readonly type: 'string';
434
- readonly description: 'The destination url for blob upload.';
435
- readonly format: 'uri';
272
+ readonly description: 'External metadata that will be stored with the image';
273
+ readonly nullable: true;
274
+ };
275
+ readonly useSpineComfy: {
276
+ readonly type: 'boolean';
277
+ readonly description: 'Opt-into using the spine controller exclusively';
278
+ readonly nullable: true;
436
279
  };
437
280
  };
438
281
  readonly additionalProperties: false;
439
- readonly description: 'Contains slot information for a blob generated by a ComfyJob.';
440
282
  };
441
283
  export declare const $ComfyNode: {
442
284
  readonly required: readonly ['classType', 'inputs'];
@@ -522,7 +364,7 @@ export declare const $ComfyStep: {
522
364
  readonly type: 'string';
523
365
  };
524
366
  };
525
- readonly description: '';
367
+ readonly description: 'Comfy workflows';
526
368
  };
527
369
  export declare const $ComfyStepTemplate: {
528
370
  readonly required: readonly ['$type'];
@@ -547,72 +389,12 @@ export declare const $ComfyStepTemplate: {
547
389
  readonly type: 'string';
548
390
  };
549
391
  };
550
- };
551
- export declare const $ConfigurationOptions: {
552
- readonly required: readonly ['selector', 'spec'];
553
- readonly type: 'object';
554
- readonly properties: {
555
- readonly priority: {
556
- readonly type: 'integer';
557
- readonly description: 'Get or set the priority of this configuration if multiple configurations apply to the same worker';
558
- readonly format: 'int64';
559
- };
560
- readonly selector: {
561
- readonly $ref: '#/components/schemas/Expression';
562
- };
563
- readonly spec: {
564
- readonly description: 'Get or set the specification associated with this configuration';
565
- readonly nullable: true;
566
- };
567
- };
568
- readonly additionalProperties: false;
569
- };
570
- export declare const $ConfigurationStatus: {
571
- readonly required: readonly ['configurationId'];
572
- readonly type: 'object';
573
- readonly properties: {
574
- readonly configurationId: {
575
- readonly type: 'string';
576
- };
577
- readonly assigned: {
578
- readonly type: 'integer';
579
- readonly format: 'int32';
580
- };
581
- readonly targeted: {
582
- readonly type: 'integer';
583
- readonly format: 'int32';
584
- };
585
- readonly applied: {
586
- readonly type: 'integer';
587
- readonly format: 'int32';
588
- };
589
- };
590
- readonly additionalProperties: false;
392
+ readonly description: 'Comfy workflows';
591
393
  };
592
394
  export declare const $ContainerFormat: {
593
395
  readonly enum: readonly ['mp4', 'webM'];
594
396
  readonly type: 'string';
595
397
  };
596
- export declare const $CreateConfigurationResult: {
597
- readonly required: readonly ['configurationId'];
598
- readonly type: 'object';
599
- readonly properties: {
600
- readonly configurationId: {
601
- readonly type: 'string';
602
- };
603
- };
604
- readonly additionalProperties: false;
605
- };
606
- export declare const $CreateWorkerResult: {
607
- readonly required: readonly ['workerId'];
608
- readonly type: 'object';
609
- readonly properties: {
610
- readonly workerId: {
611
- readonly type: 'string';
612
- };
613
- };
614
- readonly additionalProperties: false;
615
- };
616
398
  export declare const $CursedArrayOfTelemetryCursorAndWorkflow: {
617
399
  readonly required: readonly ['items', 'next'];
618
400
  readonly type: 'object';
@@ -629,26 +411,6 @@ export declare const $CursedArrayOfTelemetryCursorAndWorkflow: {
629
411
  };
630
412
  readonly additionalProperties: false;
631
413
  };
632
- export declare const $DownloadSource: {
633
- readonly enum: readonly ['default', 'tigris'];
634
- readonly type: 'string';
635
- };
636
- export declare const $DynamicAssignment: {
637
- readonly required: readonly ['fromPath', 'toPath'];
638
- readonly type: 'object';
639
- readonly properties: {
640
- readonly fromPath: {
641
- readonly type: 'string';
642
- };
643
- readonly toPath: {
644
- readonly type: 'string';
645
- };
646
- readonly defaultValue: {
647
- readonly nullable: true;
648
- };
649
- };
650
- readonly additionalProperties: false;
651
- };
652
414
  export declare const $EchoInput: {
653
415
  readonly required: readonly ['message'];
654
416
  readonly type: 'object';
@@ -699,7 +461,7 @@ export declare const $EchoStep: {
699
461
  readonly type: 'string';
700
462
  };
701
463
  };
702
- readonly description: 'A workflow step that takes a message string and retuns it.';
464
+ readonly description: 'Echo';
703
465
  };
704
466
  export declare const $EchoStepTemplate: {
705
467
  readonly required: readonly ['$type'];
@@ -724,12 +486,7 @@ export declare const $EchoStepTemplate: {
724
486
  readonly type: 'string';
725
487
  };
726
488
  };
727
- };
728
- export declare const $EcosystemElement: {
729
- readonly type: 'object';
730
- readonly additionalProperties: {
731
- readonly $ref: '#/components/schemas/EcosystemElement';
732
- };
489
+ readonly description: 'Echo';
733
490
  };
734
491
  export declare const $EpochResult: {
735
492
  readonly required: readonly ['blobName', 'blobUrl'];
@@ -766,351 +523,360 @@ export declare const $EpochResult: {
766
523
  readonly additionalProperties: false;
767
524
  readonly description: 'An epock result.';
768
525
  };
769
- export declare const $Expression: {
770
- readonly type: 'object';
771
- readonly additionalProperties: false;
772
- };
773
- export declare const $FileFormat: {
774
- readonly enum: readonly ['unknown', 'safeTensor', 'pickleTensor', 'diffusers', 'coreML', 'onnx'];
775
- readonly type: 'string';
776
- };
777
- export declare const $FluxDevFastImageResourceTrainingInput: {
778
- readonly required: readonly ['engine'];
526
+ export declare const $FalWan21VideoGenInput: {
527
+ readonly required: readonly ['provider'];
779
528
  readonly allOf: readonly [
780
529
  {
781
- readonly $ref: '#/components/schemas/ImageResourceTrainingInput';
530
+ readonly $ref: '#/components/schemas/Wan21VideoGenInput';
782
531
  },
783
532
  {
784
533
  readonly type: 'object';
534
+ readonly properties: {
535
+ readonly aspectRatio: {
536
+ readonly enum: readonly ['1:1', '16:9', '9:16'];
537
+ readonly type: 'string';
538
+ readonly default: '16:9';
539
+ };
540
+ readonly enablePromptExpansion: {
541
+ readonly type: 'boolean';
542
+ readonly default: false;
543
+ };
544
+ };
785
545
  readonly additionalProperties: false;
786
546
  },
787
547
  ];
788
548
  readonly properties: {
789
- readonly engine: {
790
- readonly enum: readonly ['flux-dev-fast'];
549
+ readonly provider: {
550
+ readonly enum: readonly ['fal'];
791
551
  readonly type: 'string';
792
552
  };
793
553
  };
794
554
  };
795
- export declare const $GateJob: {
796
- readonly required: readonly ['$type'];
555
+ export declare const $FalWan225bImageToVideoInput: {
556
+ readonly required: readonly ['operation'];
797
557
  readonly allOf: readonly [
798
558
  {
799
- readonly $ref: '#/components/schemas/Job';
559
+ readonly $ref: '#/components/schemas/FalWan225bVideoGenInput';
800
560
  },
801
561
  {
802
562
  readonly type: 'object';
803
- readonly properties: {
804
- readonly type: {
805
- readonly type: 'string';
806
- readonly readOnly: true;
807
- };
808
- };
809
563
  readonly additionalProperties: false;
810
564
  },
811
565
  ];
812
566
  readonly properties: {
813
- readonly $type: {
814
- readonly enum: readonly ['gate'];
567
+ readonly operation: {
568
+ readonly enum: readonly ['image-to-video'];
815
569
  readonly type: 'string';
816
570
  };
817
571
  };
818
572
  };
819
- export declare const $HaiperVideoGenAspectRatio: {
820
- readonly enum: readonly ['16:9', '4:3', '1:1', '9:16', '3:4'];
821
- readonly type: 'string';
822
- };
823
- export declare const $HaiperVideoGenCameraMovement: {
824
- readonly enum: readonly [
825
- 'none',
826
- 'panRight',
827
- 'panLeft',
828
- 'tiltUp',
829
- 'tiltDown',
830
- 'zoomIn',
831
- 'zoomOut',
832
- ];
833
- readonly type: 'string';
834
- };
835
- export declare const $HaiperVideoGenInput: {
836
- readonly required: readonly ['engine'];
573
+ export declare const $FalWan225bTextToVideoInput: {
574
+ readonly required: readonly ['operation'];
837
575
  readonly allOf: readonly [
838
576
  {
839
- readonly $ref: '#/components/schemas/VideoGenInput';
577
+ readonly $ref: '#/components/schemas/FalWan225bVideoGenInput';
840
578
  },
841
579
  {
842
580
  readonly type: 'object';
843
- readonly properties: {
844
- readonly negativePrompt: {
845
- readonly type: 'string';
846
- readonly nullable: true;
847
- };
848
- readonly cameraMovement: {
849
- readonly $ref: '#/components/schemas/HaiperVideoGenCameraMovement';
850
- };
851
- readonly seed: {
852
- readonly maximum: 4294967295;
853
- readonly minimum: -1;
854
- readonly type: 'integer';
855
- readonly format: 'int64';
856
- };
857
- readonly duration: {
858
- readonly type: 'integer';
859
- readonly format: 'int32';
860
- };
861
- readonly aspectRatio: {
862
- readonly $ref: '#/components/schemas/HaiperVideoGenAspectRatio';
863
- };
864
- readonly sourceImageUrl: {
865
- readonly type: 'string';
866
- readonly format: 'uri';
867
- readonly nullable: true;
868
- };
869
- readonly model: {
870
- readonly $ref: '#/components/schemas/HaiperVideoGenModel';
871
- };
872
- readonly resolution: {
873
- readonly type: 'integer';
874
- readonly format: 'int32';
875
- };
876
- };
877
581
  readonly additionalProperties: false;
878
582
  },
879
583
  ];
880
584
  readonly properties: {
881
- readonly engine: {
882
- readonly enum: readonly ['haiper'];
585
+ readonly operation: {
586
+ readonly enum: readonly ['text-to-video'];
883
587
  readonly type: 'string';
884
588
  };
885
589
  };
886
590
  };
887
- export declare const $HaiperVideoGenJob: {
888
- readonly required: readonly ['$type'];
591
+ export declare const $FalWan225bVideoGenInput: {
592
+ readonly required: readonly ['provider'];
889
593
  readonly allOf: readonly [
890
594
  {
891
- readonly $ref: '#/components/schemas/Job';
595
+ readonly $ref: '#/components/schemas/Wan225bVideoGenInput';
892
596
  },
893
597
  {
894
- readonly required: readonly ['destinationUrl', 'mediaHash', 'prompt'];
598
+ readonly required: readonly ['operation'];
895
599
  readonly type: 'object';
896
600
  readonly properties: {
897
- readonly mediaHash: {
601
+ readonly operation: {
898
602
  readonly type: 'string';
603
+ readonly default: 'text-to-video';
604
+ readonly nullable: true;
899
605
  };
900
- readonly prompt: {
606
+ readonly resolution: {
607
+ readonly enum: readonly ['580p', '720p'];
901
608
  readonly type: 'string';
609
+ readonly default: '720p';
902
610
  };
903
- readonly negativePrompt: {
611
+ readonly aspectRatio: {
612
+ readonly enum: readonly ['1:1', '16:9', '9:16', 'auto'];
904
613
  readonly type: 'string';
905
- readonly nullable: true;
614
+ readonly default: '16:9';
906
615
  };
907
- readonly cameraMovement: {
908
- readonly $ref: '#/components/schemas/HaiperVideoGenCameraMovement';
616
+ readonly enablePromptExpansion: {
617
+ readonly type: 'boolean';
618
+ readonly default: false;
909
619
  };
910
- readonly seed: {
911
- readonly maximum: 4294967295;
912
- readonly minimum: -1;
913
- readonly type: 'integer';
914
- readonly format: 'int64';
620
+ readonly useDistill: {
621
+ readonly type: 'boolean';
622
+ readonly default: false;
915
623
  };
916
- readonly duration: {
624
+ readonly numFrames: {
625
+ readonly maximum: 121;
626
+ readonly minimum: 81;
917
627
  readonly type: 'integer';
918
628
  readonly format: 'int32';
629
+ readonly default: 81;
919
630
  };
920
- readonly aspectRatio: {
921
- readonly $ref: '#/components/schemas/HaiperVideoGenAspectRatio';
922
- };
923
- readonly destinationUrl: {
924
- readonly type: 'string';
925
- readonly format: 'uri';
926
- };
927
- readonly sourceImageUrl: {
928
- readonly type: 'string';
929
- readonly format: 'uri';
930
- readonly nullable: true;
931
- };
932
- readonly model: {
933
- readonly $ref: '#/components/schemas/HaiperVideoGenModel';
934
- };
935
- readonly resolution: {
631
+ readonly numInferenceSteps: {
632
+ readonly maximum: 50;
633
+ readonly minimum: 2;
936
634
  readonly type: 'integer';
937
635
  readonly format: 'int32';
636
+ readonly default: 40;
938
637
  };
939
- readonly claimDuration: {
940
- readonly type: 'string';
941
- readonly format: 'date-span';
942
- readonly readOnly: true;
943
- };
944
- readonly type: {
945
- readonly type: 'string';
946
- readonly readOnly: true;
638
+ readonly guidanceScale: {
639
+ readonly maximum: 10;
640
+ readonly minimum: 1;
641
+ readonly type: 'number';
642
+ readonly format: 'double';
643
+ readonly default: 3.5;
947
644
  };
948
645
  };
949
646
  readonly additionalProperties: false;
647
+ readonly discriminator: {
648
+ readonly propertyName: 'operation';
649
+ readonly mapping: {
650
+ readonly 'text-to-video': '#/components/schemas/FalWan225bTextToVideoInput';
651
+ readonly 'image-to-video': '#/components/schemas/FalWan225bImageToVideoInput';
652
+ };
653
+ };
950
654
  },
951
655
  ];
952
656
  readonly properties: {
953
- readonly $type: {
954
- readonly enum: readonly ['haiper'];
657
+ readonly provider: {
658
+ readonly enum: readonly ['fal'];
955
659
  readonly type: 'string';
956
660
  };
957
661
  };
958
662
  };
959
- export declare const $HaiperVideoGenModel: {
960
- readonly enum: readonly ['v1_5', 'v2'];
961
- readonly type: 'string';
962
- };
963
- export declare const $HaiperVideoGenOutput: {
663
+ export declare const $FalWan22ImageToVideoInput: {
664
+ readonly required: readonly ['operation'];
964
665
  readonly allOf: readonly [
965
666
  {
966
- readonly $ref: '#/components/schemas/VideoGenOutput';
667
+ readonly $ref: '#/components/schemas/FalWan22VideoGenInput';
967
668
  },
968
669
  {
969
670
  readonly type: 'object';
970
- readonly properties: {
971
- readonly progress: {
972
- readonly type: 'number';
973
- readonly format: 'double';
974
- readonly nullable: true;
975
- };
976
- };
977
671
  readonly additionalProperties: false;
978
672
  },
979
673
  ];
980
- };
981
- export declare const $HumanoidImageMaskCategory: {
982
- readonly enum: readonly ['dresses', 'upperBody', 'lowerBody'];
983
- readonly type: 'string';
984
- };
985
- export declare const $HumanoidImageMaskInput: {
986
- readonly required: readonly ['category', 'imageUrl'];
987
- readonly type: 'object';
988
674
  readonly properties: {
989
- readonly imageUrl: {
675
+ readonly operation: {
676
+ readonly enum: readonly ['image-to-video'];
990
677
  readonly type: 'string';
991
- readonly format: 'uri';
992
678
  };
993
- readonly category: {
994
- readonly $ref: '#/components/schemas/HumanoidImageMaskCategory';
679
+ };
680
+ };
681
+ export declare const $FalWan22TextToVideoInput: {
682
+ readonly required: readonly ['operation'];
683
+ readonly allOf: readonly [
684
+ {
685
+ readonly $ref: '#/components/schemas/FalWan22VideoGenInput';
686
+ },
687
+ {
688
+ readonly type: 'object';
689
+ readonly additionalProperties: false;
690
+ },
691
+ ];
692
+ readonly properties: {
693
+ readonly operation: {
694
+ readonly enum: readonly ['text-to-video'];
695
+ readonly type: 'string';
995
696
  };
996
697
  };
997
- readonly additionalProperties: false;
998
698
  };
999
- export declare const $HumanoidImageMaskJob: {
1000
- readonly required: readonly ['$type'];
699
+ export declare const $FalWan22VideoGenInput: {
700
+ readonly required: readonly ['provider'];
1001
701
  readonly allOf: readonly [
1002
702
  {
1003
- readonly $ref: '#/components/schemas/Job';
703
+ readonly $ref: '#/components/schemas/Wan22VideoGenInput';
1004
704
  },
1005
705
  {
1006
- readonly required: readonly ['category', 'destinationBlobKey', 'imageUrl'];
706
+ readonly required: readonly ['operation'];
1007
707
  readonly type: 'object';
1008
708
  readonly properties: {
1009
- readonly imageUrl: {
709
+ readonly operation: {
1010
710
  readonly type: 'string';
1011
- readonly format: 'uri';
1012
- };
1013
- readonly category: {
1014
- readonly $ref: '#/components/schemas/HumanoidImageMaskCategory';
711
+ readonly default: 'text-to-video';
712
+ readonly nullable: true;
1015
713
  };
1016
- readonly destinationBlobKey: {
714
+ readonly resolution: {
715
+ readonly enum: readonly ['480p', '720p'];
1017
716
  readonly type: 'string';
717
+ readonly default: '720p';
1018
718
  };
1019
- readonly type: {
719
+ readonly aspectRatio: {
720
+ readonly enum: readonly ['1:1', '16:9', '9:16', '4:3', '3:4', '4:5', '5:4'];
1020
721
  readonly type: 'string';
1021
- readonly readOnly: true;
722
+ readonly default: '16:9';
723
+ };
724
+ readonly enablePromptExpansion: {
725
+ readonly type: 'boolean';
726
+ readonly default: false;
727
+ };
728
+ readonly shift: {
729
+ readonly maximum: 10;
730
+ readonly minimum: 1;
731
+ readonly type: 'number';
732
+ readonly format: 'double';
733
+ readonly default: 5;
1022
734
  };
1023
- readonly claimDuration: {
735
+ readonly interpolatorModel: {
736
+ readonly enum: readonly ['film', 'rife'];
1024
737
  readonly type: 'string';
1025
- readonly format: 'date-span';
1026
- readonly readOnly: true;
738
+ readonly default: 'film';
739
+ };
740
+ readonly useTurbo: {
741
+ readonly type: 'boolean';
742
+ readonly default: false;
1027
743
  };
1028
744
  };
1029
745
  readonly additionalProperties: false;
746
+ readonly discriminator: {
747
+ readonly propertyName: 'operation';
748
+ readonly mapping: {
749
+ readonly 'text-to-video': '#/components/schemas/FalWan22TextToVideoInput';
750
+ readonly 'image-to-video': '#/components/schemas/FalWan22ImageToVideoInput';
751
+ };
752
+ };
1030
753
  },
1031
754
  ];
1032
755
  readonly properties: {
1033
- readonly $type: {
1034
- readonly enum: readonly ['humanoidImageMask'];
756
+ readonly provider: {
757
+ readonly enum: readonly ['fal'];
1035
758
  readonly type: 'string';
1036
759
  };
1037
760
  };
1038
761
  };
1039
- export declare const $HumanoidImageMaskOutput: {
1040
- readonly required: readonly ['blob'];
1041
- readonly type: 'object';
1042
- readonly properties: {
1043
- readonly blob: {
1044
- readonly $ref: '#/components/schemas/Blob';
1045
- };
1046
- };
1047
- readonly additionalProperties: false;
762
+ export declare const $FileFormat: {
763
+ readonly enum: readonly ['unknown', 'safeTensor', 'pickleTensor', 'diffusers', 'coreML', 'onnx'];
764
+ readonly type: 'string';
1048
765
  };
1049
- export declare const $HumanoidImageMaskStep: {
1050
- readonly required: readonly ['$type'];
766
+ export declare const $Flux1KontextDevImageGenInput: {
767
+ readonly required: readonly ['model'];
1051
768
  readonly allOf: readonly [
1052
769
  {
1053
- readonly $ref: '#/components/schemas/WorkflowStep';
770
+ readonly $ref: '#/components/schemas/Flux1KontextImageGenInput';
1054
771
  },
1055
772
  {
1056
- readonly required: readonly ['input'];
1057
773
  readonly type: 'object';
1058
774
  readonly properties: {
1059
- readonly input: {
1060
- readonly $ref: '#/components/schemas/HumanoidImageMaskInput';
1061
- };
1062
- readonly output: {
1063
- readonly $ref: '#/components/schemas/HumanoidImageMaskOutput';
775
+ readonly model: {
776
+ readonly type: 'string';
777
+ readonly readOnly: true;
1064
778
  };
1065
779
  };
1066
780
  readonly additionalProperties: false;
1067
781
  },
1068
782
  ];
1069
783
  readonly properties: {
1070
- readonly $type: {
1071
- readonly enum: readonly ['humanoidImageMask'];
784
+ readonly model: {
785
+ readonly enum: readonly ['dev'];
1072
786
  readonly type: 'string';
1073
787
  };
1074
788
  };
1075
789
  };
1076
- export declare const $HumanoidImageMaskStepTemplate: {
1077
- readonly required: readonly ['$type'];
790
+ export declare const $Flux1KontextImageGenInput: {
791
+ readonly required: readonly ['engine'];
1078
792
  readonly allOf: readonly [
1079
793
  {
1080
- readonly $ref: '#/components/schemas/WorkflowStepTemplate';
794
+ readonly $ref: '#/components/schemas/ImageGenInput';
1081
795
  },
1082
796
  {
1083
- readonly required: readonly ['input'];
797
+ readonly required: readonly ['model', 'prompt'];
1084
798
  readonly type: 'object';
1085
799
  readonly properties: {
1086
- readonly input: {
1087
- readonly $ref: '#/components/schemas/HumanoidImageMaskInput';
800
+ readonly model: {
801
+ readonly type: 'string';
802
+ readonly readOnly: true;
803
+ };
804
+ readonly prompt: {
805
+ readonly maxLength: 1000;
806
+ readonly minLength: 0;
807
+ readonly type: 'string';
808
+ };
809
+ readonly images: {
810
+ readonly type: 'array';
811
+ readonly items: {
812
+ readonly type: 'string';
813
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
814
+ };
815
+ };
816
+ readonly aspectRatio: {
817
+ readonly enum: readonly [
818
+ '21:9',
819
+ '16:9',
820
+ '4:3',
821
+ '3:2',
822
+ '1:1',
823
+ '2:3',
824
+ '3:4',
825
+ '9:16',
826
+ '9:21',
827
+ ];
828
+ readonly type: 'string';
829
+ };
830
+ readonly outputFormat: {
831
+ readonly enum: readonly ['jpeg', 'png'];
832
+ readonly type: 'string';
833
+ };
834
+ readonly guidanceScale: {
835
+ readonly maximum: 20;
836
+ readonly minimum: 1;
837
+ readonly type: 'number';
838
+ readonly format: 'double';
839
+ };
840
+ readonly quantity: {
841
+ readonly maximum: 4;
842
+ readonly minimum: 1;
843
+ readonly type: 'integer';
844
+ readonly format: 'int32';
845
+ };
846
+ readonly seed: {
847
+ readonly type: 'integer';
848
+ readonly format: 'int64';
849
+ readonly nullable: true;
1088
850
  };
1089
851
  };
1090
852
  readonly additionalProperties: false;
853
+ readonly discriminator: {
854
+ readonly propertyName: 'model';
855
+ readonly mapping: {
856
+ readonly pro: '#/components/schemas/Flux1KontextProImageGenInput';
857
+ readonly max: '#/components/schemas/Flux1KontextMaxImageGenInput';
858
+ readonly dev: '#/components/schemas/Flux1KontextDevImageGenInput';
859
+ };
860
+ };
1091
861
  },
1092
862
  ];
1093
863
  readonly properties: {
1094
- readonly $type: {
1095
- readonly enum: readonly ['humanoidImageMask'];
864
+ readonly engine: {
865
+ readonly enum: readonly ['flux1-kontext'];
1096
866
  readonly type: 'string';
1097
867
  };
1098
868
  };
1099
869
  };
1100
- export declare const $ImageEmbeddingJob: {
1101
- readonly required: readonly ['$type'];
870
+ export declare const $Flux1KontextMaxImageGenInput: {
871
+ readonly required: readonly ['model'];
1102
872
  readonly allOf: readonly [
1103
873
  {
1104
- readonly $ref: '#/components/schemas/Job';
874
+ readonly $ref: '#/components/schemas/Flux1KontextImageGenInput';
1105
875
  },
1106
876
  {
1107
- readonly required: readonly ['imageUrl'];
1108
877
  readonly type: 'object';
1109
878
  readonly properties: {
1110
- readonly imageUrl: {
1111
- readonly type: 'string';
1112
- };
1113
- readonly type: {
879
+ readonly model: {
1114
880
  readonly type: 'string';
1115
881
  readonly readOnly: true;
1116
882
  };
@@ -1119,220 +885,23 @@ export declare const $ImageEmbeddingJob: {
1119
885
  },
1120
886
  ];
1121
887
  readonly properties: {
1122
- readonly $type: {
1123
- readonly enum: readonly ['imageEmbedding'];
888
+ readonly model: {
889
+ readonly enum: readonly ['max'];
1124
890
  readonly type: 'string';
1125
891
  };
1126
892
  };
1127
893
  };
1128
- export declare const $ImageJobControlNet: {
1129
- readonly type: 'object';
1130
- readonly properties: {
1131
- readonly preprocessor: {
1132
- readonly $ref: '#/components/schemas/ImageTransformer';
1133
- };
1134
- readonly weight: {
1135
- readonly type: 'number';
1136
- readonly description: 'A value representing the weight applied to the ControlNet.';
1137
- readonly format: 'double';
1138
- };
1139
- readonly startStep: {
1140
- readonly type: 'number';
1141
- readonly description: 'A value representing the start step selected for the ControlNet.';
1142
- readonly format: 'double';
1143
- };
1144
- readonly endStep: {
1145
- readonly type: 'number';
1146
- readonly description: 'A value representing the end step selected for the ControlNet.';
1147
- readonly format: 'double';
1148
- };
1149
- };
1150
- readonly additionalProperties: false;
1151
- readonly description: 'Information for a controlnet provided for a text to image input.';
1152
- };
1153
- export declare const $ImageJobNetworkParams: {
1154
- readonly type: 'object';
1155
- readonly properties: {
1156
- readonly strength: {
1157
- readonly type: 'number';
1158
- readonly description: 'In case of Lora and LoCon, set the strength of the network';
1159
- readonly format: 'double';
1160
- readonly nullable: true;
1161
- };
1162
- readonly triggerWord: {
1163
- readonly type: 'string';
1164
- readonly description: 'In case of a TextualInversion, set the trigger word of the network';
1165
- readonly nullable: true;
1166
- };
1167
- readonly type: {
1168
- readonly type: 'string';
1169
- readonly description: 'A legacy type set by the consumer';
1170
- readonly nullable: true;
1171
- };
1172
- };
1173
- readonly additionalProperties: false;
1174
- };
1175
- export declare const $ImageJobParams: {
1176
- readonly required: readonly ['height', 'width'];
1177
- readonly type: 'object';
1178
- readonly properties: {
1179
- readonly prompt: {
1180
- readonly type: 'string';
1181
- readonly description: 'The prompt for the text to image generation.';
1182
- readonly nullable: true;
1183
- };
1184
- readonly negativePrompt: {
1185
- readonly type: 'string';
1186
- readonly description: 'The negative prompt for the text to image generation.';
1187
- readonly nullable: true;
1188
- };
1189
- readonly scheduler: {
1190
- readonly $ref: '#/components/schemas/Scheduler';
1191
- };
1192
- readonly steps: {
1193
- readonly maximum: 150;
1194
- readonly minimum: 1;
1195
- readonly type: 'integer';
1196
- readonly description: 'The number of steps for the text to image generation.';
1197
- readonly format: 'int32';
1198
- readonly default: 30;
1199
- };
1200
- readonly cfgScale: {
1201
- readonly maximum: 30;
1202
- readonly minimum: 1;
1203
- readonly type: 'number';
1204
- readonly description: 'The CFG scale value for the text to image generation.';
1205
- readonly format: 'double';
1206
- readonly default: 7.5;
1207
- readonly nullable: true;
1208
- };
1209
- readonly width: {
1210
- readonly maximum: 2048;
1211
- readonly minimum: 64;
1212
- readonly type: 'integer';
1213
- readonly description: 'The width for the image to be generated in pixels.';
1214
- readonly format: 'int32';
1215
- readonly default: 512;
1216
- };
1217
- readonly height: {
1218
- readonly maximum: 2048;
1219
- readonly minimum: 64;
1220
- readonly type: 'integer';
1221
- readonly description: 'The height for the image to be generated in pixels.';
1222
- readonly format: 'int32';
1223
- readonly default: 512;
1224
- };
1225
- readonly seed: {
1226
- readonly maximum: 4294967295;
1227
- readonly minimum: -1;
1228
- readonly type: 'integer';
1229
- readonly description: 'The seed for the text to image generation.';
1230
- readonly format: 'int64';
1231
- readonly default: -1;
1232
- };
1233
- readonly clipSkip: {
1234
- readonly type: 'integer';
1235
- readonly description: 'The clip skip value for the text to image generation.';
1236
- readonly format: 'int32';
1237
- readonly default: 2;
1238
- };
1239
- };
1240
- readonly additionalProperties: false;
1241
- readonly description: 'Parameters for a text to image step.';
1242
- };
1243
- export declare const $ImageResouceTrainingModerationStatus: {
1244
- readonly enum: readonly ['evaluating', 'underReview', 'approved', 'rejected'];
1245
- readonly type: 'string';
1246
- };
1247
- export declare const $ImageResourceTrainingInput: {
1248
- readonly required: readonly ['engine', 'model', 'trainingData', 'trainingDataImagesCount'];
1249
- readonly type: 'object';
1250
- readonly properties: {
1251
- readonly engine: {
1252
- readonly type: 'string';
1253
- };
1254
- readonly model: {
1255
- 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_\\-]+))?$';
1256
- readonly type: 'string';
1257
- readonly description: 'The primary model to train upon.';
1258
- };
1259
- readonly trainingData: {
1260
- readonly type: 'string';
1261
- readonly description: 'A url referring data to use in training.';
1262
- readonly format: 'uri';
1263
- };
1264
- readonly trainingDataImagesCount: {
1265
- readonly type: 'integer';
1266
- readonly description: 'The number of images embedded in this training data. This is used to calculate the cost of training.';
1267
- readonly format: 'int32';
1268
- };
1269
- readonly loraName: {
1270
- readonly type: 'string';
1271
- readonly description: 'The desired lora name.';
1272
- readonly default: 'my-lora';
1273
- };
1274
- readonly samplePrompts: {
1275
- readonly type: 'array';
1276
- readonly items: {
1277
- readonly type: 'string';
1278
- };
1279
- readonly description: 'A selection of sample prompts.';
1280
- };
1281
- };
1282
- readonly additionalProperties: false;
1283
- readonly description: 'Input for an image resource training step.';
1284
- readonly discriminator: {
1285
- readonly propertyName: 'engine';
1286
- readonly mapping: {
1287
- readonly kohya: '#/components/schemas/KohyaImageResourceTrainingInput';
1288
- readonly 'flux-dev-fast': '#/components/schemas/FluxDevFastImageResourceTrainingInput';
1289
- };
1290
- };
1291
- };
1292
- export declare const $ImageResourceTrainingJob: {
1293
- readonly required: readonly ['$type'];
894
+ export declare const $Flux1KontextProImageGenInput: {
895
+ readonly required: readonly ['model'];
1294
896
  readonly allOf: readonly [
1295
897
  {
1296
- readonly $ref: '#/components/schemas/Job';
898
+ readonly $ref: '#/components/schemas/Flux1KontextImageGenInput';
1297
899
  },
1298
900
  {
1299
- readonly required: readonly ['model', 'params', 'trainingData'];
1300
901
  readonly type: 'object';
1301
902
  readonly properties: {
1302
903
  readonly model: {
1303
- 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_\\-]+))?$';
1304
- readonly type: 'string';
1305
- readonly description: 'An AIR representing the model to use.';
1306
- };
1307
- readonly trainingData: {
1308
- readonly type: 'string';
1309
- readonly description: 'A url referring data that needs to be trained upon';
1310
- readonly format: 'uri';
1311
- };
1312
- readonly params: {
1313
- readonly type: 'object';
1314
- readonly additionalProperties: {};
1315
- readonly description: 'A untyped set of parameters that are associated with this job';
1316
- };
1317
- readonly output: {
1318
- readonly type: 'string';
1319
- readonly description: 'An application provided output of the current status of this job';
1320
- readonly nullable: true;
1321
- };
1322
- readonly engine: {
1323
- readonly type: 'string';
1324
- readonly description: 'The engine that should be used for training';
1325
- readonly nullable: true;
1326
- };
1327
- readonly type: {
1328
- readonly type: 'string';
1329
- readonly description: 'The job type.';
1330
- readonly readOnly: true;
1331
- };
1332
- readonly claimDuration: {
1333
904
  readonly type: 'string';
1334
- readonly description: "Rick: yeah i think for LoRA we need it to be 5-10 minutes.\nlora training has this lame effect where it can't send updates while it is uploading... so we need to give it extra buffer";
1335
- readonly format: 'date-span';
1336
905
  readonly readOnly: true;
1337
906
  };
1338
907
  };
@@ -1340,348 +909,1169 @@ export declare const $ImageResourceTrainingJob: {
1340
909
  },
1341
910
  ];
1342
911
  readonly properties: {
1343
- readonly $type: {
1344
- readonly enum: readonly ['imageResourceTraining'];
912
+ readonly model: {
913
+ readonly enum: readonly ['pro'];
1345
914
  readonly type: 'string';
1346
915
  };
1347
916
  };
1348
917
  };
1349
- export declare const $ImageResourceTrainingOutput: {
1350
- readonly required: readonly ['epochs', 'moderationStatus', 'sampleImagesPrompts'];
1351
- readonly type: 'object';
1352
- readonly properties: {
1353
- readonly moderationStatus: {
1354
- readonly $ref: '#/components/schemas/ImageResouceTrainingModerationStatus';
1355
- };
1356
- readonly epochs: {
1357
- readonly type: 'array';
1358
- readonly items: {
1359
- readonly $ref: '#/components/schemas/EpochResult';
1360
- };
1361
- readonly description: 'An array of epochs.';
1362
- };
1363
- readonly sampleImagesPrompts: {
1364
- readonly type: 'array';
1365
- readonly items: {
1366
- readonly type: 'string';
1367
- };
1368
- readonly description: 'The selected prompts for sample images';
1369
- };
1370
- readonly storedAsAssets: {
1371
- readonly type: 'boolean';
1372
- readonly description: 'Get wether the blobs are actually stored as assets\nAssets are deprecated and require a different retrieval mechanism';
1373
- readonly nullable: true;
1374
- };
1375
- readonly eta: {
1376
- readonly type: 'number';
1377
- readonly description: 'Get an estimate in minutes on how long the work is expected to take';
1378
- readonly format: 'double';
1379
- readonly nullable: true;
1380
- };
1381
- };
1382
- readonly additionalProperties: false;
1383
- };
1384
- export declare const $ImageResourceTrainingStep: {
1385
- readonly required: readonly ['$type'];
918
+ export declare const $FluxDevFastImageResourceTrainingInput: {
919
+ readonly required: readonly ['engine'];
1386
920
  readonly allOf: readonly [
1387
921
  {
1388
- readonly $ref: '#/components/schemas/WorkflowStep';
922
+ readonly $ref: '#/components/schemas/ImageResourceTrainingInput';
1389
923
  },
1390
924
  {
1391
- readonly required: readonly ['input'];
1392
925
  readonly type: 'object';
1393
- readonly properties: {
1394
- readonly input: {
1395
- readonly $ref: '#/components/schemas/ImageResourceTrainingInput';
1396
- };
1397
- readonly output: {
1398
- readonly $ref: '#/components/schemas/ImageResourceTrainingOutput';
1399
- };
1400
- };
1401
926
  readonly additionalProperties: false;
1402
927
  },
1403
928
  ];
1404
929
  readonly properties: {
1405
- readonly $type: {
1406
- readonly enum: readonly ['imageResourceTraining'];
930
+ readonly engine: {
931
+ readonly enum: readonly ['flux-dev-fast'];
1407
932
  readonly type: 'string';
1408
933
  };
1409
934
  };
1410
- readonly description: 'A workflow step for training image resources.';
1411
935
  };
1412
- export declare const $ImageResourceTrainingStepTemplate: {
1413
- readonly required: readonly ['$type'];
936
+ export declare const $GoogleImageGenInput: {
937
+ readonly required: readonly ['engine'];
1414
938
  readonly allOf: readonly [
1415
939
  {
1416
- readonly $ref: '#/components/schemas/WorkflowStepTemplate';
940
+ readonly $ref: '#/components/schemas/ImageGenInput';
1417
941
  },
1418
942
  {
1419
- readonly required: readonly ['input'];
943
+ readonly required: readonly ['model', 'prompt'];
1420
944
  readonly type: 'object';
1421
945
  readonly properties: {
1422
- readonly input: {
1423
- readonly $ref: '#/components/schemas/ImageResourceTrainingInput';
946
+ readonly model: {
947
+ readonly type: 'string';
948
+ };
949
+ readonly prompt: {
950
+ readonly type: 'string';
1424
951
  };
1425
952
  };
1426
953
  readonly additionalProperties: false;
954
+ readonly discriminator: {
955
+ readonly propertyName: 'model';
956
+ readonly mapping: {
957
+ readonly imagen4: '#/components/schemas/Imagen4ImageGenInput';
958
+ };
959
+ };
1427
960
  },
1428
961
  ];
1429
962
  readonly properties: {
1430
- readonly $type: {
1431
- readonly enum: readonly ['imageResourceTraining'];
963
+ readonly engine: {
964
+ readonly enum: readonly ['google'];
1432
965
  readonly type: 'string';
1433
966
  };
1434
967
  };
1435
968
  };
1436
- export declare const $ImageTransformJob: {
1437
- readonly required: readonly ['$type'];
1438
- readonly allOf: readonly [
1439
- {
1440
- readonly $ref: '#/components/schemas/Job';
1441
- },
1442
- {
1443
- readonly type: 'object';
1444
- readonly properties: {
1445
- readonly imageUrl: {
1446
- readonly type: 'string';
1447
- readonly description: 'The url of the image to transform';
1448
- readonly format: 'uri';
1449
- };
1450
- readonly transformer: {
1451
- readonly $ref: '#/components/schemas/ImageTransformer';
1452
- };
1453
- readonly destinationBlobKey: {
1454
- readonly type: 'string';
1455
- readonly description: 'Get the key of the destination blob to upload the result to';
1456
- };
1457
- readonly params: {
1458
- readonly type: 'object';
1459
- readonly additionalProperties: {};
1460
- readonly description: 'A untyped set of parameters that are associated with this job';
1461
- };
1462
- readonly destinationUrl: {
1463
- readonly type: 'string';
1464
- readonly description: 'Get or set the URL where the transformed image will be uploaded to';
1465
- readonly format: 'uri';
969
+ export declare const $HaiperVideoGenAspectRatio: {
970
+ readonly enum: readonly ['16:9', '4:3', '1:1', '9:16', '3:4'];
971
+ readonly type: 'string';
972
+ };
973
+ export declare const $HaiperVideoGenCameraMovement: {
974
+ readonly enum: readonly [
975
+ 'none',
976
+ 'panRight',
977
+ 'panLeft',
978
+ 'tiltUp',
979
+ 'tiltDown',
980
+ 'zoomIn',
981
+ 'zoomOut',
982
+ ];
983
+ readonly type: 'string';
984
+ };
985
+ export declare const $HaiperVideoGenInput: {
986
+ readonly required: readonly ['engine'];
987
+ readonly allOf: readonly [
988
+ {
989
+ readonly $ref: '#/components/schemas/VideoGenInput';
990
+ },
991
+ {
992
+ readonly type: 'object';
993
+ readonly properties: {
994
+ readonly negativePrompt: {
995
+ readonly type: 'string';
1466
996
  readonly nullable: true;
1467
997
  };
1468
- readonly type: {
998
+ readonly cameraMovement: {
999
+ readonly $ref: '#/components/schemas/HaiperVideoGenCameraMovement';
1000
+ };
1001
+ readonly seed: {
1002
+ readonly maximum: 4294967295;
1003
+ readonly minimum: -1;
1004
+ readonly type: 'integer';
1005
+ readonly format: 'int64';
1006
+ };
1007
+ readonly duration: {
1008
+ readonly enum: readonly [2, 4, 8];
1009
+ readonly type: 'integer';
1010
+ readonly format: 'int32';
1011
+ };
1012
+ readonly aspectRatio: {
1013
+ readonly $ref: '#/components/schemas/HaiperVideoGenAspectRatio';
1014
+ };
1015
+ readonly model: {
1016
+ readonly $ref: '#/components/schemas/HaiperVideoGenModel';
1017
+ };
1018
+ readonly resolution: {
1019
+ readonly enum: readonly [720, 1080, 2160];
1020
+ readonly type: 'integer';
1021
+ readonly format: 'int32';
1022
+ };
1023
+ readonly enablePromptEnhancer: {
1024
+ readonly type: 'boolean';
1025
+ };
1026
+ readonly sourceImage: {
1469
1027
  readonly type: 'string';
1470
- readonly readOnly: true;
1028
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
1029
+ readonly nullable: true;
1471
1030
  };
1472
1031
  };
1473
1032
  readonly additionalProperties: false;
1474
1033
  },
1475
1034
  ];
1476
1035
  readonly properties: {
1477
- readonly $type: {
1478
- readonly enum: readonly ['imageTransform'];
1036
+ readonly engine: {
1037
+ readonly enum: readonly ['haiper'];
1479
1038
  readonly type: 'string';
1480
1039
  };
1481
1040
  };
1482
1041
  };
1483
- export declare const $ImageTransformer: {
1484
- readonly enum: readonly ['canny', 'depthZoe', 'softedgePidinet', 'rembg'];
1042
+ export declare const $HaiperVideoGenModel: {
1043
+ readonly enum: readonly ['v1_5', 'v2'];
1485
1044
  readonly type: 'string';
1486
- readonly description: 'Available image transformers.';
1487
1045
  };
1488
- export declare const $Job: {
1489
- readonly required: readonly ['$type'];
1046
+ export declare const $HaiperVideoGenOutput: {
1047
+ readonly allOf: readonly [
1048
+ {
1049
+ readonly $ref: '#/components/schemas/VideoGenOutput';
1050
+ },
1051
+ {
1052
+ readonly type: 'object';
1053
+ readonly properties: {
1054
+ readonly progress: {
1055
+ readonly type: 'number';
1056
+ readonly format: 'double';
1057
+ readonly nullable: true;
1058
+ };
1059
+ readonly externalTOSViolation: {
1060
+ readonly type: 'boolean';
1061
+ readonly nullable: true;
1062
+ };
1063
+ readonly message: {
1064
+ readonly type: 'string';
1065
+ readonly nullable: true;
1066
+ };
1067
+ };
1068
+ readonly additionalProperties: false;
1069
+ },
1070
+ ];
1071
+ };
1072
+ export declare const $HumanoidImageMaskCategory: {
1073
+ readonly enum: readonly ['dresses', 'upperBody', 'lowerBody'];
1074
+ readonly type: 'string';
1075
+ };
1076
+ export declare const $HumanoidImageMaskInput: {
1077
+ readonly required: readonly ['category', 'imageUrl'];
1490
1078
  readonly type: 'object';
1491
1079
  readonly properties: {
1492
- readonly $type: {
1493
- readonly type: 'string';
1494
- };
1495
- readonly id: {
1080
+ readonly imageUrl: {
1496
1081
  readonly type: 'string';
1497
- readonly description: 'A unique id for this job';
1082
+ readonly format: 'uri';
1498
1083
  };
1499
- readonly createdAt: {
1500
- readonly type: 'string';
1501
- readonly description: 'The date when this job got created';
1502
- readonly format: 'date-time';
1084
+ readonly category: {
1085
+ readonly $ref: '#/components/schemas/HumanoidImageMaskCategory';
1503
1086
  };
1504
- readonly expireAt: {
1505
- readonly type: 'string';
1506
- readonly description: 'The date for when this job was set to expire';
1507
- readonly format: 'date-time';
1508
- readonly nullable: true;
1087
+ };
1088
+ readonly additionalProperties: false;
1089
+ };
1090
+ export declare const $HumanoidImageMaskOutput: {
1091
+ readonly required: readonly ['blob'];
1092
+ readonly type: 'object';
1093
+ readonly properties: {
1094
+ readonly blob: {
1095
+ readonly $ref: '#/components/schemas/Blob';
1509
1096
  };
1510
- readonly webhook: {
1097
+ };
1098
+ readonly additionalProperties: false;
1099
+ };
1100
+ export declare const $HunyuanVdeoGenInput: {
1101
+ readonly required: readonly ['engine'];
1102
+ readonly allOf: readonly [
1103
+ {
1104
+ readonly $ref: '#/components/schemas/VideoGenInput';
1105
+ },
1106
+ {
1107
+ readonly type: 'object';
1108
+ readonly properties: {
1109
+ readonly cfgScale: {
1110
+ readonly maximum: 100;
1111
+ readonly minimum: 0;
1112
+ readonly type: 'number';
1113
+ readonly format: 'double';
1114
+ readonly default: 4;
1115
+ };
1116
+ readonly frameRate: {
1117
+ readonly type: 'integer';
1118
+ readonly format: 'int32';
1119
+ readonly default: 25;
1120
+ };
1121
+ readonly duration: {
1122
+ readonly maximum: 30;
1123
+ readonly minimum: 1;
1124
+ readonly type: 'integer';
1125
+ readonly format: 'int32';
1126
+ readonly default: 5;
1127
+ };
1128
+ readonly seed: {
1129
+ readonly type: 'integer';
1130
+ readonly format: 'int32';
1131
+ readonly nullable: true;
1132
+ };
1133
+ readonly steps: {
1134
+ readonly maximum: 50;
1135
+ readonly minimum: 10;
1136
+ readonly type: 'integer';
1137
+ readonly format: 'int32';
1138
+ readonly default: 20;
1139
+ };
1140
+ readonly width: {
1141
+ readonly type: 'integer';
1142
+ readonly format: 'int32';
1143
+ };
1144
+ readonly height: {
1145
+ readonly type: 'integer';
1146
+ readonly format: 'int32';
1147
+ };
1148
+ readonly loras: {
1149
+ readonly type: 'array';
1150
+ readonly items: {
1151
+ readonly $ref: '#/components/schemas/VideoGenInputLora';
1152
+ };
1153
+ };
1154
+ readonly model: {
1155
+ 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_\\-]+))?$';
1156
+ readonly type: 'string';
1157
+ readonly nullable: true;
1158
+ };
1159
+ };
1160
+ readonly additionalProperties: false;
1161
+ },
1162
+ ];
1163
+ readonly properties: {
1164
+ readonly engine: {
1165
+ readonly enum: readonly ['hunyuan'];
1511
1166
  readonly type: 'string';
1512
- readonly description: 'A webhook to be invoked when the job receives a status update';
1513
- readonly format: 'uri';
1514
- readonly nullable: true;
1515
1167
  };
1516
- readonly properties: {
1168
+ };
1169
+ };
1170
+ export declare const $ImageBlob: {
1171
+ readonly required: readonly ['type'];
1172
+ readonly allOf: readonly [
1173
+ {
1174
+ readonly $ref: '#/components/schemas/Blob';
1175
+ },
1176
+ {
1517
1177
  readonly type: 'object';
1518
- readonly additionalProperties: {};
1519
- readonly description: 'A set of user defined properties that can be used to index and partition this job';
1520
- };
1178
+ readonly properties: {
1179
+ readonly width: {
1180
+ readonly type: 'integer';
1181
+ readonly format: 'int32';
1182
+ readonly nullable: true;
1183
+ };
1184
+ readonly height: {
1185
+ readonly type: 'integer';
1186
+ readonly format: 'int32';
1187
+ readonly nullable: true;
1188
+ };
1189
+ };
1190
+ readonly additionalProperties: false;
1191
+ },
1192
+ ];
1193
+ readonly properties: {
1521
1194
  readonly type: {
1195
+ readonly enum: readonly ['image'];
1522
1196
  readonly type: 'string';
1523
- readonly description: 'The type of this job as a string';
1524
1197
  };
1525
- readonly cost: {
1526
- readonly type: 'number';
1527
- readonly description: 'Get a cost for this job';
1528
- readonly format: 'double';
1198
+ };
1199
+ };
1200
+ export declare const $ImageGenInput: {
1201
+ readonly required: readonly ['engine'];
1202
+ readonly type: 'object';
1203
+ readonly properties: {
1204
+ readonly engine: {
1205
+ readonly type: 'string';
1529
1206
  };
1530
- readonly maxRetryAttempt: {
1531
- readonly type: 'integer';
1532
- readonly description: 'The max number of retries before we give up';
1533
- readonly format: 'int32';
1207
+ };
1208
+ readonly additionalProperties: false;
1209
+ readonly discriminator: {
1210
+ readonly propertyName: 'engine';
1211
+ readonly mapping: {
1212
+ readonly openai: '#/components/schemas/OpenApiImageGenInput';
1213
+ readonly 'flux1-kontext': '#/components/schemas/Flux1KontextImageGenInput';
1214
+ readonly google: '#/components/schemas/GoogleImageGenInput';
1215
+ };
1216
+ };
1217
+ };
1218
+ export declare const $ImageGenOutput: {
1219
+ readonly required: readonly ['images'];
1220
+ readonly type: 'object';
1221
+ readonly properties: {
1222
+ readonly images: {
1223
+ readonly type: 'array';
1224
+ readonly items: {
1225
+ readonly $ref: '#/components/schemas/ImageBlob';
1226
+ };
1227
+ readonly description: 'A collection of output images.';
1534
1228
  };
1535
- readonly dependencies: {
1229
+ };
1230
+ readonly additionalProperties: false;
1231
+ };
1232
+ export declare const $ImageGenStep: {
1233
+ readonly required: readonly ['$type'];
1234
+ readonly allOf: readonly [
1235
+ {
1236
+ readonly $ref: '#/components/schemas/WorkflowStep';
1237
+ },
1238
+ {
1239
+ readonly required: readonly ['input'];
1536
1240
  readonly type: 'object';
1537
- readonly additionalProperties: {
1538
- readonly type: 'array';
1539
- readonly items: {
1540
- readonly $ref: '#/components/schemas/DynamicAssignment';
1241
+ readonly properties: {
1242
+ readonly input: {
1243
+ readonly $ref: '#/components/schemas/ImageGenInput';
1244
+ };
1245
+ readonly output: {
1246
+ readonly $ref: '#/components/schemas/ImageGenOutput';
1541
1247
  };
1542
1248
  };
1543
- readonly description: 'Get or set a list of dependencies that this job has';
1544
- };
1545
- readonly issuedBy: {
1249
+ readonly additionalProperties: false;
1250
+ },
1251
+ ];
1252
+ readonly properties: {
1253
+ readonly $type: {
1254
+ readonly enum: readonly ['imageGen'];
1546
1255
  readonly type: 'string';
1547
- readonly description: 'Get or set the name of the consumer that issued this job';
1548
- readonly nullable: true;
1549
- };
1550
- readonly version: {
1551
- readonly type: 'integer';
1552
- readonly description: 'Get or set the version of this job, this is used to track changes to the job schema';
1553
- readonly format: 'int32';
1554
- readonly default: 0;
1555
1256
  };
1556
- readonly jobDependencies: {
1557
- readonly type: 'array';
1558
- readonly items: {
1559
- readonly $ref: '#/components/schemas/JobDependency';
1257
+ };
1258
+ readonly description: 'Image Generation';
1259
+ };
1260
+ export declare const $ImageGenStepTemplate: {
1261
+ readonly required: readonly ['$type'];
1262
+ readonly allOf: readonly [
1263
+ {
1264
+ readonly $ref: '#/components/schemas/WorkflowStepTemplate';
1265
+ },
1266
+ {
1267
+ readonly required: readonly ['input'];
1268
+ readonly type: 'object';
1269
+ readonly properties: {
1270
+ readonly input: {
1271
+ readonly $ref: '#/components/schemas/ImageGenInput';
1272
+ };
1273
+ };
1274
+ readonly additionalProperties: false;
1275
+ },
1276
+ ];
1277
+ readonly properties: {
1278
+ readonly $type: {
1279
+ readonly enum: readonly ['imageGen'];
1280
+ readonly type: 'string';
1281
+ };
1282
+ };
1283
+ readonly description: 'Image Generation';
1284
+ };
1285
+ export declare const $ImageJobControlNet: {
1286
+ readonly type: 'object';
1287
+ readonly properties: {
1288
+ readonly preprocessor: {
1289
+ readonly $ref: '#/components/schemas/ImageTransformer';
1290
+ };
1291
+ readonly weight: {
1292
+ readonly type: 'number';
1293
+ readonly description: 'A value representing the weight applied to the ControlNet.';
1294
+ readonly format: 'double';
1295
+ };
1296
+ readonly startStep: {
1297
+ readonly type: 'number';
1298
+ readonly description: 'A value representing the start step selected for the ControlNet.';
1299
+ readonly format: 'double';
1300
+ };
1301
+ readonly endStep: {
1302
+ readonly type: 'number';
1303
+ readonly description: 'A value representing the end step selected for the ControlNet.';
1304
+ readonly format: 'double';
1305
+ };
1306
+ };
1307
+ readonly additionalProperties: false;
1308
+ readonly description: 'Information for a controlnet provided for a text to image input.';
1309
+ };
1310
+ export declare const $ImageJobNetworkParams: {
1311
+ readonly type: 'object';
1312
+ readonly properties: {
1313
+ readonly strength: {
1314
+ readonly type: 'number';
1315
+ readonly description: 'In case of Lora and LoCon, set the strength of the network';
1316
+ readonly format: 'double';
1317
+ readonly nullable: true;
1318
+ };
1319
+ readonly triggerWord: {
1320
+ readonly type: 'string';
1321
+ readonly description: 'In case of a TextualInversion, set the trigger word of the network';
1322
+ readonly nullable: true;
1323
+ };
1324
+ readonly type: {
1325
+ readonly type: 'string';
1326
+ readonly description: 'A legacy type set by the consumer';
1327
+ readonly nullable: true;
1328
+ };
1329
+ };
1330
+ readonly additionalProperties: false;
1331
+ };
1332
+ export declare const $ImageResouceTrainingModerationStatus: {
1333
+ readonly enum: readonly ['evaluating', 'underReview', 'approved', 'rejected'];
1334
+ readonly type: 'string';
1335
+ };
1336
+ export declare const $ImageResourceTrainingInput: {
1337
+ readonly required: readonly ['engine', 'model', 'trainingData', 'trainingDataImagesCount'];
1338
+ readonly type: 'object';
1339
+ readonly properties: {
1340
+ readonly engine: {
1341
+ readonly type: 'string';
1342
+ };
1343
+ readonly model: {
1344
+ 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_\\-]+))?$';
1345
+ readonly type: 'string';
1346
+ readonly description: 'The primary model to train upon.';
1347
+ };
1348
+ readonly trainingData: {
1349
+ readonly type: 'string';
1350
+ readonly description: 'A url referring data to use in training.';
1351
+ readonly format: 'uri';
1352
+ };
1353
+ readonly trainingDataImagesCount: {
1354
+ readonly type: 'integer';
1355
+ readonly description: 'The number of images embedded in this training data. This is used to calculate the cost of training.';
1356
+ readonly format: 'int32';
1357
+ };
1358
+ readonly loraName: {
1359
+ readonly type: 'string';
1360
+ readonly description: 'The desired lora name.';
1361
+ readonly default: 'my-lora';
1362
+ };
1363
+ readonly samplePrompts: {
1364
+ readonly type: 'array';
1365
+ readonly items: {
1366
+ readonly type: 'string';
1367
+ };
1368
+ readonly description: 'A selection of sample prompts.';
1369
+ };
1370
+ };
1371
+ readonly additionalProperties: false;
1372
+ readonly description: 'Input for an image resource training step.';
1373
+ readonly discriminator: {
1374
+ readonly propertyName: 'engine';
1375
+ readonly mapping: {
1376
+ readonly kohya: '#/components/schemas/KohyaImageResourceTrainingInput';
1377
+ readonly 'flux-dev-fast': '#/components/schemas/FluxDevFastImageResourceTrainingInput';
1378
+ readonly musubi: '#/components/schemas/MusubiImageResourceTrainingInput';
1379
+ };
1380
+ };
1381
+ };
1382
+ export declare const $ImageResourceTrainingOutput: {
1383
+ readonly required: readonly ['epochs', 'moderationStatus', 'sampleImagesPrompts'];
1384
+ readonly type: 'object';
1385
+ readonly properties: {
1386
+ readonly moderationStatus: {
1387
+ readonly $ref: '#/components/schemas/ImageResouceTrainingModerationStatus';
1388
+ };
1389
+ readonly epochs: {
1390
+ readonly type: 'array';
1391
+ readonly items: {
1392
+ readonly $ref: '#/components/schemas/EpochResult';
1393
+ };
1394
+ readonly description: 'An array of epochs.';
1395
+ };
1396
+ readonly sampleImagesPrompts: {
1397
+ readonly type: 'array';
1398
+ readonly items: {
1399
+ readonly type: 'string';
1400
+ };
1401
+ readonly description: 'The selected prompts for sample images';
1402
+ };
1403
+ readonly sampleInputImages: {
1404
+ readonly type: 'array';
1405
+ readonly items: {
1406
+ readonly type: 'string';
1407
+ readonly format: 'uri';
1408
+ };
1409
+ readonly description: 'The selected images for sample images';
1410
+ readonly nullable: true;
1411
+ };
1412
+ readonly storedAsAssets: {
1413
+ readonly type: 'boolean';
1414
+ readonly description: 'Get wether the blobs are actually stored as assets\nAssets are deprecated and require a different retrieval mechanism';
1415
+ readonly nullable: true;
1416
+ };
1417
+ readonly eta: {
1418
+ readonly type: 'number';
1419
+ readonly description: 'Get an estimate in minutes on how long the work is expected to take';
1420
+ readonly format: 'double';
1421
+ readonly nullable: true;
1422
+ };
1423
+ };
1424
+ readonly additionalProperties: false;
1425
+ };
1426
+ export declare const $ImageResourceTrainingStep: {
1427
+ readonly required: readonly ['$type'];
1428
+ readonly allOf: readonly [
1429
+ {
1430
+ readonly $ref: '#/components/schemas/WorkflowStep';
1431
+ },
1432
+ {
1433
+ readonly required: readonly ['input'];
1434
+ readonly type: 'object';
1435
+ readonly properties: {
1436
+ readonly input: {
1437
+ readonly $ref: '#/components/schemas/ImageResourceTrainingInput';
1438
+ };
1439
+ readonly output: {
1440
+ readonly $ref: '#/components/schemas/ImageResourceTrainingOutput';
1441
+ };
1442
+ };
1443
+ readonly additionalProperties: false;
1444
+ },
1445
+ ];
1446
+ readonly properties: {
1447
+ readonly $type: {
1448
+ readonly enum: readonly ['imageResourceTraining'];
1449
+ readonly type: 'string';
1450
+ };
1451
+ };
1452
+ readonly description: 'LORA Training';
1453
+ };
1454
+ export declare const $ImageResourceTrainingStepTemplate: {
1455
+ readonly required: readonly ['$type'];
1456
+ readonly allOf: readonly [
1457
+ {
1458
+ readonly $ref: '#/components/schemas/WorkflowStepTemplate';
1459
+ },
1460
+ {
1461
+ readonly required: readonly ['input'];
1462
+ readonly type: 'object';
1463
+ readonly properties: {
1464
+ readonly input: {
1465
+ readonly $ref: '#/components/schemas/ImageResourceTrainingInput';
1466
+ };
1467
+ };
1468
+ readonly additionalProperties: false;
1469
+ },
1470
+ ];
1471
+ readonly properties: {
1472
+ readonly $type: {
1473
+ readonly enum: readonly ['imageResourceTraining'];
1474
+ readonly type: 'string';
1475
+ };
1476
+ };
1477
+ readonly description: 'LORA Training';
1478
+ };
1479
+ export declare const $ImageTransformer: {
1480
+ readonly enum: readonly ['canny', 'depthZoe', 'softedgePidinet', 'rembg'];
1481
+ readonly type: 'string';
1482
+ readonly description: 'Available image transformers.';
1483
+ };
1484
+ export declare const $ImageUploadOutput: {
1485
+ readonly required: readonly ['blob'];
1486
+ readonly type: 'object';
1487
+ readonly properties: {
1488
+ readonly blob: {
1489
+ readonly $ref: '#/components/schemas/Blob';
1490
+ };
1491
+ };
1492
+ readonly additionalProperties: false;
1493
+ };
1494
+ export declare const $ImageUploadStep: {
1495
+ readonly required: readonly ['$type'];
1496
+ readonly allOf: readonly [
1497
+ {
1498
+ readonly $ref: '#/components/schemas/WorkflowStep';
1499
+ },
1500
+ {
1501
+ readonly required: readonly ['input'];
1502
+ readonly type: 'object';
1503
+ readonly properties: {
1504
+ readonly input: {
1505
+ readonly type: 'string';
1506
+ readonly description: "The workflow's input.";
1507
+ };
1508
+ readonly output: {
1509
+ readonly $ref: '#/components/schemas/ImageUploadOutput';
1510
+ };
1511
+ };
1512
+ readonly additionalProperties: false;
1513
+ },
1514
+ ];
1515
+ readonly properties: {
1516
+ readonly $type: {
1517
+ readonly enum: readonly ['imageUpload'];
1518
+ readonly type: 'string';
1519
+ };
1520
+ };
1521
+ readonly description: 'Image upload';
1522
+ };
1523
+ export declare const $ImageUploadStepTemplate: {
1524
+ readonly required: readonly ['$type'];
1525
+ readonly allOf: readonly [
1526
+ {
1527
+ readonly $ref: '#/components/schemas/WorkflowStepTemplate';
1528
+ },
1529
+ {
1530
+ readonly required: readonly ['input'];
1531
+ readonly type: 'object';
1532
+ readonly properties: {
1533
+ readonly input: {
1534
+ readonly type: 'string';
1535
+ readonly description: 'Input for the ImageUploadStep step.';
1536
+ readonly nullable: true;
1537
+ };
1538
+ };
1539
+ readonly additionalProperties: false;
1540
+ },
1541
+ ];
1542
+ readonly properties: {
1543
+ readonly $type: {
1544
+ readonly enum: readonly ['imageUpload'];
1545
+ readonly type: 'string';
1546
+ };
1547
+ };
1548
+ readonly description: 'Image upload';
1549
+ };
1550
+ export declare const $Imagen4ImageGenInput: {
1551
+ readonly required: readonly ['model'];
1552
+ readonly allOf: readonly [
1553
+ {
1554
+ readonly $ref: '#/components/schemas/GoogleImageGenInput';
1555
+ },
1556
+ {
1557
+ readonly required: readonly ['prompt'];
1558
+ readonly type: 'object';
1559
+ readonly properties: {
1560
+ readonly prompt: {
1561
+ readonly maxLength: 1000;
1562
+ readonly minLength: 0;
1563
+ readonly type: 'string';
1564
+ };
1565
+ readonly negativePrompt: {
1566
+ readonly maxLength: 1000;
1567
+ readonly minLength: 0;
1568
+ readonly type: 'string';
1569
+ };
1570
+ readonly aspectRatio: {
1571
+ readonly enum: readonly ['1:1', '16:9', '9:16', '3:4', '4:3'];
1572
+ readonly type: 'string';
1573
+ };
1574
+ readonly numImages: {
1575
+ readonly maximum: 4;
1576
+ readonly minimum: 1;
1577
+ readonly type: 'integer';
1578
+ readonly format: 'int32';
1579
+ };
1580
+ readonly seed: {
1581
+ readonly type: 'integer';
1582
+ readonly format: 'int64';
1583
+ readonly nullable: true;
1584
+ };
1585
+ };
1586
+ readonly additionalProperties: false;
1587
+ },
1588
+ ];
1589
+ readonly properties: {
1590
+ readonly model: {
1591
+ readonly enum: readonly ['imagen4'];
1592
+ readonly type: 'string';
1593
+ };
1594
+ };
1595
+ };
1596
+ export declare const $JobSupport: {
1597
+ readonly enum: readonly ['unsupported', 'unavailable', 'available'];
1598
+ readonly type: 'string';
1599
+ readonly description: 'Available levels of job support.';
1600
+ };
1601
+ export declare const $JsonPatchDocument: {
1602
+ readonly type: 'array';
1603
+ readonly items: {
1604
+ readonly $ref: '#/components/schemas/JsonPatchOperation';
1605
+ };
1606
+ readonly description: 'Array of operations to perform';
1607
+ };
1608
+ export declare const $JsonPatchOperation: {
1609
+ readonly required: readonly ['op', 'path'];
1610
+ readonly type: 'object';
1611
+ readonly properties: {
1612
+ readonly op: {
1613
+ readonly enum: readonly ['add', 'remove', 'replace', 'move', 'copy', 'test'];
1614
+ readonly type: 'string';
1615
+ readonly description: "The operation type. Allowed values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.";
1616
+ };
1617
+ readonly path: {
1618
+ readonly type: 'string';
1619
+ readonly description: 'The JSON Pointer path to the property in the target document where the operation is to be applied.';
1620
+ };
1621
+ readonly from: {
1622
+ readonly type: 'string';
1623
+ readonly description: 'Should be a path, required when using move, copy';
1624
+ };
1625
+ readonly value: {
1626
+ readonly anyOf: readonly [
1627
+ {
1628
+ readonly type: 'string';
1629
+ },
1630
+ {
1631
+ readonly type: 'number';
1632
+ },
1633
+ {
1634
+ readonly type: 'boolean';
1635
+ },
1636
+ {
1637
+ readonly type: 'object';
1638
+ },
1639
+ {
1640
+ readonly type: 'array';
1641
+ },
1642
+ ];
1643
+ readonly description: "The value to apply for 'add', 'replace', or 'test' operations. Not required for 'remove', 'move', or 'copy'.";
1644
+ readonly nullable: true;
1645
+ };
1646
+ };
1647
+ readonly description: 'Describes a single operation in a JSON Patch document. Includes the operation type, the target property path, and the value to be used.';
1648
+ };
1649
+ export declare const $KlingCameraControl: {
1650
+ readonly type: 'object';
1651
+ readonly properties: {
1652
+ readonly config: {
1653
+ readonly $ref: '#/components/schemas/KlingCameraControlConfig';
1654
+ };
1655
+ };
1656
+ readonly additionalProperties: false;
1657
+ };
1658
+ export declare const $KlingCameraControlConfig: {
1659
+ readonly type: 'object';
1660
+ readonly properties: {
1661
+ readonly horizontal: {
1662
+ readonly maximum: 10;
1663
+ readonly minimum: -10;
1664
+ readonly type: 'number';
1665
+ readonly description: "Horizontal, controls the camera's movement along the horizontal axis (translation along the x-axis).";
1666
+ readonly format: 'double';
1667
+ readonly nullable: true;
1668
+ };
1669
+ readonly vertical: {
1670
+ readonly maximum: 10;
1671
+ readonly minimum: -10;
1672
+ readonly type: 'number';
1673
+ readonly description: "Vertical, controls the camera's movement along the vertical axis (translation along the y-axis).";
1674
+ readonly format: 'double';
1675
+ readonly nullable: true;
1676
+ };
1677
+ readonly pan: {
1678
+ readonly maximum: 10;
1679
+ readonly minimum: -10;
1680
+ readonly type: 'number';
1681
+ readonly description: "Pan, controls the camera's rotation in the horizontal plane (rotation around the y-axis).";
1682
+ readonly format: 'double';
1683
+ readonly nullable: true;
1684
+ };
1685
+ readonly tilt: {
1686
+ readonly maximum: 10;
1687
+ readonly minimum: -10;
1688
+ readonly type: 'number';
1689
+ readonly description: "Tilt, controls the camera's rotation in the horizontal plane (rotation around the y-axis).";
1690
+ readonly format: 'double';
1691
+ readonly nullable: true;
1692
+ };
1693
+ readonly roll: {
1694
+ readonly maximum: 10;
1695
+ readonly minimum: -10;
1696
+ readonly type: 'number';
1697
+ readonly description: "Roll, controls the camera's rolling amount (rotation around the z-axis).";
1698
+ readonly format: 'double';
1699
+ readonly nullable: true;
1700
+ };
1701
+ readonly zoom: {
1702
+ readonly maximum: 10;
1703
+ readonly minimum: -10;
1704
+ readonly type: 'number';
1705
+ readonly description: "Zoom, controls the change in the camera's focal length, affecting the proximity of the field of view.";
1706
+ readonly format: 'double';
1707
+ readonly nullable: true;
1708
+ };
1709
+ };
1710
+ readonly additionalProperties: false;
1711
+ };
1712
+ export declare const $KlingMode: {
1713
+ readonly enum: readonly ['standard', 'professional'];
1714
+ readonly type: 'string';
1715
+ };
1716
+ export declare const $KlingModel: {
1717
+ readonly enum: readonly ['v1', 'v1_5', 'v1_6', 'v2'];
1718
+ readonly type: 'string';
1719
+ };
1720
+ export declare const $KlingVideoGenAspectRatio: {
1721
+ readonly enum: readonly ['16:9', '9:16', '1:1'];
1722
+ readonly type: 'string';
1723
+ };
1724
+ export declare const $KlingVideoGenDuration: {
1725
+ readonly enum: readonly ['5', '10'];
1726
+ readonly type: 'string';
1727
+ };
1728
+ export declare const $KlingVideoGenInput: {
1729
+ readonly required: readonly ['engine'];
1730
+ readonly allOf: readonly [
1731
+ {
1732
+ readonly $ref: '#/components/schemas/VideoGenInput';
1733
+ },
1734
+ {
1735
+ readonly type: 'object';
1736
+ readonly properties: {
1737
+ readonly model: {
1738
+ readonly $ref: '#/components/schemas/KlingModel';
1739
+ };
1740
+ readonly negativePrompt: {
1741
+ readonly type: 'string';
1742
+ readonly nullable: true;
1743
+ };
1744
+ readonly cfgScale: {
1745
+ readonly maximum: 1;
1746
+ readonly minimum: 0;
1747
+ readonly type: 'number';
1748
+ readonly format: 'double';
1749
+ readonly default: 0.5;
1750
+ };
1751
+ readonly mode: {
1752
+ readonly $ref: '#/components/schemas/KlingMode';
1753
+ };
1754
+ readonly aspectRatio: {
1755
+ readonly $ref: '#/components/schemas/KlingVideoGenAspectRatio';
1756
+ };
1757
+ readonly duration: {
1758
+ readonly $ref: '#/components/schemas/KlingVideoGenDuration';
1759
+ };
1760
+ readonly cameraControl: {
1761
+ readonly $ref: '#/components/schemas/KlingCameraControl';
1762
+ };
1763
+ readonly sourceImageUrl: {
1764
+ readonly type: 'string';
1765
+ readonly format: 'uri';
1766
+ readonly nullable: true;
1767
+ };
1768
+ readonly sourceImage: {
1769
+ readonly type: 'string';
1770
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
1771
+ readonly nullable: true;
1772
+ };
1773
+ };
1774
+ readonly additionalProperties: false;
1775
+ },
1776
+ ];
1777
+ readonly properties: {
1778
+ readonly engine: {
1779
+ readonly enum: readonly ['kling'];
1780
+ readonly type: 'string';
1781
+ };
1782
+ };
1783
+ };
1784
+ export declare const $KohyaImageResourceTrainingInput: {
1785
+ readonly required: readonly ['engine'];
1786
+ readonly allOf: readonly [
1787
+ {
1788
+ readonly $ref: '#/components/schemas/ImageResourceTrainingInput';
1789
+ },
1790
+ {
1791
+ readonly type: 'object';
1792
+ readonly properties: {
1793
+ readonly maxTrainEpochs: {
1794
+ readonly maximum: 20;
1795
+ readonly minimum: 0;
1796
+ readonly type: 'integer';
1797
+ readonly description: 'An epoch is one set of learning. By default, we will save a maximum of 20 epochs (evenly distributed), and they are all available for download.';
1798
+ readonly format: 'int32';
1799
+ readonly default: 5;
1800
+ };
1801
+ readonly numRepeats: {
1802
+ readonly maximum: 5000;
1803
+ readonly minimum: 1;
1804
+ readonly type: 'integer';
1805
+ readonly description: 'Num Repeats defines how many times each individual image gets put into VRAM. As opposed to batch size, which is how many images are placed into VRAM at once.';
1806
+ readonly format: 'int32';
1807
+ readonly default: 8;
1808
+ };
1809
+ readonly trainBatchSize: {
1810
+ readonly maximum: 9;
1811
+ readonly minimum: 1;
1812
+ readonly type: 'integer';
1813
+ readonly description: 'Batch size is the number of images that will be placed into VRAM at once. A batch size of 2 will train two images at a time, simultaneously.';
1814
+ readonly format: 'int32';
1815
+ readonly nullable: true;
1816
+ };
1817
+ readonly resolution: {
1818
+ readonly maximum: 1024;
1819
+ readonly minimum: 512;
1820
+ readonly type: 'integer';
1821
+ readonly description: 'Specify the maximum resolution of training images. If the training images exceed the resolution specified here, they will be scaled down to this resolution';
1822
+ readonly format: 'int32';
1823
+ readonly nullable: true;
1824
+ };
1825
+ readonly enableBucket: {
1826
+ readonly type: 'boolean';
1827
+ readonly description: 'Sorts images into buckets by size for the purposes of training. If your training images are all the same size, you can turn this option off, but leaving it on has no effect.';
1828
+ readonly default: true;
1829
+ };
1830
+ readonly shuffleCaption: {
1831
+ readonly type: 'boolean';
1832
+ readonly description: 'Randomly changes the order of your tags during training. The intent of shuffling is to improve learning. If you are using captions (sentences), this option has no meaning.';
1833
+ readonly default: false;
1834
+ };
1835
+ readonly keepTokens: {
1836
+ readonly maximum: 3;
1837
+ readonly minimum: 0;
1838
+ readonly type: 'integer';
1839
+ readonly description: 'If your training images have tags, you can randomly shuffle them.\nHowever, if you have words that you want to keep at the beginning, you can use this option to specify "Keep the first 0 words at the beginning".\nThis option does nothing if the Shuffle Tags option is off.';
1840
+ readonly format: 'int32';
1841
+ readonly default: 0;
1842
+ };
1843
+ readonly clipSkip: {
1844
+ readonly maximum: 4;
1845
+ readonly minimum: 1;
1846
+ readonly type: 'integer';
1847
+ readonly description: 'Determines which layer\'s vector output will be used. There are 12 layers, and setting the skip will select "xth from the end" of the total layers. For anime, we use 2. For everything else, 1.';
1848
+ readonly format: 'int32';
1849
+ };
1850
+ readonly flipAugmentation: {
1851
+ readonly type: 'boolean';
1852
+ readonly description: 'If this option is turned on, the image will be horizontally flipped randomly. It can learn left and right angles, which is useful when you want to learn symmetrical people and objects.';
1853
+ readonly default: false;
1854
+ };
1855
+ readonly unetLR: {
1856
+ readonly maximum: 1;
1857
+ readonly minimum: 0;
1858
+ readonly type: 'number';
1859
+ readonly description: 'Sets the learning rate for U-Net. This is the learning rate when performing additional learning on each attention block (and other blocks depending on the setting) in U-Net';
1860
+ readonly format: 'double';
1861
+ readonly default: 0.00005;
1862
+ };
1863
+ readonly textEncoderLR: {
1864
+ readonly maximum: 1;
1865
+ readonly minimum: 0;
1866
+ readonly type: 'number';
1867
+ readonly description: 'Sets the learning rate for the text encoder. The effect of additional training on text encoders affects the entire U-Net.';
1868
+ readonly format: 'double';
1869
+ readonly default: 0.00005;
1870
+ };
1871
+ readonly lrScheduler: {
1872
+ readonly enum: readonly ['constant', 'cosine', 'cosine_with_restarts', 'linear'];
1873
+ readonly type: 'string';
1874
+ 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.';
1875
+ readonly nullable: true;
1876
+ };
1877
+ readonly lrSchedulerNumCycles: {
1878
+ readonly maximum: 4;
1879
+ readonly minimum: 1;
1880
+ readonly type: 'integer';
1881
+ readonly description: 'This option specifies how many cycles the scheduler runs during training. It is only used when "cosine_with_restarts" or "polynomial" is used as the scheduler.';
1882
+ readonly format: 'int32';
1883
+ readonly default: 3;
1884
+ };
1885
+ readonly minSnrGamma: {
1886
+ readonly maximum: 20;
1887
+ readonly minimum: 0;
1888
+ readonly type: 'integer';
1889
+ readonly description: 'Learning is performed by putting noise of various strengths on the training image,\nbut depending on the difference in strength of the noise on which it is placed, learning will be\nstable by moving closer to or farther from the learning target.\n \nMin SNR gamma was introduced to compensate for that. When learning images have little noise,\nit may deviate greatly from the target, so try to suppress this jump.';
1890
+ readonly format: 'int32';
1891
+ readonly nullable: true;
1892
+ };
1893
+ readonly networkDim: {
1894
+ readonly maximum: 256;
1895
+ readonly minimum: 1;
1896
+ readonly type: 'integer';
1897
+ readonly description: 'The larger the Dim setting, the more learning information can be stored, but the possibility of learning unnecessary information other than the learning target increases. A larger Dim also increases LoRA file size.';
1898
+ readonly format: 'int32';
1899
+ readonly nullable: true;
1900
+ };
1901
+ readonly networkAlpha: {
1902
+ readonly maximum: 256;
1903
+ readonly minimum: 1;
1904
+ readonly type: 'integer';
1905
+ readonly description: 'The smaller the Network alpha value, the larger the stored LoRA neural net weights.\nFor example, with an Alpha of 16 and a Dim of 32, the strength of the weight used is 16/32 = 0.5,\nmeaning that the learning rate is only half as powerful as the Learning Rate setting.\n \nIf Alpha and Dim are the same number, the strength used will be 1 and will have no effect on the learning rate.';
1906
+ readonly format: 'int32';
1907
+ readonly nullable: true;
1908
+ };
1909
+ readonly noiseOffset: {
1910
+ readonly maximum: 1;
1911
+ readonly minimum: 0;
1912
+ readonly type: 'number';
1913
+ readonly description: 'Adds noise to training images. 0 adds no noise at all. A value of 1 adds strong noise.';
1914
+ readonly format: 'double';
1915
+ readonly nullable: true;
1916
+ };
1917
+ readonly optimizerType: {
1918
+ readonly type: 'string';
1919
+ readonly description: 'The optimizer determines how to update the neural net weights during training.\nVarious methods have been proposed for smart learning, but the most commonly used in LoRA learning\nis "AdamW8bit" or "Adafactor" for SDXL.';
1920
+ readonly nullable: true;
1921
+ };
1922
+ readonly targetSteps: {
1923
+ readonly type: 'integer';
1924
+ readonly format: 'int32';
1925
+ readonly nullable: true;
1926
+ readonly readOnly: true;
1927
+ };
1928
+ };
1929
+ readonly additionalProperties: false;
1930
+ },
1931
+ ];
1932
+ readonly properties: {
1933
+ readonly engine: {
1934
+ readonly enum: readonly ['kohya'];
1935
+ readonly type: 'string';
1936
+ };
1937
+ };
1938
+ };
1939
+ export declare const $LightricksAspectRatio: {
1940
+ readonly enum: readonly ['1:1', '16:9', '9:16', '3:2', '2:3'];
1941
+ readonly type: 'string';
1942
+ };
1943
+ export declare const $LightricksVideoGenInput: {
1944
+ readonly required: readonly ['engine'];
1945
+ readonly allOf: readonly [
1946
+ {
1947
+ readonly $ref: '#/components/schemas/VideoGenInput';
1948
+ },
1949
+ {
1950
+ readonly type: 'object';
1951
+ readonly properties: {
1952
+ readonly negativePrompt: {
1953
+ readonly type: 'string';
1954
+ readonly nullable: true;
1955
+ };
1956
+ readonly cfgScale: {
1957
+ readonly maximum: 100;
1958
+ readonly minimum: 0;
1959
+ readonly type: 'number';
1960
+ readonly format: 'double';
1961
+ readonly default: 4;
1962
+ };
1963
+ readonly frameRate: {
1964
+ readonly type: 'integer';
1965
+ readonly format: 'int32';
1966
+ readonly default: 25;
1967
+ };
1968
+ readonly duration: {
1969
+ readonly maximum: 30;
1970
+ readonly minimum: 1;
1971
+ readonly type: 'integer';
1972
+ readonly format: 'int32';
1973
+ readonly default: 5;
1974
+ };
1975
+ readonly seed: {
1976
+ readonly type: 'integer';
1977
+ readonly format: 'int32';
1978
+ readonly nullable: true;
1979
+ };
1980
+ readonly steps: {
1981
+ readonly maximum: 50;
1982
+ readonly minimum: 10;
1983
+ readonly type: 'integer';
1984
+ readonly format: 'int32';
1985
+ readonly default: 20;
1986
+ };
1987
+ readonly aspectRatio: {
1988
+ readonly $ref: '#/components/schemas/LightricksAspectRatio';
1989
+ };
1990
+ readonly sourceImage: {
1991
+ readonly type: 'string';
1992
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
1993
+ readonly nullable: true;
1994
+ };
1995
+ readonly expandPrompt: {
1996
+ readonly type: 'boolean';
1997
+ readonly default: true;
1998
+ };
1560
1999
  };
1561
- readonly description: 'Get or set a list of dependencies that this job has';
1562
- };
1563
- readonly claimDuration: {
2000
+ readonly additionalProperties: false;
2001
+ },
2002
+ ];
2003
+ readonly properties: {
2004
+ readonly engine: {
2005
+ readonly enum: readonly ['lightricks'];
1564
2006
  readonly type: 'string';
1565
- readonly description: 'The total duration that the job can be claimed';
1566
- readonly format: 'date-span';
1567
- };
1568
- readonly resources: {
1569
- readonly type: 'array';
1570
- readonly items: {
1571
- 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_\\-]+))?$';
1572
- readonly type: 'string';
1573
- };
1574
- readonly description: 'Get a list of resources that this job depends on';
1575
- };
1576
- readonly recovered: {
1577
- readonly type: 'boolean';
1578
- readonly description: 'An internal property to mark that the job has been recovered. We use this to not fiddle with up/down counters as we may have missed other counters';
1579
- };
1580
- };
1581
- readonly additionalProperties: false;
1582
- readonly discriminator: {
1583
- readonly propertyName: '$type';
1584
- readonly mapping: {
1585
- readonly textToImage: '#/components/schemas/TextToImageJob';
1586
- readonly imageResourceTraining: '#/components/schemas/ImageResourceTrainingJob';
1587
- readonly imageTransform: '#/components/schemas/ImageTransformJob';
1588
- readonly movieRating: '#/components/schemas/MovieRatingJob';
1589
- readonly wdTagging: '#/components/schemas/WDTaggingJob';
1590
- readonly mediaTagging: '#/components/schemas/MediaTaggingJob';
1591
- readonly comfy: '#/components/schemas/ComfyJob';
1592
- readonly imageEmbedding: '#/components/schemas/ImageEmbeddingJob';
1593
- readonly similaritySearch: '#/components/schemas/SimilaritySearchJob';
1594
- readonly llmPromptAugmentation: '#/components/schemas/LLMPromptAugmentationJob';
1595
- readonly humanoidImageMask: '#/components/schemas/HumanoidImageMaskJob';
1596
- readonly tryOnU: '#/components/schemas/TryOnUJob';
1597
- readonly mediaCaptioning: '#/components/schemas/MediaCaptioningJob';
1598
- readonly ageClassification: '#/components/schemas/AgeClassificationJob';
1599
- readonly batchOCRSafetyClassification: '#/components/schemas/BatchOCRSafetyClassificationJob';
1600
- readonly gate: '#/components/schemas/GateJob';
1601
- readonly haiper: '#/components/schemas/HaiperVideoGenJob';
1602
- readonly mochi: '#/components/schemas/MochiVideoGenJob';
1603
2007
  };
1604
2008
  };
1605
2009
  };
1606
- export declare const $JobDependency: {
1607
- readonly type: 'object';
2010
+ export declare const $MiniMaxVideoGenInput: {
2011
+ readonly required: readonly ['engine'];
2012
+ readonly allOf: readonly [
2013
+ {
2014
+ readonly $ref: '#/components/schemas/VideoGenInput';
2015
+ },
2016
+ {
2017
+ readonly type: 'object';
2018
+ readonly properties: {
2019
+ readonly model: {
2020
+ readonly $ref: '#/components/schemas/MiniMaxVideoGenModel';
2021
+ };
2022
+ readonly enablePromptEnhancer: {
2023
+ readonly type: 'boolean';
2024
+ };
2025
+ readonly sourceImage: {
2026
+ readonly type: 'string';
2027
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
2028
+ readonly nullable: true;
2029
+ };
2030
+ };
2031
+ readonly additionalProperties: false;
2032
+ },
2033
+ ];
1608
2034
  readonly properties: {
1609
- readonly jobId: {
2035
+ readonly engine: {
2036
+ readonly enum: readonly ['minimax'];
1610
2037
  readonly type: 'string';
1611
2038
  };
1612
- readonly onFailure: {
1613
- readonly $ref: '#/components/schemas/JobDependencyContinuation';
1614
- };
1615
- readonly onSuccess: {
1616
- readonly $ref: '#/components/schemas/JobDependencyContinuation';
1617
- };
1618
- readonly dynamicAssignments: {
1619
- readonly type: 'array';
1620
- readonly items: {
1621
- readonly $ref: '#/components/schemas/DynamicAssignment';
1622
- };
1623
- };
1624
2039
  };
1625
- readonly additionalProperties: false;
1626
- };
1627
- export declare const $JobDependencyContinuation: {
1628
- readonly enum: readonly ['fail', 'skip', 'continue'];
1629
- readonly type: 'string';
1630
2040
  };
1631
- export declare const $JobSupport: {
1632
- readonly enum: readonly ['unsupported', 'unavailable', 'available'];
2041
+ export declare const $MiniMaxVideoGenModel: {
2042
+ readonly enum: readonly ['hailou'];
1633
2043
  readonly type: 'string';
1634
- readonly description: 'Available levels of job support.';
1635
- };
1636
- export declare const $JsonPatchDocument: {
1637
- readonly type: 'array';
1638
- readonly items: {
1639
- readonly $ref: '#/components/schemas/JsonPatchOperation';
1640
- };
1641
- readonly description: 'Array of operations to perform';
1642
2044
  };
1643
- export declare const $JsonPatchOperation: {
1644
- readonly required: readonly ['op', 'path'];
1645
- readonly type: 'object';
2045
+ export declare const $MochiVideoGenInput: {
2046
+ readonly required: readonly ['engine'];
2047
+ readonly allOf: readonly [
2048
+ {
2049
+ readonly $ref: '#/components/schemas/VideoGenInput';
2050
+ },
2051
+ {
2052
+ readonly type: 'object';
2053
+ readonly properties: {
2054
+ readonly seed: {
2055
+ readonly maximum: 2147483647;
2056
+ readonly minimum: -1;
2057
+ readonly type: 'integer';
2058
+ readonly format: 'int64';
2059
+ };
2060
+ readonly enablePromptEnhancer: {
2061
+ readonly type: 'boolean';
2062
+ };
2063
+ };
2064
+ readonly additionalProperties: false;
2065
+ },
2066
+ ];
1646
2067
  readonly properties: {
1647
- readonly op: {
1648
- readonly enum: readonly ['add', 'remove', 'replace', 'move', 'copy', 'test'];
1649
- readonly type: 'string';
1650
- readonly description: "The operation type. Allowed values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.";
1651
- };
1652
- readonly path: {
1653
- readonly type: 'string';
1654
- readonly description: 'The JSON Pointer path to the property in the target document where the operation is to be applied.';
1655
- };
1656
- readonly from: {
2068
+ readonly engine: {
2069
+ readonly enum: readonly ['mochi'];
1657
2070
  readonly type: 'string';
1658
- readonly description: 'Should be a path, required when using move, copy';
1659
- };
1660
- readonly value: {
1661
- readonly anyOf: readonly [
1662
- {
1663
- readonly type: 'string';
1664
- },
1665
- {
1666
- readonly type: 'number';
1667
- },
1668
- {
1669
- readonly type: 'boolean';
1670
- },
1671
- {
1672
- readonly type: 'object';
1673
- },
1674
- {
1675
- readonly type: 'array';
1676
- },
1677
- ];
1678
- readonly description: "The value to apply for 'add', 'replace', or 'test' operations. Not required for 'remove', 'move', or 'copy'.";
1679
- readonly nullable: true;
1680
2071
  };
1681
2072
  };
1682
- readonly description: 'Describes a single operation in a JSON Patch document. Includes the operation type, the target property path, and the value to be used.';
1683
2073
  };
1684
- export declare const $KohyaImageResourceTrainingInput: {
2074
+ export declare const $MusubiImageResourceTrainingInput: {
1685
2075
  readonly required: readonly ['engine'];
1686
2076
  readonly allOf: readonly [
1687
2077
  {
@@ -1727,31 +2117,6 @@ export declare const $KohyaImageResourceTrainingInput: {
1727
2117
  readonly description: 'Sorts images into buckets by size for the purposes of training. If your training images are all the same size, you can turn this option off, but leaving it on has no effect.';
1728
2118
  readonly default: true;
1729
2119
  };
1730
- readonly shuffleCaption: {
1731
- readonly type: 'boolean';
1732
- readonly description: 'Randomly changes the order of your tags during training. The intent of shuffling is to improve learning. If you are using captions (sentences), this option has no meaning.';
1733
- readonly default: false;
1734
- };
1735
- readonly keepTokens: {
1736
- readonly maximum: 3;
1737
- readonly minimum: 0;
1738
- readonly type: 'integer';
1739
- readonly description: 'If your training images have tags, you can randomly shuffle them. \nHowever, if you have words that you want to keep at the beginning, you can use this option to specify "Keep the first 0 words at the beginning".\nThis option does nothing if the Shuffle Tags option is off.';
1740
- readonly format: 'int32';
1741
- readonly default: 0;
1742
- };
1743
- readonly clipSkip: {
1744
- readonly maximum: 4;
1745
- readonly minimum: 1;
1746
- readonly type: 'integer';
1747
- readonly description: 'Determines which layer\'s vector output will be used. There are 12 layers, and setting the skip will select "xth from the end" of the total layers. For anime, we use 2. For everything else, 1.';
1748
- readonly format: 'int32';
1749
- };
1750
- readonly flipAugmentation: {
1751
- readonly type: 'boolean';
1752
- readonly description: 'If this option is turned on, the image will be horizontally flipped randomly. It can learn left and right angles, which is useful when you want to learn symmetrical people and objects.';
1753
- readonly default: false;
1754
- };
1755
2120
  readonly unetLR: {
1756
2121
  readonly maximum: 1;
1757
2122
  readonly minimum: 0;
@@ -1760,15 +2125,8 @@ export declare const $KohyaImageResourceTrainingInput: {
1760
2125
  readonly format: 'double';
1761
2126
  readonly default: 0.00005;
1762
2127
  };
1763
- readonly textEncoderLR: {
1764
- readonly maximum: 1;
1765
- readonly minimum: 0;
1766
- readonly type: 'number';
1767
- readonly description: 'Sets the learning rate for the text encoder. The effect of additional training on text encoders affects the entire U-Net.';
1768
- readonly format: 'double';
1769
- readonly default: 0.00005;
1770
- };
1771
2128
  readonly lrScheduler: {
2129
+ readonly enum: readonly ['constant', 'cosine', 'cosine_with_restarts', 'linear'];
1772
2130
  readonly type: 'string';
1773
2131
  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.';
1774
2132
  readonly nullable: true;
@@ -1781,14 +2139,6 @@ export declare const $KohyaImageResourceTrainingInput: {
1781
2139
  readonly format: 'int32';
1782
2140
  readonly default: 3;
1783
2141
  };
1784
- readonly minSnrGamma: {
1785
- readonly maximum: 20;
1786
- readonly minimum: 0;
1787
- readonly type: 'integer';
1788
- readonly description: 'Learning is performed by putting noise of various strengths on the training image, \nbut depending on the difference in strength of the noise on which it is placed, learning will be\nstable by moving closer to or farther from the learning target.\n\nMin SNR gamma was introduced to compensate for that. When learning images have little noise,\nit may deviate greatly from the target, so try to suppress this jump.';
1789
- readonly format: 'int32';
1790
- readonly nullable: true;
1791
- };
1792
2142
  readonly networkDim: {
1793
2143
  readonly maximum: 256;
1794
2144
  readonly minimum: 1;
@@ -1801,21 +2151,13 @@ export declare const $KohyaImageResourceTrainingInput: {
1801
2151
  readonly maximum: 256;
1802
2152
  readonly minimum: 1;
1803
2153
  readonly type: 'integer';
1804
- readonly description: 'The smaller the Network alpha value, the larger the stored LoRA neural net weights. \nFor example, with an Alpha of 16 and a Dim of 32, the strength of the weight used is 16/32 = 0.5, \nmeaning that the learning rate is only half as powerful as the Learning Rate setting.\n\nIf Alpha and Dim are the same number, the strength used will be 1 and will have no effect on the learning rate.';
2154
+ readonly description: 'The smaller the Network alpha value, the larger the stored LoRA neural net weights.\nFor example, with an Alpha of 16 and a Dim of 32, the strength of the weight used is 16/32 = 0.5,\nmeaning that the learning rate is only half as powerful as the Learning Rate setting.\n \nIf Alpha and Dim are the same number, the strength used will be 1 and will have no effect on the learning rate.';
1805
2155
  readonly format: 'int32';
1806
2156
  readonly nullable: true;
1807
2157
  };
1808
- readonly noiseOffset: {
1809
- readonly maximum: 1;
1810
- readonly minimum: 0;
1811
- readonly type: 'number';
1812
- readonly description: 'Adds noise to training images. 0 adds no noise at all. A value of 1 adds strong noise.';
1813
- readonly format: 'double';
1814
- readonly nullable: true;
1815
- };
1816
2158
  readonly optimizerType: {
1817
2159
  readonly type: 'string';
1818
- readonly description: 'The optimizer determines how to update the neural net weights during training. \nVarious methods have been proposed for smart learning, but the most commonly used in LoRA learning \nis "AdamW8bit" or "Adafactor" for SDXL.';
2160
+ readonly description: 'The optimizer determines how to update the neural net weights during training.\nVarious methods have been proposed for smart learning, but the most commonly used in LoRA learning\nis "AdamW8bit" or "Adafactor" for SDXL.';
1819
2161
  readonly nullable: true;
1820
2162
  };
1821
2163
  readonly targetSteps: {
@@ -1830,262 +2172,327 @@ export declare const $KohyaImageResourceTrainingInput: {
1830
2172
  ];
1831
2173
  readonly properties: {
1832
2174
  readonly engine: {
1833
- readonly enum: readonly ['kohya'];
2175
+ readonly enum: readonly ['musubi'];
1834
2176
  readonly type: 'string';
1835
2177
  };
1836
2178
  };
1837
2179
  };
1838
- export declare const $LLMPromptAugmentationCapabilities: {
1839
- readonly type: 'object';
1840
- readonly additionalProperties: false;
1841
- readonly description: 'LLM prompt augmentaition capabilities.';
2180
+ export declare const $NSFWLevel: {
2181
+ readonly enum: readonly ['pg', 'pG13', 'r', 'x', 'xxx', 'na'];
2182
+ readonly type: 'string';
1842
2183
  };
1843
- export declare const $LLMPromptAugmentationJob: {
1844
- readonly required: readonly ['$type'];
2184
+ export declare const $OpenAIDallE2CreateImageGenInput: {
2185
+ readonly required: readonly ['operation'];
1845
2186
  readonly allOf: readonly [
1846
2187
  {
1847
- readonly $ref: '#/components/schemas/Job';
2188
+ readonly $ref: '#/components/schemas/OpenAIDallE2ImageGenInput';
1848
2189
  },
1849
2190
  {
1850
- readonly required: readonly ['model'];
1851
2191
  readonly type: 'object';
1852
2192
  readonly properties: {
1853
- readonly model: {
2193
+ readonly background: {
2194
+ readonly enum: readonly ['auto', 'transparent', 'opaque'];
2195
+ readonly type: 'string';
2196
+ };
2197
+ };
2198
+ readonly additionalProperties: false;
2199
+ },
2200
+ ];
2201
+ readonly properties: {
2202
+ readonly operation: {
2203
+ readonly enum: readonly ['createImage'];
2204
+ readonly type: 'string';
2205
+ };
2206
+ };
2207
+ };
2208
+ export declare const $OpenAIDallE2EditImageInput: {
2209
+ readonly required: readonly ['operation'];
2210
+ readonly allOf: readonly [
2211
+ {
2212
+ readonly $ref: '#/components/schemas/OpenAIDallE2ImageGenInput';
2213
+ },
2214
+ {
2215
+ readonly required: readonly ['image'];
2216
+ readonly type: 'object';
2217
+ readonly properties: {
2218
+ readonly image: {
1854
2219
  readonly type: 'string';
1855
- readonly description: 'The primary model to use.';
2220
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
1856
2221
  };
1857
- readonly basePrompt: {
2222
+ readonly mask: {
1858
2223
  readonly type: 'string';
1859
- readonly description: 'The base prompt.';
2224
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
1860
2225
  readonly nullable: true;
1861
2226
  };
1862
- readonly prompts: {
1863
- readonly type: 'array';
1864
- readonly items: {
1865
- readonly type: 'string';
1866
- };
1867
- readonly description: 'A list of prompts.';
2227
+ };
2228
+ readonly additionalProperties: false;
2229
+ },
2230
+ ];
2231
+ readonly properties: {
2232
+ readonly operation: {
2233
+ readonly enum: readonly ['editImage'];
2234
+ readonly type: 'string';
2235
+ };
2236
+ };
2237
+ };
2238
+ export declare const $OpenAIDallE2ImageGenInput: {
2239
+ readonly required: readonly ['model'];
2240
+ readonly allOf: readonly [
2241
+ {
2242
+ readonly $ref: '#/components/schemas/OpenApiImageGenInput';
2243
+ },
2244
+ {
2245
+ readonly required: readonly ['operation', 'prompt', 'size'];
2246
+ readonly type: 'object';
2247
+ readonly properties: {
2248
+ readonly operation: {
2249
+ readonly type: 'string';
1868
2250
  };
1869
- readonly temp: {
1870
- readonly type: 'number';
1871
- readonly description: 'The temp.';
1872
- readonly format: 'double';
2251
+ readonly prompt: {
2252
+ readonly maxLength: 1000;
2253
+ readonly minLength: 0;
2254
+ readonly type: 'string';
1873
2255
  };
1874
- readonly type: {
2256
+ readonly size: {
2257
+ readonly enum: readonly ['256x256', '512x512', '1024x1024'];
1875
2258
  readonly type: 'string';
1876
- readonly description: 'The type.';
1877
- readonly readOnly: true;
2259
+ };
2260
+ readonly quantity: {
2261
+ readonly maximum: 10;
2262
+ readonly minimum: 1;
2263
+ readonly type: 'integer';
2264
+ readonly format: 'int32';
1878
2265
  };
1879
2266
  };
1880
2267
  readonly additionalProperties: false;
2268
+ readonly discriminator: {
2269
+ readonly propertyName: 'operation';
2270
+ readonly mapping: {
2271
+ readonly createImage: '#/components/schemas/OpenAIDallE2CreateImageGenInput';
2272
+ readonly editImage: '#/components/schemas/OpenAIDallE2EditImageInput';
2273
+ };
2274
+ };
1881
2275
  },
1882
2276
  ];
1883
2277
  readonly properties: {
1884
- readonly $type: {
1885
- readonly enum: readonly ['llmPromptAugmentation'];
2278
+ readonly model: {
2279
+ readonly enum: readonly ['dall-e-2'];
1886
2280
  readonly type: 'string';
1887
2281
  };
1888
2282
  };
1889
2283
  };
1890
- export declare const $MediaCaptioningJob: {
1891
- readonly required: readonly ['$type'];
2284
+ export declare const $OpenAIDallE3CreateImageGenInput: {
2285
+ readonly required: readonly ['operation'];
1892
2286
  readonly allOf: readonly [
1893
2287
  {
1894
- readonly $ref: '#/components/schemas/Job';
2288
+ readonly $ref: '#/components/schemas/OpenAIDallE3ImageGenInput';
1895
2289
  },
1896
2290
  {
1897
- readonly required: readonly ['mediaUrl', 'model'];
1898
2291
  readonly type: 'object';
1899
2292
  readonly properties: {
1900
- readonly model: {
2293
+ readonly background: {
2294
+ readonly enum: readonly ['auto', 'transparent', 'opaque'];
1901
2295
  readonly type: 'string';
1902
2296
  };
1903
- readonly modelId: {
1904
- readonly type: 'integer';
1905
- readonly format: 'int32';
1906
- };
1907
- readonly mediaUrl: {
2297
+ };
2298
+ readonly additionalProperties: false;
2299
+ },
2300
+ ];
2301
+ readonly properties: {
2302
+ readonly operation: {
2303
+ readonly enum: readonly ['createImage'];
2304
+ readonly type: 'string';
2305
+ };
2306
+ };
2307
+ };
2308
+ export declare const $OpenAIDallE3ImageGenInput: {
2309
+ readonly required: readonly ['model'];
2310
+ readonly allOf: readonly [
2311
+ {
2312
+ readonly $ref: '#/components/schemas/OpenApiImageGenInput';
2313
+ },
2314
+ {
2315
+ readonly required: readonly ['operation', 'prompt', 'size'];
2316
+ readonly type: 'object';
2317
+ readonly properties: {
2318
+ readonly operation: {
1908
2319
  readonly type: 'string';
1909
- readonly format: 'uri';
1910
2320
  };
1911
- readonly temperature: {
1912
- readonly type: 'number';
1913
- readonly format: 'double';
2321
+ readonly prompt: {
2322
+ readonly maxLength: 4000;
2323
+ readonly minLength: 0;
2324
+ readonly type: 'string';
1914
2325
  };
1915
- readonly maxNewTokens: {
1916
- readonly type: 'integer';
1917
- readonly format: 'int32';
2326
+ readonly size: {
2327
+ readonly enum: readonly ['1024x1024', '1792x1024', '1024x1792'];
2328
+ readonly type: 'string';
1918
2329
  };
1919
- readonly type: {
2330
+ readonly style: {
2331
+ readonly enum: readonly ['natural', 'vivid'];
1920
2332
  readonly type: 'string';
1921
- readonly readOnly: true;
1922
2333
  };
1923
- readonly claimDuration: {
2334
+ readonly quality: {
2335
+ readonly enum: readonly ['auto', 'hd', 'standard'];
1924
2336
  readonly type: 'string';
1925
- readonly format: 'date-span';
1926
- readonly readOnly: true;
1927
2337
  };
1928
2338
  };
1929
2339
  readonly additionalProperties: false;
2340
+ readonly discriminator: {
2341
+ readonly propertyName: 'operation';
2342
+ readonly mapping: {
2343
+ readonly createImage: '#/components/schemas/OpenAIDallE3CreateImageGenInput';
2344
+ };
2345
+ };
1930
2346
  },
1931
2347
  ];
1932
2348
  readonly properties: {
1933
- readonly $type: {
1934
- readonly enum: readonly ['mediaCaptioning'];
2349
+ readonly model: {
2350
+ readonly enum: readonly ['dall-e-3'];
1935
2351
  readonly type: 'string';
1936
2352
  };
1937
2353
  };
1938
2354
  };
1939
- export declare const $MediaTaggingJob: {
1940
- readonly required: readonly ['$type'];
2355
+ export declare const $OpenAIGpt1CreateImageInput: {
2356
+ readonly required: readonly ['operation'];
1941
2357
  readonly allOf: readonly [
1942
2358
  {
1943
- readonly $ref: '#/components/schemas/Job';
2359
+ readonly $ref: '#/components/schemas/OpenAIGpt1ImageGenInput';
1944
2360
  },
1945
2361
  {
1946
2362
  readonly type: 'object';
1947
- readonly properties: {
1948
- readonly modelId: {
1949
- readonly type: 'integer';
1950
- readonly format: 'int32';
1951
- };
1952
- readonly mediaUrl: {
1953
- readonly type: 'string';
1954
- readonly format: 'uri';
1955
- };
1956
- readonly type: {
1957
- readonly type: 'string';
1958
- readonly readOnly: true;
1959
- };
1960
- };
1961
2363
  readonly additionalProperties: false;
1962
2364
  },
1963
2365
  ];
1964
2366
  readonly properties: {
1965
- readonly $type: {
1966
- readonly enum: readonly ['mediaTagging'];
2367
+ readonly operation: {
2368
+ readonly enum: readonly ['createImage'];
1967
2369
  readonly type: 'string';
1968
2370
  };
1969
2371
  };
1970
2372
  };
1971
- export declare const $MochiVideoGenInput: {
1972
- readonly required: readonly ['engine'];
2373
+ export declare const $OpenAIGpt1EditImageInput: {
2374
+ readonly required: readonly ['operation'];
1973
2375
  readonly allOf: readonly [
1974
2376
  {
1975
- readonly $ref: '#/components/schemas/VideoGenInput';
2377
+ readonly $ref: '#/components/schemas/OpenAIGpt1ImageGenInput';
1976
2378
  },
1977
2379
  {
2380
+ readonly required: readonly ['images'];
1978
2381
  readonly type: 'object';
1979
2382
  readonly properties: {
1980
- readonly seed: {
1981
- readonly maximum: 2147483647;
1982
- readonly minimum: -1;
1983
- readonly type: 'integer';
1984
- readonly format: 'int64';
2383
+ readonly images: {
2384
+ readonly type: 'array';
2385
+ readonly items: {
2386
+ readonly type: 'string';
2387
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
2388
+ };
2389
+ };
2390
+ readonly mask: {
2391
+ readonly type: 'string';
2392
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
2393
+ readonly nullable: true;
1985
2394
  };
1986
2395
  };
1987
2396
  readonly additionalProperties: false;
1988
2397
  },
1989
2398
  ];
1990
2399
  readonly properties: {
1991
- readonly engine: {
1992
- readonly enum: readonly ['mochi'];
2400
+ readonly operation: {
2401
+ readonly enum: readonly ['editImage'];
1993
2402
  readonly type: 'string';
1994
2403
  };
1995
2404
  };
1996
2405
  };
1997
- export declare const $MochiVideoGenJob: {
1998
- readonly required: readonly ['$type'];
2406
+ export declare const $OpenAIGpt1ImageGenInput: {
2407
+ readonly required: readonly ['model'];
1999
2408
  readonly allOf: readonly [
2000
2409
  {
2001
- readonly $ref: '#/components/schemas/Job';
2410
+ readonly $ref: '#/components/schemas/OpenApiImageGenInput';
2002
2411
  },
2003
2412
  {
2004
- readonly required: readonly ['destinationUrl', 'mediaHash', 'prompt'];
2413
+ readonly required: readonly ['operation', 'prompt'];
2005
2414
  readonly type: 'object';
2006
2415
  readonly properties: {
2007
- readonly prompt: {
2416
+ readonly operation: {
2008
2417
  readonly type: 'string';
2009
2418
  };
2010
- readonly seed: {
2011
- readonly maximum: 4294967295;
2012
- readonly minimum: -1;
2013
- readonly type: 'integer';
2014
- readonly format: 'int64';
2015
- };
2016
- readonly mediaHash: {
2419
+ readonly prompt: {
2420
+ readonly maxLength: 32000;
2421
+ readonly minLength: 0;
2017
2422
  readonly type: 'string';
2018
2423
  };
2019
- readonly destinationUrl: {
2424
+ readonly size: {
2425
+ readonly enum: readonly ['1024x1024', '1536x1024', '1024x1536'];
2020
2426
  readonly type: 'string';
2021
- readonly format: 'uri';
2022
2427
  };
2023
- readonly type: {
2428
+ readonly quantity: {
2429
+ readonly maximum: 10;
2430
+ readonly minimum: 1;
2431
+ readonly type: 'integer';
2432
+ readonly format: 'int32';
2433
+ };
2434
+ readonly background: {
2435
+ readonly enum: readonly ['auto', 'transparent', 'opaque'];
2024
2436
  readonly type: 'string';
2025
- readonly readOnly: true;
2026
2437
  };
2027
- readonly claimDuration: {
2438
+ readonly quality: {
2439
+ readonly enum: readonly ['auto', 'high', 'medium', 'low'];
2028
2440
  readonly type: 'string';
2029
- readonly format: 'date-span';
2030
- readonly readOnly: true;
2441
+ readonly nullable: true;
2031
2442
  };
2032
2443
  };
2033
2444
  readonly additionalProperties: false;
2445
+ readonly discriminator: {
2446
+ readonly propertyName: 'operation';
2447
+ readonly mapping: {
2448
+ readonly createImage: '#/components/schemas/OpenAIGpt1CreateImageInput';
2449
+ readonly editImage: '#/components/schemas/OpenAIGpt1EditImageInput';
2450
+ };
2451
+ };
2034
2452
  },
2035
2453
  ];
2036
2454
  readonly properties: {
2037
- readonly $type: {
2038
- readonly enum: readonly ['mochi'];
2455
+ readonly model: {
2456
+ readonly enum: readonly ['gpt-image-1'];
2039
2457
  readonly type: 'string';
2040
2458
  };
2041
2459
  };
2042
2460
  };
2043
- export declare const $MovieRatingJob: {
2044
- readonly required: readonly ['$type'];
2461
+ export declare const $OpenApiImageGenInput: {
2462
+ readonly required: readonly ['engine'];
2045
2463
  readonly allOf: readonly [
2046
2464
  {
2047
- readonly $ref: '#/components/schemas/Job';
2465
+ readonly $ref: '#/components/schemas/ImageGenInput';
2048
2466
  },
2049
2467
  {
2468
+ readonly required: readonly ['model', 'prompt'];
2050
2469
  readonly type: 'object';
2051
2470
  readonly properties: {
2052
- readonly mediaUrl: {
2053
- readonly type: 'string';
2054
- readonly format: 'uri';
2055
- };
2056
2471
  readonly model: {
2057
- 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_\\-]+))?$';
2058
- readonly type: 'string';
2059
- readonly nullable: true;
2060
- };
2061
- readonly blobKey: {
2062
- readonly type: 'string';
2063
- readonly nullable: true;
2064
- };
2065
- readonly type: {
2066
2472
  readonly type: 'string';
2067
- readonly readOnly: true;
2068
2473
  };
2069
- readonly claimDuration: {
2474
+ readonly prompt: {
2070
2475
  readonly type: 'string';
2071
- readonly format: 'date-span';
2072
- readonly readOnly: true;
2073
2476
  };
2074
2477
  };
2075
2478
  readonly additionalProperties: false;
2479
+ readonly discriminator: {
2480
+ readonly propertyName: 'model';
2481
+ readonly mapping: {
2482
+ readonly 'gpt-image-1': '#/components/schemas/OpenAIGpt1ImageGenInput';
2483
+ readonly 'dall-e-2': '#/components/schemas/OpenAIDallE2ImageGenInput';
2484
+ readonly 'dall-e-3': '#/components/schemas/OpenAIDallE3ImageGenInput';
2485
+ };
2486
+ };
2076
2487
  },
2077
2488
  ];
2078
2489
  readonly properties: {
2079
- readonly $type: {
2080
- readonly enum: readonly ['movieRating'];
2490
+ readonly engine: {
2491
+ readonly enum: readonly ['openai'];
2081
2492
  readonly type: 'string';
2082
2493
  };
2083
2494
  };
2084
2495
  };
2085
- export declare const $NSFWLevel: {
2086
- readonly enum: readonly ['pg', 'pG13', 'r', 'x', 'xxx', 'na'];
2087
- readonly type: 'string';
2088
- };
2089
2496
  export declare const $Priority: {
2090
2497
  readonly enum: readonly ['high', 'normal', 'low'];
2091
2498
  readonly type: 'string';
@@ -2118,89 +2525,12 @@ export declare const $ProblemDetails: {
2118
2525
  };
2119
2526
  readonly additionalProperties: {};
2120
2527
  };
2121
- export declare const $ProcessingStatistics: {
2122
- readonly type: 'object';
2123
- readonly properties: {
2124
- readonly totalJobsRequested: {
2125
- readonly type: 'integer';
2126
- readonly description: 'The total number of jobs requested.';
2127
- readonly format: 'int64';
2128
- };
2129
- readonly totalCostRequested: {
2130
- readonly type: 'number';
2131
- readonly description: 'The total cost of jobs requested.';
2132
- readonly format: 'double';
2133
- };
2134
- readonly totalJobsSucceeded: {
2135
- readonly type: 'integer';
2136
- readonly description: 'The total number of successful jobs.';
2137
- readonly format: 'int64';
2138
- };
2139
- readonly totalCostSucceeded: {
2140
- readonly type: 'number';
2141
- readonly description: 'The total cost of successful jobs.';
2142
- readonly format: 'double';
2143
- };
2144
- readonly totalJobsRejected: {
2145
- readonly type: 'integer';
2146
- readonly description: 'The total number of rejected jobs.';
2147
- readonly format: 'int64';
2148
- };
2149
- readonly totalCostRejected: {
2150
- readonly type: 'number';
2151
- readonly description: 'The total cost of rejected jobs.';
2152
- readonly format: 'double';
2153
- };
2154
- readonly totalJobsLateRejected: {
2155
- readonly type: 'integer';
2156
- readonly description: 'The total number of late rejected jobs.';
2157
- readonly format: 'int64';
2158
- };
2159
- readonly totalCostLateRejected: {
2160
- readonly type: 'number';
2161
- readonly description: 'The total cost of laterejected jobs.';
2162
- readonly format: 'double';
2163
- };
2164
- readonly totalJobsExpired: {
2165
- readonly type: 'integer';
2166
- readonly description: 'The total number of expired jobs.';
2167
- readonly format: 'int64';
2168
- };
2169
- readonly totalCostExpired: {
2170
- readonly type: 'number';
2171
- readonly description: 'The total cost of expired jobs.';
2172
- readonly format: 'double';
2173
- };
2174
- readonly totalJobsFailed: {
2175
- readonly type: 'integer';
2176
- readonly description: 'The total number of failed jobs.';
2177
- readonly format: 'int64';
2178
- };
2179
- readonly totalCostFailed: {
2180
- readonly type: 'number';
2181
- readonly description: 'The total cost of failed jobs.';
2182
- readonly format: 'double';
2183
- };
2184
- readonly totalJobsCompleted: {
2185
- readonly type: 'integer';
2186
- readonly description: 'The total number of completed jobs.';
2187
- readonly format: 'int64';
2188
- };
2189
- readonly totalCostCompleted: {
2190
- readonly type: 'number';
2191
- readonly description: 'The total cost of completed jobs.';
2192
- readonly format: 'double';
2193
- };
2194
- };
2195
- readonly additionalProperties: false;
2196
- readonly description: 'Details of processing statistics.';
2197
- };
2198
2528
  export declare const $ResourceInfo: {
2199
2529
  readonly required: readonly ['air', 'downloadUrls', 'hashes', 'size'];
2200
2530
  readonly type: 'object';
2201
2531
  readonly properties: {
2202
2532
  readonly air: {
2203
- 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_\\-]+))?$';
2533
+ 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_\\-]+))?$';
2204
2534
  readonly type: 'string';
2205
2535
  readonly description: 'An AIR ID for the resource.';
2206
2536
  };
@@ -2268,6 +2598,31 @@ export declare const $ResourceInfo: {
2268
2598
  readonly fileFormat: {
2269
2599
  readonly $ref: '#/components/schemas/FileFormat';
2270
2600
  };
2601
+ readonly hasMatureContentRestriction: {
2602
+ readonly type: 'boolean';
2603
+ readonly description: 'A boolean indicating whether this resource restricts mature content generation.\nIf resources with this restriction are used in generation, then generations will automatically be enforced to not generate mature content';
2604
+ };
2605
+ readonly popularityRank: {
2606
+ readonly type: 'number';
2607
+ readonly description: 'Get a rank between 0-1 on the popularity of the resource.';
2608
+ readonly format: 'double';
2609
+ readonly nullable: true;
2610
+ };
2611
+ readonly isFeatured: {
2612
+ readonly type: 'boolean';
2613
+ readonly description: 'Get wether this resource is featured';
2614
+ readonly nullable: true;
2615
+ };
2616
+ readonly publishedAt: {
2617
+ readonly type: 'string';
2618
+ readonly description: 'The date at which this model got published';
2619
+ readonly format: 'date-time';
2620
+ readonly nullable: true;
2621
+ };
2622
+ readonly hasNSFWContentRestriction: {
2623
+ readonly type: 'boolean';
2624
+ readonly description: 'A boolean indicating whether this resource restricts to SFW content generation.\nNSFWContent covers X and AA whereas MatureContent includes R rated content.';
2625
+ };
2271
2626
  };
2272
2627
  readonly additionalProperties: false;
2273
2628
  readonly description: 'Details for a specific resource.';
@@ -2303,65 +2658,8 @@ export declare const $Scheduler: {
2303
2658
  readonly type: 'string';
2304
2659
  readonly description: 'The available options for schedulers used in image generation.';
2305
2660
  };
2306
- export declare const $SimilaritySearchJob: {
2307
- readonly required: readonly ['$type'];
2308
- readonly allOf: readonly [
2309
- {
2310
- readonly $ref: '#/components/schemas/Job';
2311
- },
2312
- {
2313
- readonly required: readonly ['model', 'nsfwFilter', 'params', 'prompt'];
2314
- readonly type: 'object';
2315
- readonly properties: {
2316
- readonly model: {
2317
- 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_\\-]+))?$';
2318
- readonly type: 'string';
2319
- readonly description: 'An AIR ID representing the primary model.';
2320
- };
2321
- readonly nsfwFilter: {
2322
- readonly type: 'string';
2323
- readonly description: 'A value for the NSFW filter.';
2324
- };
2325
- readonly prompt: {
2326
- readonly type: 'string';
2327
- readonly description: 'The prompt provided.';
2328
- };
2329
- readonly params: {
2330
- readonly type: 'object';
2331
- readonly additionalProperties: {};
2332
- readonly description: 'A collection of parameters.';
2333
- };
2334
- readonly type: {
2335
- readonly type: 'string';
2336
- readonly description: 'The job type.';
2337
- readonly readOnly: true;
2338
- };
2339
- };
2340
- readonly additionalProperties: false;
2341
- },
2342
- ];
2343
- readonly properties: {
2344
- readonly $type: {
2345
- readonly enum: readonly ['similaritySearch'];
2346
- readonly type: 'string';
2347
- };
2348
- };
2349
- readonly description: 'Details for a similarity search job.';
2350
- };
2351
- export declare const $Subscription: {
2352
- readonly required: readonly ['webhook'];
2353
- readonly type: 'object';
2354
- readonly properties: {
2355
- readonly webhook: {
2356
- readonly type: 'string';
2357
- readonly description: 'The webhook url.';
2358
- };
2359
- };
2360
- readonly additionalProperties: false;
2361
- readonly description: 'A subscription for pushed based notifications.';
2362
- };
2363
2661
  export declare const $TextToImageInput: {
2364
- readonly required: readonly ['height', 'model', 'prompt', 'width'];
2662
+ readonly required: readonly ['height', 'prompt', 'width'];
2365
2663
  readonly type: 'object';
2366
2664
  readonly properties: {
2367
2665
  readonly quantity: {
@@ -2376,14 +2674,15 @@ export declare const $TextToImageInput: {
2376
2674
  readonly maximum: 100;
2377
2675
  readonly minimum: 1;
2378
2676
  readonly type: 'integer';
2379
- readonly description: 'The size of each batch.D';
2677
+ readonly description: 'The size of each batch';
2380
2678
  readonly format: 'int32';
2381
2679
  readonly default: 1;
2382
2680
  };
2383
2681
  readonly model: {
2384
- 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_\\-]+))?$';
2682
+ 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_\\-]+))?$';
2385
2683
  readonly type: 'string';
2386
2684
  readonly description: 'The AIR of the checkpoint model to use for generation.';
2685
+ readonly default: 'urn:air:sd1:checkpoint:civitai:4384@128713';
2387
2686
  };
2388
2687
  readonly additionalNetworks: {
2389
2688
  readonly type: 'object';
@@ -2428,7 +2727,7 @@ export declare const $TextToImageInput: {
2428
2727
  readonly default: 7.5;
2429
2728
  };
2430
2729
  readonly width: {
2431
- readonly maximum: 2048;
2730
+ readonly maximum: 4084;
2432
2731
  readonly minimum: 64;
2433
2732
  readonly type: 'integer';
2434
2733
  readonly description: 'The desired image width in pixels.';
@@ -2436,108 +2735,39 @@ export declare const $TextToImageInput: {
2436
2735
  readonly default: 512;
2437
2736
  };
2438
2737
  readonly height: {
2439
- readonly maximum: 2048;
2738
+ readonly maximum: 4084;
2440
2739
  readonly minimum: 64;
2441
2740
  readonly type: 'integer';
2442
- readonly description: 'The desired image height in pixels.';
2443
- readonly format: 'int32';
2444
- readonly default: 512;
2445
- };
2446
- readonly seed: {
2447
- readonly maximum: 4294967295;
2448
- readonly minimum: 0;
2449
- readonly type: 'integer';
2450
- readonly description: 'The seed to use in image generation. Defaults to a random value if left unpopulated.';
2451
- readonly format: 'int32';
2452
- };
2453
- readonly clipSkip: {
2454
- readonly type: 'integer';
2455
- readonly description: 'The clip skip value for image generation.';
2456
- readonly format: 'int32';
2457
- readonly default: 2;
2458
- };
2459
- readonly imageMetadata: {
2460
- readonly type: 'string';
2461
- readonly description: 'External metadata that will be stored with the image';
2462
- readonly nullable: true;
2463
- };
2464
- readonly engine: {
2465
- readonly type: 'string';
2466
- readonly description: 'An optional engine to use for generation.';
2467
- readonly nullable: true;
2468
- };
2469
- };
2470
- readonly additionalProperties: false;
2471
- readonly description: 'Input for an text to image step.';
2472
- };
2473
- export declare const $TextToImageJob: {
2474
- readonly required: readonly ['$type'];
2475
- readonly allOf: readonly [
2476
- {
2477
- readonly $ref: '#/components/schemas/Job';
2478
- },
2479
- {
2480
- readonly required: readonly ['imageHash', 'model', 'params'];
2481
- readonly type: 'object';
2482
- readonly properties: {
2483
- readonly model: {
2484
- 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_\\-]+))?$';
2485
- readonly type: 'string';
2486
- readonly description: 'An AIR representing the model to use.';
2487
- };
2488
- readonly params: {
2489
- readonly $ref: '#/components/schemas/ImageJobParams';
2490
- };
2491
- readonly imageHash: {
2492
- readonly type: 'string';
2493
- readonly description: 'The hash for the output image.';
2494
- };
2495
- readonly additionalNetworks: {
2496
- readonly type: 'object';
2497
- readonly additionalProperties: {
2498
- readonly $ref: '#/components/schemas/ImageJobNetworkParams';
2499
- };
2500
- readonly description: 'Get or set a associative list of additional networks. Each network is identified by a hash code.';
2501
- };
2502
- readonly destinationUrl: {
2503
- readonly type: 'string';
2504
- readonly description: 'Get or set the URL where the image will be uploaded to.';
2505
- readonly format: 'uri';
2506
- readonly nullable: true;
2507
- };
2508
- readonly storeAsBlob: {
2509
- readonly type: 'boolean';
2510
- readonly description: 'A value indicating whether to store the image as a blob or as a legacy image.';
2511
- };
2512
- readonly controlNets: {
2513
- readonly type: 'array';
2514
- readonly items: {
2515
- readonly $ref: '#/components/schemas/ImageJobControlNet';
2516
- };
2517
- readonly description: 'Get or set a list of control nets that should be applied with this textToImage job.';
2518
- };
2519
- readonly claimDuration: {
2520
- readonly type: 'string';
2521
- readonly description: 'The duration for which this job can be claimed for.';
2522
- readonly format: 'date-span';
2523
- readonly readOnly: true;
2524
- };
2525
- readonly type: {
2526
- readonly type: 'string';
2527
- readonly description: 'The job type.';
2528
- readonly readOnly: true;
2529
- };
2530
- };
2531
- readonly additionalProperties: false;
2532
- },
2533
- ];
2534
- readonly properties: {
2535
- readonly $type: {
2536
- readonly enum: readonly ['textToImage'];
2741
+ readonly description: 'The desired image height in pixels.';
2742
+ readonly format: 'int32';
2743
+ readonly default: 512;
2744
+ };
2745
+ readonly seed: {
2746
+ readonly maximum: 4294967295;
2747
+ readonly minimum: 0;
2748
+ readonly type: 'integer';
2749
+ readonly description: 'The seed to use in image generation. Defaults to a random value if left unpopulated.';
2750
+ readonly format: 'int64';
2751
+ };
2752
+ readonly clipSkip: {
2753
+ readonly type: 'integer';
2754
+ readonly description: 'The clip skip value for image generation.';
2755
+ readonly format: 'int32';
2756
+ readonly default: 2;
2757
+ };
2758
+ readonly imageMetadata: {
2759
+ readonly type: 'string';
2760
+ readonly description: 'External metadata that will be stored with the image';
2761
+ readonly nullable: true;
2762
+ };
2763
+ readonly engine: {
2537
2764
  readonly type: 'string';
2765
+ readonly description: 'An optional engine to use for generation.';
2766
+ readonly nullable: true;
2538
2767
  };
2539
2768
  };
2540
- readonly description: 'A text to image generation job.';
2769
+ readonly additionalProperties: false;
2770
+ readonly description: 'Input for an text to image step.';
2541
2771
  };
2542
2772
  export declare const $TextToImageOutput: {
2543
2773
  readonly required: readonly ['images'];
@@ -2546,7 +2776,7 @@ export declare const $TextToImageOutput: {
2546
2776
  readonly images: {
2547
2777
  readonly type: 'array';
2548
2778
  readonly items: {
2549
- readonly $ref: '#/components/schemas/Blob';
2779
+ readonly $ref: '#/components/schemas/ImageBlob';
2550
2780
  };
2551
2781
  readonly description: 'A collection of output images.';
2552
2782
  };
@@ -2580,7 +2810,7 @@ export declare const $TextToImageStep: {
2580
2810
  readonly type: 'string';
2581
2811
  };
2582
2812
  };
2583
- readonly description: 'A workflow step for text to image generations.';
2813
+ readonly description: 'TextToImage';
2584
2814
  };
2585
2815
  export declare const $TextToImageStepTemplate: {
2586
2816
  readonly required: readonly ['$type'];
@@ -2605,6 +2835,7 @@ export declare const $TextToImageStepTemplate: {
2605
2835
  readonly type: 'string';
2606
2836
  };
2607
2837
  };
2838
+ readonly description: 'TextToImage';
2608
2839
  };
2609
2840
  export declare const $TransactionInfo: {
2610
2841
  readonly required: readonly ['amount', 'type'];
@@ -2729,30 +2960,9 @@ export declare const $TranscodeStep: {
2729
2960
  readonly type: 'string';
2730
2961
  };
2731
2962
  };
2732
- };
2733
- export declare const $TranscodeStepTemplate: {
2734
- readonly required: readonly ['$type'];
2735
- readonly allOf: readonly [
2736
- {
2737
- readonly $ref: '#/components/schemas/WorkflowStepTemplate';
2738
- },
2739
- {
2740
- readonly required: readonly ['input'];
2741
- readonly type: 'object';
2742
- readonly properties: {
2743
- readonly input: {
2744
- readonly $ref: '#/components/schemas/TranscodeInput';
2745
- };
2746
- };
2747
- readonly additionalProperties: false;
2748
- },
2749
- ];
2750
- readonly properties: {
2751
- readonly $type: {
2752
- readonly enum: readonly ['transcode'];
2753
- readonly type: 'string';
2754
- };
2755
- };
2963
+ readonly description: 'Transcoding';
2964
+ readonly 'x-preview': true;
2965
+ readonly 'x-internal': true;
2756
2966
  };
2757
2967
  export declare const $TryOnUInput: {
2758
2968
  readonly required: readonly ['garmentUrl', 'subjectUrl'];
@@ -2793,215 +3003,294 @@ export declare const $TryOnUInput: {
2793
3003
  };
2794
3004
  readonly additionalProperties: false;
2795
3005
  };
2796
- export declare const $TryOnUJob: {
2797
- readonly required: readonly ['$type'];
3006
+ export declare const $TryOnUOutput: {
3007
+ readonly required: readonly ['blob'];
3008
+ readonly type: 'object';
3009
+ readonly properties: {
3010
+ readonly blob: {
3011
+ readonly $ref: '#/components/schemas/Blob';
3012
+ };
3013
+ };
3014
+ readonly additionalProperties: false;
3015
+ };
3016
+ export declare const $UpdateWorkflowRequest: {
3017
+ readonly type: 'object';
3018
+ readonly properties: {
3019
+ readonly status: {
3020
+ readonly $ref: '#/components/schemas/UpdateWorkflowStatus';
3021
+ };
3022
+ readonly metadata: {
3023
+ readonly type: 'object';
3024
+ readonly additionalProperties: {};
3025
+ readonly description: 'An optional set of new properties to set on the workflow.';
3026
+ readonly nullable: true;
3027
+ };
3028
+ readonly tags: {
3029
+ readonly type: 'array';
3030
+ readonly items: {
3031
+ readonly type: 'string';
3032
+ };
3033
+ readonly description: 'An optional set of new tags to set on the workflow.';
3034
+ readonly nullable: true;
3035
+ };
3036
+ };
3037
+ readonly additionalProperties: false;
3038
+ readonly description: 'An request for updating a workflow.';
3039
+ };
3040
+ export declare const $UpdateWorkflowStatus: {
3041
+ readonly enum: readonly ['canceled'];
3042
+ readonly type: 'string';
3043
+ readonly description: 'Available statuses for updating workflows.';
3044
+ };
3045
+ export declare const $UpdateWorkflowStepRequest: {
3046
+ readonly required: readonly ['metadata'];
3047
+ readonly type: 'object';
3048
+ readonly properties: {
3049
+ readonly metadata: {
3050
+ readonly type: 'object';
3051
+ readonly additionalProperties: {};
3052
+ readonly description: 'An set of new properties to set on the workflow step.';
3053
+ };
3054
+ };
3055
+ readonly additionalProperties: false;
3056
+ };
3057
+ export declare const $ValidationProblemDetails: {
3058
+ readonly type: 'object';
3059
+ readonly properties: {
3060
+ readonly type: {
3061
+ readonly type: 'string';
3062
+ readonly nullable: true;
3063
+ };
3064
+ readonly title: {
3065
+ readonly type: 'string';
3066
+ readonly nullable: true;
3067
+ };
3068
+ readonly status: {
3069
+ readonly type: 'integer';
3070
+ readonly format: 'int32';
3071
+ readonly nullable: true;
3072
+ };
3073
+ readonly detail: {
3074
+ readonly type: 'string';
3075
+ readonly nullable: true;
3076
+ };
3077
+ readonly instance: {
3078
+ readonly type: 'string';
3079
+ readonly nullable: true;
3080
+ };
3081
+ readonly errors: {
3082
+ readonly type: 'object';
3083
+ readonly additionalProperties: {
3084
+ readonly type: 'array';
3085
+ readonly items: {
3086
+ readonly type: 'string';
3087
+ };
3088
+ };
3089
+ };
3090
+ };
3091
+ readonly additionalProperties: {};
3092
+ };
3093
+ export declare const $ValueTupleOfStringAndInt32: {
3094
+ readonly type: 'object';
3095
+ readonly additionalProperties: false;
3096
+ };
3097
+ export declare const $Veo3AspectRatio: {
3098
+ readonly enum: readonly ['16:9', '9:16', '1:1'];
3099
+ readonly type: 'string';
3100
+ };
3101
+ export declare const $Veo3VideoGenInput: {
3102
+ readonly required: readonly ['engine'];
2798
3103
  readonly allOf: readonly [
2799
3104
  {
2800
- readonly $ref: '#/components/schemas/Job';
3105
+ readonly $ref: '#/components/schemas/VideoGenInput';
2801
3106
  },
2802
3107
  {
2803
- readonly required: readonly [
2804
- 'destinationBlobKey',
2805
- 'garmentUrl',
2806
- 'subjectMaskUrl',
2807
- 'subjectUrl',
2808
- ];
2809
3108
  readonly type: 'object';
2810
3109
  readonly properties: {
2811
- readonly subjectUrl: {
2812
- readonly type: 'string';
2813
- readonly format: 'uri';
2814
- };
2815
- readonly garmentUrl: {
2816
- readonly type: 'string';
2817
- readonly format: 'uri';
2818
- };
2819
- readonly subjectMaskUrl: {
2820
- readonly type: 'string';
2821
- readonly format: 'uri';
2822
- };
2823
- readonly garmentDescription: {
3110
+ readonly negativePrompt: {
2824
3111
  readonly type: 'string';
2825
3112
  readonly nullable: true;
2826
3113
  };
2827
- readonly maskSubject: {
3114
+ readonly enablePromptEnhancer: {
2828
3115
  readonly type: 'boolean';
2829
3116
  };
2830
- readonly cropSubject: {
2831
- readonly type: 'boolean';
3117
+ readonly aspectRatio: {
3118
+ readonly $ref: '#/components/schemas/Veo3AspectRatio';
2832
3119
  };
2833
- readonly steps: {
3120
+ readonly duration: {
2834
3121
  readonly type: 'integer';
2835
3122
  readonly format: 'int32';
3123
+ readonly default: 8;
3124
+ };
3125
+ readonly generateAudio: {
3126
+ readonly type: 'boolean';
2836
3127
  };
2837
3128
  readonly seed: {
2838
3129
  readonly type: 'integer';
2839
3130
  readonly format: 'int32';
3131
+ readonly nullable: true;
2840
3132
  };
2841
- readonly destinationBlobKey: {
2842
- readonly type: 'string';
2843
- };
2844
- readonly type: {
2845
- readonly type: 'string';
2846
- readonly readOnly: true;
3133
+ readonly fastMode: {
3134
+ readonly type: 'boolean';
2847
3135
  };
2848
- readonly claimDuration: {
2849
- readonly type: 'string';
2850
- readonly format: 'date-span';
2851
- readonly readOnly: true;
3136
+ readonly images: {
3137
+ readonly type: 'array';
3138
+ readonly items: {
3139
+ readonly type: 'string';
3140
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
3141
+ };
2852
3142
  };
2853
3143
  };
2854
3144
  readonly additionalProperties: false;
2855
3145
  },
2856
3146
  ];
2857
3147
  readonly properties: {
2858
- readonly $type: {
2859
- readonly enum: readonly ['tryOnU'];
3148
+ readonly engine: {
3149
+ readonly enum: readonly ['veo3'];
2860
3150
  readonly type: 'string';
2861
3151
  };
2862
3152
  };
2863
3153
  };
2864
- export declare const $TryOnUOutput: {
2865
- readonly required: readonly ['blob'];
2866
- readonly type: 'object';
2867
- readonly properties: {
2868
- readonly blob: {
2869
- readonly $ref: '#/components/schemas/Blob';
2870
- };
2871
- };
2872
- readonly additionalProperties: false;
2873
- };
2874
- export declare const $TryOnUStep: {
2875
- readonly required: readonly ['$type'];
3154
+ export declare const $VideoBlob: {
3155
+ readonly required: readonly ['type'];
2876
3156
  readonly allOf: readonly [
2877
3157
  {
2878
- readonly $ref: '#/components/schemas/WorkflowStep';
3158
+ readonly $ref: '#/components/schemas/Blob';
2879
3159
  },
2880
3160
  {
2881
- readonly required: readonly ['input'];
2882
3161
  readonly type: 'object';
2883
3162
  readonly properties: {
2884
- readonly input: {
2885
- readonly $ref: '#/components/schemas/TryOnUInput';
2886
- };
2887
- readonly output: {
2888
- readonly $ref: '#/components/schemas/TryOnUOutput';
3163
+ readonly width: {
3164
+ readonly type: 'integer';
3165
+ readonly format: 'int32';
3166
+ readonly nullable: true;
2889
3167
  };
2890
- };
2891
- readonly additionalProperties: false;
2892
- },
2893
- ];
2894
- readonly properties: {
2895
- readonly $type: {
2896
- readonly enum: readonly ['tryOnU'];
2897
- readonly type: 'string';
2898
- };
2899
- };
2900
- };
2901
- export declare const $TryOnUStepTemplate: {
2902
- readonly required: readonly ['$type'];
2903
- readonly allOf: readonly [
2904
- {
2905
- readonly $ref: '#/components/schemas/WorkflowStepTemplate';
2906
- },
2907
- {
2908
- readonly required: readonly ['input'];
2909
- readonly type: 'object';
2910
- readonly properties: {
2911
- readonly input: {
2912
- readonly $ref: '#/components/schemas/TryOnUInput';
3168
+ readonly height: {
3169
+ readonly type: 'integer';
3170
+ readonly format: 'int32';
3171
+ readonly nullable: true;
2913
3172
  };
2914
3173
  };
2915
3174
  readonly additionalProperties: false;
2916
3175
  },
2917
3176
  ];
2918
3177
  readonly properties: {
2919
- readonly $type: {
2920
- readonly enum: readonly ['tryOnU'];
3178
+ readonly type: {
3179
+ readonly enum: readonly ['video'];
2921
3180
  readonly type: 'string';
2922
3181
  };
2923
3182
  };
2924
3183
  };
2925
- export declare const $UpdateWorkflowRequest: {
3184
+ export declare const $VideoEnhancementInput: {
3185
+ readonly required: readonly ['sourceUrl'];
2926
3186
  readonly type: 'object';
2927
3187
  readonly properties: {
2928
- readonly status: {
2929
- readonly $ref: '#/components/schemas/UpdateWorkflowStatus';
3188
+ readonly sourceUrl: {
3189
+ readonly type: 'string';
3190
+ readonly format: 'uri';
2930
3191
  };
2931
- readonly metadata: {
2932
- readonly type: 'object';
2933
- readonly additionalProperties: {};
2934
- readonly description: 'An optional set of new properties to set on the workflow.';
2935
- readonly nullable: true;
3192
+ readonly upscaler: {
3193
+ readonly $ref: '#/components/schemas/VideoEnhancementInputUpscalerOptions';
2936
3194
  };
2937
- readonly tags: {
2938
- readonly type: 'array';
2939
- readonly items: {
2940
- readonly type: 'string';
2941
- };
2942
- readonly description: 'An optional set of new tags to set on the workflow.';
2943
- readonly nullable: true;
3195
+ readonly interpolation: {
3196
+ readonly $ref: '#/components/schemas/VideoEnhancementInputInterpolationOptions';
2944
3197
  };
2945
3198
  };
2946
3199
  readonly additionalProperties: false;
2947
- readonly description: 'An request for updating a workflow.';
2948
- };
2949
- export declare const $UpdateWorkflowStatus: {
2950
- readonly enum: readonly ['canceled'];
2951
- readonly type: 'string';
2952
- readonly description: 'Available statuses for updating workflows.';
2953
3200
  };
2954
- export declare const $UpdateWorkflowStepRequest: {
2955
- readonly required: readonly ['metadata'];
3201
+ export declare const $VideoEnhancementInputInterpolationOptions: {
3202
+ readonly required: readonly ['multiplier'];
2956
3203
  readonly type: 'object';
2957
- readonly properties: {
2958
- readonly metadata: {
2959
- readonly type: 'object';
2960
- readonly additionalProperties: {};
2961
- readonly description: 'An set of new properties to set on the workflow step.';
3204
+ readonly properties: {
3205
+ readonly multiplier: {
3206
+ readonly type: 'integer';
3207
+ readonly format: 'int32';
2962
3208
  };
2963
3209
  };
2964
3210
  readonly additionalProperties: false;
2965
3211
  };
2966
- export declare const $ValidationProblemDetails: {
3212
+ export declare const $VideoEnhancementInputUpscalerOptions: {
3213
+ readonly required: readonly ['height', 'width'];
2967
3214
  readonly type: 'object';
2968
3215
  readonly properties: {
2969
- readonly type: {
3216
+ readonly model: {
3217
+ 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_\\-]+))?$';
2970
3218
  readonly type: 'string';
2971
3219
  readonly nullable: true;
2972
3220
  };
2973
- readonly title: {
2974
- readonly type: 'string';
2975
- readonly nullable: true;
3221
+ readonly width: {
3222
+ readonly type: 'integer';
3223
+ readonly format: 'int32';
2976
3224
  };
2977
- readonly status: {
3225
+ readonly height: {
2978
3226
  readonly type: 'integer';
2979
3227
  readonly format: 'int32';
2980
- readonly nullable: true;
2981
3228
  };
2982
- readonly detail: {
2983
- readonly type: 'string';
2984
- readonly nullable: true;
3229
+ };
3230
+ readonly additionalProperties: false;
3231
+ };
3232
+ export declare const $VideoEnhancementOutput: {
3233
+ readonly required: readonly ['video'];
3234
+ readonly type: 'object';
3235
+ readonly properties: {
3236
+ readonly video: {
3237
+ readonly $ref: '#/components/schemas/VideoBlob';
2985
3238
  };
2986
- readonly instance: {
3239
+ };
3240
+ readonly additionalProperties: false;
3241
+ };
3242
+ export declare const $VideoEnhancementStep: {
3243
+ readonly required: readonly ['$type'];
3244
+ readonly allOf: readonly [
3245
+ {
3246
+ readonly $ref: '#/components/schemas/WorkflowStep';
3247
+ },
3248
+ {
3249
+ readonly required: readonly ['input'];
3250
+ readonly type: 'object';
3251
+ readonly properties: {
3252
+ readonly input: {
3253
+ readonly $ref: '#/components/schemas/VideoEnhancementInput';
3254
+ };
3255
+ readonly output: {
3256
+ readonly $ref: '#/components/schemas/VideoEnhancementOutput';
3257
+ };
3258
+ };
3259
+ readonly additionalProperties: false;
3260
+ },
3261
+ ];
3262
+ readonly properties: {
3263
+ readonly $type: {
3264
+ readonly enum: readonly ['videoEnhancement'];
2987
3265
  readonly type: 'string';
2988
- readonly nullable: true;
2989
3266
  };
2990
- readonly errors: {
3267
+ };
3268
+ readonly description: 'Upscale videos and/or interpolate frames';
3269
+ };
3270
+ export declare const $VideoEnhancementStepTemplate: {
3271
+ readonly required: readonly ['$type'];
3272
+ readonly allOf: readonly [
3273
+ {
3274
+ readonly $ref: '#/components/schemas/WorkflowStepTemplate';
3275
+ },
3276
+ {
3277
+ readonly required: readonly ['input'];
2991
3278
  readonly type: 'object';
2992
- readonly additionalProperties: {
2993
- readonly type: 'array';
2994
- readonly items: {
2995
- readonly type: 'string';
3279
+ readonly properties: {
3280
+ readonly input: {
3281
+ readonly $ref: '#/components/schemas/VideoEnhancementInput';
2996
3282
  };
2997
3283
  };
3284
+ readonly additionalProperties: false;
3285
+ },
3286
+ ];
3287
+ readonly properties: {
3288
+ readonly $type: {
3289
+ readonly enum: readonly ['videoEnhancement'];
3290
+ readonly type: 'string';
2998
3291
  };
2999
3292
  };
3000
- readonly additionalProperties: {};
3001
- };
3002
- export declare const $ValueTupleOfStringAndInt32: {
3003
- readonly type: 'object';
3004
- readonly additionalProperties: false;
3293
+ readonly description: 'Upscale videos and/or interpolate frames';
3005
3294
  };
3006
3295
  export declare const $VideoGenInput: {
3007
3296
  readonly required: readonly ['engine', 'prompt'];
@@ -3020,14 +3309,36 @@ export declare const $VideoGenInput: {
3020
3309
  readonly mapping: {
3021
3310
  readonly haiper: '#/components/schemas/HaiperVideoGenInput';
3022
3311
  readonly mochi: '#/components/schemas/MochiVideoGenInput';
3312
+ readonly kling: '#/components/schemas/KlingVideoGenInput';
3313
+ readonly minimax: '#/components/schemas/MiniMaxVideoGenInput';
3314
+ readonly lightricks: '#/components/schemas/LightricksVideoGenInput';
3315
+ readonly hunyuan: '#/components/schemas/HunyuanVdeoGenInput';
3316
+ readonly wan: '#/components/schemas/WanVideoGenInput';
3317
+ readonly vidu: '#/components/schemas/ViduVideoGenInput';
3318
+ readonly veo3: '#/components/schemas/Veo3VideoGenInput';
3319
+ };
3320
+ };
3321
+ };
3322
+ export declare const $VideoGenInputLora: {
3323
+ readonly required: readonly ['air', 'strength'];
3324
+ readonly type: 'object';
3325
+ readonly properties: {
3326
+ readonly air: {
3327
+ 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_\\-]+))?$';
3328
+ readonly type: 'string';
3329
+ };
3330
+ readonly strength: {
3331
+ readonly type: 'number';
3332
+ readonly format: 'double';
3023
3333
  };
3024
3334
  };
3335
+ readonly additionalProperties: false;
3025
3336
  };
3026
3337
  export declare const $VideoGenOutput: {
3027
3338
  readonly type: 'object';
3028
3339
  readonly properties: {
3029
3340
  readonly video: {
3030
- readonly $ref: '#/components/schemas/Blob';
3341
+ readonly $ref: '#/components/schemas/VideoBlob';
3031
3342
  };
3032
3343
  };
3033
3344
  readonly additionalProperties: false;
@@ -3058,6 +3369,7 @@ export declare const $VideoGenStep: {
3058
3369
  readonly type: 'string';
3059
3370
  };
3060
3371
  };
3372
+ readonly description: 'Video generation';
3061
3373
  };
3062
3374
  export declare const $VideoGenStepTemplate: {
3063
3375
  readonly required: readonly ['$type'];
@@ -3082,536 +3394,260 @@ export declare const $VideoGenStepTemplate: {
3082
3394
  readonly type: 'string';
3083
3395
  };
3084
3396
  };
3397
+ readonly description: 'Video generation';
3085
3398
  };
3086
- export declare const $WDTaggingJob: {
3087
- readonly required: readonly ['$type'];
3399
+ export declare const $ViduVideoGenInput: {
3400
+ readonly required: readonly ['engine'];
3088
3401
  readonly allOf: readonly [
3089
3402
  {
3090
- readonly $ref: '#/components/schemas/Job';
3403
+ readonly $ref: '#/components/schemas/VideoGenInput';
3091
3404
  },
3092
3405
  {
3093
3406
  readonly type: 'object';
3094
3407
  readonly properties: {
3095
- readonly model: {
3096
- readonly type: 'string';
3097
- };
3098
- readonly mediaUrl: {
3099
- readonly type: 'string';
3100
- readonly format: 'uri';
3408
+ readonly enablePromptEnhancer: {
3409
+ readonly type: 'boolean';
3410
+ readonly default: true;
3101
3411
  };
3102
- readonly threshold: {
3103
- readonly type: 'number';
3104
- readonly format: 'double';
3412
+ readonly seed: {
3413
+ readonly type: 'integer';
3414
+ readonly format: 'int32';
3105
3415
  readonly nullable: true;
3106
3416
  };
3107
- readonly movieRatingModel: {
3417
+ readonly sourceImage: {
3108
3418
  readonly type: 'string';
3419
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
3109
3420
  readonly nullable: true;
3110
3421
  };
3111
- readonly prompt: {
3422
+ readonly style: {
3423
+ readonly $ref: '#/components/schemas/ViduVideoGenStyle';
3424
+ };
3425
+ readonly duration: {
3426
+ readonly enum: readonly [4, 8];
3427
+ readonly type: 'integer';
3428
+ readonly format: 'int32';
3429
+ readonly default: 4;
3430
+ };
3431
+ readonly endSourceImage: {
3112
3432
  readonly type: 'string';
3433
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
3113
3434
  readonly nullable: true;
3114
3435
  };
3115
- readonly claimDuration: {
3436
+ readonly model: {
3437
+ readonly $ref: '#/components/schemas/ViduVideoGenModel';
3438
+ };
3439
+ readonly aspectRatio: {
3440
+ readonly enum: readonly ['16:9', '9:16', '1:1'];
3116
3441
  readonly type: 'string';
3117
- readonly format: 'date-span';
3118
- readonly readOnly: true;
3442
+ readonly nullable: true;
3119
3443
  };
3120
- readonly type: {
3444
+ readonly movementAmplitude: {
3445
+ readonly enum: readonly ['auto', 'small', 'medium', 'large'];
3121
3446
  readonly type: 'string';
3122
- readonly readOnly: true;
3447
+ readonly nullable: true;
3123
3448
  };
3124
- };
3125
- readonly additionalProperties: false;
3126
- },
3127
- ];
3128
- readonly properties: {
3129
- readonly $type: {
3130
- readonly enum: readonly ['wdTagging'];
3131
- readonly type: 'string';
3132
- };
3133
- };
3134
- };
3135
- export declare const $WorkerCapabilities: {
3136
- readonly type: 'object';
3137
- readonly properties: {
3138
- readonly image: {
3139
- readonly $ref: '#/components/schemas/WorkerImageCapabilities';
3140
- };
3141
- readonly media: {
3142
- readonly $ref: '#/components/schemas/WorkerMediaCapabilities';
3143
- };
3144
- readonly modelManagement: {
3145
- readonly $ref: '#/components/schemas/WorkerModelPreparationCapabilities';
3146
- };
3147
- readonly configurationManagement: {
3148
- readonly $ref: '#/components/schemas/WorkerConfigurationCapabilities';
3149
- };
3150
- readonly similaritySearch: {
3151
- readonly $ref: '#/components/schemas/WorkerSimilaritySearchCapabilities';
3152
- };
3153
- readonly llmPromptAugmentation: {
3154
- readonly $ref: '#/components/schemas/LLMPromptAugmentationCapabilities';
3155
- };
3156
- readonly humanoidImageMask: {
3157
- readonly $ref: '#/components/schemas/WorkerHumanoidImageMaskCapabilities';
3158
- };
3159
- readonly tryOnU: {
3160
- readonly $ref: '#/components/schemas/WorkerTryOnUCapabilities';
3161
- };
3162
- readonly haiper: {
3163
- readonly $ref: '#/components/schemas/WorkerHaiperCapabilities';
3164
- };
3165
- };
3166
- readonly additionalProperties: false;
3167
- readonly description: "Details of a worker's capabilities.";
3168
- };
3169
- export declare const $WorkerConfigurationCapabilities: {
3170
- readonly type: 'object';
3171
- readonly additionalProperties: false;
3172
- readonly description: "Details of a worker's configuration capabilities.";
3173
- };
3174
- export declare const $WorkerDetails: {
3175
- readonly required: readonly ['id', 'name'];
3176
- readonly type: 'object';
3177
- readonly properties: {
3178
- readonly id: {
3179
- readonly type: 'string';
3180
- readonly description: "The worker's ID.";
3181
- };
3182
- readonly name: {
3183
- readonly type: 'string';
3184
- readonly description: "The worker's name.";
3185
- };
3186
- readonly activeJobs: {
3187
- readonly type: 'integer';
3188
- readonly description: "The worker's active job count.";
3189
- readonly format: 'int32';
3190
- };
3191
- readonly queueSize: {
3192
- readonly type: 'integer';
3193
- readonly description: "The number of jobs in the worker's queue.";
3194
- readonly format: 'int32';
3195
- };
3196
- readonly queueDepth: {
3197
- readonly type: 'number';
3198
- readonly description: "The total cost of job's in the worker's queue.";
3199
- readonly format: 'double';
3200
- };
3201
- readonly startDate: {
3202
- readonly type: 'string';
3203
- readonly description: "The worker's start date / time.";
3204
- readonly format: 'date-time';
3205
- };
3206
- readonly lastRequestDate: {
3207
- readonly type: 'string';
3208
- readonly description: "The worker's last request date / time.";
3209
- readonly format: 'date-time';
3210
- readonly nullable: true;
3211
- };
3212
- readonly expirationDate: {
3213
- readonly type: 'string';
3214
- readonly description: "The worker's expiration date / time.";
3215
- readonly format: 'date-time';
3216
- readonly nullable: true;
3217
- };
3218
- readonly statistics: {
3219
- readonly $ref: '#/components/schemas/ProcessingStatistics';
3220
- };
3221
- readonly succeededThroughputRate: {
3222
- readonly type: 'number';
3223
- readonly description: "The worker's succeeded job throughput rate.";
3224
- readonly format: 'double';
3225
- };
3226
- readonly failedThroughputRate: {
3227
- readonly type: 'number';
3228
- readonly description: "The worker's failed job throughput rate.";
3229
- readonly format: 'double';
3230
- };
3231
- readonly idleRate: {
3232
- readonly type: 'number';
3233
- readonly description: "The worker's idle rate.";
3234
- readonly format: 'double';
3235
- };
3236
- readonly lastSuccesfullyCompletedJobDate: {
3237
- readonly type: 'string';
3238
- readonly description: "The date / time of the worker's last successfully completed job.";
3239
- readonly format: 'date-time';
3240
- readonly nullable: true;
3241
- };
3242
- readonly lastJobUpdateDate: {
3243
- readonly type: 'string';
3244
- readonly description: "The date / time of the worker's last job update.";
3245
- readonly format: 'date-time';
3246
- readonly nullable: true;
3247
- };
3248
- readonly subscriptionSetDate: {
3249
- readonly type: 'string';
3250
- readonly description: "The date / time that the worker's subscription was set.";
3251
- readonly format: 'date-time';
3252
- readonly nullable: true;
3253
- };
3254
- readonly quarantineDate: {
3255
- readonly type: 'string';
3256
- readonly description: 'The date / time that the worker was quarantined.';
3257
- readonly format: 'date-time';
3258
- readonly nullable: true;
3259
- };
3260
- readonly resourceDownloadRate: {
3261
- readonly type: 'number';
3262
- readonly description: 'The rate at which this worker has been downloading';
3263
- readonly format: 'double';
3264
- };
3265
- readonly resourceEvictionRate: {
3266
- readonly type: 'number';
3267
- readonly description: 'The rate at which this worker has been evicting resources';
3268
- readonly format: 'double';
3269
- };
3270
- readonly upcomingResourcesSize: {
3271
- readonly type: 'integer';
3272
- readonly description: 'The size in bytes of resources that are queued up for this worker to download';
3273
- readonly format: 'int64';
3274
- readonly nullable: true;
3275
- };
3276
- };
3277
- readonly additionalProperties: false;
3278
- readonly description: 'Details for a particular worker.';
3279
- };
3280
- export declare const $WorkerHaiperCapabilities: {
3281
- readonly type: 'object';
3282
- readonly additionalProperties: false;
3283
- };
3284
- export declare const $WorkerHumanoidImageMaskCapabilities: {
3285
- readonly type: 'object';
3286
- readonly additionalProperties: false;
3287
- };
3288
- export declare const $WorkerImageCapabilities: {
3289
- readonly type: 'object';
3290
- readonly properties: {
3291
- readonly textToImage: {
3292
- readonly $ref: '#/components/schemas/WorkerImageTextToImageCapabilities';
3293
- };
3294
- readonly imageToImage: {
3295
- readonly $ref: '#/components/schemas/WorkerImageImageToImageCapabilities';
3296
- };
3297
- readonly transform: {
3298
- readonly $ref: '#/components/schemas/WorkerImageTransformCapabilities';
3299
- };
3300
- readonly resourceTraining: {
3301
- readonly $ref: '#/components/schemas/WorkerImageResourceTrainingCapabilities';
3302
- };
3303
- readonly embedding: {
3304
- readonly $ref: '#/components/schemas/WorkerImageEmbeddingCapabilities';
3305
- };
3306
- };
3307
- readonly additionalProperties: false;
3308
- readonly description: "Details of a worker's image capabilities.";
3309
- };
3310
- export declare const $WorkerImageEmbeddingCapabilities: {
3311
- readonly type: 'object';
3312
- readonly additionalProperties: false;
3313
- readonly description: "Details of a worker's image embedding capabilities.";
3314
- };
3315
- export declare const $WorkerImageImageToImageCapabilities: {
3316
- readonly type: 'object';
3317
- readonly properties: {
3318
- readonly size: {
3319
- readonly type: 'integer';
3320
- readonly description: "The worker's maximum supported image size for image to image (squared).";
3321
- readonly format: 'int32';
3322
- };
3323
- readonly schedulers: {
3324
- readonly type: 'array';
3325
- readonly items: {
3326
- readonly $ref: '#/components/schemas/Scheduler';
3327
- };
3328
- readonly description: 'A list of schedulers the worker supports for image to image.';
3329
- };
3330
- readonly controlNet: {
3331
- readonly maximum: 10;
3332
- readonly minimum: 0;
3333
- readonly type: 'integer';
3334
- readonly description: 'The number of ControlNets the worker supports for image to image (at once).';
3335
- readonly format: 'int32';
3336
- };
3337
- readonly inpainting: {
3338
- readonly type: 'boolean';
3339
- readonly description: 'Indicates whether the worker supports inpaiting.';
3340
- };
3341
- };
3342
- readonly additionalProperties: false;
3343
- readonly description: "Details of a worker's image to image capabilities.";
3344
- };
3345
- export declare const $WorkerImageResourceTrainingCapabilities: {
3346
- readonly type: 'object';
3449
+ readonly images: {
3450
+ readonly type: 'array';
3451
+ readonly items: {
3452
+ readonly type: 'string';
3453
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
3454
+ };
3455
+ };
3456
+ readonly enableBackgroundMusic: {
3457
+ readonly type: 'boolean';
3458
+ readonly default: false;
3459
+ };
3460
+ };
3461
+ readonly additionalProperties: false;
3462
+ },
3463
+ ];
3347
3464
  readonly properties: {
3348
3465
  readonly engine: {
3466
+ readonly enum: readonly ['vidu'];
3349
3467
  readonly type: 'string';
3350
3468
  };
3351
3469
  };
3352
- readonly additionalProperties: false;
3353
- readonly description: "Details of a worker's image resource training capabilities.";
3354
3470
  };
3355
- export declare const $WorkerImageTextToImageCapabilities: {
3356
- readonly type: 'object';
3357
- readonly properties: {
3358
- readonly size: {
3359
- readonly type: 'integer';
3360
- readonly description: "The worker's maximum supported image size for text to image (squared).";
3361
- readonly format: 'int32';
3362
- };
3363
- readonly schedulers: {
3364
- readonly type: 'array';
3365
- readonly items: {
3366
- readonly $ref: '#/components/schemas/Scheduler';
3471
+ export declare const $ViduVideoGenModel: {
3472
+ readonly enum: readonly ['default', 'q1'];
3473
+ readonly type: 'string';
3474
+ };
3475
+ export declare const $ViduVideoGenStyle: {
3476
+ readonly enum: readonly ['general', 'anime'];
3477
+ readonly type: 'string';
3478
+ };
3479
+ export declare const $Wan21VideoGenInput: {
3480
+ readonly required: readonly ['model'];
3481
+ readonly allOf: readonly [
3482
+ {
3483
+ readonly $ref: '#/components/schemas/WanVideoGenInput';
3484
+ },
3485
+ {
3486
+ readonly required: readonly ['provider'];
3487
+ readonly type: 'object';
3488
+ readonly properties: {
3489
+ readonly provider: {
3490
+ readonly type: 'string';
3491
+ readonly default: 'civitai';
3492
+ readonly nullable: true;
3493
+ };
3367
3494
  };
3368
- readonly description: 'A list of schedulers the worker supports for text to image.';
3369
- };
3370
- readonly controlNet: {
3371
- readonly maximum: 10;
3372
- readonly minimum: 0;
3373
- readonly type: 'integer';
3374
- readonly description: 'The number of ControlNets the worker supports for text to image (at once).';
3375
- readonly format: 'int32';
3376
- };
3377
- readonly engines: {
3378
- readonly uniqueItems: true;
3379
- readonly type: 'array';
3380
- readonly items: {
3381
- readonly type: 'string';
3495
+ readonly additionalProperties: false;
3496
+ readonly discriminator: {
3497
+ readonly propertyName: 'provider';
3498
+ readonly mapping: {
3499
+ readonly civitai: '#/components/schemas/CivitaiWan21VideoGenInput';
3500
+ readonly fal: '#/components/schemas/FalWan21VideoGenInput';
3501
+ };
3382
3502
  };
3383
- readonly description: 'A list of engines that this worker supports for text to image.';
3384
- readonly nullable: true;
3385
- };
3386
- };
3387
- readonly additionalProperties: false;
3388
- readonly description: "Details of a worker's text to image capabilities.";
3389
- };
3390
- export declare const $WorkerImageTransformCapabilities: {
3391
- readonly type: 'object';
3503
+ },
3504
+ ];
3392
3505
  readonly properties: {
3393
- readonly transformers: {
3394
- readonly type: 'array';
3395
- readonly items: {
3396
- readonly $ref: '#/components/schemas/ImageTransformer';
3397
- };
3398
- readonly description: 'A list of supported image transformers.';
3506
+ readonly model: {
3507
+ readonly enum: readonly ['2.1'];
3508
+ readonly type: 'string';
3399
3509
  };
3400
3510
  };
3401
- readonly additionalProperties: false;
3402
- readonly description: "Details of a worker's image transform capabilities.";
3403
- };
3404
- export declare const $WorkerMediaAgeClassificationCapabilities: {
3405
- readonly type: 'object';
3406
- readonly additionalProperties: false;
3407
3511
  };
3408
- export declare const $WorkerMediaCapabilities: {
3409
- readonly type: 'object';
3512
+ export declare const $Wan225bVideoGenInput: {
3513
+ readonly required: readonly ['model'];
3514
+ readonly allOf: readonly [
3515
+ {
3516
+ readonly $ref: '#/components/schemas/WanVideoGenInput';
3517
+ },
3518
+ {
3519
+ readonly required: readonly ['provider'];
3520
+ readonly type: 'object';
3521
+ readonly properties: {
3522
+ readonly provider: {
3523
+ readonly type: 'string';
3524
+ readonly default: 'fal';
3525
+ readonly nullable: true;
3526
+ };
3527
+ };
3528
+ readonly additionalProperties: false;
3529
+ readonly discriminator: {
3530
+ readonly propertyName: 'provider';
3531
+ readonly mapping: {
3532
+ readonly fal: '#/components/schemas/FalWan225bVideoGenInput';
3533
+ };
3534
+ };
3535
+ },
3536
+ ];
3410
3537
  readonly properties: {
3411
- readonly wdTagging: {
3412
- readonly $ref: '#/components/schemas/WorkerMediaWDTaggingCapabilities';
3413
- };
3414
- readonly comfy: {
3415
- readonly $ref: '#/components/schemas/WorkerMediaComfyCapabilities';
3416
- };
3417
- readonly tagging: {
3418
- readonly $ref: '#/components/schemas/WorkerMediaTaggingCapabilities';
3419
- };
3420
- readonly movieRating: {
3421
- readonly $ref: '#/components/schemas/WorkerMediaMovieRatingCapabilities';
3422
- };
3423
- readonly transcode: {
3424
- readonly $ref: '#/components/schemas/WorkerMediaTranscodeCapabilities';
3425
- };
3426
- readonly captioning: {
3427
- readonly $ref: '#/components/schemas/WorkerMediaCaptioningCapabilities';
3428
- };
3429
- readonly ageClassification: {
3430
- readonly $ref: '#/components/schemas/WorkerMediaAgeClassificationCapabilities';
3431
- };
3432
- readonly ocrSafetyClassification: {
3433
- readonly $ref: '#/components/schemas/WorkerMediaOCRSafetyClassificationCapabilities';
3538
+ readonly model: {
3539
+ readonly enum: readonly ['2.2-5b'];
3540
+ readonly type: 'string';
3434
3541
  };
3435
3542
  };
3436
- readonly additionalProperties: false;
3437
- readonly description: "Details of a worker's media capabilities.";
3438
- };
3439
- export declare const $WorkerMediaCaptioningCapabilities: {
3440
- readonly type: 'object';
3441
- readonly additionalProperties: false;
3442
- };
3443
- export declare const $WorkerMediaComfyCapabilities: {
3444
- readonly type: 'object';
3445
- readonly additionalProperties: false;
3446
- readonly description: "Details of a worker's media comfy capabilities.";
3447
- };
3448
- export declare const $WorkerMediaMovieRatingCapabilities: {
3449
- readonly type: 'object';
3450
- readonly additionalProperties: false;
3451
- readonly description: "Details of a worker's media movie rating capabilities.";
3452
- };
3453
- export declare const $WorkerMediaOCRSafetyClassificationCapabilities: {
3454
- readonly type: 'object';
3455
- readonly additionalProperties: false;
3456
3543
  };
3457
- export declare const $WorkerMediaTaggingCapabilities: {
3458
- readonly type: 'object';
3459
- readonly additionalProperties: false;
3460
- readonly description: "Details of a worker's media tagging capabilities.";
3461
- };
3462
- export declare const $WorkerMediaTranscodeCapabilities: {
3463
- readonly type: 'object';
3464
- readonly additionalProperties: false;
3465
- };
3466
- export declare const $WorkerMediaWDTaggingCapabilities: {
3467
- readonly type: 'object';
3468
- readonly additionalProperties: false;
3469
- readonly description: "Details of a worker's media WD tagging capabilities.";
3470
- };
3471
- export declare const $WorkerModelPreparationCapabilities: {
3472
- readonly type: 'object';
3473
- readonly additionalProperties: false;
3474
- readonly description: "Details of a worker's model preparation capabilities.";
3475
- };
3476
- export declare const $WorkerRegistration: {
3477
- readonly required: readonly ['name'];
3478
- readonly type: 'object';
3479
- readonly properties: {
3480
- readonly name: {
3481
- readonly type: 'string';
3482
- readonly description: "The worker's name.";
3483
- };
3484
- readonly onDemandResourceTypes: {
3485
- readonly uniqueItems: true;
3486
- readonly type: 'array';
3487
- readonly items: {
3488
- readonly type: 'string';
3489
- };
3490
- readonly description: 'A hash set of resource types the worker can retrieve on demand.';
3491
- };
3492
- readonly capabilities: {
3493
- readonly $ref: '#/components/schemas/WorkerCapabilities';
3494
- };
3495
- readonly subscription: {
3496
- readonly $ref: '#/components/schemas/Subscription';
3497
- };
3498
- readonly type: {
3499
- readonly $ref: '#/components/schemas/WorkerType';
3500
- };
3501
- readonly concurrentLimit: {
3502
- readonly type: 'integer';
3503
- readonly description: 'The number of requests the worker can handle at once.';
3504
- readonly format: 'int32';
3505
- };
3506
- readonly ecosystems: {
3544
+ export declare const $Wan22VideoGenInput: {
3545
+ readonly required: readonly ['model'];
3546
+ readonly allOf: readonly [
3547
+ {
3548
+ readonly $ref: '#/components/schemas/WanVideoGenInput';
3549
+ },
3550
+ {
3551
+ readonly required: readonly ['provider'];
3507
3552
  readonly type: 'object';
3508
- readonly additionalProperties: {
3509
- readonly $ref: '#/components/schemas/EcosystemElement';
3553
+ readonly properties: {
3554
+ readonly provider: {
3555
+ readonly type: 'string';
3556
+ readonly default: 'fal';
3557
+ readonly nullable: true;
3558
+ };
3510
3559
  };
3511
- readonly description: 'A collection of ecosystems the worker supports.';
3512
- };
3513
- readonly resources: {
3514
- readonly type: 'object';
3515
- readonly additionalProperties: {
3516
- readonly $ref: '#/components/schemas/WorkerResourceStatus';
3560
+ readonly additionalProperties: false;
3561
+ readonly discriminator: {
3562
+ readonly propertyName: 'provider';
3563
+ readonly mapping: {
3564
+ readonly fal: '#/components/schemas/FalWan22VideoGenInput';
3565
+ };
3517
3566
  };
3518
- readonly description: 'A collection of information about the availability of particular resources on this worker.';
3519
- };
3520
- readonly cacheLevel: {
3521
- readonly type: 'string';
3522
- readonly description: 'The name of the closest cache level that this worker can interact with.';
3523
- readonly nullable: true;
3524
- };
3525
- readonly maxColdSwapQueueSize: {
3526
- readonly type: 'integer';
3527
- readonly description: 'The max queue size before the worker stops accepting requests that require cold swapping.';
3528
- readonly format: 'int32';
3529
- readonly nullable: true;
3530
- };
3531
- readonly maxPendingResourceSize: {
3532
- readonly type: 'integer';
3533
- readonly description: 'The max size in Mb of downloads that can be pending.';
3534
- readonly format: 'int32';
3535
- readonly nullable: true;
3536
- };
3537
- readonly consumeUnavailableJobs: {
3538
- readonly type: 'boolean';
3539
- readonly description: 'A value indicating if worker should consume jobs that are not yet available.';
3540
- };
3541
- readonly nodeIdentifier: {
3567
+ },
3568
+ ];
3569
+ readonly properties: {
3570
+ readonly model: {
3571
+ readonly enum: readonly ['2.2'];
3542
3572
  readonly type: 'string';
3543
- readonly description: 'An optional identifier unique to this worker.';
3544
- readonly nullable: true;
3545
- };
3546
- readonly scoreBoost: {
3547
- readonly type: 'number';
3548
- readonly description: 'An optional boost to the scoring of this worker. This can be used to make a worker more or less likely to be selected for work';
3549
- readonly format: 'double';
3550
- readonly nullable: true;
3551
- };
3552
- readonly supportedFileFormats: {
3553
- readonly type: 'array';
3554
- readonly items: {
3555
- readonly $ref: '#/components/schemas/FileFormat';
3556
- };
3557
- readonly description: 'A list of file formats that the worker supports. If none are specified then all formats are considered supported';
3558
- readonly nullable: true;
3559
- };
3560
- readonly preferredDownloadSource: {
3561
- readonly $ref: '#/components/schemas/DownloadSource';
3562
- };
3563
- readonly labels: {
3564
- readonly type: 'object';
3565
- readonly additionalProperties: {
3566
- readonly type: 'string';
3567
- };
3568
- readonly description: 'A collection of labels that will be applied to metrics produced by these workers';
3569
- readonly nullable: true;
3570
3573
  };
3571
3574
  };
3572
- readonly additionalProperties: false;
3573
- readonly description: "Details of a worker's registration.";
3574
3575
  };
3575
- export declare const $WorkerResourceAvailability: {
3576
- readonly enum: readonly [
3577
- 'unknown',
3578
- 'unsupported',
3579
- 'unavailable',
3580
- 'available',
3581
- 'providerUnsupported',
3576
+ export declare const $WanVideoGenInput: {
3577
+ readonly required: readonly ['engine'];
3578
+ readonly allOf: readonly [
3579
+ {
3580
+ readonly $ref: '#/components/schemas/VideoGenInput';
3581
+ },
3582
+ {
3583
+ readonly required: readonly ['model'];
3584
+ readonly type: 'object';
3585
+ readonly properties: {
3586
+ readonly model: {
3587
+ readonly type: 'string';
3588
+ readonly default: '2.1';
3589
+ readonly nullable: true;
3590
+ };
3591
+ readonly sourceImage: {
3592
+ readonly type: 'string';
3593
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
3594
+ readonly nullable: true;
3595
+ };
3596
+ readonly cfgScale: {
3597
+ readonly maximum: 100;
3598
+ readonly minimum: 0;
3599
+ readonly type: 'number';
3600
+ readonly format: 'double';
3601
+ readonly default: 4;
3602
+ };
3603
+ readonly frameRate: {
3604
+ readonly type: 'integer';
3605
+ readonly format: 'int32';
3606
+ readonly default: 24;
3607
+ };
3608
+ readonly duration: {
3609
+ readonly maximum: 30;
3610
+ readonly minimum: 1;
3611
+ readonly type: 'integer';
3612
+ readonly format: 'int32';
3613
+ readonly default: 5;
3614
+ };
3615
+ readonly seed: {
3616
+ readonly type: 'integer';
3617
+ readonly format: 'int32';
3618
+ readonly nullable: true;
3619
+ };
3620
+ readonly steps: {
3621
+ readonly maximum: 50;
3622
+ readonly minimum: 10;
3623
+ readonly type: 'integer';
3624
+ readonly format: 'int32';
3625
+ readonly default: 20;
3626
+ };
3627
+ readonly loras: {
3628
+ readonly type: 'array';
3629
+ readonly items: {
3630
+ readonly $ref: '#/components/schemas/VideoGenInputLora';
3631
+ };
3632
+ };
3633
+ };
3634
+ readonly additionalProperties: false;
3635
+ readonly discriminator: {
3636
+ readonly propertyName: 'model';
3637
+ readonly mapping: {
3638
+ readonly '2.1': '#/components/schemas/Wan21VideoGenInput';
3639
+ readonly '2.2': '#/components/schemas/Wan22VideoGenInput';
3640
+ readonly '2.2-5b': '#/components/schemas/Wan225bVideoGenInput';
3641
+ };
3642
+ };
3643
+ },
3582
3644
  ];
3583
- readonly type: 'string';
3584
- readonly description: 'Options for representing the status for a resource on a worker.';
3585
- };
3586
- export declare const $WorkerResourceStatus: {
3587
- readonly required: readonly ['availability'];
3588
- readonly type: 'object';
3589
3645
  readonly properties: {
3590
- readonly availability: {
3591
- readonly $ref: '#/components/schemas/WorkerResourceAvailability';
3592
- };
3593
- readonly cost: {
3594
- readonly type: 'number';
3595
- readonly description: 'The cost associated with this resource.';
3596
- readonly format: 'float';
3646
+ readonly engine: {
3647
+ readonly enum: readonly ['wan'];
3648
+ readonly type: 'string';
3597
3649
  };
3598
3650
  };
3599
- readonly additionalProperties: false;
3600
- readonly description: 'Details for the status of a resource on a particular worker.';
3601
- };
3602
- export declare const $WorkerSimilaritySearchCapabilities: {
3603
- readonly type: 'object';
3604
- readonly additionalProperties: false;
3605
- readonly description: "Details of a worker's similarity search capabilities.";
3606
- };
3607
- export declare const $WorkerTryOnUCapabilities: {
3608
- readonly type: 'object';
3609
- readonly additionalProperties: false;
3610
- };
3611
- export declare const $WorkerType: {
3612
- readonly enum: readonly ['normal', 'deferred'];
3613
- readonly type: 'string';
3614
- readonly description: 'Available values for worker type.';
3615
3651
  };
3616
3652
  export declare const $Workflow: {
3617
3653
  readonly type: 'object';
@@ -3883,6 +3919,12 @@ export declare const $WorkflowStep: {
3883
3919
  readonly additionalProperties: {};
3884
3920
  readonly description: 'A collection of user defined metadata for the workflow step.';
3885
3921
  };
3922
+ readonly estimatedProgressRate: {
3923
+ readonly type: 'number';
3924
+ readonly description: 'An estimation on the current progression of this step, or null if there is no estimation';
3925
+ readonly format: 'double';
3926
+ readonly nullable: true;
3927
+ };
3886
3928
  };
3887
3929
  readonly additionalProperties: false;
3888
3930
  readonly description: 'Details of a workflow step.';
@@ -3890,14 +3932,14 @@ export declare const $WorkflowStep: {
3890
3932
  readonly propertyName: '$type';
3891
3933
  readonly mapping: {
3892
3934
  readonly ageClassification: '#/components/schemas/AgeClassificationStep';
3893
- readonly batchOCRSafetyClassification: '#/components/schemas/BatchOCRSafetyClassificationStep';
3894
3935
  readonly comfy: '#/components/schemas/ComfyStep';
3895
3936
  readonly echo: '#/components/schemas/EchoStep';
3896
- readonly humanoidImageMask: '#/components/schemas/HumanoidImageMaskStep';
3937
+ readonly imageGen: '#/components/schemas/ImageGenStep';
3897
3938
  readonly imageResourceTraining: '#/components/schemas/ImageResourceTrainingStep';
3939
+ readonly imageUpload: '#/components/schemas/ImageUploadStep';
3898
3940
  readonly textToImage: '#/components/schemas/TextToImageStep';
3899
3941
  readonly transcode: '#/components/schemas/TranscodeStep';
3900
- readonly tryOnU: '#/components/schemas/TryOnUStep';
3942
+ readonly videoEnhancement: '#/components/schemas/VideoEnhancementStep';
3901
3943
  readonly videoGen: '#/components/schemas/VideoGenStep';
3902
3944
  };
3903
3945
  };
@@ -3955,6 +3997,12 @@ export declare const $WorkflowStepJob: {
3955
3997
  readonly description: "The job's cost.";
3956
3998
  readonly format: 'double';
3957
3999
  };
4000
+ readonly estimatedProgressRate: {
4001
+ readonly type: 'number';
4002
+ readonly description: 'An estimation on the current progression of this job, or null if there is no estimation';
4003
+ readonly format: 'double';
4004
+ readonly nullable: true;
4005
+ };
3958
4006
  };
3959
4007
  readonly additionalProperties: false;
3960
4008
  readonly description: 'Details of a job produced by a workflow step.';
@@ -3986,6 +4034,14 @@ export declare const $WorkflowStepJobEvent: {
3986
4034
  readonly format: 'double';
3987
4035
  readonly nullable: true;
3988
4036
  };
4037
+ readonly reason: {
4038
+ readonly type: 'string';
4039
+ readonly nullable: true;
4040
+ };
4041
+ readonly blockedReason: {
4042
+ readonly type: 'string';
4043
+ readonly nullable: true;
4044
+ };
3989
4045
  };
3990
4046
  readonly additionalProperties: false;
3991
4047
  readonly description: 'Details of a workflow step job event.';
@@ -4059,14 +4115,13 @@ export declare const $WorkflowStepTemplate: {
4059
4115
  readonly propertyName: '$type';
4060
4116
  readonly mapping: {
4061
4117
  readonly ageClassification: '#/components/schemas/AgeClassificationStepTemplate';
4062
- readonly batchOCRSafetyClassification: '#/components/schemas/BatchOCRSafetyClassificationStepTemplate';
4063
4118
  readonly comfy: '#/components/schemas/ComfyStepTemplate';
4064
4119
  readonly echo: '#/components/schemas/EchoStepTemplate';
4065
- readonly humanoidImageMask: '#/components/schemas/HumanoidImageMaskStepTemplate';
4120
+ readonly imageGen: '#/components/schemas/ImageGenStepTemplate';
4066
4121
  readonly imageResourceTraining: '#/components/schemas/ImageResourceTrainingStepTemplate';
4122
+ readonly imageUpload: '#/components/schemas/ImageUploadStepTemplate';
4067
4123
  readonly textToImage: '#/components/schemas/TextToImageStepTemplate';
4068
- readonly transcode: '#/components/schemas/TranscodeStepTemplate';
4069
- readonly tryOnU: '#/components/schemas/TryOnUStepTemplate';
4124
+ readonly videoEnhancement: '#/components/schemas/VideoEnhancementStepTemplate';
4070
4125
  readonly videoGen: '#/components/schemas/VideoGenStepTemplate';
4071
4126
  };
4072
4127
  };