@civitai/client 0.1.9-beta.7 → 0.1.9-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/schemas.gen.d.ts +1464 -982
- package/dist/generated/schemas.gen.js +1493 -1028
- package/dist/generated/services.gen.d.ts +7 -0
- package/dist/generated/services.gen.js +9 -1
- package/dist/generated/types.gen.d.ts +464 -430
- package/dist/generated/types.gen.js +74 -23
- package/package.json +1 -1
|
@@ -16,6 +16,60 @@ export declare const $AgeClassificationInput: {
|
|
|
16
16
|
};
|
|
17
17
|
readonly additionalProperties: false;
|
|
18
18
|
};
|
|
19
|
+
export declare const $AgeClassificationJob: {
|
|
20
|
+
readonly required: readonly ['$type'];
|
|
21
|
+
readonly allOf: readonly [
|
|
22
|
+
{
|
|
23
|
+
readonly $ref: '#/components/schemas/Job';
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
readonly required: readonly [
|
|
27
|
+
'destinationBlobKey',
|
|
28
|
+
'destinationUrl',
|
|
29
|
+
'failOnMinorDetected',
|
|
30
|
+
'mediaUrl',
|
|
31
|
+
];
|
|
32
|
+
readonly type: 'object';
|
|
33
|
+
readonly properties: {
|
|
34
|
+
readonly model: {
|
|
35
|
+
readonly pattern: '^(?:urn:)?(?:air:)?(?:(?<ecosystem>[a-zA-Z0-9_\\-\\/]+):)?(?:(?<type>[a-zA-Z0-9_\\-\\/]+):)?(?<source>[a-zA-Z0-9_\\-\\/]+):(?<id>[a-zA-Z0-9_\\-\\/\\.]+)(?:@(?<version>[a-zA-Z0-9_\\-\\.]+))?(?:\\.(?<format>[a-zA-Z0-9_\\-]+))?$';
|
|
36
|
+
readonly type: 'string';
|
|
37
|
+
readonly nullable: true;
|
|
38
|
+
};
|
|
39
|
+
readonly mediaUrl: {
|
|
40
|
+
readonly type: 'string';
|
|
41
|
+
readonly format: 'uri';
|
|
42
|
+
};
|
|
43
|
+
readonly destinationBlobKey: {
|
|
44
|
+
readonly type: 'string';
|
|
45
|
+
};
|
|
46
|
+
readonly destinationUrl: {
|
|
47
|
+
readonly type: 'string';
|
|
48
|
+
readonly format: 'uri';
|
|
49
|
+
};
|
|
50
|
+
readonly failOnMinorDetected: {
|
|
51
|
+
readonly type: 'boolean';
|
|
52
|
+
};
|
|
53
|
+
readonly claimDuration: {
|
|
54
|
+
readonly type: 'string';
|
|
55
|
+
readonly format: 'date-span';
|
|
56
|
+
readonly readOnly: true;
|
|
57
|
+
};
|
|
58
|
+
readonly type: {
|
|
59
|
+
readonly type: 'string';
|
|
60
|
+
readonly readOnly: true;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
readonly additionalProperties: false;
|
|
64
|
+
},
|
|
65
|
+
];
|
|
66
|
+
readonly properties: {
|
|
67
|
+
readonly $type: {
|
|
68
|
+
readonly enum: readonly ['ageClassification'];
|
|
69
|
+
readonly type: 'string';
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
19
73
|
export declare const $AgeClassificationOutput: {
|
|
20
74
|
readonly required: readonly ['hasMinor', 'labels', 'prediction'];
|
|
21
75
|
readonly type: 'object';
|
|
@@ -43,100 +97,61 @@ export declare const $AgeClassificationPrediction: {
|
|
|
43
97
|
readonly type: 'string';
|
|
44
98
|
};
|
|
45
99
|
export declare const $AgeClassificationStep: {
|
|
46
|
-
readonly required: readonly ['$type'
|
|
47
|
-
readonly type: 'object';
|
|
100
|
+
readonly required: readonly ['$type'];
|
|
48
101
|
readonly allOf: readonly [
|
|
49
102
|
{
|
|
50
103
|
readonly $ref: '#/components/schemas/WorkflowStep';
|
|
51
104
|
},
|
|
105
|
+
{
|
|
106
|
+
readonly required: readonly ['input'];
|
|
107
|
+
readonly type: 'object';
|
|
108
|
+
readonly properties: {
|
|
109
|
+
readonly input: {
|
|
110
|
+
readonly $ref: '#/components/schemas/AgeClassificationInput';
|
|
111
|
+
};
|
|
112
|
+
readonly output: {
|
|
113
|
+
readonly $ref: '#/components/schemas/AgeClassificationOutput';
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
readonly additionalProperties: false;
|
|
117
|
+
},
|
|
52
118
|
];
|
|
53
119
|
readonly properties: {
|
|
54
|
-
readonly name: {
|
|
55
|
-
readonly minLength: 1;
|
|
56
|
-
readonly type: 'string';
|
|
57
|
-
readonly description: 'The name of the workflow step. Used to allow steps to refer to one another.';
|
|
58
|
-
};
|
|
59
|
-
readonly priority: {
|
|
60
|
-
readonly $ref: '#/components/schemas/Priority';
|
|
61
|
-
};
|
|
62
|
-
readonly timeout: {
|
|
63
|
-
readonly type: 'string';
|
|
64
|
-
readonly description: 'The maximum time to wait for this step to complete.';
|
|
65
|
-
readonly nullable: true;
|
|
66
|
-
readonly example: '00:00:00';
|
|
67
|
-
};
|
|
68
|
-
readonly retries: {
|
|
69
|
-
readonly type: 'integer';
|
|
70
|
-
readonly description: 'The maximum number of times this step should be retried.';
|
|
71
|
-
readonly format: 'int32';
|
|
72
|
-
readonly nullable: true;
|
|
73
|
-
};
|
|
74
|
-
readonly jobs: {
|
|
75
|
-
readonly type: 'array';
|
|
76
|
-
readonly items: {
|
|
77
|
-
readonly $ref: '#/components/schemas/WorkflowStepJob';
|
|
78
|
-
};
|
|
79
|
-
readonly description: 'The jobs generated by this step.';
|
|
80
|
-
readonly nullable: true;
|
|
81
|
-
};
|
|
82
|
-
readonly status: {
|
|
83
|
-
readonly $ref: '#/components/schemas/WorkflowStatus';
|
|
84
|
-
};
|
|
85
|
-
readonly startedAt: {
|
|
86
|
-
readonly type: 'string';
|
|
87
|
-
readonly description: 'The date / time the step was started. Null if not yet started.';
|
|
88
|
-
readonly format: 'date-time';
|
|
89
|
-
readonly nullable: true;
|
|
90
|
-
};
|
|
91
|
-
readonly completedAt: {
|
|
92
|
-
readonly type: 'string';
|
|
93
|
-
readonly description: 'The date / time the step was completed. Null if not yet completed.';
|
|
94
|
-
readonly format: 'date-time';
|
|
95
|
-
readonly nullable: true;
|
|
96
|
-
};
|
|
97
|
-
readonly metadata: {
|
|
98
|
-
readonly type: 'object';
|
|
99
|
-
readonly additionalProperties: {};
|
|
100
|
-
readonly description: 'A collection of user defined metadata for the workflow step.';
|
|
101
|
-
};
|
|
102
|
-
readonly input: {
|
|
103
|
-
readonly $ref: '#/components/schemas/AgeClassificationInput';
|
|
104
|
-
};
|
|
105
|
-
readonly output: {
|
|
106
|
-
readonly $ref: '#/components/schemas/AgeClassificationOutput';
|
|
107
|
-
};
|
|
108
120
|
readonly $type: {
|
|
109
121
|
readonly enum: readonly ['ageClassification'];
|
|
110
122
|
readonly type: 'string';
|
|
111
123
|
};
|
|
112
124
|
};
|
|
113
|
-
readonly additionalProperties: false;
|
|
114
125
|
};
|
|
115
126
|
export declare const $AgeClassificationStepTemplate: {
|
|
116
|
-
readonly required: readonly ['$type'
|
|
117
|
-
readonly type: 'object';
|
|
127
|
+
readonly required: readonly ['$type'];
|
|
118
128
|
readonly allOf: readonly [
|
|
119
129
|
{
|
|
120
130
|
readonly $ref: '#/components/schemas/WorkflowStepTemplate';
|
|
121
131
|
},
|
|
132
|
+
{
|
|
133
|
+
readonly required: readonly ['input'];
|
|
134
|
+
readonly type: 'object';
|
|
135
|
+
readonly properties: {
|
|
136
|
+
readonly input: {
|
|
137
|
+
readonly $ref: '#/components/schemas/AgeClassificationInput';
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
readonly additionalProperties: false;
|
|
141
|
+
},
|
|
122
142
|
];
|
|
123
143
|
readonly properties: {
|
|
124
144
|
readonly $type: {
|
|
125
145
|
readonly enum: readonly ['ageClassification'];
|
|
126
146
|
readonly type: 'string';
|
|
127
147
|
};
|
|
128
|
-
readonly input: {
|
|
129
|
-
readonly $ref: '#/components/schemas/AgeClassificationInput';
|
|
130
|
-
};
|
|
131
148
|
};
|
|
132
|
-
readonly additionalProperties: false;
|
|
133
149
|
};
|
|
134
150
|
export declare const $AgeClassifierLabel: {
|
|
135
151
|
readonly required: readonly ['age', 'boundingBox', 'isMinor'];
|
|
136
152
|
readonly type: 'object';
|
|
137
153
|
readonly properties: {
|
|
138
154
|
readonly age: {
|
|
139
|
-
readonly minLength: 1;
|
|
140
155
|
readonly type: 'string';
|
|
141
156
|
};
|
|
142
157
|
readonly isMinor: {
|
|
@@ -166,6 +181,39 @@ export declare const $BatchOCRSafetyClassificationInput: {
|
|
|
166
181
|
};
|
|
167
182
|
readonly additionalProperties: false;
|
|
168
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
|
+
};
|
|
169
217
|
export declare const $BatchOCRSafetyClassificationOutput: {
|
|
170
218
|
readonly required: readonly ['results'];
|
|
171
219
|
readonly type: 'object';
|
|
@@ -188,7 +236,6 @@ export declare const $BatchOCRSafetyClassificationResult: {
|
|
|
188
236
|
readonly format: 'uri';
|
|
189
237
|
};
|
|
190
238
|
readonly classification: {
|
|
191
|
-
readonly minLength: 1;
|
|
192
239
|
readonly type: 'string';
|
|
193
240
|
};
|
|
194
241
|
readonly text: {
|
|
@@ -199,100 +246,61 @@ export declare const $BatchOCRSafetyClassificationResult: {
|
|
|
199
246
|
readonly additionalProperties: false;
|
|
200
247
|
};
|
|
201
248
|
export declare const $BatchOCRSafetyClassificationStep: {
|
|
202
|
-
readonly required: readonly ['$type'
|
|
203
|
-
readonly type: 'object';
|
|
249
|
+
readonly required: readonly ['$type'];
|
|
204
250
|
readonly allOf: readonly [
|
|
205
251
|
{
|
|
206
252
|
readonly $ref: '#/components/schemas/WorkflowStep';
|
|
207
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
|
+
},
|
|
208
267
|
];
|
|
209
268
|
readonly properties: {
|
|
210
|
-
readonly name: {
|
|
211
|
-
readonly minLength: 1;
|
|
212
|
-
readonly type: 'string';
|
|
213
|
-
readonly description: 'The name of the workflow step. Used to allow steps to refer to one another.';
|
|
214
|
-
};
|
|
215
|
-
readonly priority: {
|
|
216
|
-
readonly $ref: '#/components/schemas/Priority';
|
|
217
|
-
};
|
|
218
|
-
readonly timeout: {
|
|
219
|
-
readonly type: 'string';
|
|
220
|
-
readonly description: 'The maximum time to wait for this step to complete.';
|
|
221
|
-
readonly nullable: true;
|
|
222
|
-
readonly example: '00:00:00';
|
|
223
|
-
};
|
|
224
|
-
readonly retries: {
|
|
225
|
-
readonly type: 'integer';
|
|
226
|
-
readonly description: 'The maximum number of times this step should be retried.';
|
|
227
|
-
readonly format: 'int32';
|
|
228
|
-
readonly nullable: true;
|
|
229
|
-
};
|
|
230
|
-
readonly jobs: {
|
|
231
|
-
readonly type: 'array';
|
|
232
|
-
readonly items: {
|
|
233
|
-
readonly $ref: '#/components/schemas/WorkflowStepJob';
|
|
234
|
-
};
|
|
235
|
-
readonly description: 'The jobs generated by this step.';
|
|
236
|
-
readonly nullable: true;
|
|
237
|
-
};
|
|
238
|
-
readonly status: {
|
|
239
|
-
readonly $ref: '#/components/schemas/WorkflowStatus';
|
|
240
|
-
};
|
|
241
|
-
readonly startedAt: {
|
|
242
|
-
readonly type: 'string';
|
|
243
|
-
readonly description: 'The date / time the step was started. Null if not yet started.';
|
|
244
|
-
readonly format: 'date-time';
|
|
245
|
-
readonly nullable: true;
|
|
246
|
-
};
|
|
247
|
-
readonly completedAt: {
|
|
248
|
-
readonly type: 'string';
|
|
249
|
-
readonly description: 'The date / time the step was completed. Null if not yet completed.';
|
|
250
|
-
readonly format: 'date-time';
|
|
251
|
-
readonly nullable: true;
|
|
252
|
-
};
|
|
253
|
-
readonly metadata: {
|
|
254
|
-
readonly type: 'object';
|
|
255
|
-
readonly additionalProperties: {};
|
|
256
|
-
readonly description: 'A collection of user defined metadata for the workflow step.';
|
|
257
|
-
};
|
|
258
|
-
readonly input: {
|
|
259
|
-
readonly $ref: '#/components/schemas/BatchOCRSafetyClassificationInput';
|
|
260
|
-
};
|
|
261
|
-
readonly output: {
|
|
262
|
-
readonly $ref: '#/components/schemas/BatchOCRSafetyClassificationOutput';
|
|
263
|
-
};
|
|
264
269
|
readonly $type: {
|
|
265
270
|
readonly enum: readonly ['batchOCRSafetyClassification'];
|
|
266
271
|
readonly type: 'string';
|
|
267
272
|
};
|
|
268
273
|
};
|
|
269
|
-
readonly additionalProperties: false;
|
|
270
274
|
};
|
|
271
275
|
export declare const $BatchOCRSafetyClassificationStepTemplate: {
|
|
272
|
-
readonly required: readonly ['$type'
|
|
273
|
-
readonly type: 'object';
|
|
276
|
+
readonly required: readonly ['$type'];
|
|
274
277
|
readonly allOf: readonly [
|
|
275
278
|
{
|
|
276
279
|
readonly $ref: '#/components/schemas/WorkflowStepTemplate';
|
|
277
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
|
+
},
|
|
278
291
|
];
|
|
279
292
|
readonly properties: {
|
|
280
293
|
readonly $type: {
|
|
281
294
|
readonly enum: readonly ['batchOCRSafetyClassification'];
|
|
282
295
|
readonly type: 'string';
|
|
283
296
|
};
|
|
284
|
-
readonly input: {
|
|
285
|
-
readonly $ref: '#/components/schemas/BatchOCRSafetyClassificationInput';
|
|
286
|
-
};
|
|
287
297
|
};
|
|
288
|
-
readonly additionalProperties: false;
|
|
289
298
|
};
|
|
290
299
|
export declare const $Blob: {
|
|
291
300
|
readonly required: readonly ['available', 'id'];
|
|
292
301
|
readonly type: 'object';
|
|
293
302
|
readonly properties: {
|
|
294
303
|
readonly id: {
|
|
295
|
-
readonly minLength: 1;
|
|
296
304
|
readonly type: 'string';
|
|
297
305
|
readonly description: 'Gets the id of the blob that contains this image.';
|
|
298
306
|
};
|
|
@@ -355,12 +363,86 @@ export declare const $ComfyInput: {
|
|
|
355
363
|
};
|
|
356
364
|
readonly additionalProperties: false;
|
|
357
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';
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
readonly additionalProperties: false;
|
|
439
|
+
readonly description: 'Contains slot information for a blob generated by a ComfyJob.';
|
|
440
|
+
};
|
|
358
441
|
export declare const $ComfyNode: {
|
|
359
442
|
readonly required: readonly ['classType', 'inputs'];
|
|
360
443
|
readonly type: 'object';
|
|
361
444
|
readonly properties: {
|
|
362
445
|
readonly classType: {
|
|
363
|
-
readonly minLength: 1;
|
|
364
446
|
readonly type: 'string';
|
|
365
447
|
};
|
|
366
448
|
readonly meta: {
|
|
@@ -415,93 +497,56 @@ export declare const $ComfyOutput: {
|
|
|
415
497
|
readonly additionalProperties: false;
|
|
416
498
|
};
|
|
417
499
|
export declare const $ComfyStep: {
|
|
418
|
-
readonly required: readonly ['$type'
|
|
419
|
-
readonly type: 'object';
|
|
500
|
+
readonly required: readonly ['$type'];
|
|
420
501
|
readonly allOf: readonly [
|
|
421
502
|
{
|
|
422
503
|
readonly $ref: '#/components/schemas/WorkflowStep';
|
|
423
504
|
},
|
|
505
|
+
{
|
|
506
|
+
readonly required: readonly ['input'];
|
|
507
|
+
readonly type: 'object';
|
|
508
|
+
readonly properties: {
|
|
509
|
+
readonly input: {
|
|
510
|
+
readonly $ref: '#/components/schemas/ComfyInput';
|
|
511
|
+
};
|
|
512
|
+
readonly output: {
|
|
513
|
+
readonly $ref: '#/components/schemas/ComfyOutput';
|
|
514
|
+
};
|
|
515
|
+
};
|
|
516
|
+
readonly additionalProperties: false;
|
|
517
|
+
},
|
|
424
518
|
];
|
|
425
519
|
readonly properties: {
|
|
426
|
-
readonly name: {
|
|
427
|
-
readonly minLength: 1;
|
|
428
|
-
readonly type: 'string';
|
|
429
|
-
readonly description: 'The name of the workflow step. Used to allow steps to refer to one another.';
|
|
430
|
-
};
|
|
431
|
-
readonly priority: {
|
|
432
|
-
readonly $ref: '#/components/schemas/Priority';
|
|
433
|
-
};
|
|
434
|
-
readonly timeout: {
|
|
435
|
-
readonly type: 'string';
|
|
436
|
-
readonly description: 'The maximum time to wait for this step to complete.';
|
|
437
|
-
readonly nullable: true;
|
|
438
|
-
readonly example: '00:00:00';
|
|
439
|
-
};
|
|
440
|
-
readonly retries: {
|
|
441
|
-
readonly type: 'integer';
|
|
442
|
-
readonly description: 'The maximum number of times this step should be retried.';
|
|
443
|
-
readonly format: 'int32';
|
|
444
|
-
readonly nullable: true;
|
|
445
|
-
};
|
|
446
|
-
readonly jobs: {
|
|
447
|
-
readonly type: 'array';
|
|
448
|
-
readonly items: {
|
|
449
|
-
readonly $ref: '#/components/schemas/WorkflowStepJob';
|
|
450
|
-
};
|
|
451
|
-
readonly description: 'The jobs generated by this step.';
|
|
452
|
-
readonly nullable: true;
|
|
453
|
-
};
|
|
454
|
-
readonly status: {
|
|
455
|
-
readonly $ref: '#/components/schemas/WorkflowStatus';
|
|
456
|
-
};
|
|
457
|
-
readonly startedAt: {
|
|
458
|
-
readonly type: 'string';
|
|
459
|
-
readonly description: 'The date / time the step was started. Null if not yet started.';
|
|
460
|
-
readonly format: 'date-time';
|
|
461
|
-
readonly nullable: true;
|
|
462
|
-
};
|
|
463
|
-
readonly completedAt: {
|
|
464
|
-
readonly type: 'string';
|
|
465
|
-
readonly description: 'The date / time the step was completed. Null if not yet completed.';
|
|
466
|
-
readonly format: 'date-time';
|
|
467
|
-
readonly nullable: true;
|
|
468
|
-
};
|
|
469
|
-
readonly metadata: {
|
|
470
|
-
readonly type: 'object';
|
|
471
|
-
readonly additionalProperties: {};
|
|
472
|
-
readonly description: 'A collection of user defined metadata for the workflow step.';
|
|
473
|
-
};
|
|
474
|
-
readonly input: {
|
|
475
|
-
readonly $ref: '#/components/schemas/ComfyInput';
|
|
476
|
-
};
|
|
477
|
-
readonly output: {
|
|
478
|
-
readonly $ref: '#/components/schemas/ComfyOutput';
|
|
479
|
-
};
|
|
480
520
|
readonly $type: {
|
|
481
521
|
readonly enum: readonly ['comfy'];
|
|
482
522
|
readonly type: 'string';
|
|
483
523
|
};
|
|
484
524
|
};
|
|
485
|
-
readonly
|
|
525
|
+
readonly description: '';
|
|
486
526
|
};
|
|
487
527
|
export declare const $ComfyStepTemplate: {
|
|
488
|
-
readonly required: readonly ['$type'
|
|
489
|
-
readonly type: 'object';
|
|
528
|
+
readonly required: readonly ['$type'];
|
|
490
529
|
readonly allOf: readonly [
|
|
491
530
|
{
|
|
492
531
|
readonly $ref: '#/components/schemas/WorkflowStepTemplate';
|
|
493
532
|
},
|
|
533
|
+
{
|
|
534
|
+
readonly required: readonly ['input'];
|
|
535
|
+
readonly type: 'object';
|
|
536
|
+
readonly properties: {
|
|
537
|
+
readonly input: {
|
|
538
|
+
readonly $ref: '#/components/schemas/ComfyInput';
|
|
539
|
+
};
|
|
540
|
+
};
|
|
541
|
+
readonly additionalProperties: false;
|
|
542
|
+
},
|
|
494
543
|
];
|
|
495
544
|
readonly properties: {
|
|
496
545
|
readonly $type: {
|
|
497
546
|
readonly enum: readonly ['comfy'];
|
|
498
547
|
readonly type: 'string';
|
|
499
548
|
};
|
|
500
|
-
readonly input: {
|
|
501
|
-
readonly $ref: '#/components/schemas/ComfyInput';
|
|
502
|
-
};
|
|
503
549
|
};
|
|
504
|
-
readonly additionalProperties: false;
|
|
505
550
|
};
|
|
506
551
|
export declare const $ConfigurationOptions: {
|
|
507
552
|
readonly required: readonly ['selector', 'spec'];
|
|
@@ -527,7 +572,6 @@ export declare const $ConfigurationStatus: {
|
|
|
527
572
|
readonly type: 'object';
|
|
528
573
|
readonly properties: {
|
|
529
574
|
readonly configurationId: {
|
|
530
|
-
readonly minLength: 1;
|
|
531
575
|
readonly type: 'string';
|
|
532
576
|
};
|
|
533
577
|
readonly assigned: {
|
|
@@ -554,7 +598,6 @@ export declare const $CreateConfigurationResult: {
|
|
|
554
598
|
readonly type: 'object';
|
|
555
599
|
readonly properties: {
|
|
556
600
|
readonly configurationId: {
|
|
557
|
-
readonly minLength: 1;
|
|
558
601
|
readonly type: 'string';
|
|
559
602
|
};
|
|
560
603
|
};
|
|
@@ -565,7 +608,6 @@ export declare const $CreateWorkerResult: {
|
|
|
565
608
|
readonly type: 'object';
|
|
566
609
|
readonly properties: {
|
|
567
610
|
readonly workerId: {
|
|
568
|
-
readonly minLength: 1;
|
|
569
611
|
readonly type: 'string';
|
|
570
612
|
};
|
|
571
613
|
};
|
|
@@ -587,16 +629,18 @@ export declare const $CursedArrayOfTelemetryCursorAndWorkflow: {
|
|
|
587
629
|
};
|
|
588
630
|
readonly additionalProperties: false;
|
|
589
631
|
};
|
|
632
|
+
export declare const $DownloadSource: {
|
|
633
|
+
readonly enum: readonly ['default', 'tigris'];
|
|
634
|
+
readonly type: 'string';
|
|
635
|
+
};
|
|
590
636
|
export declare const $DynamicAssignment: {
|
|
591
637
|
readonly required: readonly ['fromPath', 'toPath'];
|
|
592
638
|
readonly type: 'object';
|
|
593
639
|
readonly properties: {
|
|
594
640
|
readonly fromPath: {
|
|
595
|
-
readonly minLength: 1;
|
|
596
641
|
readonly type: 'string';
|
|
597
642
|
};
|
|
598
643
|
readonly toPath: {
|
|
599
|
-
readonly minLength: 1;
|
|
600
644
|
readonly type: 'string';
|
|
601
645
|
};
|
|
602
646
|
readonly defaultValue: {
|
|
@@ -610,7 +654,6 @@ export declare const $EchoInput: {
|
|
|
610
654
|
readonly type: 'object';
|
|
611
655
|
readonly properties: {
|
|
612
656
|
readonly message: {
|
|
613
|
-
readonly minLength: 1;
|
|
614
657
|
readonly type: 'string';
|
|
615
658
|
readonly description: 'The message to be returned in the output.';
|
|
616
659
|
};
|
|
@@ -623,7 +666,6 @@ export declare const $EchoOutput: {
|
|
|
623
666
|
readonly type: 'object';
|
|
624
667
|
readonly properties: {
|
|
625
668
|
readonly message: {
|
|
626
|
-
readonly minLength: 1;
|
|
627
669
|
readonly type: 'string';
|
|
628
670
|
readonly description: 'The message to be returned.';
|
|
629
671
|
};
|
|
@@ -632,95 +674,56 @@ export declare const $EchoOutput: {
|
|
|
632
674
|
readonly description: 'Represents the output information returned from the Echo workflow step.';
|
|
633
675
|
};
|
|
634
676
|
export declare const $EchoStep: {
|
|
635
|
-
readonly
|
|
636
|
-
readonly required: readonly ['$type', 'input', 'name'];
|
|
637
|
-
readonly type: 'object';
|
|
677
|
+
readonly required: readonly ['$type'];
|
|
638
678
|
readonly allOf: readonly [
|
|
639
679
|
{
|
|
640
680
|
readonly $ref: '#/components/schemas/WorkflowStep';
|
|
641
681
|
},
|
|
682
|
+
{
|
|
683
|
+
readonly required: readonly ['input'];
|
|
684
|
+
readonly type: 'object';
|
|
685
|
+
readonly properties: {
|
|
686
|
+
readonly input: {
|
|
687
|
+
readonly $ref: '#/components/schemas/EchoInput';
|
|
688
|
+
};
|
|
689
|
+
readonly output: {
|
|
690
|
+
readonly $ref: '#/components/schemas/EchoOutput';
|
|
691
|
+
};
|
|
692
|
+
};
|
|
693
|
+
readonly additionalProperties: false;
|
|
694
|
+
},
|
|
642
695
|
];
|
|
643
696
|
readonly properties: {
|
|
644
|
-
readonly name: {
|
|
645
|
-
readonly minLength: 1;
|
|
646
|
-
readonly type: 'string';
|
|
647
|
-
readonly description: 'The name of the workflow step. Used to allow steps to refer to one another.';
|
|
648
|
-
};
|
|
649
|
-
readonly priority: {
|
|
650
|
-
readonly $ref: '#/components/schemas/Priority';
|
|
651
|
-
};
|
|
652
|
-
readonly timeout: {
|
|
653
|
-
readonly type: 'string';
|
|
654
|
-
readonly description: 'The maximum time to wait for this step to complete.';
|
|
655
|
-
readonly nullable: true;
|
|
656
|
-
readonly example: '00:00:00';
|
|
657
|
-
};
|
|
658
|
-
readonly retries: {
|
|
659
|
-
readonly type: 'integer';
|
|
660
|
-
readonly description: 'The maximum number of times this step should be retried.';
|
|
661
|
-
readonly format: 'int32';
|
|
662
|
-
readonly nullable: true;
|
|
663
|
-
};
|
|
664
|
-
readonly jobs: {
|
|
665
|
-
readonly type: 'array';
|
|
666
|
-
readonly items: {
|
|
667
|
-
readonly $ref: '#/components/schemas/WorkflowStepJob';
|
|
668
|
-
};
|
|
669
|
-
readonly description: 'The jobs generated by this step.';
|
|
670
|
-
readonly nullable: true;
|
|
671
|
-
};
|
|
672
|
-
readonly status: {
|
|
673
|
-
readonly $ref: '#/components/schemas/WorkflowStatus';
|
|
674
|
-
};
|
|
675
|
-
readonly startedAt: {
|
|
676
|
-
readonly type: 'string';
|
|
677
|
-
readonly description: 'The date / time the step was started. Null if not yet started.';
|
|
678
|
-
readonly format: 'date-time';
|
|
679
|
-
readonly nullable: true;
|
|
680
|
-
};
|
|
681
|
-
readonly completedAt: {
|
|
682
|
-
readonly type: 'string';
|
|
683
|
-
readonly description: 'The date / time the step was completed. Null if not yet completed.';
|
|
684
|
-
readonly format: 'date-time';
|
|
685
|
-
readonly nullable: true;
|
|
686
|
-
};
|
|
687
|
-
readonly metadata: {
|
|
688
|
-
readonly type: 'object';
|
|
689
|
-
readonly additionalProperties: {};
|
|
690
|
-
readonly description: 'A collection of user defined metadata for the workflow step.';
|
|
691
|
-
};
|
|
692
|
-
readonly input: {
|
|
693
|
-
readonly $ref: '#/components/schemas/EchoInput';
|
|
694
|
-
};
|
|
695
|
-
readonly output: {
|
|
696
|
-
readonly $ref: '#/components/schemas/EchoOutput';
|
|
697
|
-
};
|
|
698
697
|
readonly $type: {
|
|
699
698
|
readonly enum: readonly ['echo'];
|
|
700
699
|
readonly type: 'string';
|
|
701
700
|
};
|
|
702
701
|
};
|
|
703
|
-
readonly
|
|
704
|
-
readonly description: 'This step is intended for testing purposes.';
|
|
702
|
+
readonly description: 'A workflow step that takes a message string and retuns it.';
|
|
705
703
|
};
|
|
706
704
|
export declare const $EchoStepTemplate: {
|
|
707
|
-
readonly required: readonly ['$type'
|
|
708
|
-
readonly type: 'object';
|
|
705
|
+
readonly required: readonly ['$type'];
|
|
709
706
|
readonly allOf: readonly [
|
|
710
707
|
{
|
|
711
708
|
readonly $ref: '#/components/schemas/WorkflowStepTemplate';
|
|
712
709
|
},
|
|
710
|
+
{
|
|
711
|
+
readonly required: readonly ['input'];
|
|
712
|
+
readonly type: 'object';
|
|
713
|
+
readonly properties: {
|
|
714
|
+
readonly input: {
|
|
715
|
+
readonly $ref: '#/components/schemas/EchoInput';
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
|
+
readonly additionalProperties: false;
|
|
719
|
+
},
|
|
713
720
|
];
|
|
714
721
|
readonly properties: {
|
|
715
722
|
readonly $type: {
|
|
716
723
|
readonly enum: readonly ['echo'];
|
|
717
724
|
readonly type: 'string';
|
|
718
725
|
};
|
|
719
|
-
readonly input: {
|
|
720
|
-
readonly $ref: '#/components/schemas/EchoInput';
|
|
721
|
-
};
|
|
722
726
|
};
|
|
723
|
-
readonly additionalProperties: false;
|
|
724
727
|
};
|
|
725
728
|
export declare const $EcosystemElement: {
|
|
726
729
|
readonly type: 'object';
|
|
@@ -737,7 +740,6 @@ export declare const $EpochResult: {
|
|
|
737
740
|
readonly format: 'int32';
|
|
738
741
|
};
|
|
739
742
|
readonly blobName: {
|
|
740
|
-
readonly minLength: 1;
|
|
741
743
|
readonly type: 'string';
|
|
742
744
|
readonly description: 'Get the name of the generated epoch assets';
|
|
743
745
|
};
|
|
@@ -774,19 +776,207 @@ export declare const $FileFormat: {
|
|
|
774
776
|
};
|
|
775
777
|
export declare const $FluxDevFastImageResourceTrainingInput: {
|
|
776
778
|
readonly required: readonly ['engine'];
|
|
777
|
-
readonly type: 'object';
|
|
778
779
|
readonly allOf: readonly [
|
|
779
780
|
{
|
|
780
781
|
readonly $ref: '#/components/schemas/ImageResourceTrainingInput';
|
|
781
782
|
},
|
|
783
|
+
{
|
|
784
|
+
readonly type: 'object';
|
|
785
|
+
readonly additionalProperties: false;
|
|
786
|
+
},
|
|
787
|
+
];
|
|
788
|
+
readonly properties: {
|
|
789
|
+
readonly engine: {
|
|
790
|
+
readonly enum: readonly ['flux-dev-fast'];
|
|
791
|
+
readonly type: 'string';
|
|
792
|
+
};
|
|
793
|
+
};
|
|
794
|
+
};
|
|
795
|
+
export declare const $GateJob: {
|
|
796
|
+
readonly required: readonly ['$type'];
|
|
797
|
+
readonly allOf: readonly [
|
|
798
|
+
{
|
|
799
|
+
readonly $ref: '#/components/schemas/Job';
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
readonly type: 'object';
|
|
803
|
+
readonly properties: {
|
|
804
|
+
readonly type: {
|
|
805
|
+
readonly type: 'string';
|
|
806
|
+
readonly readOnly: true;
|
|
807
|
+
};
|
|
808
|
+
};
|
|
809
|
+
readonly additionalProperties: false;
|
|
810
|
+
},
|
|
811
|
+
];
|
|
812
|
+
readonly properties: {
|
|
813
|
+
readonly $type: {
|
|
814
|
+
readonly enum: readonly ['gate'];
|
|
815
|
+
readonly type: 'string';
|
|
816
|
+
};
|
|
817
|
+
};
|
|
818
|
+
};
|
|
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'];
|
|
837
|
+
readonly allOf: readonly [
|
|
838
|
+
{
|
|
839
|
+
readonly $ref: '#/components/schemas/VideoGenInput';
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
readonly type: 'object';
|
|
843
|
+
readonly properties: {
|
|
844
|
+
readonly negativePrompt: {
|
|
845
|
+
readonly type: 'string';
|
|
846
|
+
readonly nullable: true;
|
|
847
|
+
};
|
|
848
|
+
readonly cameraMovement: {
|
|
849
|
+
readonly $ref: '#/components/schemas/HaiperVideoGenCameraMovement';
|
|
850
|
+
};
|
|
851
|
+
readonly seed: {
|
|
852
|
+
readonly maximum: 4294967295;
|
|
853
|
+
readonly minimum: -1;
|
|
854
|
+
readonly type: 'integer';
|
|
855
|
+
readonly format: 'int64';
|
|
856
|
+
};
|
|
857
|
+
readonly duration: {
|
|
858
|
+
readonly type: 'integer';
|
|
859
|
+
readonly format: 'int32';
|
|
860
|
+
};
|
|
861
|
+
readonly aspectRatio: {
|
|
862
|
+
readonly $ref: '#/components/schemas/HaiperVideoGenAspectRatio';
|
|
863
|
+
};
|
|
864
|
+
readonly sourceImageUrl: {
|
|
865
|
+
readonly type: 'string';
|
|
866
|
+
readonly format: 'uri';
|
|
867
|
+
readonly nullable: true;
|
|
868
|
+
};
|
|
869
|
+
readonly model: {
|
|
870
|
+
readonly $ref: '#/components/schemas/HaiperVideoGenModel';
|
|
871
|
+
};
|
|
872
|
+
readonly resolution: {
|
|
873
|
+
readonly type: 'integer';
|
|
874
|
+
readonly format: 'int32';
|
|
875
|
+
};
|
|
876
|
+
};
|
|
877
|
+
readonly additionalProperties: false;
|
|
878
|
+
},
|
|
879
|
+
];
|
|
880
|
+
readonly properties: {
|
|
881
|
+
readonly engine: {
|
|
882
|
+
readonly enum: readonly ['haiper'];
|
|
883
|
+
readonly type: 'string';
|
|
884
|
+
};
|
|
885
|
+
};
|
|
886
|
+
};
|
|
887
|
+
export declare const $HaiperVideoGenJob: {
|
|
888
|
+
readonly required: readonly ['$type'];
|
|
889
|
+
readonly allOf: readonly [
|
|
890
|
+
{
|
|
891
|
+
readonly $ref: '#/components/schemas/Job';
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
readonly required: readonly ['destinationUrl', 'mediaHash', 'prompt'];
|
|
895
|
+
readonly type: 'object';
|
|
896
|
+
readonly properties: {
|
|
897
|
+
readonly mediaHash: {
|
|
898
|
+
readonly type: 'string';
|
|
899
|
+
};
|
|
900
|
+
readonly prompt: {
|
|
901
|
+
readonly type: 'string';
|
|
902
|
+
};
|
|
903
|
+
readonly negativePrompt: {
|
|
904
|
+
readonly type: 'string';
|
|
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';
|
|
919
|
+
};
|
|
920
|
+
readonly aspectRatio: {
|
|
921
|
+
readonly $ref: '#/components/schemas/HaiperVideoGenAspectRatio';
|
|
922
|
+
};
|
|
923
|
+
readonly destinationUrl: {
|
|
924
|
+
readonly type: 'string';
|
|
925
|
+
readonly format: 'uri';
|
|
926
|
+
};
|
|
927
|
+
readonly sourceImageUrl: {
|
|
928
|
+
readonly type: 'string';
|
|
929
|
+
readonly format: 'uri';
|
|
930
|
+
readonly nullable: true;
|
|
931
|
+
};
|
|
932
|
+
readonly model: {
|
|
933
|
+
readonly $ref: '#/components/schemas/HaiperVideoGenModel';
|
|
934
|
+
};
|
|
935
|
+
readonly resolution: {
|
|
936
|
+
readonly type: 'integer';
|
|
937
|
+
readonly format: 'int32';
|
|
938
|
+
};
|
|
939
|
+
readonly claimDuration: {
|
|
940
|
+
readonly type: 'string';
|
|
941
|
+
readonly format: 'date-span';
|
|
942
|
+
readonly readOnly: true;
|
|
943
|
+
};
|
|
944
|
+
readonly type: {
|
|
945
|
+
readonly type: 'string';
|
|
946
|
+
readonly readOnly: true;
|
|
947
|
+
};
|
|
948
|
+
};
|
|
949
|
+
readonly additionalProperties: false;
|
|
950
|
+
},
|
|
951
|
+
];
|
|
952
|
+
readonly properties: {
|
|
953
|
+
readonly $type: {
|
|
954
|
+
readonly enum: readonly ['haiper'];
|
|
955
|
+
readonly type: 'string';
|
|
956
|
+
};
|
|
957
|
+
};
|
|
958
|
+
};
|
|
959
|
+
export declare const $HaiperVideoGenModel: {
|
|
960
|
+
readonly enum: readonly ['v1_5', 'v2'];
|
|
961
|
+
readonly type: 'string';
|
|
962
|
+
};
|
|
963
|
+
export declare const $HaiperVideoGenOutput: {
|
|
964
|
+
readonly allOf: readonly [
|
|
965
|
+
{
|
|
966
|
+
readonly $ref: '#/components/schemas/VideoGenOutput';
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
readonly type: 'object';
|
|
970
|
+
readonly properties: {
|
|
971
|
+
readonly progress: {
|
|
972
|
+
readonly type: 'number';
|
|
973
|
+
readonly format: 'double';
|
|
974
|
+
readonly nullable: true;
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
|
+
readonly additionalProperties: false;
|
|
978
|
+
},
|
|
782
979
|
];
|
|
783
|
-
readonly properties: {
|
|
784
|
-
readonly engine: {
|
|
785
|
-
readonly enum: readonly ['flux-dev-fast'];
|
|
786
|
-
readonly type: 'string';
|
|
787
|
-
};
|
|
788
|
-
};
|
|
789
|
-
readonly additionalProperties: false;
|
|
790
980
|
};
|
|
791
981
|
export declare const $HumanoidImageMaskCategory: {
|
|
792
982
|
readonly enum: readonly ['dresses', 'upperBody', 'lowerBody'];
|
|
@@ -806,6 +996,46 @@ export declare const $HumanoidImageMaskInput: {
|
|
|
806
996
|
};
|
|
807
997
|
readonly additionalProperties: false;
|
|
808
998
|
};
|
|
999
|
+
export declare const $HumanoidImageMaskJob: {
|
|
1000
|
+
readonly required: readonly ['$type'];
|
|
1001
|
+
readonly allOf: readonly [
|
|
1002
|
+
{
|
|
1003
|
+
readonly $ref: '#/components/schemas/Job';
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
readonly required: readonly ['category', 'destinationBlobKey', 'imageUrl'];
|
|
1007
|
+
readonly type: 'object';
|
|
1008
|
+
readonly properties: {
|
|
1009
|
+
readonly imageUrl: {
|
|
1010
|
+
readonly type: 'string';
|
|
1011
|
+
readonly format: 'uri';
|
|
1012
|
+
};
|
|
1013
|
+
readonly category: {
|
|
1014
|
+
readonly $ref: '#/components/schemas/HumanoidImageMaskCategory';
|
|
1015
|
+
};
|
|
1016
|
+
readonly destinationBlobKey: {
|
|
1017
|
+
readonly type: 'string';
|
|
1018
|
+
};
|
|
1019
|
+
readonly type: {
|
|
1020
|
+
readonly type: 'string';
|
|
1021
|
+
readonly readOnly: true;
|
|
1022
|
+
};
|
|
1023
|
+
readonly claimDuration: {
|
|
1024
|
+
readonly type: 'string';
|
|
1025
|
+
readonly format: 'date-span';
|
|
1026
|
+
readonly readOnly: true;
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
readonly additionalProperties: false;
|
|
1030
|
+
},
|
|
1031
|
+
];
|
|
1032
|
+
readonly properties: {
|
|
1033
|
+
readonly $type: {
|
|
1034
|
+
readonly enum: readonly ['humanoidImageMask'];
|
|
1035
|
+
readonly type: 'string';
|
|
1036
|
+
};
|
|
1037
|
+
};
|
|
1038
|
+
};
|
|
809
1039
|
export declare const $HumanoidImageMaskOutput: {
|
|
810
1040
|
readonly required: readonly ['blob'];
|
|
811
1041
|
readonly type: 'object';
|
|
@@ -817,93 +1047,83 @@ export declare const $HumanoidImageMaskOutput: {
|
|
|
817
1047
|
readonly additionalProperties: false;
|
|
818
1048
|
};
|
|
819
1049
|
export declare const $HumanoidImageMaskStep: {
|
|
820
|
-
readonly required: readonly ['$type'
|
|
821
|
-
readonly type: 'object';
|
|
1050
|
+
readonly required: readonly ['$type'];
|
|
822
1051
|
readonly allOf: readonly [
|
|
823
1052
|
{
|
|
824
1053
|
readonly $ref: '#/components/schemas/WorkflowStep';
|
|
825
1054
|
},
|
|
1055
|
+
{
|
|
1056
|
+
readonly required: readonly ['input'];
|
|
1057
|
+
readonly type: 'object';
|
|
1058
|
+
readonly properties: {
|
|
1059
|
+
readonly input: {
|
|
1060
|
+
readonly $ref: '#/components/schemas/HumanoidImageMaskInput';
|
|
1061
|
+
};
|
|
1062
|
+
readonly output: {
|
|
1063
|
+
readonly $ref: '#/components/schemas/HumanoidImageMaskOutput';
|
|
1064
|
+
};
|
|
1065
|
+
};
|
|
1066
|
+
readonly additionalProperties: false;
|
|
1067
|
+
},
|
|
826
1068
|
];
|
|
827
1069
|
readonly properties: {
|
|
828
|
-
readonly name: {
|
|
829
|
-
readonly minLength: 1;
|
|
830
|
-
readonly type: 'string';
|
|
831
|
-
readonly description: 'The name of the workflow step. Used to allow steps to refer to one another.';
|
|
832
|
-
};
|
|
833
|
-
readonly priority: {
|
|
834
|
-
readonly $ref: '#/components/schemas/Priority';
|
|
835
|
-
};
|
|
836
|
-
readonly timeout: {
|
|
837
|
-
readonly type: 'string';
|
|
838
|
-
readonly description: 'The maximum time to wait for this step to complete.';
|
|
839
|
-
readonly nullable: true;
|
|
840
|
-
readonly example: '00:00:00';
|
|
841
|
-
};
|
|
842
|
-
readonly retries: {
|
|
843
|
-
readonly type: 'integer';
|
|
844
|
-
readonly description: 'The maximum number of times this step should be retried.';
|
|
845
|
-
readonly format: 'int32';
|
|
846
|
-
readonly nullable: true;
|
|
847
|
-
};
|
|
848
|
-
readonly jobs: {
|
|
849
|
-
readonly type: 'array';
|
|
850
|
-
readonly items: {
|
|
851
|
-
readonly $ref: '#/components/schemas/WorkflowStepJob';
|
|
852
|
-
};
|
|
853
|
-
readonly description: 'The jobs generated by this step.';
|
|
854
|
-
readonly nullable: true;
|
|
855
|
-
};
|
|
856
|
-
readonly status: {
|
|
857
|
-
readonly $ref: '#/components/schemas/WorkflowStatus';
|
|
858
|
-
};
|
|
859
|
-
readonly startedAt: {
|
|
860
|
-
readonly type: 'string';
|
|
861
|
-
readonly description: 'The date / time the step was started. Null if not yet started.';
|
|
862
|
-
readonly format: 'date-time';
|
|
863
|
-
readonly nullable: true;
|
|
864
|
-
};
|
|
865
|
-
readonly completedAt: {
|
|
866
|
-
readonly type: 'string';
|
|
867
|
-
readonly description: 'The date / time the step was completed. Null if not yet completed.';
|
|
868
|
-
readonly format: 'date-time';
|
|
869
|
-
readonly nullable: true;
|
|
870
|
-
};
|
|
871
|
-
readonly metadata: {
|
|
872
|
-
readonly type: 'object';
|
|
873
|
-
readonly additionalProperties: {};
|
|
874
|
-
readonly description: 'A collection of user defined metadata for the workflow step.';
|
|
875
|
-
};
|
|
876
|
-
readonly input: {
|
|
877
|
-
readonly $ref: '#/components/schemas/HumanoidImageMaskInput';
|
|
878
|
-
};
|
|
879
|
-
readonly output: {
|
|
880
|
-
readonly $ref: '#/components/schemas/HumanoidImageMaskOutput';
|
|
881
|
-
};
|
|
882
1070
|
readonly $type: {
|
|
883
1071
|
readonly enum: readonly ['humanoidImageMask'];
|
|
884
1072
|
readonly type: 'string';
|
|
885
1073
|
};
|
|
886
1074
|
};
|
|
887
|
-
readonly additionalProperties: false;
|
|
888
1075
|
};
|
|
889
1076
|
export declare const $HumanoidImageMaskStepTemplate: {
|
|
890
|
-
readonly required: readonly ['$type'
|
|
891
|
-
readonly type: 'object';
|
|
1077
|
+
readonly required: readonly ['$type'];
|
|
892
1078
|
readonly allOf: readonly [
|
|
893
1079
|
{
|
|
894
1080
|
readonly $ref: '#/components/schemas/WorkflowStepTemplate';
|
|
895
1081
|
},
|
|
1082
|
+
{
|
|
1083
|
+
readonly required: readonly ['input'];
|
|
1084
|
+
readonly type: 'object';
|
|
1085
|
+
readonly properties: {
|
|
1086
|
+
readonly input: {
|
|
1087
|
+
readonly $ref: '#/components/schemas/HumanoidImageMaskInput';
|
|
1088
|
+
};
|
|
1089
|
+
};
|
|
1090
|
+
readonly additionalProperties: false;
|
|
1091
|
+
},
|
|
896
1092
|
];
|
|
897
1093
|
readonly properties: {
|
|
898
1094
|
readonly $type: {
|
|
899
1095
|
readonly enum: readonly ['humanoidImageMask'];
|
|
900
1096
|
readonly type: 'string';
|
|
901
1097
|
};
|
|
902
|
-
|
|
903
|
-
|
|
1098
|
+
};
|
|
1099
|
+
};
|
|
1100
|
+
export declare const $ImageEmbeddingJob: {
|
|
1101
|
+
readonly required: readonly ['$type'];
|
|
1102
|
+
readonly allOf: readonly [
|
|
1103
|
+
{
|
|
1104
|
+
readonly $ref: '#/components/schemas/Job';
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
readonly required: readonly ['imageUrl'];
|
|
1108
|
+
readonly type: 'object';
|
|
1109
|
+
readonly properties: {
|
|
1110
|
+
readonly imageUrl: {
|
|
1111
|
+
readonly type: 'string';
|
|
1112
|
+
};
|
|
1113
|
+
readonly type: {
|
|
1114
|
+
readonly type: 'string';
|
|
1115
|
+
readonly readOnly: true;
|
|
1116
|
+
};
|
|
1117
|
+
};
|
|
1118
|
+
readonly additionalProperties: false;
|
|
1119
|
+
},
|
|
1120
|
+
];
|
|
1121
|
+
readonly properties: {
|
|
1122
|
+
readonly $type: {
|
|
1123
|
+
readonly enum: readonly ['imageEmbedding'];
|
|
1124
|
+
readonly type: 'string';
|
|
904
1125
|
};
|
|
905
1126
|
};
|
|
906
|
-
readonly additionalProperties: false;
|
|
907
1127
|
};
|
|
908
1128
|
export declare const $ImageJobControlNet: {
|
|
909
1129
|
readonly type: 'object';
|
|
@@ -1064,56 +1284,67 @@ export declare const $ImageResourceTrainingInput: {
|
|
|
1064
1284
|
readonly discriminator: {
|
|
1065
1285
|
readonly propertyName: 'engine';
|
|
1066
1286
|
readonly mapping: {
|
|
1067
|
-
readonly 'flux-dev-fast': '#/components/schemas/FluxDevFastImageResourceTrainingInput';
|
|
1068
1287
|
readonly kohya: '#/components/schemas/KohyaImageResourceTrainingInput';
|
|
1288
|
+
readonly 'flux-dev-fast': '#/components/schemas/FluxDevFastImageResourceTrainingInput';
|
|
1069
1289
|
};
|
|
1070
1290
|
};
|
|
1071
1291
|
};
|
|
1072
1292
|
export declare const $ImageResourceTrainingJob: {
|
|
1073
|
-
readonly required: readonly ['$type'
|
|
1074
|
-
readonly type: 'object';
|
|
1293
|
+
readonly required: readonly ['$type'];
|
|
1075
1294
|
readonly allOf: readonly [
|
|
1076
1295
|
{
|
|
1077
1296
|
readonly $ref: '#/components/schemas/Job';
|
|
1078
1297
|
},
|
|
1298
|
+
{
|
|
1299
|
+
readonly required: readonly ['model', 'params', 'trainingData'];
|
|
1300
|
+
readonly type: 'object';
|
|
1301
|
+
readonly properties: {
|
|
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';
|
|
1316
|
+
};
|
|
1317
|
+
readonly output: {
|
|
1318
|
+
readonly type: 'string';
|
|
1319
|
+
readonly description: 'An application provided output of the current status of this job';
|
|
1320
|
+
readonly nullable: true;
|
|
1321
|
+
};
|
|
1322
|
+
readonly engine: {
|
|
1323
|
+
readonly type: 'string';
|
|
1324
|
+
readonly description: 'The engine that should be used for training';
|
|
1325
|
+
readonly nullable: true;
|
|
1326
|
+
};
|
|
1327
|
+
readonly type: {
|
|
1328
|
+
readonly type: 'string';
|
|
1329
|
+
readonly description: 'The job type.';
|
|
1330
|
+
readonly readOnly: true;
|
|
1331
|
+
};
|
|
1332
|
+
readonly claimDuration: {
|
|
1333
|
+
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;
|
|
1337
|
+
};
|
|
1338
|
+
};
|
|
1339
|
+
readonly additionalProperties: false;
|
|
1340
|
+
},
|
|
1079
1341
|
];
|
|
1080
1342
|
readonly properties: {
|
|
1081
|
-
readonly model: {
|
|
1082
|
-
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_\\-]+))?$';
|
|
1083
|
-
readonly type: 'string';
|
|
1084
|
-
readonly description: 'An AIR representing the model to use.';
|
|
1085
|
-
};
|
|
1086
|
-
readonly trainingData: {
|
|
1087
|
-
readonly type: 'string';
|
|
1088
|
-
readonly description: 'A url referring data that needs to be trained upon';
|
|
1089
|
-
readonly format: 'uri';
|
|
1090
|
-
};
|
|
1091
|
-
readonly params: {
|
|
1092
|
-
readonly type: 'object';
|
|
1093
|
-
readonly additionalProperties: {};
|
|
1094
|
-
readonly description: 'A untyped set of parameters that are associated with this job';
|
|
1095
|
-
};
|
|
1096
|
-
readonly output: {
|
|
1097
|
-
readonly type: 'string';
|
|
1098
|
-
readonly description: 'An application provided output of the current status of this job';
|
|
1099
|
-
readonly nullable: true;
|
|
1100
|
-
};
|
|
1101
|
-
readonly engine: {
|
|
1102
|
-
readonly type: 'string';
|
|
1103
|
-
readonly description: 'The engine that should be used for training';
|
|
1104
|
-
readonly nullable: true;
|
|
1105
|
-
};
|
|
1106
1343
|
readonly $type: {
|
|
1107
|
-
readonly enum: readonly ['
|
|
1108
|
-
readonly type: 'string';
|
|
1109
|
-
};
|
|
1110
|
-
readonly claimDuration: {
|
|
1344
|
+
readonly enum: readonly ['imageResourceTraining'];
|
|
1111
1345
|
readonly type: 'string';
|
|
1112
|
-
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";
|
|
1113
|
-
readonly example: '00:00:00';
|
|
1114
1346
|
};
|
|
1115
1347
|
};
|
|
1116
|
-
readonly additionalProperties: false;
|
|
1117
1348
|
};
|
|
1118
1349
|
export declare const $ImageResourceTrainingOutput: {
|
|
1119
1350
|
readonly required: readonly ['epochs', 'moderationStatus', 'sampleImagesPrompts'];
|
|
@@ -1151,94 +1382,103 @@ export declare const $ImageResourceTrainingOutput: {
|
|
|
1151
1382
|
readonly additionalProperties: false;
|
|
1152
1383
|
};
|
|
1153
1384
|
export declare const $ImageResourceTrainingStep: {
|
|
1154
|
-
readonly required: readonly ['$type'
|
|
1155
|
-
readonly type: 'object';
|
|
1385
|
+
readonly required: readonly ['$type'];
|
|
1156
1386
|
readonly allOf: readonly [
|
|
1157
1387
|
{
|
|
1158
1388
|
readonly $ref: '#/components/schemas/WorkflowStep';
|
|
1159
1389
|
},
|
|
1390
|
+
{
|
|
1391
|
+
readonly required: readonly ['input'];
|
|
1392
|
+
readonly type: 'object';
|
|
1393
|
+
readonly properties: {
|
|
1394
|
+
readonly input: {
|
|
1395
|
+
readonly $ref: '#/components/schemas/ImageResourceTrainingInput';
|
|
1396
|
+
};
|
|
1397
|
+
readonly output: {
|
|
1398
|
+
readonly $ref: '#/components/schemas/ImageResourceTrainingOutput';
|
|
1399
|
+
};
|
|
1400
|
+
};
|
|
1401
|
+
readonly additionalProperties: false;
|
|
1402
|
+
},
|
|
1160
1403
|
];
|
|
1161
1404
|
readonly properties: {
|
|
1162
|
-
readonly name: {
|
|
1163
|
-
readonly minLength: 1;
|
|
1164
|
-
readonly type: 'string';
|
|
1165
|
-
readonly description: 'The name of the workflow step. Used to allow steps to refer to one another.';
|
|
1166
|
-
};
|
|
1167
|
-
readonly priority: {
|
|
1168
|
-
readonly $ref: '#/components/schemas/Priority';
|
|
1169
|
-
};
|
|
1170
|
-
readonly timeout: {
|
|
1171
|
-
readonly type: 'string';
|
|
1172
|
-
readonly description: 'The maximum time to wait for this step to complete.';
|
|
1173
|
-
readonly nullable: true;
|
|
1174
|
-
readonly example: '00:00:00';
|
|
1175
|
-
};
|
|
1176
|
-
readonly retries: {
|
|
1177
|
-
readonly type: 'integer';
|
|
1178
|
-
readonly description: 'The maximum number of times this step should be retried.';
|
|
1179
|
-
readonly format: 'int32';
|
|
1180
|
-
readonly nullable: true;
|
|
1181
|
-
};
|
|
1182
|
-
readonly jobs: {
|
|
1183
|
-
readonly type: 'array';
|
|
1184
|
-
readonly items: {
|
|
1185
|
-
readonly $ref: '#/components/schemas/WorkflowStepJob';
|
|
1186
|
-
};
|
|
1187
|
-
readonly description: 'The jobs generated by this step.';
|
|
1188
|
-
readonly nullable: true;
|
|
1189
|
-
};
|
|
1190
|
-
readonly status: {
|
|
1191
|
-
readonly $ref: '#/components/schemas/WorkflowStatus';
|
|
1192
|
-
};
|
|
1193
|
-
readonly startedAt: {
|
|
1194
|
-
readonly type: 'string';
|
|
1195
|
-
readonly description: 'The date / time the step was started. Null if not yet started.';
|
|
1196
|
-
readonly format: 'date-time';
|
|
1197
|
-
readonly nullable: true;
|
|
1198
|
-
};
|
|
1199
|
-
readonly completedAt: {
|
|
1200
|
-
readonly type: 'string';
|
|
1201
|
-
readonly description: 'The date / time the step was completed. Null if not yet completed.';
|
|
1202
|
-
readonly format: 'date-time';
|
|
1203
|
-
readonly nullable: true;
|
|
1204
|
-
};
|
|
1205
|
-
readonly metadata: {
|
|
1206
|
-
readonly type: 'object';
|
|
1207
|
-
readonly additionalProperties: {};
|
|
1208
|
-
readonly description: 'A collection of user defined metadata for the workflow step.';
|
|
1209
|
-
};
|
|
1210
|
-
readonly input: {
|
|
1211
|
-
readonly $ref: '#/components/schemas/ImageResourceTrainingInput';
|
|
1212
|
-
};
|
|
1213
|
-
readonly output: {
|
|
1214
|
-
readonly $ref: '#/components/schemas/ImageResourceTrainingOutput';
|
|
1215
|
-
};
|
|
1216
1405
|
readonly $type: {
|
|
1217
1406
|
readonly enum: readonly ['imageResourceTraining'];
|
|
1218
1407
|
readonly type: 'string';
|
|
1219
1408
|
};
|
|
1220
1409
|
};
|
|
1221
|
-
readonly additionalProperties: false;
|
|
1222
1410
|
readonly description: 'A workflow step for training image resources.';
|
|
1223
1411
|
};
|
|
1224
1412
|
export declare const $ImageResourceTrainingStepTemplate: {
|
|
1225
|
-
readonly required: readonly ['$type'
|
|
1226
|
-
readonly type: 'object';
|
|
1413
|
+
readonly required: readonly ['$type'];
|
|
1227
1414
|
readonly allOf: readonly [
|
|
1228
1415
|
{
|
|
1229
1416
|
readonly $ref: '#/components/schemas/WorkflowStepTemplate';
|
|
1230
1417
|
},
|
|
1418
|
+
{
|
|
1419
|
+
readonly required: readonly ['input'];
|
|
1420
|
+
readonly type: 'object';
|
|
1421
|
+
readonly properties: {
|
|
1422
|
+
readonly input: {
|
|
1423
|
+
readonly $ref: '#/components/schemas/ImageResourceTrainingInput';
|
|
1424
|
+
};
|
|
1425
|
+
};
|
|
1426
|
+
readonly additionalProperties: false;
|
|
1427
|
+
},
|
|
1231
1428
|
];
|
|
1232
1429
|
readonly properties: {
|
|
1233
1430
|
readonly $type: {
|
|
1234
1431
|
readonly enum: readonly ['imageResourceTraining'];
|
|
1235
1432
|
readonly type: 'string';
|
|
1236
1433
|
};
|
|
1237
|
-
|
|
1238
|
-
|
|
1434
|
+
};
|
|
1435
|
+
};
|
|
1436
|
+
export declare const $ImageTransformJob: {
|
|
1437
|
+
readonly required: readonly ['$type'];
|
|
1438
|
+
readonly allOf: readonly [
|
|
1439
|
+
{
|
|
1440
|
+
readonly $ref: '#/components/schemas/Job';
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
readonly type: 'object';
|
|
1444
|
+
readonly properties: {
|
|
1445
|
+
readonly imageUrl: {
|
|
1446
|
+
readonly type: 'string';
|
|
1447
|
+
readonly description: 'The url of the image to transform';
|
|
1448
|
+
readonly format: 'uri';
|
|
1449
|
+
};
|
|
1450
|
+
readonly transformer: {
|
|
1451
|
+
readonly $ref: '#/components/schemas/ImageTransformer';
|
|
1452
|
+
};
|
|
1453
|
+
readonly destinationBlobKey: {
|
|
1454
|
+
readonly type: 'string';
|
|
1455
|
+
readonly description: 'Get the key of the destination blob to upload the result to';
|
|
1456
|
+
};
|
|
1457
|
+
readonly params: {
|
|
1458
|
+
readonly type: 'object';
|
|
1459
|
+
readonly additionalProperties: {};
|
|
1460
|
+
readonly description: 'A untyped set of parameters that are associated with this job';
|
|
1461
|
+
};
|
|
1462
|
+
readonly destinationUrl: {
|
|
1463
|
+
readonly type: 'string';
|
|
1464
|
+
readonly description: 'Get or set the URL where the transformed image will be uploaded to';
|
|
1465
|
+
readonly format: 'uri';
|
|
1466
|
+
readonly nullable: true;
|
|
1467
|
+
};
|
|
1468
|
+
readonly type: {
|
|
1469
|
+
readonly type: 'string';
|
|
1470
|
+
readonly readOnly: true;
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
1473
|
+
readonly additionalProperties: false;
|
|
1474
|
+
},
|
|
1475
|
+
];
|
|
1476
|
+
readonly properties: {
|
|
1477
|
+
readonly $type: {
|
|
1478
|
+
readonly enum: readonly ['imageTransform'];
|
|
1479
|
+
readonly type: 'string';
|
|
1239
1480
|
};
|
|
1240
1481
|
};
|
|
1241
|
-
readonly additionalProperties: false;
|
|
1242
1482
|
};
|
|
1243
1483
|
export declare const $ImageTransformer: {
|
|
1244
1484
|
readonly enum: readonly ['canny', 'depthZoe', 'softedgePidinet', 'rembg'];
|
|
@@ -1299,7 +1539,6 @@ export declare const $Job: {
|
|
|
1299
1539
|
readonly items: {
|
|
1300
1540
|
readonly $ref: '#/components/schemas/DynamicAssignment';
|
|
1301
1541
|
};
|
|
1302
|
-
readonly nullable: true;
|
|
1303
1542
|
};
|
|
1304
1543
|
readonly description: 'Get or set a list of dependencies that this job has';
|
|
1305
1544
|
};
|
|
@@ -1324,7 +1563,7 @@ export declare const $Job: {
|
|
|
1324
1563
|
readonly claimDuration: {
|
|
1325
1564
|
readonly type: 'string';
|
|
1326
1565
|
readonly description: 'The total duration that the job can be claimed';
|
|
1327
|
-
readonly
|
|
1566
|
+
readonly format: 'date-span';
|
|
1328
1567
|
};
|
|
1329
1568
|
readonly resources: {
|
|
1330
1569
|
readonly type: 'array';
|
|
@@ -1343,11 +1582,24 @@ export declare const $Job: {
|
|
|
1343
1582
|
readonly discriminator: {
|
|
1344
1583
|
readonly propertyName: '$type';
|
|
1345
1584
|
readonly mapping: {
|
|
1346
|
-
readonly
|
|
1347
|
-
readonly
|
|
1348
|
-
readonly
|
|
1349
|
-
readonly
|
|
1350
|
-
readonly
|
|
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';
|
|
1351
1603
|
};
|
|
1352
1604
|
};
|
|
1353
1605
|
};
|
|
@@ -1431,152 +1683,157 @@ export declare const $JsonPatchOperation: {
|
|
|
1431
1683
|
};
|
|
1432
1684
|
export declare const $KohyaImageResourceTrainingInput: {
|
|
1433
1685
|
readonly required: readonly ['engine'];
|
|
1434
|
-
readonly type: 'object';
|
|
1435
1686
|
readonly allOf: readonly [
|
|
1436
1687
|
{
|
|
1437
1688
|
readonly $ref: '#/components/schemas/ImageResourceTrainingInput';
|
|
1438
1689
|
},
|
|
1690
|
+
{
|
|
1691
|
+
readonly type: 'object';
|
|
1692
|
+
readonly properties: {
|
|
1693
|
+
readonly maxTrainEpochs: {
|
|
1694
|
+
readonly maximum: 20;
|
|
1695
|
+
readonly minimum: 0;
|
|
1696
|
+
readonly type: 'integer';
|
|
1697
|
+
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.';
|
|
1698
|
+
readonly format: 'int32';
|
|
1699
|
+
readonly default: 5;
|
|
1700
|
+
};
|
|
1701
|
+
readonly numRepeats: {
|
|
1702
|
+
readonly maximum: 5000;
|
|
1703
|
+
readonly minimum: 1;
|
|
1704
|
+
readonly type: 'integer';
|
|
1705
|
+
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.';
|
|
1706
|
+
readonly format: 'int32';
|
|
1707
|
+
readonly default: 8;
|
|
1708
|
+
};
|
|
1709
|
+
readonly trainBatchSize: {
|
|
1710
|
+
readonly maximum: 9;
|
|
1711
|
+
readonly minimum: 1;
|
|
1712
|
+
readonly type: 'integer';
|
|
1713
|
+
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.';
|
|
1714
|
+
readonly format: 'int32';
|
|
1715
|
+
readonly nullable: true;
|
|
1716
|
+
};
|
|
1717
|
+
readonly resolution: {
|
|
1718
|
+
readonly maximum: 1024;
|
|
1719
|
+
readonly minimum: 512;
|
|
1720
|
+
readonly type: 'integer';
|
|
1721
|
+
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';
|
|
1722
|
+
readonly format: 'int32';
|
|
1723
|
+
readonly nullable: true;
|
|
1724
|
+
};
|
|
1725
|
+
readonly enableBucket: {
|
|
1726
|
+
readonly type: 'boolean';
|
|
1727
|
+
readonly description: 'Sorts images into buckets by size for the purposes of training. If your training images are all the same size, you can turn this option off, but leaving it on has no effect.';
|
|
1728
|
+
readonly default: true;
|
|
1729
|
+
};
|
|
1730
|
+
readonly shuffleCaption: {
|
|
1731
|
+
readonly type: 'boolean';
|
|
1732
|
+
readonly description: 'Randomly changes the order of your tags during training. The intent of shuffling is to improve learning. If you are using captions (sentences), this option has no meaning.';
|
|
1733
|
+
readonly default: false;
|
|
1734
|
+
};
|
|
1735
|
+
readonly keepTokens: {
|
|
1736
|
+
readonly maximum: 3;
|
|
1737
|
+
readonly minimum: 0;
|
|
1738
|
+
readonly type: 'integer';
|
|
1739
|
+
readonly description: 'If your training images have tags, you can randomly shuffle them. \nHowever, if you have words that you want to keep at the beginning, you can use this option to specify "Keep the first 0 words at the beginning".\nThis option does nothing if the Shuffle Tags option is off.';
|
|
1740
|
+
readonly format: 'int32';
|
|
1741
|
+
readonly default: 0;
|
|
1742
|
+
};
|
|
1743
|
+
readonly clipSkip: {
|
|
1744
|
+
readonly maximum: 4;
|
|
1745
|
+
readonly minimum: 1;
|
|
1746
|
+
readonly type: 'integer';
|
|
1747
|
+
readonly description: 'Determines which layer\'s vector output will be used. There are 12 layers, and setting the skip will select "xth from the end" of the total layers. For anime, we use 2. For everything else, 1.';
|
|
1748
|
+
readonly format: 'int32';
|
|
1749
|
+
};
|
|
1750
|
+
readonly flipAugmentation: {
|
|
1751
|
+
readonly type: 'boolean';
|
|
1752
|
+
readonly description: 'If this option is turned on, the image will be horizontally flipped randomly. It can learn left and right angles, which is useful when you want to learn symmetrical people and objects.';
|
|
1753
|
+
readonly default: false;
|
|
1754
|
+
};
|
|
1755
|
+
readonly unetLR: {
|
|
1756
|
+
readonly maximum: 1;
|
|
1757
|
+
readonly minimum: 0;
|
|
1758
|
+
readonly type: 'number';
|
|
1759
|
+
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';
|
|
1760
|
+
readonly format: 'double';
|
|
1761
|
+
readonly default: 0.00005;
|
|
1762
|
+
};
|
|
1763
|
+
readonly textEncoderLR: {
|
|
1764
|
+
readonly maximum: 1;
|
|
1765
|
+
readonly minimum: 0;
|
|
1766
|
+
readonly type: 'number';
|
|
1767
|
+
readonly description: 'Sets the learning rate for the text encoder. The effect of additional training on text encoders affects the entire U-Net.';
|
|
1768
|
+
readonly format: 'double';
|
|
1769
|
+
readonly default: 0.00005;
|
|
1770
|
+
};
|
|
1771
|
+
readonly lrScheduler: {
|
|
1772
|
+
readonly type: 'string';
|
|
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.';
|
|
1774
|
+
readonly nullable: true;
|
|
1775
|
+
};
|
|
1776
|
+
readonly lrSchedulerNumCycles: {
|
|
1777
|
+
readonly maximum: 4;
|
|
1778
|
+
readonly minimum: 1;
|
|
1779
|
+
readonly type: 'integer';
|
|
1780
|
+
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.';
|
|
1781
|
+
readonly format: 'int32';
|
|
1782
|
+
readonly default: 3;
|
|
1783
|
+
};
|
|
1784
|
+
readonly minSnrGamma: {
|
|
1785
|
+
readonly maximum: 20;
|
|
1786
|
+
readonly minimum: 0;
|
|
1787
|
+
readonly type: 'integer';
|
|
1788
|
+
readonly description: 'Learning is performed by putting noise of various strengths on the training image, \nbut depending on the difference in strength of the noise on which it is placed, learning will be\nstable by moving closer to or farther from the learning target.\n\nMin SNR gamma was introduced to compensate for that. When learning images have little noise,\nit may deviate greatly from the target, so try to suppress this jump.';
|
|
1789
|
+
readonly format: 'int32';
|
|
1790
|
+
readonly nullable: true;
|
|
1791
|
+
};
|
|
1792
|
+
readonly networkDim: {
|
|
1793
|
+
readonly maximum: 256;
|
|
1794
|
+
readonly minimum: 1;
|
|
1795
|
+
readonly type: 'integer';
|
|
1796
|
+
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.';
|
|
1797
|
+
readonly format: 'int32';
|
|
1798
|
+
readonly nullable: true;
|
|
1799
|
+
};
|
|
1800
|
+
readonly networkAlpha: {
|
|
1801
|
+
readonly maximum: 256;
|
|
1802
|
+
readonly minimum: 1;
|
|
1803
|
+
readonly type: 'integer';
|
|
1804
|
+
readonly description: 'The smaller the Network alpha value, the larger the stored LoRA neural net weights. \nFor example, with an Alpha of 16 and a Dim of 32, the strength of the weight used is 16/32 = 0.5, \nmeaning that the learning rate is only half as powerful as the Learning Rate setting.\n\nIf Alpha and Dim are the same number, the strength used will be 1 and will have no effect on the learning rate.';
|
|
1805
|
+
readonly format: 'int32';
|
|
1806
|
+
readonly nullable: true;
|
|
1807
|
+
};
|
|
1808
|
+
readonly noiseOffset: {
|
|
1809
|
+
readonly maximum: 1;
|
|
1810
|
+
readonly minimum: 0;
|
|
1811
|
+
readonly type: 'number';
|
|
1812
|
+
readonly description: 'Adds noise to training images. 0 adds no noise at all. A value of 1 adds strong noise.';
|
|
1813
|
+
readonly format: 'double';
|
|
1814
|
+
readonly nullable: true;
|
|
1815
|
+
};
|
|
1816
|
+
readonly optimizerType: {
|
|
1817
|
+
readonly type: 'string';
|
|
1818
|
+
readonly description: 'The optimizer determines how to update the neural net weights during training. \nVarious methods have been proposed for smart learning, but the most commonly used in LoRA learning \nis "AdamW8bit" or "Adafactor" for SDXL.';
|
|
1819
|
+
readonly nullable: true;
|
|
1820
|
+
};
|
|
1821
|
+
readonly targetSteps: {
|
|
1822
|
+
readonly type: 'integer';
|
|
1823
|
+
readonly format: 'int32';
|
|
1824
|
+
readonly nullable: true;
|
|
1825
|
+
readonly readOnly: true;
|
|
1826
|
+
};
|
|
1827
|
+
};
|
|
1828
|
+
readonly additionalProperties: false;
|
|
1829
|
+
},
|
|
1439
1830
|
];
|
|
1440
1831
|
readonly properties: {
|
|
1441
|
-
readonly maxTrainEpochs: {
|
|
1442
|
-
readonly maximum: 20;
|
|
1443
|
-
readonly minimum: 0;
|
|
1444
|
-
readonly type: 'integer';
|
|
1445
|
-
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.';
|
|
1446
|
-
readonly format: 'int32';
|
|
1447
|
-
readonly default: 5;
|
|
1448
|
-
};
|
|
1449
|
-
readonly numRepeats: {
|
|
1450
|
-
readonly maximum: 5000;
|
|
1451
|
-
readonly minimum: 1;
|
|
1452
|
-
readonly type: 'integer';
|
|
1453
|
-
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.';
|
|
1454
|
-
readonly format: 'int32';
|
|
1455
|
-
readonly default: 8;
|
|
1456
|
-
};
|
|
1457
|
-
readonly trainBatchSize: {
|
|
1458
|
-
readonly maximum: 9;
|
|
1459
|
-
readonly minimum: 1;
|
|
1460
|
-
readonly type: 'integer';
|
|
1461
|
-
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.';
|
|
1462
|
-
readonly format: 'int32';
|
|
1463
|
-
readonly nullable: true;
|
|
1464
|
-
};
|
|
1465
|
-
readonly resolution: {
|
|
1466
|
-
readonly maximum: 1024;
|
|
1467
|
-
readonly minimum: 512;
|
|
1468
|
-
readonly type: 'integer';
|
|
1469
|
-
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';
|
|
1470
|
-
readonly format: 'int32';
|
|
1471
|
-
readonly nullable: true;
|
|
1472
|
-
};
|
|
1473
|
-
readonly enableBucket: {
|
|
1474
|
-
readonly type: 'boolean';
|
|
1475
|
-
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.';
|
|
1476
|
-
readonly default: true;
|
|
1477
|
-
};
|
|
1478
|
-
readonly shuffleCaption: {
|
|
1479
|
-
readonly type: 'boolean';
|
|
1480
|
-
readonly description: 'Randomly changes the order of your tags during training. The intent of shuffling is to improve learning. If you are using captions (sentences), this option has no meaning.';
|
|
1481
|
-
readonly default: false;
|
|
1482
|
-
};
|
|
1483
|
-
readonly keepTokens: {
|
|
1484
|
-
readonly maximum: 3;
|
|
1485
|
-
readonly minimum: 0;
|
|
1486
|
-
readonly type: 'integer';
|
|
1487
|
-
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.';
|
|
1488
|
-
readonly format: 'int32';
|
|
1489
|
-
readonly default: 0;
|
|
1490
|
-
};
|
|
1491
|
-
readonly clipSkip: {
|
|
1492
|
-
readonly maximum: 4;
|
|
1493
|
-
readonly minimum: 1;
|
|
1494
|
-
readonly type: 'integer';
|
|
1495
|
-
readonly description: 'Determines which layer\'s vector output will be used. There are 12 layers, and setting the skip will select "xth from the end" of the total layers. For anime, we use 2. For everything else, 1.';
|
|
1496
|
-
readonly format: 'int32';
|
|
1497
|
-
};
|
|
1498
|
-
readonly flipAugmentation: {
|
|
1499
|
-
readonly type: 'boolean';
|
|
1500
|
-
readonly description: 'If this option is turned on, the image will be horizontally flipped randomly. It can learn left and right angles, which is useful when you want to learn symmetrical people and objects.';
|
|
1501
|
-
readonly default: false;
|
|
1502
|
-
};
|
|
1503
|
-
readonly unetLR: {
|
|
1504
|
-
readonly maximum: 1;
|
|
1505
|
-
readonly minimum: 0;
|
|
1506
|
-
readonly type: 'number';
|
|
1507
|
-
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';
|
|
1508
|
-
readonly format: 'double';
|
|
1509
|
-
readonly default: 0.00005;
|
|
1510
|
-
};
|
|
1511
|
-
readonly textEncoderLR: {
|
|
1512
|
-
readonly maximum: 1;
|
|
1513
|
-
readonly minimum: 0;
|
|
1514
|
-
readonly type: 'number';
|
|
1515
|
-
readonly description: 'Sets the learning rate for the text encoder. The effect of additional training on text encoders affects the entire U-Net.';
|
|
1516
|
-
readonly format: 'double';
|
|
1517
|
-
readonly default: 0.00005;
|
|
1518
|
-
};
|
|
1519
|
-
readonly lrScheduler: {
|
|
1520
|
-
readonly type: 'string';
|
|
1521
|
-
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.';
|
|
1522
|
-
readonly nullable: true;
|
|
1523
|
-
};
|
|
1524
|
-
readonly lrSchedulerNumCycles: {
|
|
1525
|
-
readonly maximum: 4;
|
|
1526
|
-
readonly minimum: 1;
|
|
1527
|
-
readonly type: 'integer';
|
|
1528
|
-
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.';
|
|
1529
|
-
readonly format: 'int32';
|
|
1530
|
-
readonly default: 3;
|
|
1531
|
-
};
|
|
1532
|
-
readonly minSnrGamma: {
|
|
1533
|
-
readonly maximum: 20;
|
|
1534
|
-
readonly minimum: 0;
|
|
1535
|
-
readonly type: 'integer';
|
|
1536
|
-
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.';
|
|
1537
|
-
readonly format: 'int32';
|
|
1538
|
-
readonly nullable: true;
|
|
1539
|
-
};
|
|
1540
|
-
readonly networkDim: {
|
|
1541
|
-
readonly maximum: 256;
|
|
1542
|
-
readonly minimum: 1;
|
|
1543
|
-
readonly type: 'integer';
|
|
1544
|
-
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.';
|
|
1545
|
-
readonly format: 'int32';
|
|
1546
|
-
readonly nullable: true;
|
|
1547
|
-
};
|
|
1548
|
-
readonly networkAlpha: {
|
|
1549
|
-
readonly maximum: 256;
|
|
1550
|
-
readonly minimum: 1;
|
|
1551
|
-
readonly type: 'integer';
|
|
1552
|
-
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.';
|
|
1553
|
-
readonly format: 'int32';
|
|
1554
|
-
readonly nullable: true;
|
|
1555
|
-
};
|
|
1556
|
-
readonly noiseOffset: {
|
|
1557
|
-
readonly maximum: 1;
|
|
1558
|
-
readonly minimum: 0;
|
|
1559
|
-
readonly type: 'number';
|
|
1560
|
-
readonly description: 'Adds noise to training images. 0 adds no noise at all. A value of 1 adds strong noise.';
|
|
1561
|
-
readonly format: 'double';
|
|
1562
|
-
readonly nullable: true;
|
|
1563
|
-
};
|
|
1564
|
-
readonly optimizerType: {
|
|
1565
|
-
readonly type: 'string';
|
|
1566
|
-
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.';
|
|
1567
|
-
readonly nullable: true;
|
|
1568
|
-
};
|
|
1569
|
-
readonly targetSteps: {
|
|
1570
|
-
readonly type: 'integer';
|
|
1571
|
-
readonly format: 'int32';
|
|
1572
|
-
readonly nullable: true;
|
|
1573
|
-
};
|
|
1574
1832
|
readonly engine: {
|
|
1575
1833
|
readonly enum: readonly ['kohya'];
|
|
1576
1834
|
readonly type: 'string';
|
|
1577
1835
|
};
|
|
1578
1836
|
};
|
|
1579
|
-
readonly additionalProperties: false;
|
|
1580
1837
|
};
|
|
1581
1838
|
export declare const $LLMPromptAugmentationCapabilities: {
|
|
1582
1839
|
readonly type: 'object';
|
|
@@ -1584,47 +1841,250 @@ export declare const $LLMPromptAugmentationCapabilities: {
|
|
|
1584
1841
|
readonly description: 'LLM prompt augmentaition capabilities.';
|
|
1585
1842
|
};
|
|
1586
1843
|
export declare const $LLMPromptAugmentationJob: {
|
|
1587
|
-
readonly required: readonly ['$type'
|
|
1588
|
-
readonly type: 'object';
|
|
1844
|
+
readonly required: readonly ['$type'];
|
|
1589
1845
|
readonly allOf: readonly [
|
|
1590
1846
|
{
|
|
1591
1847
|
readonly $ref: '#/components/schemas/Job';
|
|
1592
1848
|
},
|
|
1849
|
+
{
|
|
1850
|
+
readonly required: readonly ['model'];
|
|
1851
|
+
readonly type: 'object';
|
|
1852
|
+
readonly properties: {
|
|
1853
|
+
readonly model: {
|
|
1854
|
+
readonly type: 'string';
|
|
1855
|
+
readonly description: 'The primary model to use.';
|
|
1856
|
+
};
|
|
1857
|
+
readonly basePrompt: {
|
|
1858
|
+
readonly type: 'string';
|
|
1859
|
+
readonly description: 'The base prompt.';
|
|
1860
|
+
readonly nullable: true;
|
|
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
|
+
};
|
|
1879
|
+
};
|
|
1880
|
+
readonly additionalProperties: false;
|
|
1881
|
+
},
|
|
1593
1882
|
];
|
|
1594
1883
|
readonly properties: {
|
|
1595
|
-
readonly
|
|
1596
|
-
readonly
|
|
1884
|
+
readonly $type: {
|
|
1885
|
+
readonly enum: readonly ['llmPromptAugmentation'];
|
|
1597
1886
|
readonly type: 'string';
|
|
1598
|
-
readonly description: 'The primary model to use.';
|
|
1599
1887
|
};
|
|
1600
|
-
|
|
1888
|
+
};
|
|
1889
|
+
};
|
|
1890
|
+
export declare const $MediaCaptioningJob: {
|
|
1891
|
+
readonly required: readonly ['$type'];
|
|
1892
|
+
readonly allOf: readonly [
|
|
1893
|
+
{
|
|
1894
|
+
readonly $ref: '#/components/schemas/Job';
|
|
1895
|
+
},
|
|
1896
|
+
{
|
|
1897
|
+
readonly required: readonly ['mediaUrl', 'model'];
|
|
1898
|
+
readonly type: 'object';
|
|
1899
|
+
readonly properties: {
|
|
1900
|
+
readonly model: {
|
|
1901
|
+
readonly type: 'string';
|
|
1902
|
+
};
|
|
1903
|
+
readonly modelId: {
|
|
1904
|
+
readonly type: 'integer';
|
|
1905
|
+
readonly format: 'int32';
|
|
1906
|
+
};
|
|
1907
|
+
readonly mediaUrl: {
|
|
1908
|
+
readonly type: 'string';
|
|
1909
|
+
readonly format: 'uri';
|
|
1910
|
+
};
|
|
1911
|
+
readonly temperature: {
|
|
1912
|
+
readonly type: 'number';
|
|
1913
|
+
readonly format: 'double';
|
|
1914
|
+
};
|
|
1915
|
+
readonly maxNewTokens: {
|
|
1916
|
+
readonly type: 'integer';
|
|
1917
|
+
readonly format: 'int32';
|
|
1918
|
+
};
|
|
1919
|
+
readonly type: {
|
|
1920
|
+
readonly type: 'string';
|
|
1921
|
+
readonly readOnly: true;
|
|
1922
|
+
};
|
|
1923
|
+
readonly claimDuration: {
|
|
1924
|
+
readonly type: 'string';
|
|
1925
|
+
readonly format: 'date-span';
|
|
1926
|
+
readonly readOnly: true;
|
|
1927
|
+
};
|
|
1928
|
+
};
|
|
1929
|
+
readonly additionalProperties: false;
|
|
1930
|
+
},
|
|
1931
|
+
];
|
|
1932
|
+
readonly properties: {
|
|
1933
|
+
readonly $type: {
|
|
1934
|
+
readonly enum: readonly ['mediaCaptioning'];
|
|
1601
1935
|
readonly type: 'string';
|
|
1602
|
-
readonly description: 'The base prompt.';
|
|
1603
|
-
readonly nullable: true;
|
|
1604
1936
|
};
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1937
|
+
};
|
|
1938
|
+
};
|
|
1939
|
+
export declare const $MediaTaggingJob: {
|
|
1940
|
+
readonly required: readonly ['$type'];
|
|
1941
|
+
readonly allOf: readonly [
|
|
1942
|
+
{
|
|
1943
|
+
readonly $ref: '#/components/schemas/Job';
|
|
1944
|
+
},
|
|
1945
|
+
{
|
|
1946
|
+
readonly type: 'object';
|
|
1947
|
+
readonly properties: {
|
|
1948
|
+
readonly modelId: {
|
|
1949
|
+
readonly type: 'integer';
|
|
1950
|
+
readonly format: 'int32';
|
|
1951
|
+
};
|
|
1952
|
+
readonly mediaUrl: {
|
|
1953
|
+
readonly type: 'string';
|
|
1954
|
+
readonly format: 'uri';
|
|
1955
|
+
};
|
|
1956
|
+
readonly type: {
|
|
1957
|
+
readonly type: 'string';
|
|
1958
|
+
readonly readOnly: true;
|
|
1959
|
+
};
|
|
1609
1960
|
};
|
|
1610
|
-
readonly
|
|
1961
|
+
readonly additionalProperties: false;
|
|
1962
|
+
},
|
|
1963
|
+
];
|
|
1964
|
+
readonly properties: {
|
|
1965
|
+
readonly $type: {
|
|
1966
|
+
readonly enum: readonly ['mediaTagging'];
|
|
1967
|
+
readonly type: 'string';
|
|
1611
1968
|
};
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1969
|
+
};
|
|
1970
|
+
};
|
|
1971
|
+
export declare const $MochiVideoGenInput: {
|
|
1972
|
+
readonly required: readonly ['engine'];
|
|
1973
|
+
readonly allOf: readonly [
|
|
1974
|
+
{
|
|
1975
|
+
readonly $ref: '#/components/schemas/VideoGenInput';
|
|
1976
|
+
},
|
|
1977
|
+
{
|
|
1978
|
+
readonly type: 'object';
|
|
1979
|
+
readonly properties: {
|
|
1980
|
+
readonly seed: {
|
|
1981
|
+
readonly maximum: 2147483647;
|
|
1982
|
+
readonly minimum: -1;
|
|
1983
|
+
readonly type: 'integer';
|
|
1984
|
+
readonly format: 'int64';
|
|
1985
|
+
};
|
|
1986
|
+
};
|
|
1987
|
+
readonly additionalProperties: false;
|
|
1988
|
+
},
|
|
1989
|
+
];
|
|
1990
|
+
readonly properties: {
|
|
1991
|
+
readonly engine: {
|
|
1992
|
+
readonly enum: readonly ['mochi'];
|
|
1993
|
+
readonly type: 'string';
|
|
1616
1994
|
};
|
|
1995
|
+
};
|
|
1996
|
+
};
|
|
1997
|
+
export declare const $MochiVideoGenJob: {
|
|
1998
|
+
readonly required: readonly ['$type'];
|
|
1999
|
+
readonly allOf: readonly [
|
|
2000
|
+
{
|
|
2001
|
+
readonly $ref: '#/components/schemas/Job';
|
|
2002
|
+
},
|
|
2003
|
+
{
|
|
2004
|
+
readonly required: readonly ['destinationUrl', 'mediaHash', 'prompt'];
|
|
2005
|
+
readonly type: 'object';
|
|
2006
|
+
readonly properties: {
|
|
2007
|
+
readonly prompt: {
|
|
2008
|
+
readonly type: 'string';
|
|
2009
|
+
};
|
|
2010
|
+
readonly seed: {
|
|
2011
|
+
readonly maximum: 4294967295;
|
|
2012
|
+
readonly minimum: -1;
|
|
2013
|
+
readonly type: 'integer';
|
|
2014
|
+
readonly format: 'int64';
|
|
2015
|
+
};
|
|
2016
|
+
readonly mediaHash: {
|
|
2017
|
+
readonly type: 'string';
|
|
2018
|
+
};
|
|
2019
|
+
readonly destinationUrl: {
|
|
2020
|
+
readonly type: 'string';
|
|
2021
|
+
readonly format: 'uri';
|
|
2022
|
+
};
|
|
2023
|
+
readonly type: {
|
|
2024
|
+
readonly type: 'string';
|
|
2025
|
+
readonly readOnly: true;
|
|
2026
|
+
};
|
|
2027
|
+
readonly claimDuration: {
|
|
2028
|
+
readonly type: 'string';
|
|
2029
|
+
readonly format: 'date-span';
|
|
2030
|
+
readonly readOnly: true;
|
|
2031
|
+
};
|
|
2032
|
+
};
|
|
2033
|
+
readonly additionalProperties: false;
|
|
2034
|
+
},
|
|
2035
|
+
];
|
|
2036
|
+
readonly properties: {
|
|
1617
2037
|
readonly $type: {
|
|
1618
|
-
readonly enum: readonly ['
|
|
2038
|
+
readonly enum: readonly ['mochi'];
|
|
2039
|
+
readonly type: 'string';
|
|
2040
|
+
};
|
|
2041
|
+
};
|
|
2042
|
+
};
|
|
2043
|
+
export declare const $MovieRatingJob: {
|
|
2044
|
+
readonly required: readonly ['$type'];
|
|
2045
|
+
readonly allOf: readonly [
|
|
2046
|
+
{
|
|
2047
|
+
readonly $ref: '#/components/schemas/Job';
|
|
2048
|
+
},
|
|
2049
|
+
{
|
|
2050
|
+
readonly type: 'object';
|
|
2051
|
+
readonly properties: {
|
|
2052
|
+
readonly mediaUrl: {
|
|
2053
|
+
readonly type: 'string';
|
|
2054
|
+
readonly format: 'uri';
|
|
2055
|
+
};
|
|
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_\\-]+))?$';
|
|
2058
|
+
readonly type: 'string';
|
|
2059
|
+
readonly nullable: true;
|
|
2060
|
+
};
|
|
2061
|
+
readonly blobKey: {
|
|
2062
|
+
readonly type: 'string';
|
|
2063
|
+
readonly nullable: true;
|
|
2064
|
+
};
|
|
2065
|
+
readonly type: {
|
|
2066
|
+
readonly type: 'string';
|
|
2067
|
+
readonly readOnly: true;
|
|
2068
|
+
};
|
|
2069
|
+
readonly claimDuration: {
|
|
2070
|
+
readonly type: 'string';
|
|
2071
|
+
readonly format: 'date-span';
|
|
2072
|
+
readonly readOnly: true;
|
|
2073
|
+
};
|
|
2074
|
+
};
|
|
2075
|
+
readonly additionalProperties: false;
|
|
2076
|
+
},
|
|
2077
|
+
];
|
|
2078
|
+
readonly properties: {
|
|
2079
|
+
readonly $type: {
|
|
2080
|
+
readonly enum: readonly ['movieRating'];
|
|
1619
2081
|
readonly type: 'string';
|
|
1620
2082
|
};
|
|
1621
2083
|
};
|
|
1622
|
-
readonly additionalProperties: false;
|
|
1623
2084
|
};
|
|
1624
2085
|
export declare const $NSFWLevel: {
|
|
1625
2086
|
readonly enum: readonly ['pg', 'pG13', 'r', 'x', 'xxx', 'na'];
|
|
1626
2087
|
readonly type: 'string';
|
|
1627
|
-
readonly nullable: true;
|
|
1628
2088
|
};
|
|
1629
2089
|
export declare const $Priority: {
|
|
1630
2090
|
readonly enum: readonly ['high', 'normal', 'low'];
|
|
@@ -1844,40 +2304,48 @@ export declare const $Scheduler: {
|
|
|
1844
2304
|
readonly description: 'The available options for schedulers used in image generation.';
|
|
1845
2305
|
};
|
|
1846
2306
|
export declare const $SimilaritySearchJob: {
|
|
1847
|
-
readonly required: readonly ['$type'
|
|
1848
|
-
readonly type: 'object';
|
|
2307
|
+
readonly required: readonly ['$type'];
|
|
1849
2308
|
readonly allOf: readonly [
|
|
1850
2309
|
{
|
|
1851
2310
|
readonly $ref: '#/components/schemas/Job';
|
|
1852
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
|
+
},
|
|
1853
2342
|
];
|
|
1854
2343
|
readonly properties: {
|
|
1855
|
-
readonly model: {
|
|
1856
|
-
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_\\-]+))?$';
|
|
1857
|
-
readonly type: 'string';
|
|
1858
|
-
readonly description: 'An AIR ID representing the primary model.';
|
|
1859
|
-
};
|
|
1860
|
-
readonly nsfwFilter: {
|
|
1861
|
-
readonly minLength: 1;
|
|
1862
|
-
readonly type: 'string';
|
|
1863
|
-
readonly description: 'A value for the NSFW filter.';
|
|
1864
|
-
};
|
|
1865
|
-
readonly prompt: {
|
|
1866
|
-
readonly minLength: 1;
|
|
1867
|
-
readonly type: 'string';
|
|
1868
|
-
readonly description: 'The prompt provided.';
|
|
1869
|
-
};
|
|
1870
|
-
readonly params: {
|
|
1871
|
-
readonly type: 'object';
|
|
1872
|
-
readonly additionalProperties: {};
|
|
1873
|
-
readonly description: 'A collection of parameters.';
|
|
1874
|
-
};
|
|
1875
2344
|
readonly $type: {
|
|
1876
|
-
readonly enum: readonly ['
|
|
2345
|
+
readonly enum: readonly ['similaritySearch'];
|
|
1877
2346
|
readonly type: 'string';
|
|
1878
2347
|
};
|
|
1879
2348
|
};
|
|
1880
|
-
readonly additionalProperties: false;
|
|
1881
2349
|
readonly description: 'Details for a similarity search job.';
|
|
1882
2350
|
};
|
|
1883
2351
|
export declare const $Subscription: {
|
|
@@ -1885,7 +2353,6 @@ export declare const $Subscription: {
|
|
|
1885
2353
|
readonly type: 'object';
|
|
1886
2354
|
readonly properties: {
|
|
1887
2355
|
readonly webhook: {
|
|
1888
|
-
readonly minLength: 1;
|
|
1889
2356
|
readonly type: 'string';
|
|
1890
2357
|
readonly description: 'The webhook url.';
|
|
1891
2358
|
};
|
|
@@ -1894,7 +2361,7 @@ export declare const $Subscription: {
|
|
|
1894
2361
|
readonly description: 'A subscription for pushed based notifications.';
|
|
1895
2362
|
};
|
|
1896
2363
|
export declare const $TextToImageInput: {
|
|
1897
|
-
readonly required: readonly ['height', 'model', 'width'];
|
|
2364
|
+
readonly required: readonly ['height', 'model', 'prompt', 'width'];
|
|
1898
2365
|
readonly type: 'object';
|
|
1899
2366
|
readonly properties: {
|
|
1900
2367
|
readonly quantity: {
|
|
@@ -1935,12 +2402,11 @@ export declare const $TextToImageInput: {
|
|
|
1935
2402
|
readonly prompt: {
|
|
1936
2403
|
readonly type: 'string';
|
|
1937
2404
|
readonly description: 'The provided text prompt.';
|
|
1938
|
-
readonly default: '';
|
|
1939
2405
|
};
|
|
1940
2406
|
readonly negativePrompt: {
|
|
1941
2407
|
readonly type: 'string';
|
|
1942
2408
|
readonly description: 'The provided negative text prompt.';
|
|
1943
|
-
readonly
|
|
2409
|
+
readonly nullable: true;
|
|
1944
2410
|
};
|
|
1945
2411
|
readonly scheduler: {
|
|
1946
2412
|
readonly $ref: '#/components/schemas/Scheduler';
|
|
@@ -1982,7 +2448,7 @@ export declare const $TextToImageInput: {
|
|
|
1982
2448
|
readonly minimum: 0;
|
|
1983
2449
|
readonly type: 'integer';
|
|
1984
2450
|
readonly description: 'The seed to use in image generation. Defaults to a random value if left unpopulated.';
|
|
1985
|
-
readonly format: '
|
|
2451
|
+
readonly format: 'int32';
|
|
1986
2452
|
};
|
|
1987
2453
|
readonly clipSkip: {
|
|
1988
2454
|
readonly type: 'integer';
|
|
@@ -2005,82 +2471,74 @@ export declare const $TextToImageInput: {
|
|
|
2005
2471
|
readonly description: 'Input for an text to image step.';
|
|
2006
2472
|
};
|
|
2007
2473
|
export declare const $TextToImageJob: {
|
|
2008
|
-
readonly required: readonly ['$type'
|
|
2009
|
-
readonly type: 'object';
|
|
2474
|
+
readonly required: readonly ['$type'];
|
|
2010
2475
|
readonly allOf: readonly [
|
|
2011
2476
|
{
|
|
2012
2477
|
readonly $ref: '#/components/schemas/Job';
|
|
2013
2478
|
},
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
readonly model: {
|
|
2017
|
-
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_\\-]+))?$';
|
|
2018
|
-
readonly type: 'string';
|
|
2019
|
-
readonly description: 'An AIR representing the model to use.';
|
|
2020
|
-
};
|
|
2021
|
-
readonly params: {
|
|
2022
|
-
readonly $ref: '#/components/schemas/ImageJobParams';
|
|
2023
|
-
};
|
|
2024
|
-
readonly imageHash: {
|
|
2025
|
-
readonly minLength: 1;
|
|
2026
|
-
readonly type: 'string';
|
|
2027
|
-
readonly description: 'The hash for the output image.';
|
|
2028
|
-
};
|
|
2029
|
-
readonly additionalNetworks: {
|
|
2479
|
+
{
|
|
2480
|
+
readonly required: readonly ['imageHash', 'model', 'params'];
|
|
2030
2481
|
readonly type: 'object';
|
|
2031
|
-
readonly
|
|
2032
|
-
readonly
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
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
|
+
};
|
|
2050
2530
|
};
|
|
2051
|
-
readonly
|
|
2052
|
-
}
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
readonly description: 'The duration for which this job can be claimed for.';
|
|
2056
|
-
readonly example: '00:00:00';
|
|
2057
|
-
};
|
|
2531
|
+
readonly additionalProperties: false;
|
|
2532
|
+
},
|
|
2533
|
+
];
|
|
2534
|
+
readonly properties: {
|
|
2058
2535
|
readonly $type: {
|
|
2059
|
-
readonly enum: readonly ['
|
|
2536
|
+
readonly enum: readonly ['textToImage'];
|
|
2060
2537
|
readonly type: 'string';
|
|
2061
2538
|
};
|
|
2062
2539
|
};
|
|
2063
|
-
readonly additionalProperties: false;
|
|
2064
2540
|
readonly description: 'A text to image generation job.';
|
|
2065
2541
|
};
|
|
2066
|
-
export declare const $TextToImageJobSlot: {
|
|
2067
|
-
readonly required: readonly ['destinationUrl', 'imageHash'];
|
|
2068
|
-
readonly type: 'object';
|
|
2069
|
-
readonly properties: {
|
|
2070
|
-
readonly imageHash: {
|
|
2071
|
-
readonly minLength: 1;
|
|
2072
|
-
readonly type: 'string';
|
|
2073
|
-
readonly description: 'The hash for the image output.';
|
|
2074
|
-
};
|
|
2075
|
-
readonly destinationUrl: {
|
|
2076
|
-
readonly type: 'string';
|
|
2077
|
-
readonly description: 'The destination url for image upload.';
|
|
2078
|
-
readonly format: 'uri';
|
|
2079
|
-
};
|
|
2080
|
-
};
|
|
2081
|
-
readonly additionalProperties: false;
|
|
2082
|
-
readonly description: 'Contains slot information for an image generated by a TextToImageJob.';
|
|
2083
|
-
};
|
|
2084
2542
|
export declare const $TextToImageOutput: {
|
|
2085
2543
|
readonly required: readonly ['images'];
|
|
2086
2544
|
readonly type: 'object';
|
|
@@ -2097,159 +2555,56 @@ export declare const $TextToImageOutput: {
|
|
|
2097
2555
|
readonly description: 'Represents the output of a TextToImage workflow step.';
|
|
2098
2556
|
};
|
|
2099
2557
|
export declare const $TextToImageStep: {
|
|
2100
|
-
readonly required: readonly ['$type'
|
|
2101
|
-
readonly type: 'object';
|
|
2558
|
+
readonly required: readonly ['$type'];
|
|
2102
2559
|
readonly allOf: readonly [
|
|
2103
2560
|
{
|
|
2104
2561
|
readonly $ref: '#/components/schemas/WorkflowStep';
|
|
2105
2562
|
},
|
|
2563
|
+
{
|
|
2564
|
+
readonly required: readonly ['input'];
|
|
2565
|
+
readonly type: 'object';
|
|
2566
|
+
readonly properties: {
|
|
2567
|
+
readonly input: {
|
|
2568
|
+
readonly $ref: '#/components/schemas/TextToImageInput';
|
|
2569
|
+
};
|
|
2570
|
+
readonly output: {
|
|
2571
|
+
readonly $ref: '#/components/schemas/TextToImageOutput';
|
|
2572
|
+
};
|
|
2573
|
+
};
|
|
2574
|
+
readonly additionalProperties: false;
|
|
2575
|
+
},
|
|
2106
2576
|
];
|
|
2107
2577
|
readonly properties: {
|
|
2108
|
-
readonly name: {
|
|
2109
|
-
readonly minLength: 1;
|
|
2110
|
-
readonly type: 'string';
|
|
2111
|
-
readonly description: 'The name of the workflow step. Used to allow steps to refer to one another.';
|
|
2112
|
-
};
|
|
2113
|
-
readonly priority: {
|
|
2114
|
-
readonly $ref: '#/components/schemas/Priority';
|
|
2115
|
-
};
|
|
2116
|
-
readonly timeout: {
|
|
2117
|
-
readonly type: 'string';
|
|
2118
|
-
readonly description: 'The maximum time to wait for this step to complete.';
|
|
2119
|
-
readonly nullable: true;
|
|
2120
|
-
readonly example: '00:00:00';
|
|
2121
|
-
};
|
|
2122
|
-
readonly retries: {
|
|
2123
|
-
readonly type: 'integer';
|
|
2124
|
-
readonly description: 'The maximum number of times this step should be retried.';
|
|
2125
|
-
readonly format: 'int32';
|
|
2126
|
-
readonly nullable: true;
|
|
2127
|
-
};
|
|
2128
|
-
readonly jobs: {
|
|
2129
|
-
readonly type: 'array';
|
|
2130
|
-
readonly items: {
|
|
2131
|
-
readonly $ref: '#/components/schemas/WorkflowStepJob';
|
|
2132
|
-
};
|
|
2133
|
-
readonly description: 'The jobs generated by this step.';
|
|
2134
|
-
readonly nullable: true;
|
|
2135
|
-
};
|
|
2136
|
-
readonly status: {
|
|
2137
|
-
readonly $ref: '#/components/schemas/WorkflowStatus';
|
|
2138
|
-
};
|
|
2139
|
-
readonly startedAt: {
|
|
2140
|
-
readonly type: 'string';
|
|
2141
|
-
readonly description: 'The date / time the step was started. Null if not yet started.';
|
|
2142
|
-
readonly format: 'date-time';
|
|
2143
|
-
readonly nullable: true;
|
|
2144
|
-
};
|
|
2145
|
-
readonly completedAt: {
|
|
2146
|
-
readonly type: 'string';
|
|
2147
|
-
readonly description: 'The date / time the step was completed. Null if not yet completed.';
|
|
2148
|
-
readonly format: 'date-time';
|
|
2149
|
-
readonly nullable: true;
|
|
2150
|
-
};
|
|
2151
|
-
readonly metadata: {
|
|
2152
|
-
readonly type: 'object';
|
|
2153
|
-
readonly additionalProperties: {};
|
|
2154
|
-
readonly description: 'A collection of user defined metadata for the workflow step.';
|
|
2155
|
-
};
|
|
2156
|
-
readonly input: {
|
|
2157
|
-
readonly $ref: '#/components/schemas/TextToImageInput';
|
|
2158
|
-
};
|
|
2159
|
-
readonly output: {
|
|
2160
|
-
readonly $ref: '#/components/schemas/TextToImageOutput';
|
|
2161
|
-
};
|
|
2162
2578
|
readonly $type: {
|
|
2163
2579
|
readonly enum: readonly ['textToImage'];
|
|
2164
2580
|
readonly type: 'string';
|
|
2165
2581
|
};
|
|
2166
2582
|
};
|
|
2167
|
-
readonly additionalProperties: false;
|
|
2168
2583
|
readonly description: 'A workflow step for text to image generations.';
|
|
2169
2584
|
};
|
|
2170
2585
|
export declare const $TextToImageStepTemplate: {
|
|
2171
|
-
readonly required: readonly ['$type'
|
|
2172
|
-
readonly type: 'object';
|
|
2586
|
+
readonly required: readonly ['$type'];
|
|
2173
2587
|
readonly allOf: readonly [
|
|
2174
2588
|
{
|
|
2175
2589
|
readonly $ref: '#/components/schemas/WorkflowStepTemplate';
|
|
2176
2590
|
},
|
|
2177
|
-
];
|
|
2178
|
-
readonly properties: {
|
|
2179
|
-
readonly $type: {
|
|
2180
|
-
readonly enum: readonly ['textToImage'];
|
|
2181
|
-
readonly type: 'string';
|
|
2182
|
-
};
|
|
2183
|
-
readonly input: {
|
|
2184
|
-
readonly $ref: '#/components/schemas/TextToImageInput';
|
|
2185
|
-
};
|
|
2186
|
-
};
|
|
2187
|
-
readonly additionalProperties: false;
|
|
2188
|
-
};
|
|
2189
|
-
export declare const $TextToImageV2Job: {
|
|
2190
|
-
readonly required: readonly ['$type', 'model', 'params', 'slots'];
|
|
2191
|
-
readonly type: 'object';
|
|
2192
|
-
readonly allOf: readonly [
|
|
2193
2591
|
{
|
|
2194
|
-
readonly
|
|
2592
|
+
readonly required: readonly ['input'];
|
|
2593
|
+
readonly type: 'object';
|
|
2594
|
+
readonly properties: {
|
|
2595
|
+
readonly input: {
|
|
2596
|
+
readonly $ref: '#/components/schemas/TextToImageInput';
|
|
2597
|
+
};
|
|
2598
|
+
};
|
|
2599
|
+
readonly additionalProperties: false;
|
|
2195
2600
|
},
|
|
2196
2601
|
];
|
|
2197
2602
|
readonly properties: {
|
|
2198
|
-
readonly baseModel: {
|
|
2199
|
-
readonly type: 'string';
|
|
2200
|
-
readonly description: 'The base model / ecosystem for the model.';
|
|
2201
|
-
readonly nullable: true;
|
|
2202
|
-
};
|
|
2203
|
-
readonly model: {
|
|
2204
|
-
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_\\-]+))?$';
|
|
2205
|
-
readonly type: 'string';
|
|
2206
|
-
readonly description: 'An AIR representing the model to use.';
|
|
2207
|
-
};
|
|
2208
|
-
readonly params: {
|
|
2209
|
-
readonly $ref: '#/components/schemas/ImageJobParams';
|
|
2210
|
-
};
|
|
2211
|
-
readonly slots: {
|
|
2212
|
-
readonly type: 'array';
|
|
2213
|
-
readonly items: {
|
|
2214
|
-
readonly $ref: '#/components/schemas/TextToImageJobSlot';
|
|
2215
|
-
};
|
|
2216
|
-
readonly description: 'Slots for the resulting image outputs.';
|
|
2217
|
-
};
|
|
2218
|
-
readonly additionalNetworks: {
|
|
2219
|
-
readonly type: 'object';
|
|
2220
|
-
readonly additionalProperties: {
|
|
2221
|
-
readonly $ref: '#/components/schemas/ImageJobNetworkParams';
|
|
2222
|
-
};
|
|
2223
|
-
readonly description: 'Get or set a associative list of additional networks. Each network is identified by a hash code';
|
|
2224
|
-
};
|
|
2225
|
-
readonly controlNets: {
|
|
2226
|
-
readonly type: 'array';
|
|
2227
|
-
readonly items: {
|
|
2228
|
-
readonly $ref: '#/components/schemas/ImageJobControlNet';
|
|
2229
|
-
};
|
|
2230
|
-
readonly description: 'Get or set a list of control nets that should be applied with this textToImage job';
|
|
2231
|
-
};
|
|
2232
|
-
readonly imageMetadata: {
|
|
2233
|
-
readonly type: 'string';
|
|
2234
|
-
readonly description: 'Get or set additional metadata that will be embedded with generated images';
|
|
2235
|
-
readonly nullable: true;
|
|
2236
|
-
};
|
|
2237
|
-
readonly engine: {
|
|
2238
|
-
readonly type: 'string';
|
|
2239
|
-
readonly description: 'The engine to use for generation';
|
|
2240
|
-
readonly nullable: true;
|
|
2241
|
-
};
|
|
2242
|
-
readonly claimDuration: {
|
|
2243
|
-
readonly type: 'string';
|
|
2244
|
-
readonly description: 'The duration for which this job can be claimed for.';
|
|
2245
|
-
readonly example: '00:00:00';
|
|
2246
|
-
};
|
|
2247
2603
|
readonly $type: {
|
|
2248
|
-
readonly enum: readonly ['
|
|
2604
|
+
readonly enum: readonly ['textToImage'];
|
|
2249
2605
|
readonly type: 'string';
|
|
2250
2606
|
};
|
|
2251
2607
|
};
|
|
2252
|
-
readonly additionalProperties: false;
|
|
2253
2608
|
};
|
|
2254
2609
|
export declare const $TransactionInfo: {
|
|
2255
2610
|
readonly required: readonly ['amount', 'type'];
|
|
@@ -2322,7 +2677,6 @@ export declare const $TranscodeOutput: {
|
|
|
2322
2677
|
readonly type: 'object';
|
|
2323
2678
|
readonly properties: {
|
|
2324
2679
|
readonly id: {
|
|
2325
|
-
readonly minLength: 1;
|
|
2326
2680
|
readonly type: 'string';
|
|
2327
2681
|
readonly description: 'Gets the id of the blob that contains the media.';
|
|
2328
2682
|
};
|
|
@@ -2343,7 +2697,6 @@ export declare const $TranscodeOutput: {
|
|
|
2343
2697
|
readonly nullable: true;
|
|
2344
2698
|
};
|
|
2345
2699
|
readonly jobId: {
|
|
2346
|
-
readonly minLength: 1;
|
|
2347
2700
|
readonly type: 'string';
|
|
2348
2701
|
readonly description: 'Get the id of the job that is associated with this media.';
|
|
2349
2702
|
};
|
|
@@ -2351,93 +2704,55 @@ export declare const $TranscodeOutput: {
|
|
|
2351
2704
|
readonly additionalProperties: false;
|
|
2352
2705
|
};
|
|
2353
2706
|
export declare const $TranscodeStep: {
|
|
2354
|
-
readonly required: readonly ['$type'
|
|
2355
|
-
readonly type: 'object';
|
|
2707
|
+
readonly required: readonly ['$type'];
|
|
2356
2708
|
readonly allOf: readonly [
|
|
2357
2709
|
{
|
|
2358
2710
|
readonly $ref: '#/components/schemas/WorkflowStep';
|
|
2359
2711
|
},
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
readonly name: {
|
|
2363
|
-
readonly minLength: 1;
|
|
2364
|
-
readonly type: 'string';
|
|
2365
|
-
readonly description: 'The name of the workflow step. Used to allow steps to refer to one another.';
|
|
2366
|
-
};
|
|
2367
|
-
readonly priority: {
|
|
2368
|
-
readonly $ref: '#/components/schemas/Priority';
|
|
2369
|
-
};
|
|
2370
|
-
readonly timeout: {
|
|
2371
|
-
readonly type: 'string';
|
|
2372
|
-
readonly description: 'The maximum time to wait for this step to complete.';
|
|
2373
|
-
readonly nullable: true;
|
|
2374
|
-
readonly example: '00:00:00';
|
|
2375
|
-
};
|
|
2376
|
-
readonly retries: {
|
|
2377
|
-
readonly type: 'integer';
|
|
2378
|
-
readonly description: 'The maximum number of times this step should be retried.';
|
|
2379
|
-
readonly format: 'int32';
|
|
2380
|
-
readonly nullable: true;
|
|
2381
|
-
};
|
|
2382
|
-
readonly jobs: {
|
|
2383
|
-
readonly type: 'array';
|
|
2384
|
-
readonly items: {
|
|
2385
|
-
readonly $ref: '#/components/schemas/WorkflowStepJob';
|
|
2386
|
-
};
|
|
2387
|
-
readonly description: 'The jobs generated by this step.';
|
|
2388
|
-
readonly nullable: true;
|
|
2389
|
-
};
|
|
2390
|
-
readonly status: {
|
|
2391
|
-
readonly $ref: '#/components/schemas/WorkflowStatus';
|
|
2392
|
-
};
|
|
2393
|
-
readonly startedAt: {
|
|
2394
|
-
readonly type: 'string';
|
|
2395
|
-
readonly description: 'The date / time the step was started. Null if not yet started.';
|
|
2396
|
-
readonly format: 'date-time';
|
|
2397
|
-
readonly nullable: true;
|
|
2398
|
-
};
|
|
2399
|
-
readonly completedAt: {
|
|
2400
|
-
readonly type: 'string';
|
|
2401
|
-
readonly description: 'The date / time the step was completed. Null if not yet completed.';
|
|
2402
|
-
readonly format: 'date-time';
|
|
2403
|
-
readonly nullable: true;
|
|
2404
|
-
};
|
|
2405
|
-
readonly metadata: {
|
|
2712
|
+
{
|
|
2713
|
+
readonly required: readonly ['input'];
|
|
2406
2714
|
readonly type: 'object';
|
|
2407
|
-
readonly
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2715
|
+
readonly properties: {
|
|
2716
|
+
readonly input: {
|
|
2717
|
+
readonly $ref: '#/components/schemas/TranscodeInput';
|
|
2718
|
+
};
|
|
2719
|
+
readonly output: {
|
|
2720
|
+
readonly $ref: '#/components/schemas/TranscodeOutput';
|
|
2721
|
+
};
|
|
2722
|
+
};
|
|
2723
|
+
readonly additionalProperties: false;
|
|
2724
|
+
},
|
|
2725
|
+
];
|
|
2726
|
+
readonly properties: {
|
|
2416
2727
|
readonly $type: {
|
|
2417
2728
|
readonly enum: readonly ['transcode'];
|
|
2418
2729
|
readonly type: 'string';
|
|
2419
2730
|
};
|
|
2420
2731
|
};
|
|
2421
|
-
readonly additionalProperties: false;
|
|
2422
2732
|
};
|
|
2423
2733
|
export declare const $TranscodeStepTemplate: {
|
|
2424
|
-
readonly required: readonly ['$type'
|
|
2425
|
-
readonly type: 'object';
|
|
2734
|
+
readonly required: readonly ['$type'];
|
|
2426
2735
|
readonly allOf: readonly [
|
|
2427
2736
|
{
|
|
2428
2737
|
readonly $ref: '#/components/schemas/WorkflowStepTemplate';
|
|
2429
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
|
+
},
|
|
2430
2749
|
];
|
|
2431
2750
|
readonly properties: {
|
|
2432
2751
|
readonly $type: {
|
|
2433
2752
|
readonly enum: readonly ['transcode'];
|
|
2434
2753
|
readonly type: 'string';
|
|
2435
2754
|
};
|
|
2436
|
-
readonly input: {
|
|
2437
|
-
readonly $ref: '#/components/schemas/TranscodeInput';
|
|
2438
|
-
};
|
|
2439
2755
|
};
|
|
2440
|
-
readonly additionalProperties: false;
|
|
2441
2756
|
};
|
|
2442
2757
|
export declare const $TryOnUInput: {
|
|
2443
2758
|
readonly required: readonly ['garmentUrl', 'subjectUrl'];
|
|
@@ -2472,14 +2787,80 @@ export declare const $TryOnUInput: {
|
|
|
2472
2787
|
readonly format: 'int32';
|
|
2473
2788
|
};
|
|
2474
2789
|
readonly seed: {
|
|
2475
|
-
readonly maximum: 4294967295;
|
|
2476
|
-
readonly minimum: 0;
|
|
2477
2790
|
readonly type: 'integer';
|
|
2478
|
-
readonly format: '
|
|
2791
|
+
readonly format: 'int32';
|
|
2479
2792
|
};
|
|
2480
2793
|
};
|
|
2481
2794
|
readonly additionalProperties: false;
|
|
2482
2795
|
};
|
|
2796
|
+
export declare const $TryOnUJob: {
|
|
2797
|
+
readonly required: readonly ['$type'];
|
|
2798
|
+
readonly allOf: readonly [
|
|
2799
|
+
{
|
|
2800
|
+
readonly $ref: '#/components/schemas/Job';
|
|
2801
|
+
},
|
|
2802
|
+
{
|
|
2803
|
+
readonly required: readonly [
|
|
2804
|
+
'destinationBlobKey',
|
|
2805
|
+
'garmentUrl',
|
|
2806
|
+
'subjectMaskUrl',
|
|
2807
|
+
'subjectUrl',
|
|
2808
|
+
];
|
|
2809
|
+
readonly type: 'object';
|
|
2810
|
+
readonly properties: {
|
|
2811
|
+
readonly subjectUrl: {
|
|
2812
|
+
readonly type: 'string';
|
|
2813
|
+
readonly format: 'uri';
|
|
2814
|
+
};
|
|
2815
|
+
readonly garmentUrl: {
|
|
2816
|
+
readonly type: 'string';
|
|
2817
|
+
readonly format: 'uri';
|
|
2818
|
+
};
|
|
2819
|
+
readonly subjectMaskUrl: {
|
|
2820
|
+
readonly type: 'string';
|
|
2821
|
+
readonly format: 'uri';
|
|
2822
|
+
};
|
|
2823
|
+
readonly garmentDescription: {
|
|
2824
|
+
readonly type: 'string';
|
|
2825
|
+
readonly nullable: true;
|
|
2826
|
+
};
|
|
2827
|
+
readonly maskSubject: {
|
|
2828
|
+
readonly type: 'boolean';
|
|
2829
|
+
};
|
|
2830
|
+
readonly cropSubject: {
|
|
2831
|
+
readonly type: 'boolean';
|
|
2832
|
+
};
|
|
2833
|
+
readonly steps: {
|
|
2834
|
+
readonly type: 'integer';
|
|
2835
|
+
readonly format: 'int32';
|
|
2836
|
+
};
|
|
2837
|
+
readonly seed: {
|
|
2838
|
+
readonly type: 'integer';
|
|
2839
|
+
readonly format: 'int32';
|
|
2840
|
+
};
|
|
2841
|
+
readonly destinationBlobKey: {
|
|
2842
|
+
readonly type: 'string';
|
|
2843
|
+
};
|
|
2844
|
+
readonly type: {
|
|
2845
|
+
readonly type: 'string';
|
|
2846
|
+
readonly readOnly: true;
|
|
2847
|
+
};
|
|
2848
|
+
readonly claimDuration: {
|
|
2849
|
+
readonly type: 'string';
|
|
2850
|
+
readonly format: 'date-span';
|
|
2851
|
+
readonly readOnly: true;
|
|
2852
|
+
};
|
|
2853
|
+
};
|
|
2854
|
+
readonly additionalProperties: false;
|
|
2855
|
+
},
|
|
2856
|
+
];
|
|
2857
|
+
readonly properties: {
|
|
2858
|
+
readonly $type: {
|
|
2859
|
+
readonly enum: readonly ['tryOnU'];
|
|
2860
|
+
readonly type: 'string';
|
|
2861
|
+
};
|
|
2862
|
+
};
|
|
2863
|
+
};
|
|
2483
2864
|
export declare const $TryOnUOutput: {
|
|
2484
2865
|
readonly required: readonly ['blob'];
|
|
2485
2866
|
readonly type: 'object';
|
|
@@ -2491,93 +2872,55 @@ export declare const $TryOnUOutput: {
|
|
|
2491
2872
|
readonly additionalProperties: false;
|
|
2492
2873
|
};
|
|
2493
2874
|
export declare const $TryOnUStep: {
|
|
2494
|
-
readonly required: readonly ['$type'
|
|
2495
|
-
readonly type: 'object';
|
|
2875
|
+
readonly required: readonly ['$type'];
|
|
2496
2876
|
readonly allOf: readonly [
|
|
2497
2877
|
{
|
|
2498
2878
|
readonly $ref: '#/components/schemas/WorkflowStep';
|
|
2499
2879
|
},
|
|
2880
|
+
{
|
|
2881
|
+
readonly required: readonly ['input'];
|
|
2882
|
+
readonly type: 'object';
|
|
2883
|
+
readonly properties: {
|
|
2884
|
+
readonly input: {
|
|
2885
|
+
readonly $ref: '#/components/schemas/TryOnUInput';
|
|
2886
|
+
};
|
|
2887
|
+
readonly output: {
|
|
2888
|
+
readonly $ref: '#/components/schemas/TryOnUOutput';
|
|
2889
|
+
};
|
|
2890
|
+
};
|
|
2891
|
+
readonly additionalProperties: false;
|
|
2892
|
+
},
|
|
2500
2893
|
];
|
|
2501
2894
|
readonly properties: {
|
|
2502
|
-
readonly name: {
|
|
2503
|
-
readonly minLength: 1;
|
|
2504
|
-
readonly type: 'string';
|
|
2505
|
-
readonly description: 'The name of the workflow step. Used to allow steps to refer to one another.';
|
|
2506
|
-
};
|
|
2507
|
-
readonly priority: {
|
|
2508
|
-
readonly $ref: '#/components/schemas/Priority';
|
|
2509
|
-
};
|
|
2510
|
-
readonly timeout: {
|
|
2511
|
-
readonly type: 'string';
|
|
2512
|
-
readonly description: 'The maximum time to wait for this step to complete.';
|
|
2513
|
-
readonly nullable: true;
|
|
2514
|
-
readonly example: '00:00:00';
|
|
2515
|
-
};
|
|
2516
|
-
readonly retries: {
|
|
2517
|
-
readonly type: 'integer';
|
|
2518
|
-
readonly description: 'The maximum number of times this step should be retried.';
|
|
2519
|
-
readonly format: 'int32';
|
|
2520
|
-
readonly nullable: true;
|
|
2521
|
-
};
|
|
2522
|
-
readonly jobs: {
|
|
2523
|
-
readonly type: 'array';
|
|
2524
|
-
readonly items: {
|
|
2525
|
-
readonly $ref: '#/components/schemas/WorkflowStepJob';
|
|
2526
|
-
};
|
|
2527
|
-
readonly description: 'The jobs generated by this step.';
|
|
2528
|
-
readonly nullable: true;
|
|
2529
|
-
};
|
|
2530
|
-
readonly status: {
|
|
2531
|
-
readonly $ref: '#/components/schemas/WorkflowStatus';
|
|
2532
|
-
};
|
|
2533
|
-
readonly startedAt: {
|
|
2534
|
-
readonly type: 'string';
|
|
2535
|
-
readonly description: 'The date / time the step was started. Null if not yet started.';
|
|
2536
|
-
readonly format: 'date-time';
|
|
2537
|
-
readonly nullable: true;
|
|
2538
|
-
};
|
|
2539
|
-
readonly completedAt: {
|
|
2540
|
-
readonly type: 'string';
|
|
2541
|
-
readonly description: 'The date / time the step was completed. Null if not yet completed.';
|
|
2542
|
-
readonly format: 'date-time';
|
|
2543
|
-
readonly nullable: true;
|
|
2544
|
-
};
|
|
2545
|
-
readonly metadata: {
|
|
2546
|
-
readonly type: 'object';
|
|
2547
|
-
readonly additionalProperties: {};
|
|
2548
|
-
readonly description: 'A collection of user defined metadata for the workflow step.';
|
|
2549
|
-
};
|
|
2550
|
-
readonly input: {
|
|
2551
|
-
readonly $ref: '#/components/schemas/TryOnUInput';
|
|
2552
|
-
};
|
|
2553
|
-
readonly output: {
|
|
2554
|
-
readonly $ref: '#/components/schemas/TryOnUOutput';
|
|
2555
|
-
};
|
|
2556
2895
|
readonly $type: {
|
|
2557
2896
|
readonly enum: readonly ['tryOnU'];
|
|
2558
2897
|
readonly type: 'string';
|
|
2559
2898
|
};
|
|
2560
2899
|
};
|
|
2561
|
-
readonly additionalProperties: false;
|
|
2562
2900
|
};
|
|
2563
2901
|
export declare const $TryOnUStepTemplate: {
|
|
2564
|
-
readonly required: readonly ['$type'
|
|
2565
|
-
readonly type: 'object';
|
|
2902
|
+
readonly required: readonly ['$type'];
|
|
2566
2903
|
readonly allOf: readonly [
|
|
2567
2904
|
{
|
|
2568
2905
|
readonly $ref: '#/components/schemas/WorkflowStepTemplate';
|
|
2569
2906
|
},
|
|
2907
|
+
{
|
|
2908
|
+
readonly required: readonly ['input'];
|
|
2909
|
+
readonly type: 'object';
|
|
2910
|
+
readonly properties: {
|
|
2911
|
+
readonly input: {
|
|
2912
|
+
readonly $ref: '#/components/schemas/TryOnUInput';
|
|
2913
|
+
};
|
|
2914
|
+
};
|
|
2915
|
+
readonly additionalProperties: false;
|
|
2916
|
+
},
|
|
2570
2917
|
];
|
|
2571
2918
|
readonly properties: {
|
|
2572
2919
|
readonly $type: {
|
|
2573
2920
|
readonly enum: readonly ['tryOnU'];
|
|
2574
2921
|
readonly type: 'string';
|
|
2575
2922
|
};
|
|
2576
|
-
readonly input: {
|
|
2577
|
-
readonly $ref: '#/components/schemas/TryOnUInput';
|
|
2578
|
-
};
|
|
2579
2923
|
};
|
|
2580
|
-
readonly additionalProperties: false;
|
|
2581
2924
|
};
|
|
2582
2925
|
export declare const $UpdateWorkflowRequest: {
|
|
2583
2926
|
readonly type: 'object';
|
|
@@ -2607,7 +2950,6 @@ export declare const $UpdateWorkflowStatus: {
|
|
|
2607
2950
|
readonly enum: readonly ['canceled'];
|
|
2608
2951
|
readonly type: 'string';
|
|
2609
2952
|
readonly description: 'Available statuses for updating workflows.';
|
|
2610
|
-
readonly nullable: true;
|
|
2611
2953
|
};
|
|
2612
2954
|
export declare const $UpdateWorkflowStepRequest: {
|
|
2613
2955
|
readonly required: readonly ['metadata'];
|
|
@@ -2661,6 +3003,135 @@ export declare const $ValueTupleOfStringAndInt32: {
|
|
|
2661
3003
|
readonly type: 'object';
|
|
2662
3004
|
readonly additionalProperties: false;
|
|
2663
3005
|
};
|
|
3006
|
+
export declare const $VideoGenInput: {
|
|
3007
|
+
readonly required: readonly ['engine', 'prompt'];
|
|
3008
|
+
readonly type: 'object';
|
|
3009
|
+
readonly properties: {
|
|
3010
|
+
readonly engine: {
|
|
3011
|
+
readonly type: 'string';
|
|
3012
|
+
};
|
|
3013
|
+
readonly prompt: {
|
|
3014
|
+
readonly type: 'string';
|
|
3015
|
+
};
|
|
3016
|
+
};
|
|
3017
|
+
readonly additionalProperties: false;
|
|
3018
|
+
readonly discriminator: {
|
|
3019
|
+
readonly propertyName: 'engine';
|
|
3020
|
+
readonly mapping: {
|
|
3021
|
+
readonly haiper: '#/components/schemas/HaiperVideoGenInput';
|
|
3022
|
+
readonly mochi: '#/components/schemas/MochiVideoGenInput';
|
|
3023
|
+
};
|
|
3024
|
+
};
|
|
3025
|
+
};
|
|
3026
|
+
export declare const $VideoGenOutput: {
|
|
3027
|
+
readonly type: 'object';
|
|
3028
|
+
readonly properties: {
|
|
3029
|
+
readonly video: {
|
|
3030
|
+
readonly $ref: '#/components/schemas/Blob';
|
|
3031
|
+
};
|
|
3032
|
+
};
|
|
3033
|
+
readonly additionalProperties: false;
|
|
3034
|
+
};
|
|
3035
|
+
export declare const $VideoGenStep: {
|
|
3036
|
+
readonly required: readonly ['$type'];
|
|
3037
|
+
readonly allOf: readonly [
|
|
3038
|
+
{
|
|
3039
|
+
readonly $ref: '#/components/schemas/WorkflowStep';
|
|
3040
|
+
},
|
|
3041
|
+
{
|
|
3042
|
+
readonly required: readonly ['input'];
|
|
3043
|
+
readonly type: 'object';
|
|
3044
|
+
readonly properties: {
|
|
3045
|
+
readonly input: {
|
|
3046
|
+
readonly $ref: '#/components/schemas/VideoGenInput';
|
|
3047
|
+
};
|
|
3048
|
+
readonly output: {
|
|
3049
|
+
readonly $ref: '#/components/schemas/VideoGenOutput';
|
|
3050
|
+
};
|
|
3051
|
+
};
|
|
3052
|
+
readonly additionalProperties: false;
|
|
3053
|
+
},
|
|
3054
|
+
];
|
|
3055
|
+
readonly properties: {
|
|
3056
|
+
readonly $type: {
|
|
3057
|
+
readonly enum: readonly ['videoGen'];
|
|
3058
|
+
readonly type: 'string';
|
|
3059
|
+
};
|
|
3060
|
+
};
|
|
3061
|
+
};
|
|
3062
|
+
export declare const $VideoGenStepTemplate: {
|
|
3063
|
+
readonly required: readonly ['$type'];
|
|
3064
|
+
readonly allOf: readonly [
|
|
3065
|
+
{
|
|
3066
|
+
readonly $ref: '#/components/schemas/WorkflowStepTemplate';
|
|
3067
|
+
},
|
|
3068
|
+
{
|
|
3069
|
+
readonly required: readonly ['input'];
|
|
3070
|
+
readonly type: 'object';
|
|
3071
|
+
readonly properties: {
|
|
3072
|
+
readonly input: {
|
|
3073
|
+
readonly $ref: '#/components/schemas/VideoGenInput';
|
|
3074
|
+
};
|
|
3075
|
+
};
|
|
3076
|
+
readonly additionalProperties: false;
|
|
3077
|
+
},
|
|
3078
|
+
];
|
|
3079
|
+
readonly properties: {
|
|
3080
|
+
readonly $type: {
|
|
3081
|
+
readonly enum: readonly ['videoGen'];
|
|
3082
|
+
readonly type: 'string';
|
|
3083
|
+
};
|
|
3084
|
+
};
|
|
3085
|
+
};
|
|
3086
|
+
export declare const $WDTaggingJob: {
|
|
3087
|
+
readonly required: readonly ['$type'];
|
|
3088
|
+
readonly allOf: readonly [
|
|
3089
|
+
{
|
|
3090
|
+
readonly $ref: '#/components/schemas/Job';
|
|
3091
|
+
},
|
|
3092
|
+
{
|
|
3093
|
+
readonly type: 'object';
|
|
3094
|
+
readonly properties: {
|
|
3095
|
+
readonly model: {
|
|
3096
|
+
readonly type: 'string';
|
|
3097
|
+
};
|
|
3098
|
+
readonly mediaUrl: {
|
|
3099
|
+
readonly type: 'string';
|
|
3100
|
+
readonly format: 'uri';
|
|
3101
|
+
};
|
|
3102
|
+
readonly threshold: {
|
|
3103
|
+
readonly type: 'number';
|
|
3104
|
+
readonly format: 'double';
|
|
3105
|
+
readonly nullable: true;
|
|
3106
|
+
};
|
|
3107
|
+
readonly movieRatingModel: {
|
|
3108
|
+
readonly type: 'string';
|
|
3109
|
+
readonly nullable: true;
|
|
3110
|
+
};
|
|
3111
|
+
readonly prompt: {
|
|
3112
|
+
readonly type: 'string';
|
|
3113
|
+
readonly nullable: true;
|
|
3114
|
+
};
|
|
3115
|
+
readonly claimDuration: {
|
|
3116
|
+
readonly type: 'string';
|
|
3117
|
+
readonly format: 'date-span';
|
|
3118
|
+
readonly readOnly: true;
|
|
3119
|
+
};
|
|
3120
|
+
readonly type: {
|
|
3121
|
+
readonly type: 'string';
|
|
3122
|
+
readonly readOnly: true;
|
|
3123
|
+
};
|
|
3124
|
+
};
|
|
3125
|
+
readonly additionalProperties: false;
|
|
3126
|
+
},
|
|
3127
|
+
];
|
|
3128
|
+
readonly properties: {
|
|
3129
|
+
readonly $type: {
|
|
3130
|
+
readonly enum: readonly ['wdTagging'];
|
|
3131
|
+
readonly type: 'string';
|
|
3132
|
+
};
|
|
3133
|
+
};
|
|
3134
|
+
};
|
|
2664
3135
|
export declare const $WorkerCapabilities: {
|
|
2665
3136
|
readonly type: 'object';
|
|
2666
3137
|
readonly properties: {
|
|
@@ -2688,6 +3159,9 @@ export declare const $WorkerCapabilities: {
|
|
|
2688
3159
|
readonly tryOnU: {
|
|
2689
3160
|
readonly $ref: '#/components/schemas/WorkerTryOnUCapabilities';
|
|
2690
3161
|
};
|
|
3162
|
+
readonly haiper: {
|
|
3163
|
+
readonly $ref: '#/components/schemas/WorkerHaiperCapabilities';
|
|
3164
|
+
};
|
|
2691
3165
|
};
|
|
2692
3166
|
readonly additionalProperties: false;
|
|
2693
3167
|
readonly description: "Details of a worker's capabilities.";
|
|
@@ -2702,12 +3176,10 @@ export declare const $WorkerDetails: {
|
|
|
2702
3176
|
readonly type: 'object';
|
|
2703
3177
|
readonly properties: {
|
|
2704
3178
|
readonly id: {
|
|
2705
|
-
readonly minLength: 1;
|
|
2706
3179
|
readonly type: 'string';
|
|
2707
3180
|
readonly description: "The worker's ID.";
|
|
2708
3181
|
};
|
|
2709
3182
|
readonly name: {
|
|
2710
|
-
readonly minLength: 1;
|
|
2711
3183
|
readonly type: 'string';
|
|
2712
3184
|
readonly description: "The worker's name.";
|
|
2713
3185
|
};
|
|
@@ -2805,6 +3277,10 @@ export declare const $WorkerDetails: {
|
|
|
2805
3277
|
readonly additionalProperties: false;
|
|
2806
3278
|
readonly description: 'Details for a particular worker.';
|
|
2807
3279
|
};
|
|
3280
|
+
export declare const $WorkerHaiperCapabilities: {
|
|
3281
|
+
readonly type: 'object';
|
|
3282
|
+
readonly additionalProperties: false;
|
|
3283
|
+
};
|
|
2808
3284
|
export declare const $WorkerHumanoidImageMaskCapabilities: {
|
|
2809
3285
|
readonly type: 'object';
|
|
2810
3286
|
readonly additionalProperties: false;
|
|
@@ -3002,7 +3478,6 @@ export declare const $WorkerRegistration: {
|
|
|
3002
3478
|
readonly type: 'object';
|
|
3003
3479
|
readonly properties: {
|
|
3004
3480
|
readonly name: {
|
|
3005
|
-
readonly minLength: 1;
|
|
3006
3481
|
readonly type: 'string';
|
|
3007
3482
|
readonly description: "The worker's name.";
|
|
3008
3483
|
};
|
|
@@ -3082,6 +3557,17 @@ export declare const $WorkerRegistration: {
|
|
|
3082
3557
|
readonly description: 'A list of file formats that the worker supports. If none are specified then all formats are considered supported';
|
|
3083
3558
|
readonly nullable: true;
|
|
3084
3559
|
};
|
|
3560
|
+
readonly preferredDownloadSource: {
|
|
3561
|
+
readonly $ref: '#/components/schemas/DownloadSource';
|
|
3562
|
+
};
|
|
3563
|
+
readonly labels: {
|
|
3564
|
+
readonly type: 'object';
|
|
3565
|
+
readonly additionalProperties: {
|
|
3566
|
+
readonly type: 'string';
|
|
3567
|
+
};
|
|
3568
|
+
readonly description: 'A collection of labels that will be applied to metrics produced by these workers';
|
|
3569
|
+
readonly nullable: true;
|
|
3570
|
+
};
|
|
3085
3571
|
};
|
|
3086
3572
|
readonly additionalProperties: false;
|
|
3087
3573
|
readonly description: "Details of a worker's registration.";
|
|
@@ -3264,7 +3750,6 @@ export declare const $WorkflowCost: {
|
|
|
3264
3750
|
readonly additionalProperties: {
|
|
3265
3751
|
readonly type: 'number';
|
|
3266
3752
|
readonly format: 'double';
|
|
3267
|
-
readonly nullable: true;
|
|
3268
3753
|
};
|
|
3269
3754
|
readonly description: 'A breakdown of the cost factors for this request';
|
|
3270
3755
|
readonly nullable: true;
|
|
@@ -3274,7 +3759,6 @@ export declare const $WorkflowCost: {
|
|
|
3274
3759
|
readonly additionalProperties: {
|
|
3275
3760
|
readonly type: 'integer';
|
|
3276
3761
|
readonly format: 'int32';
|
|
3277
|
-
readonly nullable: true;
|
|
3278
3762
|
};
|
|
3279
3763
|
readonly description: 'A fixed set of cost additions for this request';
|
|
3280
3764
|
readonly nullable: true;
|
|
@@ -3313,7 +3797,6 @@ export declare const $WorkflowEvent: {
|
|
|
3313
3797
|
readonly type: 'object';
|
|
3314
3798
|
readonly properties: {
|
|
3315
3799
|
readonly workflowId: {
|
|
3316
|
-
readonly minLength: 1;
|
|
3317
3800
|
readonly type: 'string';
|
|
3318
3801
|
readonly description: 'The ID that represents the corresponding workflow.';
|
|
3319
3802
|
};
|
|
@@ -3327,7 +3810,6 @@ export declare const $WorkflowEvent: {
|
|
|
3327
3810
|
};
|
|
3328
3811
|
readonly $type: {
|
|
3329
3812
|
readonly type: 'string';
|
|
3330
|
-
readonly nullable: true;
|
|
3331
3813
|
};
|
|
3332
3814
|
};
|
|
3333
3815
|
readonly additionalProperties: false;
|
|
@@ -3355,7 +3837,6 @@ export declare const $WorkflowStep: {
|
|
|
3355
3837
|
readonly type: 'string';
|
|
3356
3838
|
};
|
|
3357
3839
|
readonly name: {
|
|
3358
|
-
readonly minLength: 1;
|
|
3359
3840
|
readonly type: 'string';
|
|
3360
3841
|
readonly description: 'The name of the workflow step. Used to allow steps to refer to one another.';
|
|
3361
3842
|
};
|
|
@@ -3365,8 +3846,8 @@ export declare const $WorkflowStep: {
|
|
|
3365
3846
|
readonly timeout: {
|
|
3366
3847
|
readonly type: 'string';
|
|
3367
3848
|
readonly description: 'The maximum time to wait for this step to complete.';
|
|
3849
|
+
readonly format: 'date-span';
|
|
3368
3850
|
readonly nullable: true;
|
|
3369
|
-
readonly example: '00:00:00';
|
|
3370
3851
|
};
|
|
3371
3852
|
readonly retries: {
|
|
3372
3853
|
readonly type: 'integer';
|
|
@@ -3408,15 +3889,16 @@ export declare const $WorkflowStep: {
|
|
|
3408
3889
|
readonly discriminator: {
|
|
3409
3890
|
readonly propertyName: '$type';
|
|
3410
3891
|
readonly mapping: {
|
|
3411
|
-
readonly
|
|
3412
|
-
readonly
|
|
3413
|
-
readonly
|
|
3414
|
-
readonly humanoidImageMask: '#/components/schemas/HumanoidImageMaskStep';
|
|
3892
|
+
readonly ageClassification: '#/components/schemas/AgeClassificationStep';
|
|
3893
|
+
readonly batchOCRSafetyClassification: '#/components/schemas/BatchOCRSafetyClassificationStep';
|
|
3894
|
+
readonly comfy: '#/components/schemas/ComfyStep';
|
|
3415
3895
|
readonly echo: '#/components/schemas/EchoStep';
|
|
3896
|
+
readonly humanoidImageMask: '#/components/schemas/HumanoidImageMaskStep';
|
|
3897
|
+
readonly imageResourceTraining: '#/components/schemas/ImageResourceTrainingStep';
|
|
3416
3898
|
readonly textToImage: '#/components/schemas/TextToImageStep';
|
|
3417
|
-
readonly
|
|
3418
|
-
readonly
|
|
3419
|
-
readonly
|
|
3899
|
+
readonly transcode: '#/components/schemas/TranscodeStep';
|
|
3900
|
+
readonly tryOnU: '#/components/schemas/TryOnUStep';
|
|
3901
|
+
readonly videoGen: '#/components/schemas/VideoGenStep';
|
|
3420
3902
|
};
|
|
3421
3903
|
};
|
|
3422
3904
|
};
|
|
@@ -3425,12 +3907,10 @@ export declare const $WorkflowStepEvent: {
|
|
|
3425
3907
|
readonly type: 'object';
|
|
3426
3908
|
readonly properties: {
|
|
3427
3909
|
readonly workflowId: {
|
|
3428
|
-
readonly minLength: 1;
|
|
3429
3910
|
readonly type: 'string';
|
|
3430
3911
|
readonly description: 'The workflow ID.';
|
|
3431
3912
|
};
|
|
3432
3913
|
readonly stepName: {
|
|
3433
|
-
readonly minLength: 1;
|
|
3434
3914
|
readonly type: 'string';
|
|
3435
3915
|
readonly description: "The workflow step's name.";
|
|
3436
3916
|
};
|
|
@@ -3439,7 +3919,6 @@ export declare const $WorkflowStepEvent: {
|
|
|
3439
3919
|
};
|
|
3440
3920
|
readonly $type: {
|
|
3441
3921
|
readonly type: 'string';
|
|
3442
|
-
readonly nullable: true;
|
|
3443
3922
|
};
|
|
3444
3923
|
};
|
|
3445
3924
|
readonly additionalProperties: false;
|
|
@@ -3450,7 +3929,6 @@ export declare const $WorkflowStepJob: {
|
|
|
3450
3929
|
readonly type: 'object';
|
|
3451
3930
|
readonly properties: {
|
|
3452
3931
|
readonly id: {
|
|
3453
|
-
readonly minLength: 1;
|
|
3454
3932
|
readonly type: 'string';
|
|
3455
3933
|
readonly description: "The job's ID.";
|
|
3456
3934
|
};
|
|
@@ -3486,17 +3964,14 @@ export declare const $WorkflowStepJobEvent: {
|
|
|
3486
3964
|
readonly type: 'object';
|
|
3487
3965
|
readonly properties: {
|
|
3488
3966
|
readonly workflowId: {
|
|
3489
|
-
readonly minLength: 1;
|
|
3490
3967
|
readonly type: 'string';
|
|
3491
3968
|
readonly description: 'The workflow ID.';
|
|
3492
3969
|
};
|
|
3493
3970
|
readonly stepName: {
|
|
3494
|
-
readonly minLength: 1;
|
|
3495
3971
|
readonly type: 'string';
|
|
3496
3972
|
readonly description: "The step's name.";
|
|
3497
3973
|
};
|
|
3498
3974
|
readonly jobId: {
|
|
3499
|
-
readonly minLength: 1;
|
|
3500
3975
|
readonly type: 'string';
|
|
3501
3976
|
readonly description: "The job's ID.";
|
|
3502
3977
|
};
|
|
@@ -3505,6 +3980,10 @@ export declare const $WorkflowStepJobEvent: {
|
|
|
3505
3980
|
};
|
|
3506
3981
|
readonly $type: {
|
|
3507
3982
|
readonly type: 'string';
|
|
3983
|
+
};
|
|
3984
|
+
readonly progress: {
|
|
3985
|
+
readonly type: 'number';
|
|
3986
|
+
readonly format: 'double';
|
|
3508
3987
|
readonly nullable: true;
|
|
3509
3988
|
};
|
|
3510
3989
|
};
|
|
@@ -3512,6 +3991,7 @@ export declare const $WorkflowStepJobEvent: {
|
|
|
3512
3991
|
readonly description: 'Details of a workflow step job event.';
|
|
3513
3992
|
};
|
|
3514
3993
|
export declare const $WorkflowStepJobQueuePosition: {
|
|
3994
|
+
readonly required: readonly ['support'];
|
|
3515
3995
|
readonly type: 'object';
|
|
3516
3996
|
readonly properties: {
|
|
3517
3997
|
readonly support: {
|
|
@@ -3540,13 +4020,11 @@ export declare const $WorkflowStepJobQueuePosition: {
|
|
|
3540
4020
|
readonly description: "Details of the workflow step job's queue position.";
|
|
3541
4021
|
};
|
|
3542
4022
|
export declare const $WorkflowStepTemplate: {
|
|
3543
|
-
readonly required: readonly ['$type'
|
|
4023
|
+
readonly required: readonly ['$type'];
|
|
3544
4024
|
readonly type: 'object';
|
|
3545
4025
|
readonly properties: {
|
|
3546
4026
|
readonly $type: {
|
|
3547
|
-
readonly minLength: 1;
|
|
3548
4027
|
readonly type: 'string';
|
|
3549
|
-
readonly description: 'The type of step the template represents.';
|
|
3550
4028
|
};
|
|
3551
4029
|
readonly name: {
|
|
3552
4030
|
readonly type: 'string';
|
|
@@ -3559,8 +4037,8 @@ export declare const $WorkflowStepTemplate: {
|
|
|
3559
4037
|
readonly timeout: {
|
|
3560
4038
|
readonly type: 'string';
|
|
3561
4039
|
readonly description: 'The maximum time to wait for this step to complete.';
|
|
4040
|
+
readonly format: 'date-span';
|
|
3562
4041
|
readonly nullable: true;
|
|
3563
|
-
readonly example: '00:00:00';
|
|
3564
4042
|
};
|
|
3565
4043
|
readonly retries: {
|
|
3566
4044
|
readonly type: 'integer';
|
|
@@ -3580,15 +4058,16 @@ export declare const $WorkflowStepTemplate: {
|
|
|
3580
4058
|
readonly discriminator: {
|
|
3581
4059
|
readonly propertyName: '$type';
|
|
3582
4060
|
readonly mapping: {
|
|
3583
|
-
readonly
|
|
3584
|
-
readonly
|
|
3585
|
-
readonly
|
|
3586
|
-
readonly humanoidImageMask: '#/components/schemas/HumanoidImageMaskStepTemplate';
|
|
4061
|
+
readonly ageClassification: '#/components/schemas/AgeClassificationStepTemplate';
|
|
4062
|
+
readonly batchOCRSafetyClassification: '#/components/schemas/BatchOCRSafetyClassificationStepTemplate';
|
|
4063
|
+
readonly comfy: '#/components/schemas/ComfyStepTemplate';
|
|
3587
4064
|
readonly echo: '#/components/schemas/EchoStepTemplate';
|
|
4065
|
+
readonly humanoidImageMask: '#/components/schemas/HumanoidImageMaskStepTemplate';
|
|
4066
|
+
readonly imageResourceTraining: '#/components/schemas/ImageResourceTrainingStepTemplate';
|
|
3588
4067
|
readonly textToImage: '#/components/schemas/TextToImageStepTemplate';
|
|
3589
|
-
readonly
|
|
3590
|
-
readonly
|
|
3591
|
-
readonly
|
|
4068
|
+
readonly transcode: '#/components/schemas/TranscodeStepTemplate';
|
|
4069
|
+
readonly tryOnU: '#/components/schemas/TryOnUStepTemplate';
|
|
4070
|
+
readonly videoGen: '#/components/schemas/VideoGenStepTemplate';
|
|
3592
4071
|
};
|
|
3593
4072
|
};
|
|
3594
4073
|
};
|
|
@@ -3626,6 +4105,7 @@ export declare const $WorkflowTemplate: {
|
|
|
3626
4105
|
readonly $ref: '#/components/schemas/WorkflowCallback';
|
|
3627
4106
|
};
|
|
3628
4107
|
readonly description: 'An array of callbacks to be triggered during the lifetime of the workflow.';
|
|
4108
|
+
readonly nullable: true;
|
|
3629
4109
|
};
|
|
3630
4110
|
readonly tips: {
|
|
3631
4111
|
readonly $ref: '#/components/schemas/WorkflowTips';
|
|
@@ -3634,6 +4114,7 @@ export declare const $WorkflowTemplate: {
|
|
|
3634
4114
|
readonly type: 'object';
|
|
3635
4115
|
readonly additionalProperties: {};
|
|
3636
4116
|
readonly description: 'Get an associated collection of arguments';
|
|
4117
|
+
readonly nullable: true;
|
|
3637
4118
|
};
|
|
3638
4119
|
readonly nsfwLevel: {
|
|
3639
4120
|
readonly $ref: '#/components/schemas/NSFWLevel';
|
|
@@ -3648,6 +4129,7 @@ export declare const $WorkflowTemplate: {
|
|
|
3648
4129
|
readonly description: 'Details of a requested workflow.';
|
|
3649
4130
|
};
|
|
3650
4131
|
export declare const $WorkflowTips: {
|
|
4132
|
+
readonly required: readonly ['civitai', 'creators'];
|
|
3651
4133
|
readonly type: 'object';
|
|
3652
4134
|
readonly properties: {
|
|
3653
4135
|
readonly civitai: {
|