@civitai/client 0.1.9-beta.33 → 0.1.9-beta.34
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.
- package/dist/generated/schemas.gen.d.ts +2114 -110
- package/dist/generated/schemas.gen.js +2101 -107
- package/dist/generated/services.gen.d.ts +129 -0
- package/dist/generated/services.gen.js +145 -0
- package/dist/generated/types.gen.d.ts +1737 -167
- package/dist/generated/types.gen.js +94 -28
- package/package.json +1 -1
|
@@ -16,6 +16,60 @@ export declare const $AgeClassificationInput: {
|
|
|
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
|
+
};
|
|
19
73
|
export declare const $AgeClassificationOutput: {
|
|
20
74
|
readonly required: readonly ['hasMinor', 'labels', 'prediction'];
|
|
21
75
|
readonly type: 'object';
|
|
@@ -214,6 +268,71 @@ export declare const $BuzzClientAccount: {
|
|
|
214
268
|
readonly enum: readonly ['user', 'generation'];
|
|
215
269
|
readonly type: 'string';
|
|
216
270
|
};
|
|
271
|
+
export declare const $Claim: {
|
|
272
|
+
readonly required: readonly ['id', 'job', 'status'];
|
|
273
|
+
readonly type: 'object';
|
|
274
|
+
readonly properties: {
|
|
275
|
+
readonly id: {
|
|
276
|
+
readonly type: 'string';
|
|
277
|
+
};
|
|
278
|
+
readonly job: {
|
|
279
|
+
readonly $ref: '#/components/schemas/Job';
|
|
280
|
+
};
|
|
281
|
+
readonly status: {
|
|
282
|
+
readonly $ref: '#/components/schemas/ClaimStatus';
|
|
283
|
+
};
|
|
284
|
+
readonly requestedAt: {
|
|
285
|
+
readonly type: 'string';
|
|
286
|
+
readonly format: 'date-time';
|
|
287
|
+
};
|
|
288
|
+
readonly expiresAt: {
|
|
289
|
+
readonly type: 'string';
|
|
290
|
+
readonly format: 'date-time';
|
|
291
|
+
};
|
|
292
|
+
readonly retryAttempt: {
|
|
293
|
+
readonly type: 'integer';
|
|
294
|
+
readonly format: 'int32';
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
readonly additionalProperties: false;
|
|
298
|
+
};
|
|
299
|
+
export declare const $ClaimStatus: {
|
|
300
|
+
readonly type: 'object';
|
|
301
|
+
readonly properties: {
|
|
302
|
+
readonly status: {
|
|
303
|
+
readonly $ref: '#/components/schemas/ClaimStatusType';
|
|
304
|
+
};
|
|
305
|
+
readonly context: {
|
|
306
|
+
readonly type: 'object';
|
|
307
|
+
readonly additionalProperties: {};
|
|
308
|
+
readonly nullable: true;
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
readonly additionalProperties: false;
|
|
312
|
+
};
|
|
313
|
+
export declare const $ClaimStatusType: {
|
|
314
|
+
readonly enum: readonly ['claimed', 'rejected', 'succeeded'];
|
|
315
|
+
readonly type: 'string';
|
|
316
|
+
};
|
|
317
|
+
export declare const $ClavataPromptClassificationResult: {
|
|
318
|
+
readonly required: readonly ['cr', 'scan', 'sexual', 'young'];
|
|
319
|
+
readonly type: 'object';
|
|
320
|
+
readonly properties: {
|
|
321
|
+
readonly scan: {
|
|
322
|
+
readonly type: 'boolean';
|
|
323
|
+
};
|
|
324
|
+
readonly sexual: {
|
|
325
|
+
readonly type: 'boolean';
|
|
326
|
+
};
|
|
327
|
+
readonly cr: {
|
|
328
|
+
readonly type: 'boolean';
|
|
329
|
+
};
|
|
330
|
+
readonly young: {
|
|
331
|
+
readonly type: 'boolean';
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
readonly additionalProperties: false;
|
|
335
|
+
};
|
|
217
336
|
export declare const $ComfyInput: {
|
|
218
337
|
readonly required: readonly ['comfyWorkflow'];
|
|
219
338
|
readonly type: 'object';
|
|
@@ -246,6 +365,86 @@ export declare const $ComfyInput: {
|
|
|
246
365
|
};
|
|
247
366
|
readonly additionalProperties: false;
|
|
248
367
|
};
|
|
368
|
+
export declare const $ComfyJob: {
|
|
369
|
+
readonly required: readonly ['$type'];
|
|
370
|
+
readonly allOf: readonly [
|
|
371
|
+
{
|
|
372
|
+
readonly $ref: '#/components/schemas/Job';
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
readonly required: readonly ['params', 'slots'];
|
|
376
|
+
readonly type: 'object';
|
|
377
|
+
readonly properties: {
|
|
378
|
+
readonly params: {
|
|
379
|
+
readonly type: 'object';
|
|
380
|
+
readonly additionalProperties: {
|
|
381
|
+
readonly $ref: '#/components/schemas/ComfyNode';
|
|
382
|
+
};
|
|
383
|
+
readonly description: 'A untyped set of parameters that are associated with this job';
|
|
384
|
+
};
|
|
385
|
+
readonly resources: {
|
|
386
|
+
readonly uniqueItems: true;
|
|
387
|
+
readonly type: 'array';
|
|
388
|
+
readonly items: {
|
|
389
|
+
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_\\-]+))?$';
|
|
390
|
+
readonly type: 'string';
|
|
391
|
+
};
|
|
392
|
+
readonly nullable: true;
|
|
393
|
+
};
|
|
394
|
+
readonly slots: {
|
|
395
|
+
readonly type: 'array';
|
|
396
|
+
readonly items: {
|
|
397
|
+
readonly $ref: '#/components/schemas/ComfyJobSlot';
|
|
398
|
+
};
|
|
399
|
+
readonly description: 'Slots for the resulting blob outputs.';
|
|
400
|
+
};
|
|
401
|
+
readonly imageMetadata: {
|
|
402
|
+
readonly type: 'string';
|
|
403
|
+
readonly description: 'Get or set additional metadata that will be embedded with generated images';
|
|
404
|
+
readonly nullable: true;
|
|
405
|
+
};
|
|
406
|
+
readonly spineComfy: {
|
|
407
|
+
readonly type: 'boolean';
|
|
408
|
+
readonly description: 'The ability to opt-into spine comfy instances';
|
|
409
|
+
readonly nullable: true;
|
|
410
|
+
};
|
|
411
|
+
readonly type: {
|
|
412
|
+
readonly type: 'string';
|
|
413
|
+
readonly readOnly: true;
|
|
414
|
+
};
|
|
415
|
+
readonly claimDuration: {
|
|
416
|
+
readonly type: 'string';
|
|
417
|
+
readonly format: 'date-span';
|
|
418
|
+
readonly readOnly: true;
|
|
419
|
+
};
|
|
420
|
+
};
|
|
421
|
+
readonly additionalProperties: false;
|
|
422
|
+
},
|
|
423
|
+
];
|
|
424
|
+
readonly properties: {
|
|
425
|
+
readonly $type: {
|
|
426
|
+
readonly enum: readonly ['comfy'];
|
|
427
|
+
readonly type: 'string';
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
};
|
|
431
|
+
export declare const $ComfyJobSlot: {
|
|
432
|
+
readonly required: readonly ['blobKey', 'destinationUrl'];
|
|
433
|
+
readonly type: 'object';
|
|
434
|
+
readonly properties: {
|
|
435
|
+
readonly blobKey: {
|
|
436
|
+
readonly type: 'string';
|
|
437
|
+
readonly description: 'The hash for the blob output.';
|
|
438
|
+
};
|
|
439
|
+
readonly destinationUrl: {
|
|
440
|
+
readonly type: 'string';
|
|
441
|
+
readonly description: 'The destination url for blob upload.';
|
|
442
|
+
readonly format: 'uri';
|
|
443
|
+
};
|
|
444
|
+
};
|
|
445
|
+
readonly additionalProperties: false;
|
|
446
|
+
readonly description: 'Contains slot information for a blob generated by a ComfyJob.';
|
|
447
|
+
};
|
|
249
448
|
export declare const $ComfyNode: {
|
|
250
449
|
readonly required: readonly ['classType', 'inputs'];
|
|
251
450
|
readonly type: 'object';
|
|
@@ -357,49 +556,218 @@ export declare const $ComfyStepTemplate: {
|
|
|
357
556
|
};
|
|
358
557
|
readonly description: 'Comfy workflows';
|
|
359
558
|
};
|
|
360
|
-
export declare const $
|
|
361
|
-
readonly
|
|
362
|
-
readonly
|
|
559
|
+
export declare const $ComfyVideoGenJob: {
|
|
560
|
+
readonly required: readonly ['$type'];
|
|
561
|
+
readonly allOf: readonly [
|
|
562
|
+
{
|
|
563
|
+
readonly $ref: '#/components/schemas/Job';
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
readonly required: readonly ['destinationUrl', 'model', 'prompt'];
|
|
567
|
+
readonly type: 'object';
|
|
568
|
+
readonly properties: {
|
|
569
|
+
readonly model: {
|
|
570
|
+
readonly pattern: '^(?:urn:)?(?:air:)?(?:(?<ecosystem>[a-zA-Z0-9_\\-\\/]+):)?(?:(?<type>[a-zA-Z0-9_\\-\\/]+):)?(?<source>[a-zA-Z0-9_\\-\\/]+):(?<id>[a-zA-Z0-9_\\-\\/\\.]+)(?:@(?<version>[a-zA-Z0-9_\\-\\/.]+))?(?:\\.(?<format>[a-zA-Z0-9_\\-]+))?$';
|
|
571
|
+
readonly type: 'string';
|
|
572
|
+
};
|
|
573
|
+
readonly prompt: {
|
|
574
|
+
readonly type: 'string';
|
|
575
|
+
};
|
|
576
|
+
readonly negativePrompt: {
|
|
577
|
+
readonly type: 'string';
|
|
578
|
+
readonly nullable: true;
|
|
579
|
+
};
|
|
580
|
+
readonly cfgScale: {
|
|
581
|
+
readonly type: 'number';
|
|
582
|
+
readonly format: 'double';
|
|
583
|
+
};
|
|
584
|
+
readonly destinationUrl: {
|
|
585
|
+
readonly type: 'string';
|
|
586
|
+
readonly format: 'uri';
|
|
587
|
+
};
|
|
588
|
+
readonly sampler: {
|
|
589
|
+
readonly type: 'string';
|
|
590
|
+
};
|
|
591
|
+
readonly width: {
|
|
592
|
+
readonly type: 'integer';
|
|
593
|
+
readonly format: 'int32';
|
|
594
|
+
};
|
|
595
|
+
readonly height: {
|
|
596
|
+
readonly type: 'integer';
|
|
597
|
+
readonly format: 'int32';
|
|
598
|
+
};
|
|
599
|
+
readonly frameRate: {
|
|
600
|
+
readonly type: 'integer';
|
|
601
|
+
readonly format: 'int32';
|
|
602
|
+
};
|
|
603
|
+
readonly length: {
|
|
604
|
+
readonly type: 'integer';
|
|
605
|
+
readonly format: 'int32';
|
|
606
|
+
};
|
|
607
|
+
readonly seed: {
|
|
608
|
+
readonly type: 'integer';
|
|
609
|
+
readonly format: 'int64';
|
|
610
|
+
};
|
|
611
|
+
readonly steps: {
|
|
612
|
+
readonly type: 'integer';
|
|
613
|
+
readonly format: 'int32';
|
|
614
|
+
};
|
|
615
|
+
readonly sourceImageUrl: {
|
|
616
|
+
readonly type: 'string';
|
|
617
|
+
readonly format: 'uri';
|
|
618
|
+
readonly nullable: true;
|
|
619
|
+
};
|
|
620
|
+
readonly loras: {
|
|
621
|
+
readonly type: 'array';
|
|
622
|
+
readonly items: {
|
|
623
|
+
readonly $ref: '#/components/schemas/Lora';
|
|
624
|
+
};
|
|
625
|
+
readonly nullable: true;
|
|
626
|
+
};
|
|
627
|
+
readonly claimDuration: {
|
|
628
|
+
readonly type: 'string';
|
|
629
|
+
readonly format: 'date-span';
|
|
630
|
+
readonly readOnly: true;
|
|
631
|
+
};
|
|
632
|
+
readonly type: {
|
|
633
|
+
readonly type: 'string';
|
|
634
|
+
readonly readOnly: true;
|
|
635
|
+
};
|
|
636
|
+
};
|
|
637
|
+
readonly additionalProperties: false;
|
|
638
|
+
},
|
|
639
|
+
];
|
|
640
|
+
readonly properties: {
|
|
641
|
+
readonly $type: {
|
|
642
|
+
readonly enum: readonly ['comfyVideoGen'];
|
|
643
|
+
readonly type: 'string';
|
|
644
|
+
};
|
|
645
|
+
};
|
|
363
646
|
};
|
|
364
|
-
export declare const $
|
|
365
|
-
readonly required: readonly ['
|
|
647
|
+
export declare const $ConfigurationOptions: {
|
|
648
|
+
readonly required: readonly ['selector', 'spec'];
|
|
366
649
|
readonly type: 'object';
|
|
367
650
|
readonly properties: {
|
|
368
|
-
readonly
|
|
369
|
-
readonly type: '
|
|
651
|
+
readonly priority: {
|
|
652
|
+
readonly type: 'integer';
|
|
653
|
+
readonly description: 'Get or set the priority of this configuration if multiple configurations apply to the same worker';
|
|
654
|
+
readonly format: 'int64';
|
|
370
655
|
};
|
|
371
|
-
readonly
|
|
372
|
-
readonly
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
656
|
+
readonly selector: {
|
|
657
|
+
readonly $ref: '#/components/schemas/Expression';
|
|
658
|
+
};
|
|
659
|
+
readonly spec: {
|
|
660
|
+
readonly description: 'Get or set the specification associated with this configuration';
|
|
661
|
+
readonly nullable: true;
|
|
376
662
|
};
|
|
377
663
|
};
|
|
378
664
|
readonly additionalProperties: false;
|
|
379
665
|
};
|
|
380
|
-
export declare const $
|
|
381
|
-
readonly required: readonly ['
|
|
666
|
+
export declare const $ConfigurationStatus: {
|
|
667
|
+
readonly required: readonly ['configurationId'];
|
|
382
668
|
readonly type: 'object';
|
|
383
669
|
readonly properties: {
|
|
384
|
-
readonly
|
|
670
|
+
readonly configurationId: {
|
|
385
671
|
readonly type: 'string';
|
|
386
|
-
|
|
672
|
+
};
|
|
673
|
+
readonly assigned: {
|
|
674
|
+
readonly type: 'integer';
|
|
675
|
+
readonly format: 'int32';
|
|
676
|
+
};
|
|
677
|
+
readonly targeted: {
|
|
678
|
+
readonly type: 'integer';
|
|
679
|
+
readonly format: 'int32';
|
|
680
|
+
};
|
|
681
|
+
readonly applied: {
|
|
682
|
+
readonly type: 'integer';
|
|
683
|
+
readonly format: 'int32';
|
|
387
684
|
};
|
|
388
685
|
};
|
|
389
686
|
readonly additionalProperties: false;
|
|
390
|
-
readonly description: 'Represents the input information needed for the Echo workflow step.';
|
|
391
687
|
};
|
|
392
|
-
export declare const $
|
|
393
|
-
readonly
|
|
688
|
+
export declare const $ContainerFormat: {
|
|
689
|
+
readonly enum: readonly ['mp4', 'webM'];
|
|
690
|
+
readonly type: 'string';
|
|
691
|
+
};
|
|
692
|
+
export declare const $CreateConfigurationResult: {
|
|
693
|
+
readonly required: readonly ['configurationId'];
|
|
394
694
|
readonly type: 'object';
|
|
395
695
|
readonly properties: {
|
|
396
|
-
readonly
|
|
696
|
+
readonly configurationId: {
|
|
397
697
|
readonly type: 'string';
|
|
398
|
-
readonly description: 'The message to be returned.';
|
|
399
698
|
};
|
|
400
699
|
};
|
|
401
700
|
readonly additionalProperties: false;
|
|
402
|
-
|
|
701
|
+
};
|
|
702
|
+
export declare const $CreateWorkerResult: {
|
|
703
|
+
readonly required: readonly ['workerId'];
|
|
704
|
+
readonly type: 'object';
|
|
705
|
+
readonly properties: {
|
|
706
|
+
readonly workerId: {
|
|
707
|
+
readonly type: 'string';
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
readonly additionalProperties: false;
|
|
711
|
+
};
|
|
712
|
+
export declare const $CursedArrayOfTelemetryCursorAndWorkflow: {
|
|
713
|
+
readonly required: readonly ['items', 'next'];
|
|
714
|
+
readonly type: 'object';
|
|
715
|
+
readonly properties: {
|
|
716
|
+
readonly next: {
|
|
717
|
+
readonly type: 'string';
|
|
718
|
+
};
|
|
719
|
+
readonly items: {
|
|
720
|
+
readonly type: 'array';
|
|
721
|
+
readonly items: {
|
|
722
|
+
readonly $ref: '#/components/schemas/Workflow';
|
|
723
|
+
};
|
|
724
|
+
};
|
|
725
|
+
};
|
|
726
|
+
readonly additionalProperties: false;
|
|
727
|
+
};
|
|
728
|
+
export declare const $DownloadSource: {
|
|
729
|
+
readonly enum: readonly ['default', 'tigris'];
|
|
730
|
+
readonly type: 'string';
|
|
731
|
+
};
|
|
732
|
+
export declare const $DynamicAssignment: {
|
|
733
|
+
readonly required: readonly ['fromPath', 'toPath'];
|
|
734
|
+
readonly type: 'object';
|
|
735
|
+
readonly properties: {
|
|
736
|
+
readonly fromPath: {
|
|
737
|
+
readonly type: 'string';
|
|
738
|
+
};
|
|
739
|
+
readonly toPath: {
|
|
740
|
+
readonly type: 'string';
|
|
741
|
+
};
|
|
742
|
+
readonly defaultValue: {
|
|
743
|
+
readonly nullable: true;
|
|
744
|
+
};
|
|
745
|
+
};
|
|
746
|
+
readonly additionalProperties: false;
|
|
747
|
+
};
|
|
748
|
+
export declare const $EchoInput: {
|
|
749
|
+
readonly required: readonly ['message'];
|
|
750
|
+
readonly type: 'object';
|
|
751
|
+
readonly properties: {
|
|
752
|
+
readonly message: {
|
|
753
|
+
readonly type: 'string';
|
|
754
|
+
readonly description: 'The message to be returned in the output.';
|
|
755
|
+
};
|
|
756
|
+
};
|
|
757
|
+
readonly additionalProperties: false;
|
|
758
|
+
readonly description: 'Represents the input information needed for the Echo workflow step.';
|
|
759
|
+
};
|
|
760
|
+
export declare const $EchoOutput: {
|
|
761
|
+
readonly required: readonly ['message'];
|
|
762
|
+
readonly type: 'object';
|
|
763
|
+
readonly properties: {
|
|
764
|
+
readonly message: {
|
|
765
|
+
readonly type: 'string';
|
|
766
|
+
readonly description: 'The message to be returned.';
|
|
767
|
+
};
|
|
768
|
+
};
|
|
769
|
+
readonly additionalProperties: false;
|
|
770
|
+
readonly description: 'Represents the output information returned from the Echo workflow step.';
|
|
403
771
|
};
|
|
404
772
|
export declare const $EchoStep: {
|
|
405
773
|
readonly required: readonly ['$type'];
|
|
@@ -454,6 +822,12 @@ export declare const $EchoStepTemplate: {
|
|
|
454
822
|
};
|
|
455
823
|
readonly description: 'Echo';
|
|
456
824
|
};
|
|
825
|
+
export declare const $EcosystemElement: {
|
|
826
|
+
readonly type: 'object';
|
|
827
|
+
readonly additionalProperties: {
|
|
828
|
+
readonly $ref: '#/components/schemas/EcosystemElement';
|
|
829
|
+
};
|
|
830
|
+
};
|
|
457
831
|
export declare const $EpochResult: {
|
|
458
832
|
readonly required: readonly ['blobName', 'blobUrl'];
|
|
459
833
|
readonly type: 'object';
|
|
@@ -489,6 +863,10 @@ export declare const $EpochResult: {
|
|
|
489
863
|
readonly additionalProperties: false;
|
|
490
864
|
readonly description: 'An epock result.';
|
|
491
865
|
};
|
|
866
|
+
export declare const $Expression: {
|
|
867
|
+
readonly type: 'object';
|
|
868
|
+
readonly additionalProperties: false;
|
|
869
|
+
};
|
|
492
870
|
export declare const $FileFormat: {
|
|
493
871
|
readonly enum: readonly ['unknown', 'safeTensor', 'pickleTensor', 'diffusers', 'coreML', 'onnx'];
|
|
494
872
|
readonly type: 'string';
|
|
@@ -842,6 +1220,74 @@ export declare const $ImageJobNetworkParams: {
|
|
|
842
1220
|
};
|
|
843
1221
|
readonly additionalProperties: false;
|
|
844
1222
|
};
|
|
1223
|
+
export declare const $ImageJobParams: {
|
|
1224
|
+
readonly required: readonly ['height', 'width'];
|
|
1225
|
+
readonly type: 'object';
|
|
1226
|
+
readonly properties: {
|
|
1227
|
+
readonly prompt: {
|
|
1228
|
+
readonly type: 'string';
|
|
1229
|
+
readonly description: 'The prompt for the text to image generation.';
|
|
1230
|
+
readonly nullable: true;
|
|
1231
|
+
};
|
|
1232
|
+
readonly negativePrompt: {
|
|
1233
|
+
readonly type: 'string';
|
|
1234
|
+
readonly description: 'The negative prompt for the text to image generation.';
|
|
1235
|
+
readonly nullable: true;
|
|
1236
|
+
};
|
|
1237
|
+
readonly scheduler: {
|
|
1238
|
+
readonly $ref: '#/components/schemas/Scheduler';
|
|
1239
|
+
};
|
|
1240
|
+
readonly steps: {
|
|
1241
|
+
readonly maximum: 150;
|
|
1242
|
+
readonly minimum: 1;
|
|
1243
|
+
readonly type: 'integer';
|
|
1244
|
+
readonly description: 'The number of steps for the text to image generation.';
|
|
1245
|
+
readonly format: 'int32';
|
|
1246
|
+
readonly default: 30;
|
|
1247
|
+
};
|
|
1248
|
+
readonly cfgScale: {
|
|
1249
|
+
readonly maximum: 30;
|
|
1250
|
+
readonly minimum: 1;
|
|
1251
|
+
readonly type: 'number';
|
|
1252
|
+
readonly description: 'The CFG scale value for the text to image generation.';
|
|
1253
|
+
readonly format: 'double';
|
|
1254
|
+
readonly default: 7.5;
|
|
1255
|
+
readonly nullable: true;
|
|
1256
|
+
};
|
|
1257
|
+
readonly width: {
|
|
1258
|
+
readonly maximum: 2048;
|
|
1259
|
+
readonly minimum: 64;
|
|
1260
|
+
readonly type: 'integer';
|
|
1261
|
+
readonly description: 'The width for the image to be generated in pixels.';
|
|
1262
|
+
readonly format: 'int32';
|
|
1263
|
+
readonly default: 512;
|
|
1264
|
+
};
|
|
1265
|
+
readonly height: {
|
|
1266
|
+
readonly maximum: 2048;
|
|
1267
|
+
readonly minimum: 64;
|
|
1268
|
+
readonly type: 'integer';
|
|
1269
|
+
readonly description: 'The height for the image to be generated in pixels.';
|
|
1270
|
+
readonly format: 'int32';
|
|
1271
|
+
readonly default: 512;
|
|
1272
|
+
};
|
|
1273
|
+
readonly seed: {
|
|
1274
|
+
readonly maximum: 4294967295;
|
|
1275
|
+
readonly minimum: -1;
|
|
1276
|
+
readonly type: 'integer';
|
|
1277
|
+
readonly description: 'The seed for the text to image generation.';
|
|
1278
|
+
readonly format: 'int64';
|
|
1279
|
+
readonly default: -1;
|
|
1280
|
+
};
|
|
1281
|
+
readonly clipSkip: {
|
|
1282
|
+
readonly type: 'integer';
|
|
1283
|
+
readonly description: 'The clip skip value for the text to image generation.';
|
|
1284
|
+
readonly format: 'int32';
|
|
1285
|
+
readonly default: 2;
|
|
1286
|
+
};
|
|
1287
|
+
};
|
|
1288
|
+
readonly additionalProperties: false;
|
|
1289
|
+
readonly description: 'Parameters for a text to image step.';
|
|
1290
|
+
};
|
|
845
1291
|
export declare const $ImageResouceTrainingModerationStatus: {
|
|
846
1292
|
readonly enum: readonly ['evaluating', 'underReview', 'approved', 'rejected'];
|
|
847
1293
|
readonly type: 'string';
|
|
@@ -892,6 +1338,63 @@ export declare const $ImageResourceTrainingInput: {
|
|
|
892
1338
|
};
|
|
893
1339
|
};
|
|
894
1340
|
};
|
|
1341
|
+
export declare const $ImageResourceTrainingJob: {
|
|
1342
|
+
readonly required: readonly ['$type'];
|
|
1343
|
+
readonly allOf: readonly [
|
|
1344
|
+
{
|
|
1345
|
+
readonly $ref: '#/components/schemas/Job';
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
readonly required: readonly ['model', 'params', 'trainingData'];
|
|
1349
|
+
readonly type: 'object';
|
|
1350
|
+
readonly properties: {
|
|
1351
|
+
readonly model: {
|
|
1352
|
+
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_\\-]+))?$';
|
|
1353
|
+
readonly type: 'string';
|
|
1354
|
+
readonly description: 'An AIR representing the model to use.';
|
|
1355
|
+
};
|
|
1356
|
+
readonly trainingData: {
|
|
1357
|
+
readonly type: 'string';
|
|
1358
|
+
readonly description: 'A url referring data that needs to be trained upon';
|
|
1359
|
+
readonly format: 'uri';
|
|
1360
|
+
};
|
|
1361
|
+
readonly params: {
|
|
1362
|
+
readonly type: 'object';
|
|
1363
|
+
readonly additionalProperties: {};
|
|
1364
|
+
readonly description: 'A untyped set of parameters that are associated with this job';
|
|
1365
|
+
};
|
|
1366
|
+
readonly output: {
|
|
1367
|
+
readonly type: 'string';
|
|
1368
|
+
readonly description: 'An application provided output of the current status of this job';
|
|
1369
|
+
readonly nullable: true;
|
|
1370
|
+
};
|
|
1371
|
+
readonly engine: {
|
|
1372
|
+
readonly type: 'string';
|
|
1373
|
+
readonly description: 'The engine that should be used for training';
|
|
1374
|
+
readonly nullable: true;
|
|
1375
|
+
};
|
|
1376
|
+
readonly type: {
|
|
1377
|
+
readonly type: 'string';
|
|
1378
|
+
readonly description: 'The job type.';
|
|
1379
|
+
readonly readOnly: true;
|
|
1380
|
+
};
|
|
1381
|
+
readonly claimDuration: {
|
|
1382
|
+
readonly type: 'string';
|
|
1383
|
+
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";
|
|
1384
|
+
readonly format: 'date-span';
|
|
1385
|
+
readonly readOnly: true;
|
|
1386
|
+
};
|
|
1387
|
+
};
|
|
1388
|
+
readonly additionalProperties: false;
|
|
1389
|
+
},
|
|
1390
|
+
];
|
|
1391
|
+
readonly properties: {
|
|
1392
|
+
readonly $type: {
|
|
1393
|
+
readonly enum: readonly ['imageResourceTraining'];
|
|
1394
|
+
readonly type: 'string';
|
|
1395
|
+
};
|
|
1396
|
+
};
|
|
1397
|
+
};
|
|
895
1398
|
export declare const $ImageResourceTrainingOutput: {
|
|
896
1399
|
readonly required: readonly ['epochs', 'moderationStatus', 'sampleImagesPrompts'];
|
|
897
1400
|
readonly type: 'object';
|
|
@@ -1051,6 +1554,137 @@ export declare const $ImageUploadStepTemplate: {
|
|
|
1051
1554
|
};
|
|
1052
1555
|
readonly description: 'Image upload';
|
|
1053
1556
|
};
|
|
1557
|
+
export declare const $Job: {
|
|
1558
|
+
readonly required: readonly ['$type'];
|
|
1559
|
+
readonly type: 'object';
|
|
1560
|
+
readonly properties: {
|
|
1561
|
+
readonly $type: {
|
|
1562
|
+
readonly type: 'string';
|
|
1563
|
+
};
|
|
1564
|
+
readonly id: {
|
|
1565
|
+
readonly type: 'string';
|
|
1566
|
+
readonly description: 'A unique id for this job';
|
|
1567
|
+
};
|
|
1568
|
+
readonly createdAt: {
|
|
1569
|
+
readonly type: 'string';
|
|
1570
|
+
readonly description: 'The date when this job got created';
|
|
1571
|
+
readonly format: 'date-time';
|
|
1572
|
+
};
|
|
1573
|
+
readonly expireAt: {
|
|
1574
|
+
readonly type: 'string';
|
|
1575
|
+
readonly description: 'The date for when this job was set to expire';
|
|
1576
|
+
readonly format: 'date-time';
|
|
1577
|
+
readonly nullable: true;
|
|
1578
|
+
};
|
|
1579
|
+
readonly webhook: {
|
|
1580
|
+
readonly type: 'string';
|
|
1581
|
+
readonly description: 'A webhook to be invoked when the job receives a status update';
|
|
1582
|
+
readonly format: 'uri';
|
|
1583
|
+
readonly nullable: true;
|
|
1584
|
+
};
|
|
1585
|
+
readonly properties: {
|
|
1586
|
+
readonly type: 'object';
|
|
1587
|
+
readonly additionalProperties: {};
|
|
1588
|
+
readonly description: 'A set of user defined properties that can be used to index and partition this job';
|
|
1589
|
+
};
|
|
1590
|
+
readonly type: {
|
|
1591
|
+
readonly type: 'string';
|
|
1592
|
+
readonly description: 'The type of this job as a string';
|
|
1593
|
+
};
|
|
1594
|
+
readonly cost: {
|
|
1595
|
+
readonly type: 'number';
|
|
1596
|
+
readonly description: 'Get a cost for this job';
|
|
1597
|
+
readonly format: 'double';
|
|
1598
|
+
};
|
|
1599
|
+
readonly maxRetryAttempt: {
|
|
1600
|
+
readonly type: 'integer';
|
|
1601
|
+
readonly description: 'The max number of retries before we give up';
|
|
1602
|
+
readonly format: 'int32';
|
|
1603
|
+
};
|
|
1604
|
+
readonly issuedBy: {
|
|
1605
|
+
readonly type: 'string';
|
|
1606
|
+
readonly description: 'Get or set the name of the consumer that issued this job';
|
|
1607
|
+
readonly nullable: true;
|
|
1608
|
+
};
|
|
1609
|
+
readonly version: {
|
|
1610
|
+
readonly type: 'integer';
|
|
1611
|
+
readonly description: 'Get or set the version of this job, this is used to track changes to the job schema';
|
|
1612
|
+
readonly format: 'int32';
|
|
1613
|
+
readonly default: 0;
|
|
1614
|
+
};
|
|
1615
|
+
readonly jobDependencies: {
|
|
1616
|
+
readonly type: 'array';
|
|
1617
|
+
readonly items: {
|
|
1618
|
+
readonly $ref: '#/components/schemas/JobDependency';
|
|
1619
|
+
};
|
|
1620
|
+
readonly description: 'Get or set a list of dependencies that this job has';
|
|
1621
|
+
};
|
|
1622
|
+
readonly claimDuration: {
|
|
1623
|
+
readonly type: 'string';
|
|
1624
|
+
readonly description: 'The total duration that the job can be claimed';
|
|
1625
|
+
readonly format: 'date-span';
|
|
1626
|
+
};
|
|
1627
|
+
readonly resources: {
|
|
1628
|
+
readonly type: 'array';
|
|
1629
|
+
readonly items: {
|
|
1630
|
+
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_\\-]+))?$';
|
|
1631
|
+
readonly type: 'string';
|
|
1632
|
+
};
|
|
1633
|
+
readonly description: 'Get a list of resources that this job depends on';
|
|
1634
|
+
};
|
|
1635
|
+
readonly recovered: {
|
|
1636
|
+
readonly type: 'boolean';
|
|
1637
|
+
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';
|
|
1638
|
+
};
|
|
1639
|
+
};
|
|
1640
|
+
readonly additionalProperties: false;
|
|
1641
|
+
readonly discriminator: {
|
|
1642
|
+
readonly propertyName: '$type';
|
|
1643
|
+
readonly mapping: {
|
|
1644
|
+
readonly textToImage: '#/components/schemas/TextToImageJob';
|
|
1645
|
+
readonly textToImageV2: '#/components/schemas/TextToImageV2Job';
|
|
1646
|
+
readonly imageResourceTraining: '#/components/schemas/ImageResourceTrainingJob';
|
|
1647
|
+
readonly wdTagging: '#/components/schemas/WDTaggingJob';
|
|
1648
|
+
readonly comfy: '#/components/schemas/ComfyJob';
|
|
1649
|
+
readonly similaritySearch: '#/components/schemas/SimilaritySearchJob';
|
|
1650
|
+
readonly llmPromptAugmentation: '#/components/schemas/LLMPromptAugmentationJob';
|
|
1651
|
+
readonly ageClassification: '#/components/schemas/AgeClassificationJob';
|
|
1652
|
+
readonly mochi: '#/components/schemas/MochiVideoGenJob';
|
|
1653
|
+
readonly vidu: '#/components/schemas/ViduVideoGenJob';
|
|
1654
|
+
readonly comfyVideoGen: '#/components/schemas/ComfyVideoGenJob';
|
|
1655
|
+
readonly rewritePrompt: '#/components/schemas/RewritePromptJob';
|
|
1656
|
+
readonly transcode: '#/components/schemas/TranscodeJob';
|
|
1657
|
+
readonly videoEnhancement: '#/components/schemas/VideoEnhancementJob';
|
|
1658
|
+
readonly openAICreateImage: '#/components/schemas/OpenAICreateImageJob';
|
|
1659
|
+
readonly openAIEditImage: '#/components/schemas/OpenAIEditImageJob';
|
|
1660
|
+
};
|
|
1661
|
+
};
|
|
1662
|
+
};
|
|
1663
|
+
export declare const $JobDependency: {
|
|
1664
|
+
readonly type: 'object';
|
|
1665
|
+
readonly properties: {
|
|
1666
|
+
readonly jobId: {
|
|
1667
|
+
readonly type: 'string';
|
|
1668
|
+
};
|
|
1669
|
+
readonly onFailure: {
|
|
1670
|
+
readonly $ref: '#/components/schemas/JobDependencyContinuation';
|
|
1671
|
+
};
|
|
1672
|
+
readonly onSuccess: {
|
|
1673
|
+
readonly $ref: '#/components/schemas/JobDependencyContinuation';
|
|
1674
|
+
};
|
|
1675
|
+
readonly dynamicAssignments: {
|
|
1676
|
+
readonly type: 'array';
|
|
1677
|
+
readonly items: {
|
|
1678
|
+
readonly $ref: '#/components/schemas/DynamicAssignment';
|
|
1679
|
+
};
|
|
1680
|
+
};
|
|
1681
|
+
};
|
|
1682
|
+
readonly additionalProperties: false;
|
|
1683
|
+
};
|
|
1684
|
+
export declare const $JobDependencyContinuation: {
|
|
1685
|
+
readonly enum: readonly ['fail', 'skip', 'continue'];
|
|
1686
|
+
readonly type: 'string';
|
|
1687
|
+
};
|
|
1054
1688
|
export declare const $JobSupport: {
|
|
1055
1689
|
readonly enum: readonly ['unsupported', 'unavailable', 'available'];
|
|
1056
1690
|
readonly type: 'string';
|
|
@@ -1394,27 +2028,79 @@ export declare const $KohyaImageResourceTrainingInput: {
|
|
|
1394
2028
|
};
|
|
1395
2029
|
};
|
|
1396
2030
|
};
|
|
1397
|
-
export declare const $
|
|
1398
|
-
readonly
|
|
1399
|
-
readonly
|
|
2031
|
+
export declare const $LLMPromptAugmentationCapabilities: {
|
|
2032
|
+
readonly type: 'object';
|
|
2033
|
+
readonly additionalProperties: false;
|
|
2034
|
+
readonly description: 'LLM prompt augmentaition capabilities.';
|
|
1400
2035
|
};
|
|
1401
|
-
export declare const $
|
|
1402
|
-
readonly required: readonly ['
|
|
2036
|
+
export declare const $LLMPromptAugmentationJob: {
|
|
2037
|
+
readonly required: readonly ['$type'];
|
|
1403
2038
|
readonly allOf: readonly [
|
|
1404
2039
|
{
|
|
1405
|
-
readonly $ref: '#/components/schemas/
|
|
2040
|
+
readonly $ref: '#/components/schemas/Job';
|
|
1406
2041
|
},
|
|
1407
2042
|
{
|
|
2043
|
+
readonly required: readonly ['model'];
|
|
1408
2044
|
readonly type: 'object';
|
|
1409
2045
|
readonly properties: {
|
|
1410
|
-
readonly
|
|
2046
|
+
readonly model: {
|
|
2047
|
+
readonly type: 'string';
|
|
2048
|
+
readonly description: 'The primary model to use.';
|
|
2049
|
+
};
|
|
2050
|
+
readonly basePrompt: {
|
|
1411
2051
|
readonly type: 'string';
|
|
2052
|
+
readonly description: 'The base prompt.';
|
|
1412
2053
|
readonly nullable: true;
|
|
1413
2054
|
};
|
|
1414
|
-
readonly
|
|
1415
|
-
readonly
|
|
1416
|
-
readonly
|
|
1417
|
-
|
|
2055
|
+
readonly prompts: {
|
|
2056
|
+
readonly type: 'array';
|
|
2057
|
+
readonly items: {
|
|
2058
|
+
readonly type: 'string';
|
|
2059
|
+
};
|
|
2060
|
+
readonly description: 'A list of prompts.';
|
|
2061
|
+
};
|
|
2062
|
+
readonly temp: {
|
|
2063
|
+
readonly type: 'number';
|
|
2064
|
+
readonly description: 'The temp.';
|
|
2065
|
+
readonly format: 'double';
|
|
2066
|
+
};
|
|
2067
|
+
readonly type: {
|
|
2068
|
+
readonly type: 'string';
|
|
2069
|
+
readonly description: 'The type.';
|
|
2070
|
+
readonly readOnly: true;
|
|
2071
|
+
};
|
|
2072
|
+
};
|
|
2073
|
+
readonly additionalProperties: false;
|
|
2074
|
+
},
|
|
2075
|
+
];
|
|
2076
|
+
readonly properties: {
|
|
2077
|
+
readonly $type: {
|
|
2078
|
+
readonly enum: readonly ['llmPromptAugmentation'];
|
|
2079
|
+
readonly type: 'string';
|
|
2080
|
+
};
|
|
2081
|
+
};
|
|
2082
|
+
};
|
|
2083
|
+
export declare const $LightricksAspectRatio: {
|
|
2084
|
+
readonly enum: readonly ['1:1', '16:9', '9:16', '3:2', '2:3'];
|
|
2085
|
+
readonly type: 'string';
|
|
2086
|
+
};
|
|
2087
|
+
export declare const $LightricksVideoGenInput: {
|
|
2088
|
+
readonly required: readonly ['engine'];
|
|
2089
|
+
readonly allOf: readonly [
|
|
2090
|
+
{
|
|
2091
|
+
readonly $ref: '#/components/schemas/VideoGenInput';
|
|
2092
|
+
},
|
|
2093
|
+
{
|
|
2094
|
+
readonly type: 'object';
|
|
2095
|
+
readonly properties: {
|
|
2096
|
+
readonly negativePrompt: {
|
|
2097
|
+
readonly type: 'string';
|
|
2098
|
+
readonly nullable: true;
|
|
2099
|
+
};
|
|
2100
|
+
readonly cfgScale: {
|
|
2101
|
+
readonly maximum: 100;
|
|
2102
|
+
readonly minimum: 0;
|
|
2103
|
+
readonly type: 'number';
|
|
1418
2104
|
readonly format: 'double';
|
|
1419
2105
|
readonly default: 4;
|
|
1420
2106
|
};
|
|
@@ -1461,6 +2147,20 @@ export declare const $LightricksVideoGenInput: {
|
|
|
1461
2147
|
};
|
|
1462
2148
|
};
|
|
1463
2149
|
};
|
|
2150
|
+
export declare const $Lora: {
|
|
2151
|
+
readonly type: 'object';
|
|
2152
|
+
readonly properties: {
|
|
2153
|
+
readonly air: {
|
|
2154
|
+
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_\\-]+))?$';
|
|
2155
|
+
readonly type: 'string';
|
|
2156
|
+
};
|
|
2157
|
+
readonly strength: {
|
|
2158
|
+
readonly type: 'number';
|
|
2159
|
+
readonly format: 'double';
|
|
2160
|
+
};
|
|
2161
|
+
};
|
|
2162
|
+
readonly additionalProperties: false;
|
|
2163
|
+
};
|
|
1464
2164
|
export declare const $MiniMaxVideoGenInput: {
|
|
1465
2165
|
readonly required: readonly ['engine'];
|
|
1466
2166
|
readonly allOf: readonly [
|
|
@@ -1525,6 +2225,55 @@ export declare const $MochiVideoGenInput: {
|
|
|
1525
2225
|
};
|
|
1526
2226
|
};
|
|
1527
2227
|
};
|
|
2228
|
+
export declare const $MochiVideoGenJob: {
|
|
2229
|
+
readonly required: readonly ['$type'];
|
|
2230
|
+
readonly allOf: readonly [
|
|
2231
|
+
{
|
|
2232
|
+
readonly $ref: '#/components/schemas/Job';
|
|
2233
|
+
},
|
|
2234
|
+
{
|
|
2235
|
+
readonly required: readonly ['destinationUrl', 'mediaHash', 'prompt'];
|
|
2236
|
+
readonly type: 'object';
|
|
2237
|
+
readonly properties: {
|
|
2238
|
+
readonly prompt: {
|
|
2239
|
+
readonly type: 'string';
|
|
2240
|
+
};
|
|
2241
|
+
readonly seed: {
|
|
2242
|
+
readonly maximum: 4294967295;
|
|
2243
|
+
readonly minimum: -1;
|
|
2244
|
+
readonly type: 'integer';
|
|
2245
|
+
readonly format: 'int64';
|
|
2246
|
+
};
|
|
2247
|
+
readonly mediaHash: {
|
|
2248
|
+
readonly type: 'string';
|
|
2249
|
+
};
|
|
2250
|
+
readonly destinationUrl: {
|
|
2251
|
+
readonly type: 'string';
|
|
2252
|
+
readonly format: 'uri';
|
|
2253
|
+
};
|
|
2254
|
+
readonly enablePromptEnhancer: {
|
|
2255
|
+
readonly type: 'boolean';
|
|
2256
|
+
};
|
|
2257
|
+
readonly type: {
|
|
2258
|
+
readonly type: 'string';
|
|
2259
|
+
readonly readOnly: true;
|
|
2260
|
+
};
|
|
2261
|
+
readonly claimDuration: {
|
|
2262
|
+
readonly type: 'string';
|
|
2263
|
+
readonly format: 'date-span';
|
|
2264
|
+
readonly readOnly: true;
|
|
2265
|
+
};
|
|
2266
|
+
};
|
|
2267
|
+
readonly additionalProperties: false;
|
|
2268
|
+
},
|
|
2269
|
+
];
|
|
2270
|
+
readonly properties: {
|
|
2271
|
+
readonly $type: {
|
|
2272
|
+
readonly enum: readonly ['mochi'];
|
|
2273
|
+
readonly type: 'string';
|
|
2274
|
+
};
|
|
2275
|
+
};
|
|
2276
|
+
};
|
|
1528
2277
|
export declare const $MusubiImageResourceTrainingInput: {
|
|
1529
2278
|
readonly required: readonly ['engine'];
|
|
1530
2279
|
readonly allOf: readonly [
|
|
@@ -1635,9 +2384,73 @@ export declare const $NSFWLevel: {
|
|
|
1635
2384
|
readonly enum: readonly ['pg', 'pG13', 'r', 'x', 'xxx', 'na'];
|
|
1636
2385
|
readonly type: 'string';
|
|
1637
2386
|
};
|
|
1638
|
-
export declare const $
|
|
1639
|
-
readonly
|
|
1640
|
-
readonly
|
|
2387
|
+
export declare const $OpenAICreateImageJob: {
|
|
2388
|
+
readonly required: readonly ['$type'];
|
|
2389
|
+
readonly allOf: readonly [
|
|
2390
|
+
{
|
|
2391
|
+
readonly $ref: '#/components/schemas/Job';
|
|
2392
|
+
},
|
|
2393
|
+
{
|
|
2394
|
+
readonly required: readonly ['prompt'];
|
|
2395
|
+
readonly type: 'object';
|
|
2396
|
+
readonly properties: {
|
|
2397
|
+
readonly prompt: {
|
|
2398
|
+
readonly type: 'string';
|
|
2399
|
+
};
|
|
2400
|
+
readonly background: {
|
|
2401
|
+
readonly type: 'string';
|
|
2402
|
+
readonly nullable: true;
|
|
2403
|
+
};
|
|
2404
|
+
readonly model: {
|
|
2405
|
+
readonly type: 'string';
|
|
2406
|
+
readonly nullable: true;
|
|
2407
|
+
};
|
|
2408
|
+
readonly quantity: {
|
|
2409
|
+
readonly type: 'integer';
|
|
2410
|
+
readonly format: 'int32';
|
|
2411
|
+
};
|
|
2412
|
+
readonly quality: {
|
|
2413
|
+
readonly type: 'string';
|
|
2414
|
+
readonly nullable: true;
|
|
2415
|
+
};
|
|
2416
|
+
readonly size: {
|
|
2417
|
+
readonly type: 'string';
|
|
2418
|
+
readonly nullable: true;
|
|
2419
|
+
};
|
|
2420
|
+
readonly style: {
|
|
2421
|
+
readonly type: 'string';
|
|
2422
|
+
readonly nullable: true;
|
|
2423
|
+
};
|
|
2424
|
+
readonly user: {
|
|
2425
|
+
readonly type: 'string';
|
|
2426
|
+
readonly nullable: true;
|
|
2427
|
+
};
|
|
2428
|
+
readonly destinationUrls: {
|
|
2429
|
+
readonly type: 'array';
|
|
2430
|
+
readonly items: {
|
|
2431
|
+
readonly type: 'string';
|
|
2432
|
+
readonly format: 'uri';
|
|
2433
|
+
};
|
|
2434
|
+
};
|
|
2435
|
+
readonly claimDuration: {
|
|
2436
|
+
readonly type: 'string';
|
|
2437
|
+
readonly format: 'date-span';
|
|
2438
|
+
readonly readOnly: true;
|
|
2439
|
+
};
|
|
2440
|
+
readonly type: {
|
|
2441
|
+
readonly type: 'string';
|
|
2442
|
+
readonly readOnly: true;
|
|
2443
|
+
};
|
|
2444
|
+
};
|
|
2445
|
+
readonly additionalProperties: false;
|
|
2446
|
+
},
|
|
2447
|
+
];
|
|
2448
|
+
readonly properties: {
|
|
2449
|
+
readonly $type: {
|
|
2450
|
+
readonly enum: readonly ['openAICreateImage'];
|
|
2451
|
+
readonly type: 'string';
|
|
2452
|
+
};
|
|
2453
|
+
};
|
|
1641
2454
|
};
|
|
1642
2455
|
export declare const $OpenAIDallE2CreateImageGenInput: {
|
|
1643
2456
|
readonly required: readonly ['operation'];
|
|
@@ -1649,7 +2462,8 @@ export declare const $OpenAIDallE2CreateImageGenInput: {
|
|
|
1649
2462
|
readonly type: 'object';
|
|
1650
2463
|
readonly properties: {
|
|
1651
2464
|
readonly background: {
|
|
1652
|
-
readonly
|
|
2465
|
+
readonly enum: readonly ['auto', 'transparent', 'opaque'];
|
|
2466
|
+
readonly type: 'string';
|
|
1653
2467
|
};
|
|
1654
2468
|
};
|
|
1655
2469
|
readonly additionalProperties: false;
|
|
@@ -1711,7 +2525,8 @@ export declare const $OpenAIDallE2ImageGenInput: {
|
|
|
1711
2525
|
readonly type: 'string';
|
|
1712
2526
|
};
|
|
1713
2527
|
readonly size: {
|
|
1714
|
-
readonly
|
|
2528
|
+
readonly enum: readonly ['256x256', '512x512', '1024x1024'];
|
|
2529
|
+
readonly type: 'string';
|
|
1715
2530
|
};
|
|
1716
2531
|
readonly quantity: {
|
|
1717
2532
|
readonly maximum: 10;
|
|
@@ -1737,10 +2552,6 @@ export declare const $OpenAIDallE2ImageGenInput: {
|
|
|
1737
2552
|
};
|
|
1738
2553
|
};
|
|
1739
2554
|
};
|
|
1740
|
-
export declare const $OpenAIDallE2ImageGenInputSize: {
|
|
1741
|
-
readonly enum: readonly ['256x256', '512x512', '1024x1024'];
|
|
1742
|
-
readonly type: 'string';
|
|
1743
|
-
};
|
|
1744
2555
|
export declare const $OpenAIDallE3CreateImageGenInput: {
|
|
1745
2556
|
readonly required: readonly ['operation'];
|
|
1746
2557
|
readonly allOf: readonly [
|
|
@@ -1751,7 +2562,8 @@ export declare const $OpenAIDallE3CreateImageGenInput: {
|
|
|
1751
2562
|
readonly type: 'object';
|
|
1752
2563
|
readonly properties: {
|
|
1753
2564
|
readonly background: {
|
|
1754
|
-
readonly
|
|
2565
|
+
readonly enum: readonly ['auto', 'transparent', 'opaque'];
|
|
2566
|
+
readonly type: 'string';
|
|
1755
2567
|
};
|
|
1756
2568
|
};
|
|
1757
2569
|
readonly additionalProperties: false;
|
|
@@ -1783,13 +2595,16 @@ export declare const $OpenAIDallE3ImageGenInput: {
|
|
|
1783
2595
|
readonly type: 'string';
|
|
1784
2596
|
};
|
|
1785
2597
|
readonly size: {
|
|
1786
|
-
readonly
|
|
2598
|
+
readonly enum: readonly ['1024x1024', '1792x1024', '1024x1792'];
|
|
2599
|
+
readonly type: 'string';
|
|
1787
2600
|
};
|
|
1788
2601
|
readonly style: {
|
|
1789
|
-
readonly
|
|
2602
|
+
readonly enum: readonly ['natural', 'vivid'];
|
|
2603
|
+
readonly type: 'string';
|
|
1790
2604
|
};
|
|
1791
2605
|
readonly quality: {
|
|
1792
|
-
readonly
|
|
2606
|
+
readonly enum: readonly ['auto', 'hd', 'standard'];
|
|
2607
|
+
readonly type: 'string';
|
|
1793
2608
|
};
|
|
1794
2609
|
};
|
|
1795
2610
|
readonly additionalProperties: false;
|
|
@@ -1808,34 +2623,97 @@ export declare const $OpenAIDallE3ImageGenInput: {
|
|
|
1808
2623
|
};
|
|
1809
2624
|
};
|
|
1810
2625
|
};
|
|
1811
|
-
export declare const $
|
|
1812
|
-
readonly
|
|
1813
|
-
readonly type: 'string';
|
|
1814
|
-
};
|
|
1815
|
-
export declare const $OpenAIDallE3ImageGenInputSize: {
|
|
1816
|
-
readonly enum: readonly ['1024x1024', '1792x1024', '1024x1792'];
|
|
1817
|
-
readonly type: 'string';
|
|
1818
|
-
};
|
|
1819
|
-
export declare const $OpenAIDallE3ImageGenInputStyle: {
|
|
1820
|
-
readonly enum: readonly ['natural', 'vivid'];
|
|
1821
|
-
readonly type: 'string';
|
|
1822
|
-
};
|
|
1823
|
-
export declare const $OpenAIGpt1CreateImageInput: {
|
|
1824
|
-
readonly required: readonly ['operation'];
|
|
2626
|
+
export declare const $OpenAIEditImageJob: {
|
|
2627
|
+
readonly required: readonly ['$type'];
|
|
1825
2628
|
readonly allOf: readonly [
|
|
1826
2629
|
{
|
|
1827
|
-
readonly $ref: '#/components/schemas/
|
|
2630
|
+
readonly $ref: '#/components/schemas/Job';
|
|
1828
2631
|
},
|
|
1829
2632
|
{
|
|
2633
|
+
readonly required: readonly ['imageUrl', 'prompt'];
|
|
1830
2634
|
readonly type: 'object';
|
|
1831
2635
|
readonly properties: {
|
|
2636
|
+
readonly prompt: {
|
|
2637
|
+
readonly type: 'string';
|
|
2638
|
+
};
|
|
2639
|
+
readonly imageUrl: {
|
|
2640
|
+
readonly type: 'array';
|
|
2641
|
+
readonly items: {
|
|
2642
|
+
readonly type: 'string';
|
|
2643
|
+
readonly format: 'uri';
|
|
2644
|
+
};
|
|
2645
|
+
};
|
|
2646
|
+
readonly maskUrl: {
|
|
2647
|
+
readonly type: 'string';
|
|
2648
|
+
readonly format: 'uri';
|
|
2649
|
+
readonly nullable: true;
|
|
2650
|
+
};
|
|
2651
|
+
readonly model: {
|
|
2652
|
+
readonly type: 'string';
|
|
2653
|
+
readonly nullable: true;
|
|
2654
|
+
};
|
|
2655
|
+
readonly quantity: {
|
|
2656
|
+
readonly type: 'integer';
|
|
2657
|
+
readonly format: 'int32';
|
|
2658
|
+
};
|
|
2659
|
+
readonly quality: {
|
|
2660
|
+
readonly type: 'string';
|
|
2661
|
+
readonly nullable: true;
|
|
2662
|
+
};
|
|
2663
|
+
readonly size: {
|
|
2664
|
+
readonly type: 'string';
|
|
2665
|
+
readonly nullable: true;
|
|
2666
|
+
};
|
|
2667
|
+
readonly style: {
|
|
2668
|
+
readonly type: 'string';
|
|
2669
|
+
readonly nullable: true;
|
|
2670
|
+
};
|
|
2671
|
+
readonly user: {
|
|
2672
|
+
readonly type: 'string';
|
|
2673
|
+
readonly nullable: true;
|
|
2674
|
+
};
|
|
2675
|
+
readonly destinationUrls: {
|
|
2676
|
+
readonly type: 'array';
|
|
2677
|
+
readonly items: {
|
|
2678
|
+
readonly type: 'string';
|
|
2679
|
+
readonly format: 'uri';
|
|
2680
|
+
};
|
|
2681
|
+
};
|
|
1832
2682
|
readonly background: {
|
|
1833
|
-
readonly
|
|
2683
|
+
readonly type: 'string';
|
|
2684
|
+
readonly nullable: true;
|
|
2685
|
+
};
|
|
2686
|
+
readonly claimDuration: {
|
|
2687
|
+
readonly type: 'string';
|
|
2688
|
+
readonly format: 'date-span';
|
|
2689
|
+
readonly readOnly: true;
|
|
2690
|
+
};
|
|
2691
|
+
readonly type: {
|
|
2692
|
+
readonly type: 'string';
|
|
2693
|
+
readonly readOnly: true;
|
|
1834
2694
|
};
|
|
1835
2695
|
};
|
|
1836
2696
|
readonly additionalProperties: false;
|
|
1837
2697
|
},
|
|
1838
2698
|
];
|
|
2699
|
+
readonly properties: {
|
|
2700
|
+
readonly $type: {
|
|
2701
|
+
readonly enum: readonly ['openAIEditImage'];
|
|
2702
|
+
readonly type: 'string';
|
|
2703
|
+
};
|
|
2704
|
+
};
|
|
2705
|
+
};
|
|
2706
|
+
export declare const $OpenAIGpt1CreateImageInput: {
|
|
2707
|
+
readonly required: readonly ['operation'];
|
|
2708
|
+
readonly allOf: readonly [
|
|
2709
|
+
{
|
|
2710
|
+
readonly $ref: '#/components/schemas/OpenAIGpt1ImageGenInput';
|
|
2711
|
+
},
|
|
2712
|
+
{
|
|
2713
|
+
readonly type: 'object';
|
|
2714
|
+
readonly additionalProperties: false;
|
|
2715
|
+
},
|
|
2716
|
+
];
|
|
1839
2717
|
readonly properties: {
|
|
1840
2718
|
readonly operation: {
|
|
1841
2719
|
readonly enum: readonly ['createImage'];
|
|
@@ -1854,8 +2732,6 @@ export declare const $OpenAIGpt1EditImageInput: {
|
|
|
1854
2732
|
readonly type: 'object';
|
|
1855
2733
|
readonly properties: {
|
|
1856
2734
|
readonly images: {
|
|
1857
|
-
readonly maximum: 16;
|
|
1858
|
-
readonly minimum: 1;
|
|
1859
2735
|
readonly type: 'array';
|
|
1860
2736
|
readonly items: {
|
|
1861
2737
|
readonly type: 'string';
|
|
@@ -1897,7 +2773,8 @@ export declare const $OpenAIGpt1ImageGenInput: {
|
|
|
1897
2773
|
readonly type: 'string';
|
|
1898
2774
|
};
|
|
1899
2775
|
readonly size: {
|
|
1900
|
-
readonly
|
|
2776
|
+
readonly enum: readonly ['auto', '1024x1024', '1536x1024', '1024x1536'];
|
|
2777
|
+
readonly type: 'string';
|
|
1901
2778
|
};
|
|
1902
2779
|
readonly quantity: {
|
|
1903
2780
|
readonly maximum: 10;
|
|
@@ -1905,6 +2782,10 @@ export declare const $OpenAIGpt1ImageGenInput: {
|
|
|
1905
2782
|
readonly type: 'integer';
|
|
1906
2783
|
readonly format: 'int32';
|
|
1907
2784
|
};
|
|
2785
|
+
readonly background: {
|
|
2786
|
+
readonly enum: readonly ['auto', 'transparent', 'opaque'];
|
|
2787
|
+
readonly type: 'string';
|
|
2788
|
+
};
|
|
1908
2789
|
};
|
|
1909
2790
|
readonly additionalProperties: false;
|
|
1910
2791
|
readonly discriminator: {
|
|
@@ -1923,10 +2804,6 @@ export declare const $OpenAIGpt1ImageGenInput: {
|
|
|
1923
2804
|
};
|
|
1924
2805
|
};
|
|
1925
2806
|
};
|
|
1926
|
-
export declare const $OpenAIGpt1ImageGenInputSize: {
|
|
1927
|
-
readonly enum: readonly ['auto', '1024x1024', '1536x1024', '1024x1536'];
|
|
1928
|
-
readonly type: 'string';
|
|
1929
|
-
};
|
|
1930
2807
|
export declare const $OpenApiImageGenInput: {
|
|
1931
2808
|
readonly required: readonly ['engine'];
|
|
1932
2809
|
readonly allOf: readonly [
|
|
@@ -1934,12 +2811,15 @@ export declare const $OpenApiImageGenInput: {
|
|
|
1934
2811
|
readonly $ref: '#/components/schemas/ImageGenInput';
|
|
1935
2812
|
},
|
|
1936
2813
|
{
|
|
1937
|
-
readonly required: readonly ['model'];
|
|
2814
|
+
readonly required: readonly ['model', 'prompt'];
|
|
1938
2815
|
readonly type: 'object';
|
|
1939
2816
|
readonly properties: {
|
|
1940
2817
|
readonly model: {
|
|
1941
2818
|
readonly type: 'string';
|
|
1942
2819
|
};
|
|
2820
|
+
readonly prompt: {
|
|
2821
|
+
readonly type: 'string';
|
|
2822
|
+
};
|
|
1943
2823
|
};
|
|
1944
2824
|
readonly additionalProperties: false;
|
|
1945
2825
|
readonly discriminator: {
|
|
@@ -1991,16 +2871,93 @@ export declare const $ProblemDetails: {
|
|
|
1991
2871
|
};
|
|
1992
2872
|
readonly additionalProperties: {};
|
|
1993
2873
|
};
|
|
1994
|
-
export declare const $
|
|
1995
|
-
readonly required: readonly ['air', 'downloadUrls', 'hashes', 'size'];
|
|
2874
|
+
export declare const $ProcessingStatistics: {
|
|
1996
2875
|
readonly type: 'object';
|
|
1997
2876
|
readonly properties: {
|
|
1998
|
-
readonly
|
|
1999
|
-
readonly
|
|
2000
|
-
readonly
|
|
2001
|
-
readonly
|
|
2002
|
-
};
|
|
2003
|
-
readonly
|
|
2877
|
+
readonly totalJobsRequested: {
|
|
2878
|
+
readonly type: 'integer';
|
|
2879
|
+
readonly description: 'The total number of jobs requested.';
|
|
2880
|
+
readonly format: 'int64';
|
|
2881
|
+
};
|
|
2882
|
+
readonly totalCostRequested: {
|
|
2883
|
+
readonly type: 'number';
|
|
2884
|
+
readonly description: 'The total cost of jobs requested.';
|
|
2885
|
+
readonly format: 'double';
|
|
2886
|
+
};
|
|
2887
|
+
readonly totalJobsSucceeded: {
|
|
2888
|
+
readonly type: 'integer';
|
|
2889
|
+
readonly description: 'The total number of successful jobs.';
|
|
2890
|
+
readonly format: 'int64';
|
|
2891
|
+
};
|
|
2892
|
+
readonly totalCostSucceeded: {
|
|
2893
|
+
readonly type: 'number';
|
|
2894
|
+
readonly description: 'The total cost of successful jobs.';
|
|
2895
|
+
readonly format: 'double';
|
|
2896
|
+
};
|
|
2897
|
+
readonly totalJobsRejected: {
|
|
2898
|
+
readonly type: 'integer';
|
|
2899
|
+
readonly description: 'The total number of rejected jobs.';
|
|
2900
|
+
readonly format: 'int64';
|
|
2901
|
+
};
|
|
2902
|
+
readonly totalCostRejected: {
|
|
2903
|
+
readonly type: 'number';
|
|
2904
|
+
readonly description: 'The total cost of rejected jobs.';
|
|
2905
|
+
readonly format: 'double';
|
|
2906
|
+
};
|
|
2907
|
+
readonly totalJobsLateRejected: {
|
|
2908
|
+
readonly type: 'integer';
|
|
2909
|
+
readonly description: 'The total number of late rejected jobs.';
|
|
2910
|
+
readonly format: 'int64';
|
|
2911
|
+
};
|
|
2912
|
+
readonly totalCostLateRejected: {
|
|
2913
|
+
readonly type: 'number';
|
|
2914
|
+
readonly description: 'The total cost of laterejected jobs.';
|
|
2915
|
+
readonly format: 'double';
|
|
2916
|
+
};
|
|
2917
|
+
readonly totalJobsExpired: {
|
|
2918
|
+
readonly type: 'integer';
|
|
2919
|
+
readonly description: 'The total number of expired jobs.';
|
|
2920
|
+
readonly format: 'int64';
|
|
2921
|
+
};
|
|
2922
|
+
readonly totalCostExpired: {
|
|
2923
|
+
readonly type: 'number';
|
|
2924
|
+
readonly description: 'The total cost of expired jobs.';
|
|
2925
|
+
readonly format: 'double';
|
|
2926
|
+
};
|
|
2927
|
+
readonly totalJobsFailed: {
|
|
2928
|
+
readonly type: 'integer';
|
|
2929
|
+
readonly description: 'The total number of failed jobs.';
|
|
2930
|
+
readonly format: 'int64';
|
|
2931
|
+
};
|
|
2932
|
+
readonly totalCostFailed: {
|
|
2933
|
+
readonly type: 'number';
|
|
2934
|
+
readonly description: 'The total cost of failed jobs.';
|
|
2935
|
+
readonly format: 'double';
|
|
2936
|
+
};
|
|
2937
|
+
readonly totalJobsCompleted: {
|
|
2938
|
+
readonly type: 'integer';
|
|
2939
|
+
readonly description: 'The total number of completed jobs.';
|
|
2940
|
+
readonly format: 'int64';
|
|
2941
|
+
};
|
|
2942
|
+
readonly totalCostCompleted: {
|
|
2943
|
+
readonly type: 'number';
|
|
2944
|
+
readonly description: 'The total cost of completed jobs.';
|
|
2945
|
+
readonly format: 'double';
|
|
2946
|
+
};
|
|
2947
|
+
};
|
|
2948
|
+
readonly additionalProperties: false;
|
|
2949
|
+
readonly description: 'Details of processing statistics.';
|
|
2950
|
+
};
|
|
2951
|
+
export declare const $ResourceInfo: {
|
|
2952
|
+
readonly required: readonly ['air', 'downloadUrls', 'hashes', 'size'];
|
|
2953
|
+
readonly type: 'object';
|
|
2954
|
+
readonly properties: {
|
|
2955
|
+
readonly air: {
|
|
2956
|
+
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_\\-]+))?$';
|
|
2957
|
+
readonly type: 'string';
|
|
2958
|
+
readonly description: 'An AIR ID for the resource.';
|
|
2959
|
+
};
|
|
2960
|
+
readonly size: {
|
|
2004
2961
|
readonly type: 'integer';
|
|
2005
2962
|
readonly description: 'The resource size in bytes.';
|
|
2006
2963
|
readonly format: 'int64';
|
|
@@ -2093,6 +3050,41 @@ export declare const $ResourceInfo: {
|
|
|
2093
3050
|
readonly additionalProperties: false;
|
|
2094
3051
|
readonly description: 'Details for a specific resource.';
|
|
2095
3052
|
};
|
|
3053
|
+
export declare const $RewritePromptGoal: {
|
|
3054
|
+
readonly enum: readonly ['preventSexual', 'preventSexualMinor'];
|
|
3055
|
+
readonly type: 'string';
|
|
3056
|
+
};
|
|
3057
|
+
export declare const $RewritePromptJob: {
|
|
3058
|
+
readonly required: readonly ['$type'];
|
|
3059
|
+
readonly allOf: readonly [
|
|
3060
|
+
{
|
|
3061
|
+
readonly $ref: '#/components/schemas/Job';
|
|
3062
|
+
},
|
|
3063
|
+
{
|
|
3064
|
+
readonly required: readonly ['goal', 'prompt'];
|
|
3065
|
+
readonly type: 'object';
|
|
3066
|
+
readonly properties: {
|
|
3067
|
+
readonly prompt: {
|
|
3068
|
+
readonly type: 'string';
|
|
3069
|
+
};
|
|
3070
|
+
readonly goal: {
|
|
3071
|
+
readonly $ref: '#/components/schemas/RewritePromptGoal';
|
|
3072
|
+
};
|
|
3073
|
+
readonly type: {
|
|
3074
|
+
readonly type: 'string';
|
|
3075
|
+
readonly readOnly: true;
|
|
3076
|
+
};
|
|
3077
|
+
};
|
|
3078
|
+
readonly additionalProperties: false;
|
|
3079
|
+
},
|
|
3080
|
+
];
|
|
3081
|
+
readonly properties: {
|
|
3082
|
+
readonly $type: {
|
|
3083
|
+
readonly enum: readonly ['rewritePrompt'];
|
|
3084
|
+
readonly type: 'string';
|
|
3085
|
+
};
|
|
3086
|
+
};
|
|
3087
|
+
};
|
|
2096
3088
|
export declare const $Scheduler: {
|
|
2097
3089
|
readonly enum: readonly [
|
|
2098
3090
|
'eulerA',
|
|
@@ -2124,6 +3116,63 @@ export declare const $Scheduler: {
|
|
|
2124
3116
|
readonly type: 'string';
|
|
2125
3117
|
readonly description: 'The available options for schedulers used in image generation.';
|
|
2126
3118
|
};
|
|
3119
|
+
export declare const $SimilaritySearchJob: {
|
|
3120
|
+
readonly required: readonly ['$type'];
|
|
3121
|
+
readonly allOf: readonly [
|
|
3122
|
+
{
|
|
3123
|
+
readonly $ref: '#/components/schemas/Job';
|
|
3124
|
+
},
|
|
3125
|
+
{
|
|
3126
|
+
readonly required: readonly ['model', 'nsfwFilter', 'params', 'prompt'];
|
|
3127
|
+
readonly type: 'object';
|
|
3128
|
+
readonly properties: {
|
|
3129
|
+
readonly model: {
|
|
3130
|
+
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_\\-]+))?$';
|
|
3131
|
+
readonly type: 'string';
|
|
3132
|
+
readonly description: 'An AIR ID representing the primary model.';
|
|
3133
|
+
};
|
|
3134
|
+
readonly nsfwFilter: {
|
|
3135
|
+
readonly type: 'string';
|
|
3136
|
+
readonly description: 'A value for the NSFW filter.';
|
|
3137
|
+
};
|
|
3138
|
+
readonly prompt: {
|
|
3139
|
+
readonly type: 'string';
|
|
3140
|
+
readonly description: 'The prompt provided.';
|
|
3141
|
+
};
|
|
3142
|
+
readonly params: {
|
|
3143
|
+
readonly type: 'object';
|
|
3144
|
+
readonly additionalProperties: {};
|
|
3145
|
+
readonly description: 'A collection of parameters.';
|
|
3146
|
+
};
|
|
3147
|
+
readonly type: {
|
|
3148
|
+
readonly type: 'string';
|
|
3149
|
+
readonly description: 'The job type.';
|
|
3150
|
+
readonly readOnly: true;
|
|
3151
|
+
};
|
|
3152
|
+
};
|
|
3153
|
+
readonly additionalProperties: false;
|
|
3154
|
+
},
|
|
3155
|
+
];
|
|
3156
|
+
readonly properties: {
|
|
3157
|
+
readonly $type: {
|
|
3158
|
+
readonly enum: readonly ['similaritySearch'];
|
|
3159
|
+
readonly type: 'string';
|
|
3160
|
+
};
|
|
3161
|
+
};
|
|
3162
|
+
readonly description: 'Details for a similarity search job.';
|
|
3163
|
+
};
|
|
3164
|
+
export declare const $Subscription: {
|
|
3165
|
+
readonly required: readonly ['webhook'];
|
|
3166
|
+
readonly type: 'object';
|
|
3167
|
+
readonly properties: {
|
|
3168
|
+
readonly webhook: {
|
|
3169
|
+
readonly type: 'string';
|
|
3170
|
+
readonly description: 'The webhook url.';
|
|
3171
|
+
};
|
|
3172
|
+
};
|
|
3173
|
+
readonly additionalProperties: false;
|
|
3174
|
+
readonly description: 'A subscription for pushed based notifications.';
|
|
3175
|
+
};
|
|
2127
3176
|
export declare const $TextToImageInput: {
|
|
2128
3177
|
readonly required: readonly ['height', 'prompt', 'width'];
|
|
2129
3178
|
readonly type: 'object';
|
|
@@ -2235,6 +3284,92 @@ export declare const $TextToImageInput: {
|
|
|
2235
3284
|
readonly additionalProperties: false;
|
|
2236
3285
|
readonly description: 'Input for an text to image step.';
|
|
2237
3286
|
};
|
|
3287
|
+
export declare const $TextToImageJob: {
|
|
3288
|
+
readonly required: readonly ['$type'];
|
|
3289
|
+
readonly allOf: readonly [
|
|
3290
|
+
{
|
|
3291
|
+
readonly $ref: '#/components/schemas/Job';
|
|
3292
|
+
},
|
|
3293
|
+
{
|
|
3294
|
+
readonly required: readonly ['imageHash', 'model', 'params'];
|
|
3295
|
+
readonly type: 'object';
|
|
3296
|
+
readonly properties: {
|
|
3297
|
+
readonly model: {
|
|
3298
|
+
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_\\-]+))?$';
|
|
3299
|
+
readonly type: 'string';
|
|
3300
|
+
readonly description: 'An AIR representing the model to use.';
|
|
3301
|
+
};
|
|
3302
|
+
readonly params: {
|
|
3303
|
+
readonly $ref: '#/components/schemas/ImageJobParams';
|
|
3304
|
+
};
|
|
3305
|
+
readonly imageHash: {
|
|
3306
|
+
readonly type: 'string';
|
|
3307
|
+
readonly description: 'The hash for the output image.';
|
|
3308
|
+
};
|
|
3309
|
+
readonly additionalNetworks: {
|
|
3310
|
+
readonly type: 'object';
|
|
3311
|
+
readonly additionalProperties: {
|
|
3312
|
+
readonly $ref: '#/components/schemas/ImageJobNetworkParams';
|
|
3313
|
+
};
|
|
3314
|
+
readonly description: 'Get or set a associative list of additional networks. Each network is identified by a hash code.';
|
|
3315
|
+
};
|
|
3316
|
+
readonly destinationUrl: {
|
|
3317
|
+
readonly type: 'string';
|
|
3318
|
+
readonly description: 'Get or set the URL where the image will be uploaded to.';
|
|
3319
|
+
readonly format: 'uri';
|
|
3320
|
+
readonly nullable: true;
|
|
3321
|
+
};
|
|
3322
|
+
readonly storeAsBlob: {
|
|
3323
|
+
readonly type: 'boolean';
|
|
3324
|
+
readonly description: 'A value indicating whether to store the image as a blob or as a legacy image.';
|
|
3325
|
+
};
|
|
3326
|
+
readonly controlNets: {
|
|
3327
|
+
readonly type: 'array';
|
|
3328
|
+
readonly items: {
|
|
3329
|
+
readonly $ref: '#/components/schemas/ImageJobControlNet';
|
|
3330
|
+
};
|
|
3331
|
+
readonly description: 'Get or set a list of control nets that should be applied with this textToImage job.';
|
|
3332
|
+
};
|
|
3333
|
+
readonly claimDuration: {
|
|
3334
|
+
readonly type: 'string';
|
|
3335
|
+
readonly description: 'The duration for which this job can be claimed for.';
|
|
3336
|
+
readonly format: 'date-span';
|
|
3337
|
+
readonly readOnly: true;
|
|
3338
|
+
};
|
|
3339
|
+
readonly type: {
|
|
3340
|
+
readonly type: 'string';
|
|
3341
|
+
readonly description: 'The job type.';
|
|
3342
|
+
readonly readOnly: true;
|
|
3343
|
+
};
|
|
3344
|
+
};
|
|
3345
|
+
readonly additionalProperties: false;
|
|
3346
|
+
},
|
|
3347
|
+
];
|
|
3348
|
+
readonly properties: {
|
|
3349
|
+
readonly $type: {
|
|
3350
|
+
readonly enum: readonly ['textToImage'];
|
|
3351
|
+
readonly type: 'string';
|
|
3352
|
+
};
|
|
3353
|
+
};
|
|
3354
|
+
readonly description: 'A text to image generation job.';
|
|
3355
|
+
};
|
|
3356
|
+
export declare const $TextToImageJobSlot: {
|
|
3357
|
+
readonly required: readonly ['destinationUrl', 'imageHash'];
|
|
3358
|
+
readonly type: 'object';
|
|
3359
|
+
readonly properties: {
|
|
3360
|
+
readonly imageHash: {
|
|
3361
|
+
readonly type: 'string';
|
|
3362
|
+
readonly description: 'The hash for the image output.';
|
|
3363
|
+
};
|
|
3364
|
+
readonly destinationUrl: {
|
|
3365
|
+
readonly type: 'string';
|
|
3366
|
+
readonly description: 'The destination url for image upload.';
|
|
3367
|
+
readonly format: 'uri';
|
|
3368
|
+
};
|
|
3369
|
+
};
|
|
3370
|
+
readonly additionalProperties: false;
|
|
3371
|
+
readonly description: 'Contains slot information for an image generated by a TextToImageJob.';
|
|
3372
|
+
};
|
|
2238
3373
|
export declare const $TextToImageOutput: {
|
|
2239
3374
|
readonly required: readonly ['images'];
|
|
2240
3375
|
readonly type: 'object';
|
|
@@ -2303,6 +3438,86 @@ export declare const $TextToImageStepTemplate: {
|
|
|
2303
3438
|
};
|
|
2304
3439
|
readonly description: 'TextToImage';
|
|
2305
3440
|
};
|
|
3441
|
+
export declare const $TextToImageV2Job: {
|
|
3442
|
+
readonly required: readonly ['$type'];
|
|
3443
|
+
readonly allOf: readonly [
|
|
3444
|
+
{
|
|
3445
|
+
readonly $ref: '#/components/schemas/Job';
|
|
3446
|
+
},
|
|
3447
|
+
{
|
|
3448
|
+
readonly required: readonly ['model', 'params', 'slots'];
|
|
3449
|
+
readonly type: 'object';
|
|
3450
|
+
readonly properties: {
|
|
3451
|
+
readonly baseModel: {
|
|
3452
|
+
readonly type: 'string';
|
|
3453
|
+
readonly description: 'The base model / ecosystem for the model.';
|
|
3454
|
+
readonly nullable: true;
|
|
3455
|
+
readonly readOnly: true;
|
|
3456
|
+
};
|
|
3457
|
+
readonly model: {
|
|
3458
|
+
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_\\-]+))?$';
|
|
3459
|
+
readonly type: 'string';
|
|
3460
|
+
readonly description: 'An AIR representing the model to use.';
|
|
3461
|
+
};
|
|
3462
|
+
readonly params: {
|
|
3463
|
+
readonly $ref: '#/components/schemas/ImageJobParams';
|
|
3464
|
+
};
|
|
3465
|
+
readonly slots: {
|
|
3466
|
+
readonly type: 'array';
|
|
3467
|
+
readonly items: {
|
|
3468
|
+
readonly $ref: '#/components/schemas/TextToImageJobSlot';
|
|
3469
|
+
};
|
|
3470
|
+
readonly description: 'Slots for the resulting image outputs.';
|
|
3471
|
+
};
|
|
3472
|
+
readonly additionalNetworks: {
|
|
3473
|
+
readonly type: 'object';
|
|
3474
|
+
readonly additionalProperties: {
|
|
3475
|
+
readonly $ref: '#/components/schemas/ImageJobNetworkParams';
|
|
3476
|
+
};
|
|
3477
|
+
readonly description: 'Get or set a associative list of additional networks. Each network is identified by a hash code';
|
|
3478
|
+
};
|
|
3479
|
+
readonly controlNets: {
|
|
3480
|
+
readonly type: 'array';
|
|
3481
|
+
readonly items: {
|
|
3482
|
+
readonly $ref: '#/components/schemas/ImageJobControlNet';
|
|
3483
|
+
};
|
|
3484
|
+
readonly description: 'Get or set a list of control nets that should be applied with this textToImage job';
|
|
3485
|
+
};
|
|
3486
|
+
readonly imageMetadata: {
|
|
3487
|
+
readonly type: 'string';
|
|
3488
|
+
readonly description: 'Get or set additional metadata that will be embedded with generated images';
|
|
3489
|
+
readonly nullable: true;
|
|
3490
|
+
};
|
|
3491
|
+
readonly engine: {
|
|
3492
|
+
readonly type: 'string';
|
|
3493
|
+
readonly description: 'The engine to use for generation';
|
|
3494
|
+
readonly nullable: true;
|
|
3495
|
+
};
|
|
3496
|
+
readonly promptClassificationResult: {
|
|
3497
|
+
readonly $ref: '#/components/schemas/ClavataPromptClassificationResult';
|
|
3498
|
+
};
|
|
3499
|
+
readonly claimDuration: {
|
|
3500
|
+
readonly type: 'string';
|
|
3501
|
+
readonly description: 'The duration for which this job can be claimed for.';
|
|
3502
|
+
readonly format: 'date-span';
|
|
3503
|
+
readonly readOnly: true;
|
|
3504
|
+
};
|
|
3505
|
+
readonly type: {
|
|
3506
|
+
readonly type: 'string';
|
|
3507
|
+
readonly description: 'The job type.';
|
|
3508
|
+
readonly readOnly: true;
|
|
3509
|
+
};
|
|
3510
|
+
};
|
|
3511
|
+
readonly additionalProperties: false;
|
|
3512
|
+
},
|
|
3513
|
+
];
|
|
3514
|
+
readonly properties: {
|
|
3515
|
+
readonly $type: {
|
|
3516
|
+
readonly enum: readonly ['textToImageV2'];
|
|
3517
|
+
readonly type: 'string';
|
|
3518
|
+
};
|
|
3519
|
+
};
|
|
3520
|
+
};
|
|
2306
3521
|
export declare const $TransactionInfo: {
|
|
2307
3522
|
readonly required: readonly ['amount', 'type'];
|
|
2308
3523
|
readonly type: 'object';
|
|
@@ -2369,38 +3584,86 @@ export declare const $TranscodeInput: {
|
|
|
2369
3584
|
};
|
|
2370
3585
|
readonly additionalProperties: false;
|
|
2371
3586
|
};
|
|
2372
|
-
export declare const $
|
|
2373
|
-
readonly required: readonly ['
|
|
2374
|
-
readonly
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
readonly
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
3587
|
+
export declare const $TranscodeJob: {
|
|
3588
|
+
readonly required: readonly ['$type'];
|
|
3589
|
+
readonly allOf: readonly [
|
|
3590
|
+
{
|
|
3591
|
+
readonly $ref: '#/components/schemas/Job';
|
|
3592
|
+
},
|
|
3593
|
+
{
|
|
3594
|
+
readonly required: readonly ['destinationUrl', 'mediaHash', 'sourceUrl'];
|
|
3595
|
+
readonly type: 'object';
|
|
3596
|
+
readonly properties: {
|
|
3597
|
+
readonly sourceUrl: {
|
|
3598
|
+
readonly type: 'string';
|
|
3599
|
+
readonly format: 'uri';
|
|
3600
|
+
};
|
|
3601
|
+
readonly containerFormat: {
|
|
3602
|
+
readonly $ref: '#/components/schemas/ContainerFormat';
|
|
3603
|
+
};
|
|
3604
|
+
readonly width: {
|
|
3605
|
+
readonly type: 'integer';
|
|
3606
|
+
readonly format: 'int32';
|
|
3607
|
+
};
|
|
3608
|
+
readonly mediaHash: {
|
|
3609
|
+
readonly type: 'string';
|
|
3610
|
+
};
|
|
3611
|
+
readonly destinationUrl: {
|
|
3612
|
+
readonly type: 'string';
|
|
3613
|
+
readonly format: 'uri';
|
|
3614
|
+
};
|
|
3615
|
+
readonly type: {
|
|
3616
|
+
readonly type: 'string';
|
|
3617
|
+
readonly readOnly: true;
|
|
3618
|
+
};
|
|
3619
|
+
readonly claimDuration: {
|
|
3620
|
+
readonly type: 'string';
|
|
3621
|
+
readonly format: 'date-span';
|
|
3622
|
+
readonly readOnly: true;
|
|
3623
|
+
};
|
|
3624
|
+
};
|
|
3625
|
+
readonly additionalProperties: false;
|
|
3626
|
+
},
|
|
3627
|
+
];
|
|
3628
|
+
readonly properties: {
|
|
3629
|
+
readonly $type: {
|
|
3630
|
+
readonly enum: readonly ['transcode'];
|
|
3631
|
+
readonly type: 'string';
|
|
3632
|
+
};
|
|
3633
|
+
};
|
|
3634
|
+
};
|
|
3635
|
+
export declare const $TranscodeOutput: {
|
|
3636
|
+
readonly required: readonly ['available', 'id', 'jobId'];
|
|
3637
|
+
readonly type: 'object';
|
|
3638
|
+
readonly properties: {
|
|
3639
|
+
readonly id: {
|
|
3640
|
+
readonly type: 'string';
|
|
3641
|
+
readonly description: 'Gets the id of the blob that contains the media.';
|
|
3642
|
+
};
|
|
3643
|
+
readonly available: {
|
|
3644
|
+
readonly type: 'boolean';
|
|
3645
|
+
readonly description: 'Gets a value indicating whether the media is available.';
|
|
3646
|
+
};
|
|
3647
|
+
readonly url: {
|
|
3648
|
+
readonly type: 'string';
|
|
3649
|
+
readonly description: 'Gets a url that can be used to preview the media.';
|
|
3650
|
+
readonly format: 'uri';
|
|
3651
|
+
readonly nullable: true;
|
|
3652
|
+
};
|
|
3653
|
+
readonly urlExpiresAt: {
|
|
3654
|
+
readonly type: 'string';
|
|
3655
|
+
readonly description: 'Get when the url is set to expire';
|
|
3656
|
+
readonly format: 'date-time';
|
|
3657
|
+
readonly nullable: true;
|
|
3658
|
+
};
|
|
3659
|
+
readonly jobId: {
|
|
3660
|
+
readonly type: 'string';
|
|
3661
|
+
readonly description: 'Get the id of the job that is associated with this media.';
|
|
3662
|
+
};
|
|
3663
|
+
};
|
|
3664
|
+
readonly additionalProperties: false;
|
|
3665
|
+
};
|
|
3666
|
+
export declare const $TranscodeStep: {
|
|
2404
3667
|
readonly required: readonly ['$type'];
|
|
2405
3668
|
readonly allOf: readonly [
|
|
2406
3669
|
{
|
|
@@ -2638,6 +3901,107 @@ export declare const $VideoEnhancementInputUpscalerOptions: {
|
|
|
2638
3901
|
};
|
|
2639
3902
|
readonly additionalProperties: false;
|
|
2640
3903
|
};
|
|
3904
|
+
export declare const $VideoEnhancementJob: {
|
|
3905
|
+
readonly required: readonly ['$type'];
|
|
3906
|
+
readonly allOf: readonly [
|
|
3907
|
+
{
|
|
3908
|
+
readonly $ref: '#/components/schemas/Job';
|
|
3909
|
+
},
|
|
3910
|
+
{
|
|
3911
|
+
readonly required: readonly [
|
|
3912
|
+
'destinationBlobKey',
|
|
3913
|
+
'destinationUrl',
|
|
3914
|
+
'duration',
|
|
3915
|
+
'fps',
|
|
3916
|
+
'height',
|
|
3917
|
+
'videoUrl',
|
|
3918
|
+
'width',
|
|
3919
|
+
];
|
|
3920
|
+
readonly type: 'object';
|
|
3921
|
+
readonly properties: {
|
|
3922
|
+
readonly videoUrl: {
|
|
3923
|
+
readonly type: 'string';
|
|
3924
|
+
readonly format: 'uri';
|
|
3925
|
+
};
|
|
3926
|
+
readonly upscaler: {
|
|
3927
|
+
readonly $ref: '#/components/schemas/VideoEnhancementJobUpscalerOptions';
|
|
3928
|
+
};
|
|
3929
|
+
readonly interpolation: {
|
|
3930
|
+
readonly $ref: '#/components/schemas/VideoEnhancementJobInterpolationOptions';
|
|
3931
|
+
};
|
|
3932
|
+
readonly destinationBlobKey: {
|
|
3933
|
+
readonly type: 'string';
|
|
3934
|
+
};
|
|
3935
|
+
readonly destinationUrl: {
|
|
3936
|
+
readonly type: 'string';
|
|
3937
|
+
readonly format: 'uri';
|
|
3938
|
+
};
|
|
3939
|
+
readonly duration: {
|
|
3940
|
+
readonly type: 'string';
|
|
3941
|
+
readonly format: 'date-span';
|
|
3942
|
+
};
|
|
3943
|
+
readonly fps: {
|
|
3944
|
+
readonly type: 'number';
|
|
3945
|
+
readonly format: 'double';
|
|
3946
|
+
};
|
|
3947
|
+
readonly width: {
|
|
3948
|
+
readonly type: 'integer';
|
|
3949
|
+
readonly format: 'int32';
|
|
3950
|
+
};
|
|
3951
|
+
readonly height: {
|
|
3952
|
+
readonly type: 'integer';
|
|
3953
|
+
readonly format: 'int32';
|
|
3954
|
+
};
|
|
3955
|
+
readonly claimDuration: {
|
|
3956
|
+
readonly type: 'string';
|
|
3957
|
+
readonly format: 'date-span';
|
|
3958
|
+
readonly readOnly: true;
|
|
3959
|
+
};
|
|
3960
|
+
readonly type: {
|
|
3961
|
+
readonly type: 'string';
|
|
3962
|
+
readonly readOnly: true;
|
|
3963
|
+
};
|
|
3964
|
+
};
|
|
3965
|
+
readonly additionalProperties: false;
|
|
3966
|
+
},
|
|
3967
|
+
];
|
|
3968
|
+
readonly properties: {
|
|
3969
|
+
readonly $type: {
|
|
3970
|
+
readonly enum: readonly ['videoEnhancement'];
|
|
3971
|
+
readonly type: 'string';
|
|
3972
|
+
};
|
|
3973
|
+
};
|
|
3974
|
+
};
|
|
3975
|
+
export declare const $VideoEnhancementJobInterpolationOptions: {
|
|
3976
|
+
readonly required: readonly ['multiplier'];
|
|
3977
|
+
readonly type: 'object';
|
|
3978
|
+
readonly properties: {
|
|
3979
|
+
readonly multiplier: {
|
|
3980
|
+
readonly type: 'integer';
|
|
3981
|
+
readonly format: 'int32';
|
|
3982
|
+
};
|
|
3983
|
+
};
|
|
3984
|
+
readonly additionalProperties: false;
|
|
3985
|
+
};
|
|
3986
|
+
export declare const $VideoEnhancementJobUpscalerOptions: {
|
|
3987
|
+
readonly required: readonly ['height', 'model', 'width'];
|
|
3988
|
+
readonly type: 'object';
|
|
3989
|
+
readonly properties: {
|
|
3990
|
+
readonly model: {
|
|
3991
|
+
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_\\-]+))?$';
|
|
3992
|
+
readonly type: 'string';
|
|
3993
|
+
};
|
|
3994
|
+
readonly width: {
|
|
3995
|
+
readonly type: 'integer';
|
|
3996
|
+
readonly format: 'int32';
|
|
3997
|
+
};
|
|
3998
|
+
readonly height: {
|
|
3999
|
+
readonly type: 'integer';
|
|
4000
|
+
readonly format: 'int32';
|
|
4001
|
+
};
|
|
4002
|
+
};
|
|
4003
|
+
readonly additionalProperties: false;
|
|
4004
|
+
};
|
|
2641
4005
|
export declare const $VideoEnhancementOutput: {
|
|
2642
4006
|
readonly required: readonly ['video'];
|
|
2643
4007
|
readonly type: 'object';
|
|
@@ -2852,10 +4216,123 @@ export declare const $ViduVideoGenInput: {
|
|
|
2852
4216
|
};
|
|
2853
4217
|
};
|
|
2854
4218
|
};
|
|
4219
|
+
export declare const $ViduVideoGenJob: {
|
|
4220
|
+
readonly required: readonly ['$type'];
|
|
4221
|
+
readonly allOf: readonly [
|
|
4222
|
+
{
|
|
4223
|
+
readonly $ref: '#/components/schemas/Job';
|
|
4224
|
+
},
|
|
4225
|
+
{
|
|
4226
|
+
readonly required: readonly ['destinationBlobKey', 'destinationUrl', 'prompt'];
|
|
4227
|
+
readonly type: 'object';
|
|
4228
|
+
readonly properties: {
|
|
4229
|
+
readonly prompt: {
|
|
4230
|
+
readonly type: 'string';
|
|
4231
|
+
};
|
|
4232
|
+
readonly enablePromptEnhancer: {
|
|
4233
|
+
readonly type: 'boolean';
|
|
4234
|
+
};
|
|
4235
|
+
readonly destinationUrl: {
|
|
4236
|
+
readonly type: 'string';
|
|
4237
|
+
readonly format: 'uri';
|
|
4238
|
+
};
|
|
4239
|
+
readonly sourceImageUrl: {
|
|
4240
|
+
readonly type: 'string';
|
|
4241
|
+
readonly format: 'uri';
|
|
4242
|
+
readonly nullable: true;
|
|
4243
|
+
};
|
|
4244
|
+
readonly endSourceImageUrl: {
|
|
4245
|
+
readonly type: 'string';
|
|
4246
|
+
readonly format: 'uri';
|
|
4247
|
+
readonly nullable: true;
|
|
4248
|
+
};
|
|
4249
|
+
readonly destinationBlobKey: {
|
|
4250
|
+
readonly type: 'string';
|
|
4251
|
+
};
|
|
4252
|
+
readonly seed: {
|
|
4253
|
+
readonly type: 'integer';
|
|
4254
|
+
readonly format: 'int32';
|
|
4255
|
+
};
|
|
4256
|
+
readonly style: {
|
|
4257
|
+
readonly $ref: '#/components/schemas/ViduVideoGenStyle';
|
|
4258
|
+
};
|
|
4259
|
+
readonly duration: {
|
|
4260
|
+
readonly type: 'integer';
|
|
4261
|
+
readonly format: 'int32';
|
|
4262
|
+
};
|
|
4263
|
+
readonly claimDuration: {
|
|
4264
|
+
readonly type: 'string';
|
|
4265
|
+
readonly format: 'date-span';
|
|
4266
|
+
readonly readOnly: true;
|
|
4267
|
+
};
|
|
4268
|
+
readonly type: {
|
|
4269
|
+
readonly type: 'string';
|
|
4270
|
+
readonly readOnly: true;
|
|
4271
|
+
};
|
|
4272
|
+
};
|
|
4273
|
+
readonly additionalProperties: false;
|
|
4274
|
+
},
|
|
4275
|
+
];
|
|
4276
|
+
readonly properties: {
|
|
4277
|
+
readonly $type: {
|
|
4278
|
+
readonly enum: readonly ['vidu'];
|
|
4279
|
+
readonly type: 'string';
|
|
4280
|
+
};
|
|
4281
|
+
};
|
|
4282
|
+
};
|
|
2855
4283
|
export declare const $ViduVideoGenStyle: {
|
|
2856
4284
|
readonly enum: readonly ['general', 'anime'];
|
|
2857
4285
|
readonly type: 'string';
|
|
2858
4286
|
};
|
|
4287
|
+
export declare const $WDTaggingJob: {
|
|
4288
|
+
readonly required: readonly ['$type'];
|
|
4289
|
+
readonly allOf: readonly [
|
|
4290
|
+
{
|
|
4291
|
+
readonly $ref: '#/components/schemas/Job';
|
|
4292
|
+
},
|
|
4293
|
+
{
|
|
4294
|
+
readonly type: 'object';
|
|
4295
|
+
readonly properties: {
|
|
4296
|
+
readonly model: {
|
|
4297
|
+
readonly type: 'string';
|
|
4298
|
+
};
|
|
4299
|
+
readonly mediaUrl: {
|
|
4300
|
+
readonly type: 'string';
|
|
4301
|
+
readonly format: 'uri';
|
|
4302
|
+
};
|
|
4303
|
+
readonly threshold: {
|
|
4304
|
+
readonly type: 'number';
|
|
4305
|
+
readonly format: 'double';
|
|
4306
|
+
readonly nullable: true;
|
|
4307
|
+
};
|
|
4308
|
+
readonly movieRatingModel: {
|
|
4309
|
+
readonly type: 'string';
|
|
4310
|
+
readonly nullable: true;
|
|
4311
|
+
};
|
|
4312
|
+
readonly prompt: {
|
|
4313
|
+
readonly type: 'string';
|
|
4314
|
+
readonly nullable: true;
|
|
4315
|
+
};
|
|
4316
|
+
readonly claimDuration: {
|
|
4317
|
+
readonly type: 'string';
|
|
4318
|
+
readonly format: 'date-span';
|
|
4319
|
+
readonly readOnly: true;
|
|
4320
|
+
};
|
|
4321
|
+
readonly type: {
|
|
4322
|
+
readonly type: 'string';
|
|
4323
|
+
readonly readOnly: true;
|
|
4324
|
+
};
|
|
4325
|
+
};
|
|
4326
|
+
readonly additionalProperties: false;
|
|
4327
|
+
},
|
|
4328
|
+
];
|
|
4329
|
+
readonly properties: {
|
|
4330
|
+
readonly $type: {
|
|
4331
|
+
readonly enum: readonly ['wdTagging'];
|
|
4332
|
+
readonly type: 'string';
|
|
4333
|
+
};
|
|
4334
|
+
};
|
|
4335
|
+
};
|
|
2859
4336
|
export declare const $WanVdeoGenInput: {
|
|
2860
4337
|
readonly required: readonly ['engine'];
|
|
2861
4338
|
readonly allOf: readonly [
|
|
@@ -2931,6 +4408,533 @@ export declare const $WanVdeoGenInput: {
|
|
|
2931
4408
|
};
|
|
2932
4409
|
};
|
|
2933
4410
|
};
|
|
4411
|
+
export declare const $WorkerCapabilities: {
|
|
4412
|
+
readonly type: 'object';
|
|
4413
|
+
readonly properties: {
|
|
4414
|
+
readonly image: {
|
|
4415
|
+
readonly $ref: '#/components/schemas/WorkerImageCapabilities';
|
|
4416
|
+
};
|
|
4417
|
+
readonly media: {
|
|
4418
|
+
readonly $ref: '#/components/schemas/WorkerMediaCapabilities';
|
|
4419
|
+
};
|
|
4420
|
+
readonly modelManagement: {
|
|
4421
|
+
readonly $ref: '#/components/schemas/WorkerModelPreparationCapabilities';
|
|
4422
|
+
};
|
|
4423
|
+
readonly configurationManagement: {
|
|
4424
|
+
readonly $ref: '#/components/schemas/WorkerConfigurationCapabilities';
|
|
4425
|
+
};
|
|
4426
|
+
readonly similaritySearch: {
|
|
4427
|
+
readonly $ref: '#/components/schemas/WorkerSimilaritySearchCapabilities';
|
|
4428
|
+
};
|
|
4429
|
+
readonly llmPromptAugmentation: {
|
|
4430
|
+
readonly $ref: '#/components/schemas/LLMPromptAugmentationCapabilities';
|
|
4431
|
+
};
|
|
4432
|
+
};
|
|
4433
|
+
readonly additionalProperties: false;
|
|
4434
|
+
readonly description: "Details of a worker's capabilities.";
|
|
4435
|
+
};
|
|
4436
|
+
export declare const $WorkerConfigurationCapabilities: {
|
|
4437
|
+
readonly type: 'object';
|
|
4438
|
+
readonly additionalProperties: false;
|
|
4439
|
+
readonly description: "Details of a worker's configuration capabilities.";
|
|
4440
|
+
};
|
|
4441
|
+
export declare const $WorkerDetails: {
|
|
4442
|
+
readonly required: readonly ['id', 'name'];
|
|
4443
|
+
readonly type: 'object';
|
|
4444
|
+
readonly properties: {
|
|
4445
|
+
readonly id: {
|
|
4446
|
+
readonly type: 'string';
|
|
4447
|
+
readonly description: "The worker's ID.";
|
|
4448
|
+
};
|
|
4449
|
+
readonly name: {
|
|
4450
|
+
readonly type: 'string';
|
|
4451
|
+
readonly description: "The worker's name.";
|
|
4452
|
+
};
|
|
4453
|
+
readonly activeJobs: {
|
|
4454
|
+
readonly type: 'integer';
|
|
4455
|
+
readonly description: "The worker's active job count.";
|
|
4456
|
+
readonly format: 'int32';
|
|
4457
|
+
};
|
|
4458
|
+
readonly queueSize: {
|
|
4459
|
+
readonly type: 'integer';
|
|
4460
|
+
readonly description: "The number of jobs in the worker's queue.";
|
|
4461
|
+
readonly format: 'int32';
|
|
4462
|
+
};
|
|
4463
|
+
readonly queueDepth: {
|
|
4464
|
+
readonly type: 'number';
|
|
4465
|
+
readonly description: "The total cost of job's in the worker's queue.";
|
|
4466
|
+
readonly format: 'double';
|
|
4467
|
+
};
|
|
4468
|
+
readonly startDate: {
|
|
4469
|
+
readonly type: 'string';
|
|
4470
|
+
readonly description: "The worker's start date / time.";
|
|
4471
|
+
readonly format: 'date-time';
|
|
4472
|
+
};
|
|
4473
|
+
readonly lastRequestDate: {
|
|
4474
|
+
readonly type: 'string';
|
|
4475
|
+
readonly description: "The worker's last request date / time.";
|
|
4476
|
+
readonly format: 'date-time';
|
|
4477
|
+
readonly nullable: true;
|
|
4478
|
+
};
|
|
4479
|
+
readonly expirationDate: {
|
|
4480
|
+
readonly type: 'string';
|
|
4481
|
+
readonly description: "The worker's expiration date / time.";
|
|
4482
|
+
readonly format: 'date-time';
|
|
4483
|
+
readonly nullable: true;
|
|
4484
|
+
};
|
|
4485
|
+
readonly statistics: {
|
|
4486
|
+
readonly $ref: '#/components/schemas/ProcessingStatistics';
|
|
4487
|
+
};
|
|
4488
|
+
readonly succeededThroughputRate: {
|
|
4489
|
+
readonly type: 'number';
|
|
4490
|
+
readonly description: "The worker's succeeded job throughput rate.";
|
|
4491
|
+
readonly format: 'double';
|
|
4492
|
+
};
|
|
4493
|
+
readonly failedThroughputRate: {
|
|
4494
|
+
readonly type: 'number';
|
|
4495
|
+
readonly description: "The worker's failed job throughput rate.";
|
|
4496
|
+
readonly format: 'double';
|
|
4497
|
+
};
|
|
4498
|
+
readonly idleRate: {
|
|
4499
|
+
readonly type: 'number';
|
|
4500
|
+
readonly description: "The worker's idle rate.";
|
|
4501
|
+
readonly format: 'double';
|
|
4502
|
+
};
|
|
4503
|
+
readonly lastSuccesfullyCompletedJobDate: {
|
|
4504
|
+
readonly type: 'string';
|
|
4505
|
+
readonly description: "The date / time of the worker's last successfully completed job.";
|
|
4506
|
+
readonly format: 'date-time';
|
|
4507
|
+
readonly nullable: true;
|
|
4508
|
+
};
|
|
4509
|
+
readonly lastJobUpdateDate: {
|
|
4510
|
+
readonly type: 'string';
|
|
4511
|
+
readonly description: "The date / time of the worker's last job update.";
|
|
4512
|
+
readonly format: 'date-time';
|
|
4513
|
+
readonly nullable: true;
|
|
4514
|
+
};
|
|
4515
|
+
readonly subscriptionSetDate: {
|
|
4516
|
+
readonly type: 'string';
|
|
4517
|
+
readonly description: "The date / time that the worker's subscription was set.";
|
|
4518
|
+
readonly format: 'date-time';
|
|
4519
|
+
readonly nullable: true;
|
|
4520
|
+
};
|
|
4521
|
+
readonly quarantineDate: {
|
|
4522
|
+
readonly type: 'string';
|
|
4523
|
+
readonly description: 'The date / time that the worker was quarantined.';
|
|
4524
|
+
readonly format: 'date-time';
|
|
4525
|
+
readonly nullable: true;
|
|
4526
|
+
};
|
|
4527
|
+
readonly resourceDownloadRate: {
|
|
4528
|
+
readonly type: 'number';
|
|
4529
|
+
readonly description: 'The rate at which this worker has been downloading';
|
|
4530
|
+
readonly format: 'double';
|
|
4531
|
+
};
|
|
4532
|
+
readonly resourceEvictionRate: {
|
|
4533
|
+
readonly type: 'number';
|
|
4534
|
+
readonly description: 'The rate at which this worker has been evicting resources';
|
|
4535
|
+
readonly format: 'double';
|
|
4536
|
+
};
|
|
4537
|
+
readonly upcomingResourcesSize: {
|
|
4538
|
+
readonly type: 'integer';
|
|
4539
|
+
readonly description: 'The size in bytes of resources that are queued up for this worker to download';
|
|
4540
|
+
readonly format: 'int64';
|
|
4541
|
+
readonly nullable: true;
|
|
4542
|
+
};
|
|
4543
|
+
readonly availableCapacity: {
|
|
4544
|
+
readonly type: 'number';
|
|
4545
|
+
readonly description: 'The remaining capacity that this worker can claim, or null if remaining capacity can not be computed';
|
|
4546
|
+
readonly format: 'double';
|
|
4547
|
+
readonly nullable: true;
|
|
4548
|
+
};
|
|
4549
|
+
};
|
|
4550
|
+
readonly additionalProperties: false;
|
|
4551
|
+
readonly description: 'Details for a particular worker.';
|
|
4552
|
+
};
|
|
4553
|
+
export declare const $WorkerHaiperCapabilities: {
|
|
4554
|
+
readonly type: 'object';
|
|
4555
|
+
readonly additionalProperties: false;
|
|
4556
|
+
};
|
|
4557
|
+
export declare const $WorkerHumanoidImageMaskCapabilities: {
|
|
4558
|
+
readonly type: 'object';
|
|
4559
|
+
readonly additionalProperties: false;
|
|
4560
|
+
};
|
|
4561
|
+
export declare const $WorkerImageCapabilities: {
|
|
4562
|
+
readonly type: 'object';
|
|
4563
|
+
readonly properties: {
|
|
4564
|
+
readonly textToImage: {
|
|
4565
|
+
readonly $ref: '#/components/schemas/WorkerImageTextToImageCapabilities';
|
|
4566
|
+
};
|
|
4567
|
+
readonly imageToImage: {
|
|
4568
|
+
readonly $ref: '#/components/schemas/WorkerImageImageToImageCapabilities';
|
|
4569
|
+
};
|
|
4570
|
+
readonly transform: {
|
|
4571
|
+
readonly $ref: '#/components/schemas/WorkerImageTransformCapabilities';
|
|
4572
|
+
};
|
|
4573
|
+
readonly resourceTraining: {
|
|
4574
|
+
readonly $ref: '#/components/schemas/WorkerImageResourceTrainingCapabilities';
|
|
4575
|
+
};
|
|
4576
|
+
readonly embedding: {
|
|
4577
|
+
readonly $ref: '#/components/schemas/WorkerImageEmbeddingCapabilities';
|
|
4578
|
+
};
|
|
4579
|
+
};
|
|
4580
|
+
readonly additionalProperties: false;
|
|
4581
|
+
readonly description: "Details of a worker's image capabilities.";
|
|
4582
|
+
};
|
|
4583
|
+
export declare const $WorkerImageEmbeddingCapabilities: {
|
|
4584
|
+
readonly type: 'object';
|
|
4585
|
+
readonly additionalProperties: false;
|
|
4586
|
+
readonly description: "Details of a worker's image embedding capabilities.";
|
|
4587
|
+
};
|
|
4588
|
+
export declare const $WorkerImageImageToImageCapabilities: {
|
|
4589
|
+
readonly type: 'object';
|
|
4590
|
+
readonly properties: {
|
|
4591
|
+
readonly size: {
|
|
4592
|
+
readonly type: 'integer';
|
|
4593
|
+
readonly description: "The worker's maximum supported image size for image to image (squared).";
|
|
4594
|
+
readonly format: 'int32';
|
|
4595
|
+
};
|
|
4596
|
+
readonly schedulers: {
|
|
4597
|
+
readonly type: 'array';
|
|
4598
|
+
readonly items: {
|
|
4599
|
+
readonly $ref: '#/components/schemas/Scheduler';
|
|
4600
|
+
};
|
|
4601
|
+
readonly description: 'A list of schedulers the worker supports for image to image.';
|
|
4602
|
+
};
|
|
4603
|
+
readonly controlNet: {
|
|
4604
|
+
readonly maximum: 10;
|
|
4605
|
+
readonly minimum: 0;
|
|
4606
|
+
readonly type: 'integer';
|
|
4607
|
+
readonly description: 'The number of ControlNets the worker supports for image to image (at once).';
|
|
4608
|
+
readonly format: 'int32';
|
|
4609
|
+
};
|
|
4610
|
+
readonly inpainting: {
|
|
4611
|
+
readonly type: 'boolean';
|
|
4612
|
+
readonly description: 'Indicates whether the worker supports inpaiting.';
|
|
4613
|
+
};
|
|
4614
|
+
};
|
|
4615
|
+
readonly additionalProperties: false;
|
|
4616
|
+
readonly description: "Details of a worker's image to image capabilities.";
|
|
4617
|
+
};
|
|
4618
|
+
export declare const $WorkerImageResourceTrainingCapabilities: {
|
|
4619
|
+
readonly type: 'object';
|
|
4620
|
+
readonly properties: {
|
|
4621
|
+
readonly engines: {
|
|
4622
|
+
readonly uniqueItems: true;
|
|
4623
|
+
readonly type: 'array';
|
|
4624
|
+
readonly items: {
|
|
4625
|
+
readonly type: 'string';
|
|
4626
|
+
};
|
|
4627
|
+
};
|
|
4628
|
+
};
|
|
4629
|
+
readonly additionalProperties: false;
|
|
4630
|
+
readonly description: "Details of a worker's image resource training capabilities.";
|
|
4631
|
+
};
|
|
4632
|
+
export declare const $WorkerImageTextToImageCapabilities: {
|
|
4633
|
+
readonly type: 'object';
|
|
4634
|
+
readonly properties: {
|
|
4635
|
+
readonly size: {
|
|
4636
|
+
readonly type: 'integer';
|
|
4637
|
+
readonly description: "The worker's maximum supported image size for text to image (squared).";
|
|
4638
|
+
readonly format: 'int32';
|
|
4639
|
+
};
|
|
4640
|
+
readonly schedulers: {
|
|
4641
|
+
readonly type: 'array';
|
|
4642
|
+
readonly items: {
|
|
4643
|
+
readonly $ref: '#/components/schemas/Scheduler';
|
|
4644
|
+
};
|
|
4645
|
+
readonly description: 'A list of schedulers the worker supports for text to image.';
|
|
4646
|
+
};
|
|
4647
|
+
readonly controlNet: {
|
|
4648
|
+
readonly maximum: 10;
|
|
4649
|
+
readonly minimum: 0;
|
|
4650
|
+
readonly type: 'integer';
|
|
4651
|
+
readonly description: 'The number of ControlNets the worker supports for text to image (at once).';
|
|
4652
|
+
readonly format: 'int32';
|
|
4653
|
+
};
|
|
4654
|
+
readonly engines: {
|
|
4655
|
+
readonly uniqueItems: true;
|
|
4656
|
+
readonly type: 'array';
|
|
4657
|
+
readonly items: {
|
|
4658
|
+
readonly type: 'string';
|
|
4659
|
+
};
|
|
4660
|
+
readonly description: 'A list of engines that this worker supports for text to image.';
|
|
4661
|
+
readonly nullable: true;
|
|
4662
|
+
};
|
|
4663
|
+
};
|
|
4664
|
+
readonly additionalProperties: false;
|
|
4665
|
+
readonly description: "Details of a worker's text to image capabilities.";
|
|
4666
|
+
};
|
|
4667
|
+
export declare const $WorkerImageTransformCapabilities: {
|
|
4668
|
+
readonly type: 'object';
|
|
4669
|
+
readonly properties: {
|
|
4670
|
+
readonly transformers: {
|
|
4671
|
+
readonly type: 'array';
|
|
4672
|
+
readonly items: {
|
|
4673
|
+
readonly $ref: '#/components/schemas/ImageTransformer';
|
|
4674
|
+
};
|
|
4675
|
+
readonly description: 'A list of supported image transformers.';
|
|
4676
|
+
};
|
|
4677
|
+
};
|
|
4678
|
+
readonly additionalProperties: false;
|
|
4679
|
+
readonly description: "Details of a worker's image transform capabilities.";
|
|
4680
|
+
};
|
|
4681
|
+
export declare const $WorkerKlingCapabilities: {
|
|
4682
|
+
readonly type: 'object';
|
|
4683
|
+
readonly additionalProperties: false;
|
|
4684
|
+
};
|
|
4685
|
+
export declare const $WorkerMediaAgeClassificationCapabilities: {
|
|
4686
|
+
readonly type: 'object';
|
|
4687
|
+
readonly additionalProperties: false;
|
|
4688
|
+
};
|
|
4689
|
+
export declare const $WorkerMediaCapabilities: {
|
|
4690
|
+
readonly type: 'object';
|
|
4691
|
+
readonly properties: {
|
|
4692
|
+
readonly wdTagging: {
|
|
4693
|
+
readonly $ref: '#/components/schemas/WorkerMediaWDTaggingCapabilities';
|
|
4694
|
+
};
|
|
4695
|
+
readonly comfy: {
|
|
4696
|
+
readonly $ref: '#/components/schemas/WorkerMediaComfyCapabilities';
|
|
4697
|
+
};
|
|
4698
|
+
readonly tagging: {
|
|
4699
|
+
readonly $ref: '#/components/schemas/WorkerMediaTaggingCapabilities';
|
|
4700
|
+
};
|
|
4701
|
+
readonly movieRating: {
|
|
4702
|
+
readonly $ref: '#/components/schemas/WorkerMediaMovieRatingCapabilities';
|
|
4703
|
+
};
|
|
4704
|
+
readonly transcode: {
|
|
4705
|
+
readonly $ref: '#/components/schemas/WorkerMediaTranscodeCapabilities';
|
|
4706
|
+
};
|
|
4707
|
+
readonly captioning: {
|
|
4708
|
+
readonly $ref: '#/components/schemas/WorkerMediaCaptioningCapabilities';
|
|
4709
|
+
};
|
|
4710
|
+
readonly ageClassification: {
|
|
4711
|
+
readonly $ref: '#/components/schemas/WorkerMediaAgeClassificationCapabilities';
|
|
4712
|
+
};
|
|
4713
|
+
readonly ocrSafetyClassification: {
|
|
4714
|
+
readonly $ref: '#/components/schemas/WorkerMediaOCRSafetyClassificationCapabilities';
|
|
4715
|
+
};
|
|
4716
|
+
readonly videoEnhancements: {
|
|
4717
|
+
readonly $ref: '#/components/schemas/WorkerVideoEnhancementCapabilities';
|
|
4718
|
+
};
|
|
4719
|
+
};
|
|
4720
|
+
readonly additionalProperties: false;
|
|
4721
|
+
readonly description: "Details of a worker's media capabilities.";
|
|
4722
|
+
};
|
|
4723
|
+
export declare const $WorkerMediaCaptioningCapabilities: {
|
|
4724
|
+
readonly type: 'object';
|
|
4725
|
+
readonly additionalProperties: false;
|
|
4726
|
+
};
|
|
4727
|
+
export declare const $WorkerMediaComfyCapabilities: {
|
|
4728
|
+
readonly type: 'object';
|
|
4729
|
+
readonly properties: {
|
|
4730
|
+
readonly spineComfy: {
|
|
4731
|
+
readonly type: 'boolean';
|
|
4732
|
+
readonly description: 'A preview property to enable spine comfy workflows';
|
|
4733
|
+
};
|
|
4734
|
+
};
|
|
4735
|
+
readonly additionalProperties: false;
|
|
4736
|
+
readonly description: "Details of a worker's media comfy capabilities.";
|
|
4737
|
+
};
|
|
4738
|
+
export declare const $WorkerMediaMovieRatingCapabilities: {
|
|
4739
|
+
readonly type: 'object';
|
|
4740
|
+
readonly additionalProperties: false;
|
|
4741
|
+
readonly description: "Details of a worker's media movie rating capabilities.";
|
|
4742
|
+
};
|
|
4743
|
+
export declare const $WorkerMediaOCRSafetyClassificationCapabilities: {
|
|
4744
|
+
readonly type: 'object';
|
|
4745
|
+
readonly additionalProperties: false;
|
|
4746
|
+
};
|
|
4747
|
+
export declare const $WorkerMediaTaggingCapabilities: {
|
|
4748
|
+
readonly type: 'object';
|
|
4749
|
+
readonly additionalProperties: false;
|
|
4750
|
+
readonly description: "Details of a worker's media tagging capabilities.";
|
|
4751
|
+
};
|
|
4752
|
+
export declare const $WorkerMediaTranscodeCapabilities: {
|
|
4753
|
+
readonly type: 'object';
|
|
4754
|
+
readonly additionalProperties: false;
|
|
4755
|
+
};
|
|
4756
|
+
export declare const $WorkerMediaWDTaggingCapabilities: {
|
|
4757
|
+
readonly type: 'object';
|
|
4758
|
+
readonly additionalProperties: false;
|
|
4759
|
+
readonly description: "Details of a worker's media WD tagging capabilities.";
|
|
4760
|
+
};
|
|
4761
|
+
export declare const $WorkerMiniMaxCapabilities: {
|
|
4762
|
+
readonly type: 'object';
|
|
4763
|
+
readonly additionalProperties: false;
|
|
4764
|
+
};
|
|
4765
|
+
export declare const $WorkerModelPreparationCapabilities: {
|
|
4766
|
+
readonly type: 'object';
|
|
4767
|
+
readonly additionalProperties: false;
|
|
4768
|
+
readonly description: "Details of a worker's model preparation capabilities.";
|
|
4769
|
+
};
|
|
4770
|
+
export declare const $WorkerOpenAICapabilities: {
|
|
4771
|
+
readonly type: 'object';
|
|
4772
|
+
readonly additionalProperties: false;
|
|
4773
|
+
};
|
|
4774
|
+
export declare const $WorkerPromptRewritingCapabilities: {
|
|
4775
|
+
readonly type: 'object';
|
|
4776
|
+
readonly additionalProperties: false;
|
|
4777
|
+
};
|
|
4778
|
+
export declare const $WorkerRegistration: {
|
|
4779
|
+
readonly required: readonly ['name'];
|
|
4780
|
+
readonly type: 'object';
|
|
4781
|
+
readonly properties: {
|
|
4782
|
+
readonly name: {
|
|
4783
|
+
readonly type: 'string';
|
|
4784
|
+
readonly description: "The worker's name.";
|
|
4785
|
+
};
|
|
4786
|
+
readonly onDemandResourceTypes: {
|
|
4787
|
+
readonly uniqueItems: true;
|
|
4788
|
+
readonly type: 'array';
|
|
4789
|
+
readonly items: {
|
|
4790
|
+
readonly type: 'string';
|
|
4791
|
+
};
|
|
4792
|
+
readonly description: 'A hash set of resource types the worker can retrieve on demand.';
|
|
4793
|
+
};
|
|
4794
|
+
readonly capabilities: {
|
|
4795
|
+
readonly $ref: '#/components/schemas/WorkerCapabilities';
|
|
4796
|
+
};
|
|
4797
|
+
readonly subscription: {
|
|
4798
|
+
readonly $ref: '#/components/schemas/Subscription';
|
|
4799
|
+
};
|
|
4800
|
+
readonly type: {
|
|
4801
|
+
readonly $ref: '#/components/schemas/WorkerType';
|
|
4802
|
+
};
|
|
4803
|
+
readonly concurrentLimit: {
|
|
4804
|
+
readonly type: 'integer';
|
|
4805
|
+
readonly description: 'The number of requests the worker can handle at once.';
|
|
4806
|
+
readonly format: 'int32';
|
|
4807
|
+
};
|
|
4808
|
+
readonly ecosystems: {
|
|
4809
|
+
readonly type: 'object';
|
|
4810
|
+
readonly additionalProperties: {
|
|
4811
|
+
readonly $ref: '#/components/schemas/EcosystemElement';
|
|
4812
|
+
};
|
|
4813
|
+
readonly description: 'A collection of ecosystems the worker supports.';
|
|
4814
|
+
};
|
|
4815
|
+
readonly resources: {
|
|
4816
|
+
readonly type: 'object';
|
|
4817
|
+
readonly additionalProperties: {
|
|
4818
|
+
readonly $ref: '#/components/schemas/WorkerResourceStatus';
|
|
4819
|
+
};
|
|
4820
|
+
readonly description: 'A collection of information about the availability of particular resources on this worker.';
|
|
4821
|
+
};
|
|
4822
|
+
readonly cacheLevel: {
|
|
4823
|
+
readonly type: 'string';
|
|
4824
|
+
readonly description: 'The name of the closest cache level that this worker can interact with.';
|
|
4825
|
+
readonly nullable: true;
|
|
4826
|
+
};
|
|
4827
|
+
readonly maxColdSwapQueueSize: {
|
|
4828
|
+
readonly type: 'integer';
|
|
4829
|
+
readonly description: 'The max queue size before the worker stops accepting requests that require cold swapping.';
|
|
4830
|
+
readonly format: 'int32';
|
|
4831
|
+
readonly nullable: true;
|
|
4832
|
+
};
|
|
4833
|
+
readonly maxPendingResourceSize: {
|
|
4834
|
+
readonly type: 'integer';
|
|
4835
|
+
readonly description: 'The max size in Mb of downloads that can be pending.';
|
|
4836
|
+
readonly format: 'int32';
|
|
4837
|
+
readonly nullable: true;
|
|
4838
|
+
};
|
|
4839
|
+
readonly consumeUnavailableJobs: {
|
|
4840
|
+
readonly type: 'boolean';
|
|
4841
|
+
readonly description: 'A value indicating if worker should consume jobs that are not yet available.';
|
|
4842
|
+
};
|
|
4843
|
+
readonly nodeIdentifier: {
|
|
4844
|
+
readonly type: 'string';
|
|
4845
|
+
readonly description: 'An optional identifier unique to this worker.';
|
|
4846
|
+
readonly nullable: true;
|
|
4847
|
+
};
|
|
4848
|
+
readonly scoreBoost: {
|
|
4849
|
+
readonly type: 'number';
|
|
4850
|
+
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';
|
|
4851
|
+
readonly format: 'double';
|
|
4852
|
+
readonly nullable: true;
|
|
4853
|
+
};
|
|
4854
|
+
readonly supportedFileFormats: {
|
|
4855
|
+
readonly type: 'array';
|
|
4856
|
+
readonly items: {
|
|
4857
|
+
readonly $ref: '#/components/schemas/FileFormat';
|
|
4858
|
+
};
|
|
4859
|
+
readonly description: 'A list of file formats that the worker supports. If none are specified then all formats are considered supported';
|
|
4860
|
+
readonly nullable: true;
|
|
4861
|
+
};
|
|
4862
|
+
readonly preferredDownloadSource: {
|
|
4863
|
+
readonly $ref: '#/components/schemas/DownloadSource';
|
|
4864
|
+
};
|
|
4865
|
+
readonly labels: {
|
|
4866
|
+
readonly type: 'object';
|
|
4867
|
+
readonly additionalProperties: {
|
|
4868
|
+
readonly type: 'string';
|
|
4869
|
+
};
|
|
4870
|
+
readonly description: 'A collection of labels that will be applied to metrics produced by these workers';
|
|
4871
|
+
readonly nullable: true;
|
|
4872
|
+
};
|
|
4873
|
+
readonly metadata: {
|
|
4874
|
+
readonly type: 'object';
|
|
4875
|
+
readonly additionalProperties: {};
|
|
4876
|
+
readonly description: 'Get additional metadata about this worker. This can be used for debugging purposes as well as to target certain configurations to certain workers.';
|
|
4877
|
+
readonly nullable: true;
|
|
4878
|
+
};
|
|
4879
|
+
readonly capacitySaturationRate: {
|
|
4880
|
+
readonly type: 'number';
|
|
4881
|
+
readonly description: 'The saturation rate of available capacity of this worker of the worker.';
|
|
4882
|
+
readonly format: 'double';
|
|
4883
|
+
readonly nullable: true;
|
|
4884
|
+
};
|
|
4885
|
+
};
|
|
4886
|
+
readonly additionalProperties: false;
|
|
4887
|
+
readonly description: "Details of a worker's registration.";
|
|
4888
|
+
};
|
|
4889
|
+
export declare const $WorkerResourceAvailability: {
|
|
4890
|
+
readonly enum: readonly [
|
|
4891
|
+
'unknown',
|
|
4892
|
+
'unsupported',
|
|
4893
|
+
'unavailable',
|
|
4894
|
+
'available',
|
|
4895
|
+
'providerUnsupported',
|
|
4896
|
+
];
|
|
4897
|
+
readonly type: 'string';
|
|
4898
|
+
readonly description: 'Options for representing the status for a resource on a worker.';
|
|
4899
|
+
};
|
|
4900
|
+
export declare const $WorkerResourceStatus: {
|
|
4901
|
+
readonly required: readonly ['availability'];
|
|
4902
|
+
readonly type: 'object';
|
|
4903
|
+
readonly properties: {
|
|
4904
|
+
readonly availability: {
|
|
4905
|
+
readonly $ref: '#/components/schemas/WorkerResourceAvailability';
|
|
4906
|
+
};
|
|
4907
|
+
readonly cost: {
|
|
4908
|
+
readonly type: 'number';
|
|
4909
|
+
readonly description: 'The cost associated with this resource.';
|
|
4910
|
+
readonly format: 'float';
|
|
4911
|
+
};
|
|
4912
|
+
};
|
|
4913
|
+
readonly additionalProperties: false;
|
|
4914
|
+
readonly description: 'Details for the status of a resource on a particular worker.';
|
|
4915
|
+
};
|
|
4916
|
+
export declare const $WorkerSimilaritySearchCapabilities: {
|
|
4917
|
+
readonly type: 'object';
|
|
4918
|
+
readonly additionalProperties: false;
|
|
4919
|
+
readonly description: "Details of a worker's similarity search capabilities.";
|
|
4920
|
+
};
|
|
4921
|
+
export declare const $WorkerTryOnUCapabilities: {
|
|
4922
|
+
readonly type: 'object';
|
|
4923
|
+
readonly additionalProperties: false;
|
|
4924
|
+
};
|
|
4925
|
+
export declare const $WorkerType: {
|
|
4926
|
+
readonly enum: readonly ['normal', 'deferred', 'test'];
|
|
4927
|
+
readonly type: 'string';
|
|
4928
|
+
readonly description: 'Available values for worker type.';
|
|
4929
|
+
};
|
|
4930
|
+
export declare const $WorkerVideoEnhancementCapabilities: {
|
|
4931
|
+
readonly type: 'object';
|
|
4932
|
+
readonly additionalProperties: false;
|
|
4933
|
+
};
|
|
4934
|
+
export declare const $WorkerViduCapabilities: {
|
|
4935
|
+
readonly type: 'object';
|
|
4936
|
+
readonly additionalProperties: false;
|
|
4937
|
+
};
|
|
2934
4938
|
export declare const $Workflow: {
|
|
2935
4939
|
readonly type: 'object';
|
|
2936
4940
|
readonly properties: {
|