@civitai/client 0.1.9-beta.17 → 0.1.9-beta.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/schemas.gen.d.ts +454 -182
- package/dist/generated/schemas.gen.js +455 -182
- package/dist/generated/services.gen.d.ts +19 -8
- package/dist/generated/services.gen.js +16 -2
- package/dist/generated/types.gen.d.ts +337 -145
- package/dist/generated/types.gen.js +37 -7
- package/package.json +1 -1
|
@@ -209,6 +209,52 @@ export declare const $BuzzClientAccount: {
|
|
|
209
209
|
readonly enum: readonly ['user', 'generation'];
|
|
210
210
|
readonly type: 'string';
|
|
211
211
|
};
|
|
212
|
+
export declare const $Claim: {
|
|
213
|
+
readonly required: readonly ['id', 'job', 'status'];
|
|
214
|
+
readonly type: 'object';
|
|
215
|
+
readonly properties: {
|
|
216
|
+
readonly id: {
|
|
217
|
+
readonly type: 'string';
|
|
218
|
+
};
|
|
219
|
+
readonly job: {
|
|
220
|
+
readonly $ref: '#/components/schemas/Job';
|
|
221
|
+
};
|
|
222
|
+
readonly status: {
|
|
223
|
+
readonly $ref: '#/components/schemas/ClaimStatus';
|
|
224
|
+
};
|
|
225
|
+
readonly requestedAt: {
|
|
226
|
+
readonly type: 'string';
|
|
227
|
+
readonly format: 'date-time';
|
|
228
|
+
};
|
|
229
|
+
readonly expiresAt: {
|
|
230
|
+
readonly type: 'string';
|
|
231
|
+
readonly format: 'date-time';
|
|
232
|
+
};
|
|
233
|
+
readonly retryAttempt: {
|
|
234
|
+
readonly type: 'integer';
|
|
235
|
+
readonly format: 'int32';
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
readonly additionalProperties: false;
|
|
239
|
+
};
|
|
240
|
+
export declare const $ClaimStatus: {
|
|
241
|
+
readonly type: 'object';
|
|
242
|
+
readonly properties: {
|
|
243
|
+
readonly status: {
|
|
244
|
+
readonly $ref: '#/components/schemas/ClaimStatusType';
|
|
245
|
+
};
|
|
246
|
+
readonly context: {
|
|
247
|
+
readonly type: 'object';
|
|
248
|
+
readonly additionalProperties: {};
|
|
249
|
+
readonly nullable: true;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
readonly additionalProperties: false;
|
|
253
|
+
};
|
|
254
|
+
export declare const $ClaimStatusType: {
|
|
255
|
+
readonly enum: readonly ['claimed', 'rejected', 'succeeded'];
|
|
256
|
+
readonly type: 'string';
|
|
257
|
+
};
|
|
212
258
|
export declare const $ComfyInput: {
|
|
213
259
|
readonly required: readonly ['comfyWorkflow'];
|
|
214
260
|
readonly type: 'object';
|
|
@@ -236,6 +282,81 @@ export declare const $ComfyInput: {
|
|
|
236
282
|
};
|
|
237
283
|
readonly additionalProperties: false;
|
|
238
284
|
};
|
|
285
|
+
export declare const $ComfyJob: {
|
|
286
|
+
readonly required: readonly ['$type'];
|
|
287
|
+
readonly allOf: readonly [
|
|
288
|
+
{
|
|
289
|
+
readonly $ref: '#/components/schemas/Job';
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
readonly required: readonly ['params', 'slots'];
|
|
293
|
+
readonly type: 'object';
|
|
294
|
+
readonly properties: {
|
|
295
|
+
readonly params: {
|
|
296
|
+
readonly type: 'object';
|
|
297
|
+
readonly additionalProperties: {
|
|
298
|
+
readonly $ref: '#/components/schemas/ComfyNode';
|
|
299
|
+
};
|
|
300
|
+
readonly description: 'A untyped set of parameters that are associated with this job';
|
|
301
|
+
};
|
|
302
|
+
readonly resources: {
|
|
303
|
+
readonly uniqueItems: true;
|
|
304
|
+
readonly type: 'array';
|
|
305
|
+
readonly items: {
|
|
306
|
+
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_\\-]+))?$';
|
|
307
|
+
readonly type: 'string';
|
|
308
|
+
};
|
|
309
|
+
readonly nullable: true;
|
|
310
|
+
};
|
|
311
|
+
readonly slots: {
|
|
312
|
+
readonly type: 'array';
|
|
313
|
+
readonly items: {
|
|
314
|
+
readonly $ref: '#/components/schemas/ComfyJobSlot';
|
|
315
|
+
};
|
|
316
|
+
readonly description: 'Slots for the resulting blob outputs.';
|
|
317
|
+
};
|
|
318
|
+
readonly imageMetadata: {
|
|
319
|
+
readonly type: 'string';
|
|
320
|
+
readonly description: 'Get or set additional metadata that will be embedded with generated images';
|
|
321
|
+
readonly nullable: true;
|
|
322
|
+
};
|
|
323
|
+
readonly type: {
|
|
324
|
+
readonly type: 'string';
|
|
325
|
+
readonly readOnly: true;
|
|
326
|
+
};
|
|
327
|
+
readonly claimDuration: {
|
|
328
|
+
readonly type: 'string';
|
|
329
|
+
readonly format: 'date-span';
|
|
330
|
+
readonly readOnly: true;
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
readonly additionalProperties: false;
|
|
334
|
+
},
|
|
335
|
+
];
|
|
336
|
+
readonly properties: {
|
|
337
|
+
readonly $type: {
|
|
338
|
+
readonly enum: readonly ['comfy'];
|
|
339
|
+
readonly type: 'string';
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
export declare const $ComfyJobSlot: {
|
|
344
|
+
readonly required: readonly ['blobKey', 'destinationUrl'];
|
|
345
|
+
readonly type: 'object';
|
|
346
|
+
readonly properties: {
|
|
347
|
+
readonly blobKey: {
|
|
348
|
+
readonly type: 'string';
|
|
349
|
+
readonly description: 'The hash for the blob output.';
|
|
350
|
+
};
|
|
351
|
+
readonly destinationUrl: {
|
|
352
|
+
readonly type: 'string';
|
|
353
|
+
readonly description: 'The destination url for blob upload.';
|
|
354
|
+
readonly format: 'uri';
|
|
355
|
+
};
|
|
356
|
+
};
|
|
357
|
+
readonly additionalProperties: false;
|
|
358
|
+
readonly description: 'Contains slot information for a blob generated by a ComfyJob.';
|
|
359
|
+
};
|
|
239
360
|
export declare const $ComfyNode: {
|
|
240
361
|
readonly required: readonly ['classType', 'inputs'];
|
|
241
362
|
readonly type: 'object';
|
|
@@ -287,15 +408,7 @@ export declare const $ComfyOutput: {
|
|
|
287
408
|
readonly blobs: {
|
|
288
409
|
readonly type: 'array';
|
|
289
410
|
readonly items: {
|
|
290
|
-
readonly
|
|
291
|
-
{
|
|
292
|
-
readonly $ref: '#/components/schemas/Blob';
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
readonly $ref: '#/components/schemas/VideoBlob';
|
|
296
|
-
},
|
|
297
|
-
];
|
|
298
|
-
readonly description: 'Represents a blob that gets produced as part of a specific job';
|
|
411
|
+
readonly $ref: '#/components/schemas/Blob';
|
|
299
412
|
};
|
|
300
413
|
readonly description: 'Get a list of blobs that got generated by this comfy workflow step.';
|
|
301
414
|
};
|
|
@@ -411,6 +524,11 @@ export declare const $ComfyVideoGenJob: {
|
|
|
411
524
|
readonly type: 'integer';
|
|
412
525
|
readonly format: 'int32';
|
|
413
526
|
};
|
|
527
|
+
readonly sourceImageUrl: {
|
|
528
|
+
readonly type: 'string';
|
|
529
|
+
readonly format: 'uri';
|
|
530
|
+
readonly nullable: true;
|
|
531
|
+
};
|
|
414
532
|
readonly claimDuration: {
|
|
415
533
|
readonly type: 'string';
|
|
416
534
|
readonly format: 'date-span';
|
|
@@ -802,15 +920,7 @@ export declare const $HumanoidImageMaskOutput: {
|
|
|
802
920
|
readonly type: 'object';
|
|
803
921
|
readonly properties: {
|
|
804
922
|
readonly blob: {
|
|
805
|
-
readonly
|
|
806
|
-
{
|
|
807
|
-
readonly $ref: '#/components/schemas/Blob';
|
|
808
|
-
},
|
|
809
|
-
{
|
|
810
|
-
readonly $ref: '#/components/schemas/VideoBlob';
|
|
811
|
-
},
|
|
812
|
-
];
|
|
813
|
-
readonly description: 'Represents a blob that gets produced as part of a specific job';
|
|
923
|
+
readonly $ref: '#/components/schemas/Blob';
|
|
814
924
|
};
|
|
815
925
|
};
|
|
816
926
|
readonly additionalProperties: false;
|
|
@@ -1082,15 +1192,7 @@ export declare const $ImageResourceTrainingStep: {
|
|
|
1082
1192
|
readonly type: 'object';
|
|
1083
1193
|
readonly properties: {
|
|
1084
1194
|
readonly input: {
|
|
1085
|
-
readonly
|
|
1086
|
-
{
|
|
1087
|
-
readonly $ref: '#/components/schemas/KohyaImageResourceTrainingInput';
|
|
1088
|
-
},
|
|
1089
|
-
{
|
|
1090
|
-
readonly $ref: '#/components/schemas/FluxDevFastImageResourceTrainingInput';
|
|
1091
|
-
},
|
|
1092
|
-
];
|
|
1093
|
-
readonly description: "The workflow's input.";
|
|
1195
|
+
readonly $ref: '#/components/schemas/ImageResourceTrainingInput';
|
|
1094
1196
|
};
|
|
1095
1197
|
readonly output: {
|
|
1096
1198
|
readonly $ref: '#/components/schemas/ImageResourceTrainingOutput';
|
|
@@ -1118,16 +1220,7 @@ export declare const $ImageResourceTrainingStepTemplate: {
|
|
|
1118
1220
|
readonly type: 'object';
|
|
1119
1221
|
readonly properties: {
|
|
1120
1222
|
readonly input: {
|
|
1121
|
-
readonly
|
|
1122
|
-
{
|
|
1123
|
-
readonly $ref: '#/components/schemas/KohyaImageResourceTrainingInput';
|
|
1124
|
-
},
|
|
1125
|
-
{
|
|
1126
|
-
readonly $ref: '#/components/schemas/FluxDevFastImageResourceTrainingInput';
|
|
1127
|
-
},
|
|
1128
|
-
];
|
|
1129
|
-
readonly description: 'Input for the ImageResourceTrainingStep step.';
|
|
1130
|
-
readonly nullable: true;
|
|
1223
|
+
readonly $ref: '#/components/schemas/ImageResourceTrainingInput';
|
|
1131
1224
|
};
|
|
1132
1225
|
};
|
|
1133
1226
|
readonly additionalProperties: false;
|
|
@@ -1151,15 +1244,7 @@ export declare const $ImageUploadOutput: {
|
|
|
1151
1244
|
readonly type: 'object';
|
|
1152
1245
|
readonly properties: {
|
|
1153
1246
|
readonly blob: {
|
|
1154
|
-
readonly
|
|
1155
|
-
{
|
|
1156
|
-
readonly $ref: '#/components/schemas/Blob';
|
|
1157
|
-
},
|
|
1158
|
-
{
|
|
1159
|
-
readonly $ref: '#/components/schemas/VideoBlob';
|
|
1160
|
-
},
|
|
1161
|
-
];
|
|
1162
|
-
readonly description: 'Represents a blob that gets produced as part of a specific job';
|
|
1247
|
+
readonly $ref: '#/components/schemas/Blob';
|
|
1163
1248
|
};
|
|
1164
1249
|
};
|
|
1165
1250
|
readonly additionalProperties: false;
|
|
@@ -1267,16 +1352,6 @@ export declare const $Job: {
|
|
|
1267
1352
|
readonly description: 'The max number of retries before we give up';
|
|
1268
1353
|
readonly format: 'int32';
|
|
1269
1354
|
};
|
|
1270
|
-
readonly dependencies: {
|
|
1271
|
-
readonly type: 'object';
|
|
1272
|
-
readonly additionalProperties: {
|
|
1273
|
-
readonly type: 'array';
|
|
1274
|
-
readonly items: {
|
|
1275
|
-
readonly $ref: '#/components/schemas/DynamicAssignment';
|
|
1276
|
-
};
|
|
1277
|
-
};
|
|
1278
|
-
readonly description: 'Get or set a list of dependencies that this job has';
|
|
1279
|
-
};
|
|
1280
1355
|
readonly issuedBy: {
|
|
1281
1356
|
readonly type: 'string';
|
|
1282
1357
|
readonly description: 'Get or set the name of the consumer that issued this job';
|
|
@@ -1318,11 +1393,16 @@ export declare const $Job: {
|
|
|
1318
1393
|
readonly propertyName: '$type';
|
|
1319
1394
|
readonly mapping: {
|
|
1320
1395
|
readonly textToImage: '#/components/schemas/TextToImageJob';
|
|
1396
|
+
readonly textToImageV2: '#/components/schemas/TextToImageV2Job';
|
|
1321
1397
|
readonly imageResourceTraining: '#/components/schemas/ImageResourceTrainingJob';
|
|
1398
|
+
readonly comfy: '#/components/schemas/ComfyJob';
|
|
1322
1399
|
readonly similaritySearch: '#/components/schemas/SimilaritySearchJob';
|
|
1323
1400
|
readonly llmPromptAugmentation: '#/components/schemas/LLMPromptAugmentationJob';
|
|
1324
1401
|
readonly mochi: '#/components/schemas/MochiVideoGenJob';
|
|
1402
|
+
readonly vidu: '#/components/schemas/ViduVideoGenJob';
|
|
1325
1403
|
readonly comfyVideoGen: '#/components/schemas/ComfyVideoGenJob';
|
|
1404
|
+
readonly rewritePrompt: '#/components/schemas/RewritePromptJob';
|
|
1405
|
+
readonly transcode: '#/components/schemas/TranscodeJob';
|
|
1326
1406
|
};
|
|
1327
1407
|
};
|
|
1328
1408
|
};
|
|
@@ -1472,7 +1552,7 @@ export declare const $KlingMode: {
|
|
|
1472
1552
|
readonly type: 'string';
|
|
1473
1553
|
};
|
|
1474
1554
|
export declare const $KlingModel: {
|
|
1475
|
-
readonly enum: readonly ['v1', 'v1_5'];
|
|
1555
|
+
readonly enum: readonly ['v1', 'v1_5', 'v1_6'];
|
|
1476
1556
|
readonly type: 'string';
|
|
1477
1557
|
};
|
|
1478
1558
|
export declare const $KlingVideoGenAspectRatio: {
|
|
@@ -1747,7 +1827,7 @@ export declare const $LLMPromptAugmentationJob: {
|
|
|
1747
1827
|
};
|
|
1748
1828
|
};
|
|
1749
1829
|
export declare const $LightricksAspectRatio: {
|
|
1750
|
-
readonly enum: readonly ['
|
|
1830
|
+
readonly enum: readonly ['1:1', '16:9', '9:16'];
|
|
1751
1831
|
readonly type: 'string';
|
|
1752
1832
|
};
|
|
1753
1833
|
export declare const $LightricksVideoGenInput: {
|
|
@@ -1797,6 +1877,11 @@ export declare const $LightricksVideoGenInput: {
|
|
|
1797
1877
|
readonly format: 'int32';
|
|
1798
1878
|
readonly default: 20;
|
|
1799
1879
|
};
|
|
1880
|
+
readonly sourceImage: {
|
|
1881
|
+
readonly type: 'string';
|
|
1882
|
+
readonly description: 'Either A URL, A DataURL or a Base64 string';
|
|
1883
|
+
readonly nullable: true;
|
|
1884
|
+
};
|
|
1800
1885
|
readonly resolution: {
|
|
1801
1886
|
readonly $ref: '#/components/schemas/ValueTupleOfInt32AndInt32';
|
|
1802
1887
|
};
|
|
@@ -2110,10 +2195,49 @@ export declare const $ResourceInfo: {
|
|
|
2110
2195
|
readonly fileFormat: {
|
|
2111
2196
|
readonly $ref: '#/components/schemas/FileFormat';
|
|
2112
2197
|
};
|
|
2198
|
+
readonly hasMatureContentRestriction: {
|
|
2199
|
+
readonly type: 'boolean';
|
|
2200
|
+
readonly description: 'A boolean indicating whether this resource restricts mature content generation.\nIf resources with this restriction are used in generation, then generations will automatically be enforced to not generate mature content';
|
|
2201
|
+
};
|
|
2113
2202
|
};
|
|
2114
2203
|
readonly additionalProperties: false;
|
|
2115
2204
|
readonly description: 'Details for a specific resource.';
|
|
2116
2205
|
};
|
|
2206
|
+
export declare const $RewritePromptGoal: {
|
|
2207
|
+
readonly enum: readonly ['preventSexual', 'preventSexualMinor'];
|
|
2208
|
+
readonly type: 'string';
|
|
2209
|
+
};
|
|
2210
|
+
export declare const $RewritePromptJob: {
|
|
2211
|
+
readonly required: readonly ['$type'];
|
|
2212
|
+
readonly allOf: readonly [
|
|
2213
|
+
{
|
|
2214
|
+
readonly $ref: '#/components/schemas/Job';
|
|
2215
|
+
},
|
|
2216
|
+
{
|
|
2217
|
+
readonly required: readonly ['goal', 'prompt'];
|
|
2218
|
+
readonly type: 'object';
|
|
2219
|
+
readonly properties: {
|
|
2220
|
+
readonly prompt: {
|
|
2221
|
+
readonly type: 'string';
|
|
2222
|
+
};
|
|
2223
|
+
readonly goal: {
|
|
2224
|
+
readonly $ref: '#/components/schemas/RewritePromptGoal';
|
|
2225
|
+
};
|
|
2226
|
+
readonly type: {
|
|
2227
|
+
readonly type: 'string';
|
|
2228
|
+
readonly readOnly: true;
|
|
2229
|
+
};
|
|
2230
|
+
};
|
|
2231
|
+
readonly additionalProperties: false;
|
|
2232
|
+
},
|
|
2233
|
+
];
|
|
2234
|
+
readonly properties: {
|
|
2235
|
+
readonly $type: {
|
|
2236
|
+
readonly enum: readonly ['rewritePrompt'];
|
|
2237
|
+
readonly type: 'string';
|
|
2238
|
+
};
|
|
2239
|
+
};
|
|
2240
|
+
};
|
|
2117
2241
|
export declare const $Scheduler: {
|
|
2118
2242
|
readonly enum: readonly [
|
|
2119
2243
|
'eulerA',
|
|
@@ -2291,7 +2415,7 @@ export declare const $TextToImageInput: {
|
|
|
2291
2415
|
readonly minimum: 0;
|
|
2292
2416
|
readonly type: 'integer';
|
|
2293
2417
|
readonly description: 'The seed to use in image generation. Defaults to a random value if left unpopulated.';
|
|
2294
|
-
readonly format: '
|
|
2418
|
+
readonly format: 'int64';
|
|
2295
2419
|
};
|
|
2296
2420
|
readonly clipSkip: {
|
|
2297
2421
|
readonly type: 'integer';
|
|
@@ -2382,6 +2506,23 @@ export declare const $TextToImageJob: {
|
|
|
2382
2506
|
};
|
|
2383
2507
|
readonly description: 'A text to image generation job.';
|
|
2384
2508
|
};
|
|
2509
|
+
export declare const $TextToImageJobSlot: {
|
|
2510
|
+
readonly required: readonly ['destinationUrl', 'imageHash'];
|
|
2511
|
+
readonly type: 'object';
|
|
2512
|
+
readonly properties: {
|
|
2513
|
+
readonly imageHash: {
|
|
2514
|
+
readonly type: 'string';
|
|
2515
|
+
readonly description: 'The hash for the image output.';
|
|
2516
|
+
};
|
|
2517
|
+
readonly destinationUrl: {
|
|
2518
|
+
readonly type: 'string';
|
|
2519
|
+
readonly description: 'The destination url for image upload.';
|
|
2520
|
+
readonly format: 'uri';
|
|
2521
|
+
};
|
|
2522
|
+
};
|
|
2523
|
+
readonly additionalProperties: false;
|
|
2524
|
+
readonly description: 'Contains slot information for an image generated by a TextToImageJob.';
|
|
2525
|
+
};
|
|
2385
2526
|
export declare const $TextToImageOutput: {
|
|
2386
2527
|
readonly required: readonly ['images'];
|
|
2387
2528
|
readonly type: 'object';
|
|
@@ -2389,15 +2530,7 @@ export declare const $TextToImageOutput: {
|
|
|
2389
2530
|
readonly images: {
|
|
2390
2531
|
readonly type: 'array';
|
|
2391
2532
|
readonly items: {
|
|
2392
|
-
readonly
|
|
2393
|
-
{
|
|
2394
|
-
readonly $ref: '#/components/schemas/Blob';
|
|
2395
|
-
},
|
|
2396
|
-
{
|
|
2397
|
-
readonly $ref: '#/components/schemas/VideoBlob';
|
|
2398
|
-
},
|
|
2399
|
-
];
|
|
2400
|
-
readonly description: 'Represents a blob that gets produced as part of a specific job';
|
|
2533
|
+
readonly $ref: '#/components/schemas/Blob';
|
|
2401
2534
|
};
|
|
2402
2535
|
readonly description: 'A collection of output images.';
|
|
2403
2536
|
};
|
|
@@ -2458,6 +2591,83 @@ export declare const $TextToImageStepTemplate: {
|
|
|
2458
2591
|
};
|
|
2459
2592
|
readonly description: 'TextToImage';
|
|
2460
2593
|
};
|
|
2594
|
+
export declare const $TextToImageV2Job: {
|
|
2595
|
+
readonly required: readonly ['$type'];
|
|
2596
|
+
readonly allOf: readonly [
|
|
2597
|
+
{
|
|
2598
|
+
readonly $ref: '#/components/schemas/Job';
|
|
2599
|
+
},
|
|
2600
|
+
{
|
|
2601
|
+
readonly required: readonly ['model', 'params', 'slots'];
|
|
2602
|
+
readonly type: 'object';
|
|
2603
|
+
readonly properties: {
|
|
2604
|
+
readonly baseModel: {
|
|
2605
|
+
readonly type: 'string';
|
|
2606
|
+
readonly description: 'The base model / ecosystem for the model.';
|
|
2607
|
+
readonly nullable: true;
|
|
2608
|
+
readonly readOnly: true;
|
|
2609
|
+
};
|
|
2610
|
+
readonly model: {
|
|
2611
|
+
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_\\-]+))?$';
|
|
2612
|
+
readonly type: 'string';
|
|
2613
|
+
readonly description: 'An AIR representing the model to use.';
|
|
2614
|
+
};
|
|
2615
|
+
readonly params: {
|
|
2616
|
+
readonly $ref: '#/components/schemas/ImageJobParams';
|
|
2617
|
+
};
|
|
2618
|
+
readonly slots: {
|
|
2619
|
+
readonly type: 'array';
|
|
2620
|
+
readonly items: {
|
|
2621
|
+
readonly $ref: '#/components/schemas/TextToImageJobSlot';
|
|
2622
|
+
};
|
|
2623
|
+
readonly description: 'Slots for the resulting image outputs.';
|
|
2624
|
+
};
|
|
2625
|
+
readonly additionalNetworks: {
|
|
2626
|
+
readonly type: 'object';
|
|
2627
|
+
readonly additionalProperties: {
|
|
2628
|
+
readonly $ref: '#/components/schemas/ImageJobNetworkParams';
|
|
2629
|
+
};
|
|
2630
|
+
readonly description: 'Get or set a associative list of additional networks. Each network is identified by a hash code';
|
|
2631
|
+
};
|
|
2632
|
+
readonly controlNets: {
|
|
2633
|
+
readonly type: 'array';
|
|
2634
|
+
readonly items: {
|
|
2635
|
+
readonly $ref: '#/components/schemas/ImageJobControlNet';
|
|
2636
|
+
};
|
|
2637
|
+
readonly description: 'Get or set a list of control nets that should be applied with this textToImage job';
|
|
2638
|
+
};
|
|
2639
|
+
readonly imageMetadata: {
|
|
2640
|
+
readonly type: 'string';
|
|
2641
|
+
readonly description: 'Get or set additional metadata that will be embedded with generated images';
|
|
2642
|
+
readonly nullable: true;
|
|
2643
|
+
};
|
|
2644
|
+
readonly engine: {
|
|
2645
|
+
readonly type: 'string';
|
|
2646
|
+
readonly description: 'The engine to use for generation';
|
|
2647
|
+
readonly nullable: true;
|
|
2648
|
+
};
|
|
2649
|
+
readonly claimDuration: {
|
|
2650
|
+
readonly type: 'string';
|
|
2651
|
+
readonly description: 'The duration for which this job can be claimed for.';
|
|
2652
|
+
readonly format: 'date-span';
|
|
2653
|
+
readonly readOnly: true;
|
|
2654
|
+
};
|
|
2655
|
+
readonly type: {
|
|
2656
|
+
readonly type: 'string';
|
|
2657
|
+
readonly description: 'The job type.';
|
|
2658
|
+
readonly readOnly: true;
|
|
2659
|
+
};
|
|
2660
|
+
};
|
|
2661
|
+
readonly additionalProperties: false;
|
|
2662
|
+
},
|
|
2663
|
+
];
|
|
2664
|
+
readonly properties: {
|
|
2665
|
+
readonly $type: {
|
|
2666
|
+
readonly enum: readonly ['textToImageV2'];
|
|
2667
|
+
readonly type: 'string';
|
|
2668
|
+
};
|
|
2669
|
+
};
|
|
2670
|
+
};
|
|
2461
2671
|
export declare const $TransactionInfo: {
|
|
2462
2672
|
readonly required: readonly ['amount', 'type'];
|
|
2463
2673
|
readonly type: 'object';
|
|
@@ -2524,6 +2734,54 @@ export declare const $TranscodeInput: {
|
|
|
2524
2734
|
};
|
|
2525
2735
|
readonly additionalProperties: false;
|
|
2526
2736
|
};
|
|
2737
|
+
export declare const $TranscodeJob: {
|
|
2738
|
+
readonly required: readonly ['$type'];
|
|
2739
|
+
readonly allOf: readonly [
|
|
2740
|
+
{
|
|
2741
|
+
readonly $ref: '#/components/schemas/Job';
|
|
2742
|
+
},
|
|
2743
|
+
{
|
|
2744
|
+
readonly required: readonly ['destinationUrl', 'mediaHash', 'sourceUrl'];
|
|
2745
|
+
readonly type: 'object';
|
|
2746
|
+
readonly properties: {
|
|
2747
|
+
readonly sourceUrl: {
|
|
2748
|
+
readonly type: 'string';
|
|
2749
|
+
readonly format: 'uri';
|
|
2750
|
+
};
|
|
2751
|
+
readonly containerFormat: {
|
|
2752
|
+
readonly $ref: '#/components/schemas/ContainerFormat';
|
|
2753
|
+
};
|
|
2754
|
+
readonly width: {
|
|
2755
|
+
readonly type: 'integer';
|
|
2756
|
+
readonly format: 'int32';
|
|
2757
|
+
};
|
|
2758
|
+
readonly mediaHash: {
|
|
2759
|
+
readonly type: 'string';
|
|
2760
|
+
};
|
|
2761
|
+
readonly destinationUrl: {
|
|
2762
|
+
readonly type: 'string';
|
|
2763
|
+
readonly format: 'uri';
|
|
2764
|
+
};
|
|
2765
|
+
readonly type: {
|
|
2766
|
+
readonly type: 'string';
|
|
2767
|
+
readonly readOnly: true;
|
|
2768
|
+
};
|
|
2769
|
+
readonly claimDuration: {
|
|
2770
|
+
readonly type: 'string';
|
|
2771
|
+
readonly format: 'date-span';
|
|
2772
|
+
readonly readOnly: true;
|
|
2773
|
+
};
|
|
2774
|
+
};
|
|
2775
|
+
readonly additionalProperties: false;
|
|
2776
|
+
},
|
|
2777
|
+
];
|
|
2778
|
+
readonly properties: {
|
|
2779
|
+
readonly $type: {
|
|
2780
|
+
readonly enum: readonly ['transcode'];
|
|
2781
|
+
readonly type: 'string';
|
|
2782
|
+
};
|
|
2783
|
+
};
|
|
2784
|
+
};
|
|
2527
2785
|
export declare const $TranscodeOutput: {
|
|
2528
2786
|
readonly required: readonly ['available', 'id', 'jobId'];
|
|
2529
2787
|
readonly type: 'object';
|
|
@@ -2629,15 +2887,7 @@ export declare const $TryOnUOutput: {
|
|
|
2629
2887
|
readonly type: 'object';
|
|
2630
2888
|
readonly properties: {
|
|
2631
2889
|
readonly blob: {
|
|
2632
|
-
readonly
|
|
2633
|
-
{
|
|
2634
|
-
readonly $ref: '#/components/schemas/Blob';
|
|
2635
|
-
},
|
|
2636
|
-
{
|
|
2637
|
-
readonly $ref: '#/components/schemas/VideoBlob';
|
|
2638
|
-
},
|
|
2639
|
-
];
|
|
2640
|
-
readonly description: 'Represents a blob that gets produced as part of a specific job';
|
|
2890
|
+
readonly $ref: '#/components/schemas/Blob';
|
|
2641
2891
|
};
|
|
2642
2892
|
};
|
|
2643
2893
|
readonly additionalProperties: false;
|
|
@@ -2777,6 +3027,7 @@ export declare const $VideoGenInput: {
|
|
|
2777
3027
|
readonly kling: '#/components/schemas/KlingVideoGenInput';
|
|
2778
3028
|
readonly minimax: '#/components/schemas/MiniMaxVideoGenInput';
|
|
2779
3029
|
readonly lightricks: '#/components/schemas/LightricksVideoGenInput';
|
|
3030
|
+
readonly vidu: '#/components/schemas/ViduVideoGenInput';
|
|
2780
3031
|
};
|
|
2781
3032
|
};
|
|
2782
3033
|
};
|
|
@@ -2784,16 +3035,7 @@ export declare const $VideoGenOutput: {
|
|
|
2784
3035
|
readonly type: 'object';
|
|
2785
3036
|
readonly properties: {
|
|
2786
3037
|
readonly video: {
|
|
2787
|
-
readonly
|
|
2788
|
-
{
|
|
2789
|
-
readonly $ref: '#/components/schemas/Blob';
|
|
2790
|
-
},
|
|
2791
|
-
{
|
|
2792
|
-
readonly $ref: '#/components/schemas/VideoBlob';
|
|
2793
|
-
},
|
|
2794
|
-
];
|
|
2795
|
-
readonly description: 'Represents a blob that gets produced as part of a specific job';
|
|
2796
|
-
readonly nullable: true;
|
|
3038
|
+
readonly $ref: '#/components/schemas/Blob';
|
|
2797
3039
|
};
|
|
2798
3040
|
};
|
|
2799
3041
|
readonly additionalProperties: false;
|
|
@@ -2809,33 +3051,10 @@ export declare const $VideoGenStep: {
|
|
|
2809
3051
|
readonly type: 'object';
|
|
2810
3052
|
readonly properties: {
|
|
2811
3053
|
readonly input: {
|
|
2812
|
-
readonly
|
|
2813
|
-
{
|
|
2814
|
-
readonly $ref: '#/components/schemas/HaiperVideoGenInput';
|
|
2815
|
-
},
|
|
2816
|
-
{
|
|
2817
|
-
readonly $ref: '#/components/schemas/MochiVideoGenInput';
|
|
2818
|
-
},
|
|
2819
|
-
{
|
|
2820
|
-
readonly $ref: '#/components/schemas/KlingVideoGenInput';
|
|
2821
|
-
},
|
|
2822
|
-
{
|
|
2823
|
-
readonly $ref: '#/components/schemas/MiniMaxVideoGenInput';
|
|
2824
|
-
},
|
|
2825
|
-
{
|
|
2826
|
-
readonly $ref: '#/components/schemas/LightricksVideoGenInput';
|
|
2827
|
-
},
|
|
2828
|
-
];
|
|
2829
|
-
readonly description: "The workflow's input.";
|
|
3054
|
+
readonly $ref: '#/components/schemas/VideoGenInput';
|
|
2830
3055
|
};
|
|
2831
3056
|
readonly output: {
|
|
2832
|
-
readonly
|
|
2833
|
-
{
|
|
2834
|
-
readonly $ref: '#/components/schemas/HaiperVideoGenOutput';
|
|
2835
|
-
},
|
|
2836
|
-
];
|
|
2837
|
-
readonly description: "The workflow's output.";
|
|
2838
|
-
readonly nullable: true;
|
|
3057
|
+
readonly $ref: '#/components/schemas/VideoGenOutput';
|
|
2839
3058
|
};
|
|
2840
3059
|
};
|
|
2841
3060
|
readonly additionalProperties: false;
|
|
@@ -2860,25 +3079,7 @@ export declare const $VideoGenStepTemplate: {
|
|
|
2860
3079
|
readonly type: 'object';
|
|
2861
3080
|
readonly properties: {
|
|
2862
3081
|
readonly input: {
|
|
2863
|
-
readonly
|
|
2864
|
-
{
|
|
2865
|
-
readonly $ref: '#/components/schemas/HaiperVideoGenInput';
|
|
2866
|
-
},
|
|
2867
|
-
{
|
|
2868
|
-
readonly $ref: '#/components/schemas/MochiVideoGenInput';
|
|
2869
|
-
},
|
|
2870
|
-
{
|
|
2871
|
-
readonly $ref: '#/components/schemas/KlingVideoGenInput';
|
|
2872
|
-
},
|
|
2873
|
-
{
|
|
2874
|
-
readonly $ref: '#/components/schemas/MiniMaxVideoGenInput';
|
|
2875
|
-
},
|
|
2876
|
-
{
|
|
2877
|
-
readonly $ref: '#/components/schemas/LightricksVideoGenInput';
|
|
2878
|
-
},
|
|
2879
|
-
];
|
|
2880
|
-
readonly description: 'Input for the VideoGenStep step.';
|
|
2881
|
-
readonly nullable: true;
|
|
3082
|
+
readonly $ref: '#/components/schemas/VideoGenInput';
|
|
2882
3083
|
};
|
|
2883
3084
|
};
|
|
2884
3085
|
readonly additionalProperties: false;
|
|
@@ -2892,6 +3093,112 @@ export declare const $VideoGenStepTemplate: {
|
|
|
2892
3093
|
};
|
|
2893
3094
|
readonly description: 'Video generation';
|
|
2894
3095
|
};
|
|
3096
|
+
export declare const $ViduVideoGenInput: {
|
|
3097
|
+
readonly required: readonly ['engine'];
|
|
3098
|
+
readonly allOf: readonly [
|
|
3099
|
+
{
|
|
3100
|
+
readonly $ref: '#/components/schemas/VideoGenInput';
|
|
3101
|
+
},
|
|
3102
|
+
{
|
|
3103
|
+
readonly type: 'object';
|
|
3104
|
+
readonly properties: {
|
|
3105
|
+
readonly enablePromptEnhancer: {
|
|
3106
|
+
readonly type: 'boolean';
|
|
3107
|
+
readonly default: true;
|
|
3108
|
+
};
|
|
3109
|
+
readonly seed: {
|
|
3110
|
+
readonly type: 'integer';
|
|
3111
|
+
readonly format: 'int32';
|
|
3112
|
+
readonly nullable: true;
|
|
3113
|
+
};
|
|
3114
|
+
readonly sourceImage: {
|
|
3115
|
+
readonly type: 'string';
|
|
3116
|
+
readonly description: 'Either A URL, A DataURL or a Base64 string';
|
|
3117
|
+
readonly nullable: true;
|
|
3118
|
+
};
|
|
3119
|
+
readonly style: {
|
|
3120
|
+
readonly $ref: '#/components/schemas/ViduVideoGenStyle';
|
|
3121
|
+
};
|
|
3122
|
+
readonly duration: {
|
|
3123
|
+
readonly enum: readonly [4, 8];
|
|
3124
|
+
readonly type: 'integer';
|
|
3125
|
+
readonly format: 'int32';
|
|
3126
|
+
readonly default: 4;
|
|
3127
|
+
};
|
|
3128
|
+
};
|
|
3129
|
+
readonly additionalProperties: false;
|
|
3130
|
+
},
|
|
3131
|
+
];
|
|
3132
|
+
readonly properties: {
|
|
3133
|
+
readonly engine: {
|
|
3134
|
+
readonly enum: readonly ['vidu'];
|
|
3135
|
+
readonly type: 'string';
|
|
3136
|
+
};
|
|
3137
|
+
};
|
|
3138
|
+
};
|
|
3139
|
+
export declare const $ViduVideoGenJob: {
|
|
3140
|
+
readonly required: readonly ['$type'];
|
|
3141
|
+
readonly allOf: readonly [
|
|
3142
|
+
{
|
|
3143
|
+
readonly $ref: '#/components/schemas/Job';
|
|
3144
|
+
},
|
|
3145
|
+
{
|
|
3146
|
+
readonly required: readonly ['destinationBlobKey', 'destinationUrl', 'prompt'];
|
|
3147
|
+
readonly type: 'object';
|
|
3148
|
+
readonly properties: {
|
|
3149
|
+
readonly prompt: {
|
|
3150
|
+
readonly type: 'string';
|
|
3151
|
+
};
|
|
3152
|
+
readonly enablePromptEnhancer: {
|
|
3153
|
+
readonly type: 'boolean';
|
|
3154
|
+
};
|
|
3155
|
+
readonly destinationUrl: {
|
|
3156
|
+
readonly type: 'string';
|
|
3157
|
+
readonly format: 'uri';
|
|
3158
|
+
};
|
|
3159
|
+
readonly sourceImageUrl: {
|
|
3160
|
+
readonly type: 'string';
|
|
3161
|
+
readonly format: 'uri';
|
|
3162
|
+
readonly nullable: true;
|
|
3163
|
+
};
|
|
3164
|
+
readonly destinationBlobKey: {
|
|
3165
|
+
readonly type: 'string';
|
|
3166
|
+
};
|
|
3167
|
+
readonly seed: {
|
|
3168
|
+
readonly type: 'integer';
|
|
3169
|
+
readonly format: 'int32';
|
|
3170
|
+
};
|
|
3171
|
+
readonly style: {
|
|
3172
|
+
readonly $ref: '#/components/schemas/ViduVideoGenStyle';
|
|
3173
|
+
};
|
|
3174
|
+
readonly duration: {
|
|
3175
|
+
readonly type: 'integer';
|
|
3176
|
+
readonly format: 'int32';
|
|
3177
|
+
};
|
|
3178
|
+
readonly claimDuration: {
|
|
3179
|
+
readonly type: 'string';
|
|
3180
|
+
readonly format: 'date-span';
|
|
3181
|
+
readonly readOnly: true;
|
|
3182
|
+
};
|
|
3183
|
+
readonly type: {
|
|
3184
|
+
readonly type: 'string';
|
|
3185
|
+
readonly readOnly: true;
|
|
3186
|
+
};
|
|
3187
|
+
};
|
|
3188
|
+
readonly additionalProperties: false;
|
|
3189
|
+
},
|
|
3190
|
+
];
|
|
3191
|
+
readonly properties: {
|
|
3192
|
+
readonly $type: {
|
|
3193
|
+
readonly enum: readonly ['vidu'];
|
|
3194
|
+
readonly type: 'string';
|
|
3195
|
+
};
|
|
3196
|
+
};
|
|
3197
|
+
};
|
|
3198
|
+
export declare const $ViduVideoGenStyle: {
|
|
3199
|
+
readonly enum: readonly ['general', 'anime'];
|
|
3200
|
+
readonly type: 'string';
|
|
3201
|
+
};
|
|
2895
3202
|
export declare const $WorkerCapabilities: {
|
|
2896
3203
|
readonly type: 'object';
|
|
2897
3204
|
readonly properties: {
|
|
@@ -3236,6 +3543,10 @@ export declare const $WorkerModelPreparationCapabilities: {
|
|
|
3236
3543
|
readonly additionalProperties: false;
|
|
3237
3544
|
readonly description: "Details of a worker's model preparation capabilities.";
|
|
3238
3545
|
};
|
|
3546
|
+
export declare const $WorkerPromptRewritingCapabilities: {
|
|
3547
|
+
readonly type: 'object';
|
|
3548
|
+
readonly additionalProperties: false;
|
|
3549
|
+
};
|
|
3239
3550
|
export declare const $WorkerRegistration: {
|
|
3240
3551
|
readonly required: readonly ['name'];
|
|
3241
3552
|
readonly type: 'object';
|
|
@@ -3331,6 +3642,12 @@ export declare const $WorkerRegistration: {
|
|
|
3331
3642
|
readonly description: 'A collection of labels that will be applied to metrics produced by these workers';
|
|
3332
3643
|
readonly nullable: true;
|
|
3333
3644
|
};
|
|
3645
|
+
readonly metadata: {
|
|
3646
|
+
readonly type: 'object';
|
|
3647
|
+
readonly additionalProperties: {};
|
|
3648
|
+
readonly description: 'Get additional metadata about this worker. This can be used for debugging purposes as well as to target certain configurations to certain workers.';
|
|
3649
|
+
readonly nullable: true;
|
|
3650
|
+
};
|
|
3334
3651
|
};
|
|
3335
3652
|
readonly additionalProperties: false;
|
|
3336
3653
|
readonly description: "Details of a worker's registration.";
|
|
@@ -3376,6 +3693,10 @@ export declare const $WorkerType: {
|
|
|
3376
3693
|
readonly type: 'string';
|
|
3377
3694
|
readonly description: 'Available values for worker type.';
|
|
3378
3695
|
};
|
|
3696
|
+
export declare const $WorkerViduCapabilities: {
|
|
3697
|
+
readonly type: 'object';
|
|
3698
|
+
readonly additionalProperties: false;
|
|
3699
|
+
};
|
|
3379
3700
|
export declare const $Workflow: {
|
|
3380
3701
|
readonly type: 'object';
|
|
3381
3702
|
readonly properties: {
|
|
@@ -3427,33 +3748,7 @@ export declare const $Workflow: {
|
|
|
3427
3748
|
readonly steps: {
|
|
3428
3749
|
readonly type: 'array';
|
|
3429
3750
|
readonly items: {
|
|
3430
|
-
readonly
|
|
3431
|
-
{
|
|
3432
|
-
readonly $ref: '#/components/schemas/AgeClassificationStep';
|
|
3433
|
-
},
|
|
3434
|
-
{
|
|
3435
|
-
readonly $ref: '#/components/schemas/ComfyStep';
|
|
3436
|
-
},
|
|
3437
|
-
{
|
|
3438
|
-
readonly $ref: '#/components/schemas/EchoStep';
|
|
3439
|
-
},
|
|
3440
|
-
{
|
|
3441
|
-
readonly $ref: '#/components/schemas/ImageResourceTrainingStep';
|
|
3442
|
-
},
|
|
3443
|
-
{
|
|
3444
|
-
readonly $ref: '#/components/schemas/ImageUploadStep';
|
|
3445
|
-
},
|
|
3446
|
-
{
|
|
3447
|
-
readonly $ref: '#/components/schemas/TextToImageStep';
|
|
3448
|
-
},
|
|
3449
|
-
{
|
|
3450
|
-
readonly $ref: '#/components/schemas/TranscodeStep';
|
|
3451
|
-
},
|
|
3452
|
-
{
|
|
3453
|
-
readonly $ref: '#/components/schemas/VideoGenStep';
|
|
3454
|
-
},
|
|
3455
|
-
];
|
|
3456
|
-
readonly description: 'Details of a workflow step.';
|
|
3751
|
+
readonly $ref: '#/components/schemas/WorkflowStep';
|
|
3457
3752
|
};
|
|
3458
3753
|
readonly description: 'The steps for the workflow.';
|
|
3459
3754
|
};
|
|
@@ -3883,30 +4178,7 @@ export declare const $WorkflowTemplate: {
|
|
|
3883
4178
|
readonly minItems: 1;
|
|
3884
4179
|
readonly type: 'array';
|
|
3885
4180
|
readonly items: {
|
|
3886
|
-
readonly
|
|
3887
|
-
{
|
|
3888
|
-
readonly $ref: '#/components/schemas/AgeClassificationStepTemplate';
|
|
3889
|
-
},
|
|
3890
|
-
{
|
|
3891
|
-
readonly $ref: '#/components/schemas/ComfyStepTemplate';
|
|
3892
|
-
},
|
|
3893
|
-
{
|
|
3894
|
-
readonly $ref: '#/components/schemas/EchoStepTemplate';
|
|
3895
|
-
},
|
|
3896
|
-
{
|
|
3897
|
-
readonly $ref: '#/components/schemas/ImageResourceTrainingStepTemplate';
|
|
3898
|
-
},
|
|
3899
|
-
{
|
|
3900
|
-
readonly $ref: '#/components/schemas/ImageUploadStepTemplate';
|
|
3901
|
-
},
|
|
3902
|
-
{
|
|
3903
|
-
readonly $ref: '#/components/schemas/TextToImageStepTemplate';
|
|
3904
|
-
},
|
|
3905
|
-
{
|
|
3906
|
-
readonly $ref: '#/components/schemas/VideoGenStepTemplate';
|
|
3907
|
-
},
|
|
3908
|
-
];
|
|
3909
|
-
readonly description: 'Details of a workflow step template.';
|
|
4181
|
+
readonly $ref: '#/components/schemas/WorkflowStepTemplate';
|
|
3910
4182
|
};
|
|
3911
4183
|
readonly description: 'An array of steps that compose this workflow.';
|
|
3912
4184
|
};
|