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