@civitai/client 0.1.9-beta.41 → 0.1.9-beta.43
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.
|
@@ -215,6 +215,39 @@ export declare const $BuzzClientAccount: {
|
|
|
215
215
|
readonly enum: readonly ['user', 'generation'];
|
|
216
216
|
readonly type: 'string';
|
|
217
217
|
};
|
|
218
|
+
export declare const $CivitaiWanVideoGenInput: {
|
|
219
|
+
readonly required: readonly ['provider'];
|
|
220
|
+
readonly allOf: readonly [
|
|
221
|
+
{
|
|
222
|
+
readonly $ref: '#/components/schemas/WanVdeoGenInput';
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
readonly type: 'object';
|
|
226
|
+
readonly properties: {
|
|
227
|
+
readonly width: {
|
|
228
|
+
readonly type: 'integer';
|
|
229
|
+
readonly format: 'int32';
|
|
230
|
+
};
|
|
231
|
+
readonly height: {
|
|
232
|
+
readonly type: 'integer';
|
|
233
|
+
readonly format: 'int32';
|
|
234
|
+
};
|
|
235
|
+
readonly model: {
|
|
236
|
+
readonly pattern: '^(?:urn:)?(?:air:)?(?:(?<ecosystem>[a-zA-Z0-9_\\-\\/]+):)?(?:(?<type>[a-zA-Z0-9_\\-\\/]+):)?(?<source>[a-zA-Z0-9_\\-\\/]+):(?<id>[a-zA-Z0-9_\\-\\/\\.]+)(?:@(?<version>[a-zA-Z0-9_\\-\\/.=,]+))?(?:\\.(?<format>[a-zA-Z0-9_\\-]+))?$';
|
|
237
|
+
readonly type: 'string';
|
|
238
|
+
readonly nullable: true;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
readonly additionalProperties: false;
|
|
242
|
+
},
|
|
243
|
+
];
|
|
244
|
+
readonly properties: {
|
|
245
|
+
readonly provider: {
|
|
246
|
+
readonly enum: readonly ['civitai'];
|
|
247
|
+
readonly type: 'string';
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
};
|
|
218
251
|
export declare const $ComfyInput: {
|
|
219
252
|
readonly required: readonly ['comfyWorkflow'];
|
|
220
253
|
readonly type: 'object';
|
|
@@ -490,10 +523,57 @@ export declare const $EpochResult: {
|
|
|
490
523
|
readonly additionalProperties: false;
|
|
491
524
|
readonly description: 'An epock result.';
|
|
492
525
|
};
|
|
526
|
+
export declare const $FALWanVideoGenInput: {
|
|
527
|
+
readonly required: readonly ['provider'];
|
|
528
|
+
readonly allOf: readonly [
|
|
529
|
+
{
|
|
530
|
+
readonly $ref: '#/components/schemas/WanVdeoGenInput';
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
readonly type: 'object';
|
|
534
|
+
readonly properties: {
|
|
535
|
+
readonly aspectRatio: {
|
|
536
|
+
readonly enum: readonly ['4:3', '16:9', '9:16'];
|
|
537
|
+
readonly type: 'string';
|
|
538
|
+
readonly default: '16:9';
|
|
539
|
+
};
|
|
540
|
+
readonly enablePromptExpansion: {
|
|
541
|
+
readonly type: 'boolean';
|
|
542
|
+
readonly default: false;
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
readonly additionalProperties: false;
|
|
546
|
+
},
|
|
547
|
+
];
|
|
548
|
+
readonly properties: {
|
|
549
|
+
readonly provider: {
|
|
550
|
+
readonly enum: readonly ['fal'];
|
|
551
|
+
readonly type: 'string';
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
};
|
|
493
555
|
export declare const $FileFormat: {
|
|
494
556
|
readonly enum: readonly ['unknown', 'safeTensor', 'pickleTensor', 'diffusers', 'coreML', 'onnx'];
|
|
495
557
|
readonly type: 'string';
|
|
496
558
|
};
|
|
559
|
+
export declare const $Flux1KontextDevImageGenInput: {
|
|
560
|
+
readonly required: readonly ['model'];
|
|
561
|
+
readonly allOf: readonly [
|
|
562
|
+
{
|
|
563
|
+
readonly $ref: '#/components/schemas/Flux1KontextImageGenInput';
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
readonly type: 'object';
|
|
567
|
+
readonly additionalProperties: false;
|
|
568
|
+
},
|
|
569
|
+
];
|
|
570
|
+
readonly properties: {
|
|
571
|
+
readonly model: {
|
|
572
|
+
readonly enum: readonly ['dev'];
|
|
573
|
+
readonly type: 'string';
|
|
574
|
+
};
|
|
575
|
+
};
|
|
576
|
+
};
|
|
497
577
|
export declare const $Flux1KontextImageGenInput: {
|
|
498
578
|
readonly required: readonly ['engine'];
|
|
499
579
|
readonly allOf: readonly [
|
|
@@ -561,6 +641,7 @@ export declare const $Flux1KontextImageGenInput: {
|
|
|
561
641
|
readonly mapping: {
|
|
562
642
|
readonly pro: '#/components/schemas/Flux1KontextProImageGenInput';
|
|
563
643
|
readonly max: '#/components/schemas/Flux1KontextMaxImageGenInput';
|
|
644
|
+
readonly dev: '#/components/schemas/Flux1KontextDevImageGenInput';
|
|
564
645
|
};
|
|
565
646
|
};
|
|
566
647
|
},
|
|
@@ -3129,6 +3210,13 @@ export declare const $ViduVideoGenInput: {
|
|
|
3129
3210
|
readonly type: 'string';
|
|
3130
3211
|
readonly nullable: true;
|
|
3131
3212
|
};
|
|
3213
|
+
readonly images: {
|
|
3214
|
+
readonly type: 'array';
|
|
3215
|
+
readonly items: {
|
|
3216
|
+
readonly type: 'string';
|
|
3217
|
+
readonly description: 'Either A URL, A DataURL or a Base64 string';
|
|
3218
|
+
};
|
|
3219
|
+
};
|
|
3132
3220
|
};
|
|
3133
3221
|
readonly additionalProperties: false;
|
|
3134
3222
|
},
|
|
@@ -3155,8 +3243,12 @@ export declare const $WanVdeoGenInput: {
|
|
|
3155
3243
|
readonly $ref: '#/components/schemas/VideoGenInput';
|
|
3156
3244
|
},
|
|
3157
3245
|
{
|
|
3246
|
+
readonly required: readonly ['provider'];
|
|
3158
3247
|
readonly type: 'object';
|
|
3159
3248
|
readonly properties: {
|
|
3249
|
+
readonly provider: {
|
|
3250
|
+
readonly type: 'string';
|
|
3251
|
+
};
|
|
3160
3252
|
readonly sourceImage: {
|
|
3161
3253
|
readonly type: 'string';
|
|
3162
3254
|
readonly description: 'Either A URL, A DataURL or a Base64 string';
|
|
@@ -3193,19 +3285,6 @@ export declare const $WanVdeoGenInput: {
|
|
|
3193
3285
|
readonly format: 'int32';
|
|
3194
3286
|
readonly default: 20;
|
|
3195
3287
|
};
|
|
3196
|
-
readonly width: {
|
|
3197
|
-
readonly type: 'integer';
|
|
3198
|
-
readonly format: 'int32';
|
|
3199
|
-
};
|
|
3200
|
-
readonly height: {
|
|
3201
|
-
readonly type: 'integer';
|
|
3202
|
-
readonly format: 'int32';
|
|
3203
|
-
};
|
|
3204
|
-
readonly model: {
|
|
3205
|
-
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_\\-]+))?$';
|
|
3206
|
-
readonly type: 'string';
|
|
3207
|
-
readonly nullable: true;
|
|
3208
|
-
};
|
|
3209
3288
|
readonly loras: {
|
|
3210
3289
|
readonly type: 'array';
|
|
3211
3290
|
readonly items: {
|
|
@@ -3214,6 +3293,13 @@ export declare const $WanVdeoGenInput: {
|
|
|
3214
3293
|
};
|
|
3215
3294
|
};
|
|
3216
3295
|
readonly additionalProperties: false;
|
|
3296
|
+
readonly discriminator: {
|
|
3297
|
+
readonly propertyName: 'provider';
|
|
3298
|
+
readonly mapping: {
|
|
3299
|
+
readonly civitai: '#/components/schemas/CivitaiWanVideoGenInput';
|
|
3300
|
+
readonly fal: '#/components/schemas/FALWanVideoGenInput';
|
|
3301
|
+
};
|
|
3302
|
+
};
|
|
3217
3303
|
},
|
|
3218
3304
|
];
|
|
3219
3305
|
readonly properties: {
|
|
@@ -216,6 +216,39 @@ export const $BuzzClientAccount = {
|
|
|
216
216
|
enum: ['user', 'generation'],
|
|
217
217
|
type: 'string',
|
|
218
218
|
};
|
|
219
|
+
export const $CivitaiWanVideoGenInput = {
|
|
220
|
+
required: ['provider'],
|
|
221
|
+
allOf: [
|
|
222
|
+
{
|
|
223
|
+
$ref: '#/components/schemas/WanVdeoGenInput',
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
type: 'object',
|
|
227
|
+
properties: {
|
|
228
|
+
width: {
|
|
229
|
+
type: 'integer',
|
|
230
|
+
format: 'int32',
|
|
231
|
+
},
|
|
232
|
+
height: {
|
|
233
|
+
type: 'integer',
|
|
234
|
+
format: 'int32',
|
|
235
|
+
},
|
|
236
|
+
model: {
|
|
237
|
+
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_\\-]+))?$',
|
|
238
|
+
type: 'string',
|
|
239
|
+
nullable: true,
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
additionalProperties: false,
|
|
243
|
+
},
|
|
244
|
+
],
|
|
245
|
+
properties: {
|
|
246
|
+
provider: {
|
|
247
|
+
enum: ['civitai'],
|
|
248
|
+
type: 'string',
|
|
249
|
+
},
|
|
250
|
+
},
|
|
251
|
+
};
|
|
219
252
|
export const $ComfyInput = {
|
|
220
253
|
required: ['comfyWorkflow'],
|
|
221
254
|
type: 'object',
|
|
@@ -491,10 +524,57 @@ export const $EpochResult = {
|
|
|
491
524
|
additionalProperties: false,
|
|
492
525
|
description: 'An epock result.',
|
|
493
526
|
};
|
|
527
|
+
export const $FALWanVideoGenInput = {
|
|
528
|
+
required: ['provider'],
|
|
529
|
+
allOf: [
|
|
530
|
+
{
|
|
531
|
+
$ref: '#/components/schemas/WanVdeoGenInput',
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
type: 'object',
|
|
535
|
+
properties: {
|
|
536
|
+
aspectRatio: {
|
|
537
|
+
enum: ['4:3', '16:9', '9:16'],
|
|
538
|
+
type: 'string',
|
|
539
|
+
default: '16:9',
|
|
540
|
+
},
|
|
541
|
+
enablePromptExpansion: {
|
|
542
|
+
type: 'boolean',
|
|
543
|
+
default: false,
|
|
544
|
+
},
|
|
545
|
+
},
|
|
546
|
+
additionalProperties: false,
|
|
547
|
+
},
|
|
548
|
+
],
|
|
549
|
+
properties: {
|
|
550
|
+
provider: {
|
|
551
|
+
enum: ['fal'],
|
|
552
|
+
type: 'string',
|
|
553
|
+
},
|
|
554
|
+
},
|
|
555
|
+
};
|
|
494
556
|
export const $FileFormat = {
|
|
495
557
|
enum: ['unknown', 'safeTensor', 'pickleTensor', 'diffusers', 'coreML', 'onnx'],
|
|
496
558
|
type: 'string',
|
|
497
559
|
};
|
|
560
|
+
export const $Flux1KontextDevImageGenInput = {
|
|
561
|
+
required: ['model'],
|
|
562
|
+
allOf: [
|
|
563
|
+
{
|
|
564
|
+
$ref: '#/components/schemas/Flux1KontextImageGenInput',
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
type: 'object',
|
|
568
|
+
additionalProperties: false,
|
|
569
|
+
},
|
|
570
|
+
],
|
|
571
|
+
properties: {
|
|
572
|
+
model: {
|
|
573
|
+
enum: ['dev'],
|
|
574
|
+
type: 'string',
|
|
575
|
+
},
|
|
576
|
+
},
|
|
577
|
+
};
|
|
498
578
|
export const $Flux1KontextImageGenInput = {
|
|
499
579
|
required: ['engine'],
|
|
500
580
|
allOf: [
|
|
@@ -552,6 +632,7 @@ export const $Flux1KontextImageGenInput = {
|
|
|
552
632
|
mapping: {
|
|
553
633
|
pro: '#/components/schemas/Flux1KontextProImageGenInput',
|
|
554
634
|
max: '#/components/schemas/Flux1KontextMaxImageGenInput',
|
|
635
|
+
dev: '#/components/schemas/Flux1KontextDevImageGenInput',
|
|
555
636
|
},
|
|
556
637
|
},
|
|
557
638
|
},
|
|
@@ -3134,6 +3215,13 @@ export const $ViduVideoGenInput = {
|
|
|
3134
3215
|
type: 'string',
|
|
3135
3216
|
nullable: true,
|
|
3136
3217
|
},
|
|
3218
|
+
images: {
|
|
3219
|
+
type: 'array',
|
|
3220
|
+
items: {
|
|
3221
|
+
type: 'string',
|
|
3222
|
+
description: 'Either A URL, A DataURL or a Base64 string',
|
|
3223
|
+
},
|
|
3224
|
+
},
|
|
3137
3225
|
},
|
|
3138
3226
|
additionalProperties: false,
|
|
3139
3227
|
},
|
|
@@ -3160,8 +3248,12 @@ export const $WanVdeoGenInput = {
|
|
|
3160
3248
|
$ref: '#/components/schemas/VideoGenInput',
|
|
3161
3249
|
},
|
|
3162
3250
|
{
|
|
3251
|
+
required: ['provider'],
|
|
3163
3252
|
type: 'object',
|
|
3164
3253
|
properties: {
|
|
3254
|
+
provider: {
|
|
3255
|
+
type: 'string',
|
|
3256
|
+
},
|
|
3165
3257
|
sourceImage: {
|
|
3166
3258
|
type: 'string',
|
|
3167
3259
|
description: 'Either A URL, A DataURL or a Base64 string',
|
|
@@ -3198,19 +3290,6 @@ export const $WanVdeoGenInput = {
|
|
|
3198
3290
|
format: 'int32',
|
|
3199
3291
|
default: 20,
|
|
3200
3292
|
},
|
|
3201
|
-
width: {
|
|
3202
|
-
type: 'integer',
|
|
3203
|
-
format: 'int32',
|
|
3204
|
-
},
|
|
3205
|
-
height: {
|
|
3206
|
-
type: 'integer',
|
|
3207
|
-
format: 'int32',
|
|
3208
|
-
},
|
|
3209
|
-
model: {
|
|
3210
|
-
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_\\-]+))?$',
|
|
3211
|
-
type: 'string',
|
|
3212
|
-
nullable: true,
|
|
3213
|
-
},
|
|
3214
3293
|
loras: {
|
|
3215
3294
|
type: 'array',
|
|
3216
3295
|
items: {
|
|
@@ -3219,6 +3298,13 @@ export const $WanVdeoGenInput = {
|
|
|
3219
3298
|
},
|
|
3220
3299
|
},
|
|
3221
3300
|
additionalProperties: false,
|
|
3301
|
+
discriminator: {
|
|
3302
|
+
propertyName: 'provider',
|
|
3303
|
+
mapping: {
|
|
3304
|
+
civitai: '#/components/schemas/CivitaiWanVideoGenInput',
|
|
3305
|
+
fal: '#/components/schemas/FALWanVideoGenInput',
|
|
3306
|
+
},
|
|
3307
|
+
},
|
|
3222
3308
|
},
|
|
3223
3309
|
],
|
|
3224
3310
|
properties: {
|
|
@@ -93,6 +93,17 @@ export declare const BuzzClientAccount: {
|
|
|
93
93
|
readonly USER: 'user';
|
|
94
94
|
readonly GENERATION: 'generation';
|
|
95
95
|
};
|
|
96
|
+
export type CivitaiWanVideoGenInput = WanVdeoGenInput & {
|
|
97
|
+
width?: number;
|
|
98
|
+
height?: number;
|
|
99
|
+
model?: string | null;
|
|
100
|
+
} & {
|
|
101
|
+
provider: 'civitai';
|
|
102
|
+
};
|
|
103
|
+
export type provider = 'civitai';
|
|
104
|
+
export declare const provider: {
|
|
105
|
+
readonly CIVITAI: 'civitai';
|
|
106
|
+
};
|
|
96
107
|
export type ComfyInput = {
|
|
97
108
|
/**
|
|
98
109
|
* Get the comfy workflow that needs to be executed
|
|
@@ -220,6 +231,22 @@ export type EpochResult = {
|
|
|
220
231
|
*/
|
|
221
232
|
blobUrl: string;
|
|
222
233
|
};
|
|
234
|
+
export type FALWanVideoGenInput = WanVdeoGenInput & {
|
|
235
|
+
aspectRatio?: '4:3' | '16:9' | '9:16';
|
|
236
|
+
enablePromptExpansion?: boolean;
|
|
237
|
+
} & {
|
|
238
|
+
provider: 'fal';
|
|
239
|
+
};
|
|
240
|
+
export type aspectRatio = '4:3' | '16:9' | '9:16';
|
|
241
|
+
export declare const aspectRatio: {
|
|
242
|
+
readonly _4_3: '4:3';
|
|
243
|
+
readonly _16_9: '16:9';
|
|
244
|
+
readonly _9_16: '9:16';
|
|
245
|
+
};
|
|
246
|
+
export type provider2 = 'fal';
|
|
247
|
+
export declare const provider2: {
|
|
248
|
+
readonly FAL: 'fal';
|
|
249
|
+
};
|
|
223
250
|
export type FileFormat =
|
|
224
251
|
| 'unknown'
|
|
225
252
|
| 'safeTensor'
|
|
@@ -235,6 +262,15 @@ export declare const FileFormat: {
|
|
|
235
262
|
readonly CORE_ML: 'coreML';
|
|
236
263
|
readonly ONNX: 'onnx';
|
|
237
264
|
};
|
|
265
|
+
export type Flux1KontextDevImageGenInput = Flux1KontextImageGenInput & {
|
|
266
|
+
[key: string]: unknown;
|
|
267
|
+
} & {
|
|
268
|
+
model: 'dev';
|
|
269
|
+
};
|
|
270
|
+
export type model = 'dev';
|
|
271
|
+
export declare const model: {
|
|
272
|
+
readonly DEV: 'dev';
|
|
273
|
+
};
|
|
238
274
|
export type Flux1KontextImageGenInput = ImageGenInput & {
|
|
239
275
|
model: string;
|
|
240
276
|
prompt: string;
|
|
@@ -247,8 +283,17 @@ export type Flux1KontextImageGenInput = ImageGenInput & {
|
|
|
247
283
|
} & {
|
|
248
284
|
engine: 'flux1-kontext';
|
|
249
285
|
};
|
|
250
|
-
export type
|
|
251
|
-
|
|
286
|
+
export type aspectRatio2 =
|
|
287
|
+
| '21:9'
|
|
288
|
+
| '16:9'
|
|
289
|
+
| '4:3'
|
|
290
|
+
| '3:2'
|
|
291
|
+
| '1:1'
|
|
292
|
+
| '2:3'
|
|
293
|
+
| '3:4'
|
|
294
|
+
| '9:16'
|
|
295
|
+
| '9:21';
|
|
296
|
+
export declare const aspectRatio2: {
|
|
252
297
|
readonly _21_9: '21:9';
|
|
253
298
|
readonly _16_9: '16:9';
|
|
254
299
|
readonly _4_3: '4:3';
|
|
@@ -273,8 +318,8 @@ export type Flux1KontextMaxImageGenInput = Flux1KontextImageGenInput & {
|
|
|
273
318
|
} & {
|
|
274
319
|
model: 'max';
|
|
275
320
|
};
|
|
276
|
-
export type
|
|
277
|
-
export declare const
|
|
321
|
+
export type model2 = 'max';
|
|
322
|
+
export declare const model2: {
|
|
278
323
|
readonly MAX: 'max';
|
|
279
324
|
};
|
|
280
325
|
export type Flux1KontextProImageGenInput = Flux1KontextImageGenInput & {
|
|
@@ -282,8 +327,8 @@ export type Flux1KontextProImageGenInput = Flux1KontextImageGenInput & {
|
|
|
282
327
|
} & {
|
|
283
328
|
model: 'pro';
|
|
284
329
|
};
|
|
285
|
-
export type
|
|
286
|
-
export declare const
|
|
330
|
+
export type model3 = 'pro';
|
|
331
|
+
export declare const model3: {
|
|
287
332
|
readonly PRO: 'pro';
|
|
288
333
|
};
|
|
289
334
|
export type FluxDevFastImageResourceTrainingInput = ImageResourceTrainingInput & {
|
|
@@ -608,16 +653,16 @@ export type Imagen4ImageGenInput = GoogleImageGenInput & {
|
|
|
608
653
|
} & {
|
|
609
654
|
model: 'imagen4';
|
|
610
655
|
};
|
|
611
|
-
export type
|
|
612
|
-
export declare const
|
|
656
|
+
export type aspectRatio3 = '1:1' | '16:9' | '9:16' | '3:4' | '4:3';
|
|
657
|
+
export declare const aspectRatio3: {
|
|
613
658
|
readonly _1_1: '1:1';
|
|
614
659
|
readonly _16_9: '16:9';
|
|
615
660
|
readonly _9_16: '9:16';
|
|
616
661
|
readonly _3_4: '3:4';
|
|
617
662
|
readonly _4_3: '4:3';
|
|
618
663
|
};
|
|
619
|
-
export type
|
|
620
|
-
export declare const
|
|
664
|
+
export type model4 = 'imagen4';
|
|
665
|
+
export declare const model4: {
|
|
621
666
|
readonly IMAGEN4: 'imagen4';
|
|
622
667
|
};
|
|
623
668
|
/**
|
|
@@ -1028,8 +1073,8 @@ export declare const size: {
|
|
|
1028
1073
|
readonly _512X512: '512x512';
|
|
1029
1074
|
readonly _1024X1024: '1024x1024';
|
|
1030
1075
|
};
|
|
1031
|
-
export type
|
|
1032
|
-
export declare const
|
|
1076
|
+
export type model5 = 'dall-e-2';
|
|
1077
|
+
export declare const model5: {
|
|
1033
1078
|
readonly DALL_E_2: 'dall-e-2';
|
|
1034
1079
|
};
|
|
1035
1080
|
export type OpenAIDallE3CreateImageGenInput = OpenAIDallE3ImageGenInput & {
|
|
@@ -1063,8 +1108,8 @@ export declare const quality: {
|
|
|
1063
1108
|
readonly HD: 'hd';
|
|
1064
1109
|
readonly STANDARD: 'standard';
|
|
1065
1110
|
};
|
|
1066
|
-
export type
|
|
1067
|
-
export declare const
|
|
1111
|
+
export type model6 = 'dall-e-3';
|
|
1112
|
+
export declare const model6: {
|
|
1068
1113
|
readonly DALL_E_3: 'dall-e-3';
|
|
1069
1114
|
};
|
|
1070
1115
|
export type OpenAIGpt1CreateImageInput = OpenAIGpt1ImageGenInput & {
|
|
@@ -1104,8 +1149,8 @@ export declare const quality2: {
|
|
|
1104
1149
|
readonly MEDIUM: 'medium';
|
|
1105
1150
|
readonly LOW: 'low';
|
|
1106
1151
|
};
|
|
1107
|
-
export type
|
|
1108
|
-
export declare const
|
|
1152
|
+
export type model7 = 'gpt-image-1';
|
|
1153
|
+
export declare const model7: {
|
|
1109
1154
|
readonly GPT_IMAGE_1: 'gpt-image-1';
|
|
1110
1155
|
};
|
|
1111
1156
|
export type OpenApiImageGenInput = ImageGenInput & {
|
|
@@ -1617,6 +1662,7 @@ export type ViduVideoGenInput = VideoGenInput & {
|
|
|
1617
1662
|
model?: ViduVideoGenModel;
|
|
1618
1663
|
aspectRatio?: '16:9' | '9:16' | '1:1' | null;
|
|
1619
1664
|
movementAmplitude?: 'auto' | 'small' | 'medium' | 'large' | null;
|
|
1665
|
+
images?: Array<string>;
|
|
1620
1666
|
} & {
|
|
1621
1667
|
engine: 'vidu';
|
|
1622
1668
|
};
|
|
@@ -1625,8 +1671,8 @@ export declare const duration2: {
|
|
|
1625
1671
|
readonly _4: 4;
|
|
1626
1672
|
readonly _8: 8;
|
|
1627
1673
|
};
|
|
1628
|
-
export type
|
|
1629
|
-
export declare const
|
|
1674
|
+
export type aspectRatio4 = '16:9' | '9:16' | '1:1';
|
|
1675
|
+
export declare const aspectRatio4: {
|
|
1630
1676
|
readonly _16_9: '16:9';
|
|
1631
1677
|
readonly _9_16: '9:16';
|
|
1632
1678
|
readonly _1_1: '1:1';
|
|
@@ -1653,6 +1699,7 @@ export declare const ViduVideoGenStyle: {
|
|
|
1653
1699
|
readonly ANIME: 'anime';
|
|
1654
1700
|
};
|
|
1655
1701
|
export type WanVdeoGenInput = VideoGenInput & {
|
|
1702
|
+
provider: string;
|
|
1656
1703
|
/**
|
|
1657
1704
|
* Either A URL, A DataURL or a Base64 string
|
|
1658
1705
|
*/
|
|
@@ -1662,9 +1709,6 @@ export type WanVdeoGenInput = VideoGenInput & {
|
|
|
1662
1709
|
duration?: number;
|
|
1663
1710
|
seed?: number | null;
|
|
1664
1711
|
steps?: number;
|
|
1665
|
-
width?: number;
|
|
1666
|
-
height?: number;
|
|
1667
|
-
model?: string | null;
|
|
1668
1712
|
loras?: Array<VideoGenInputLora>;
|
|
1669
1713
|
} & {
|
|
1670
1714
|
engine: 'wan';
|
|
@@ -10,6 +10,9 @@ export const BuzzClientAccount = {
|
|
|
10
10
|
USER: 'user',
|
|
11
11
|
GENERATION: 'generation',
|
|
12
12
|
};
|
|
13
|
+
export const provider = {
|
|
14
|
+
CIVITAI: 'civitai',
|
|
15
|
+
};
|
|
13
16
|
export const $type2 = {
|
|
14
17
|
COMFY: 'comfy',
|
|
15
18
|
};
|
|
@@ -20,6 +23,14 @@ export const ContainerFormat = {
|
|
|
20
23
|
export const $type3 = {
|
|
21
24
|
ECHO: 'echo',
|
|
22
25
|
};
|
|
26
|
+
export const aspectRatio = {
|
|
27
|
+
_4_3: '4:3',
|
|
28
|
+
_16_9: '16:9',
|
|
29
|
+
_9_16: '9:16',
|
|
30
|
+
};
|
|
31
|
+
export const provider2 = {
|
|
32
|
+
FAL: 'fal',
|
|
33
|
+
};
|
|
23
34
|
export const FileFormat = {
|
|
24
35
|
UNKNOWN: 'unknown',
|
|
25
36
|
SAFE_TENSOR: 'safeTensor',
|
|
@@ -28,7 +39,10 @@ export const FileFormat = {
|
|
|
28
39
|
CORE_ML: 'coreML',
|
|
29
40
|
ONNX: 'onnx',
|
|
30
41
|
};
|
|
31
|
-
export const
|
|
42
|
+
export const model = {
|
|
43
|
+
DEV: 'dev',
|
|
44
|
+
};
|
|
45
|
+
export const aspectRatio2 = {
|
|
32
46
|
_21_9: '21:9',
|
|
33
47
|
_16_9: '16:9',
|
|
34
48
|
_4_3: '4:3',
|
|
@@ -46,10 +60,10 @@ export const outputFormat = {
|
|
|
46
60
|
export const engine = {
|
|
47
61
|
FLUX1_KONTEXT: 'flux1-kontext',
|
|
48
62
|
};
|
|
49
|
-
export const
|
|
63
|
+
export const model2 = {
|
|
50
64
|
MAX: 'max',
|
|
51
65
|
};
|
|
52
|
-
export const
|
|
66
|
+
export const model3 = {
|
|
53
67
|
PRO: 'pro',
|
|
54
68
|
};
|
|
55
69
|
export const engine2 = {
|
|
@@ -126,14 +140,14 @@ export const ImageTransformer = {
|
|
|
126
140
|
export const $type6 = {
|
|
127
141
|
IMAGE_UPLOAD: 'imageUpload',
|
|
128
142
|
};
|
|
129
|
-
export const
|
|
143
|
+
export const aspectRatio3 = {
|
|
130
144
|
_1_1: '1:1',
|
|
131
145
|
_16_9: '16:9',
|
|
132
146
|
_9_16: '9:16',
|
|
133
147
|
_3_4: '3:4',
|
|
134
148
|
_4_3: '4:3',
|
|
135
149
|
};
|
|
136
|
-
export const
|
|
150
|
+
export const model4 = {
|
|
137
151
|
IMAGEN4: 'imagen4',
|
|
138
152
|
};
|
|
139
153
|
/**
|
|
@@ -235,7 +249,7 @@ export const size = {
|
|
|
235
249
|
_512X512: '512x512',
|
|
236
250
|
_1024X1024: '1024x1024',
|
|
237
251
|
};
|
|
238
|
-
export const
|
|
252
|
+
export const model5 = {
|
|
239
253
|
DALL_E_2: 'dall-e-2',
|
|
240
254
|
};
|
|
241
255
|
export const size2 = {
|
|
@@ -252,7 +266,7 @@ export const quality = {
|
|
|
252
266
|
HD: 'hd',
|
|
253
267
|
STANDARD: 'standard',
|
|
254
268
|
};
|
|
255
|
-
export const
|
|
269
|
+
export const model6 = {
|
|
256
270
|
DALL_E_3: 'dall-e-3',
|
|
257
271
|
};
|
|
258
272
|
export const size3 = {
|
|
@@ -266,7 +280,7 @@ export const quality2 = {
|
|
|
266
280
|
MEDIUM: 'medium',
|
|
267
281
|
LOW: 'low',
|
|
268
282
|
};
|
|
269
|
-
export const
|
|
283
|
+
export const model7 = {
|
|
270
284
|
GPT_IMAGE_1: 'gpt-image-1',
|
|
271
285
|
};
|
|
272
286
|
export const engine12 = {
|
|
@@ -347,7 +361,7 @@ export const duration2 = {
|
|
|
347
361
|
_4: 4,
|
|
348
362
|
_8: 8,
|
|
349
363
|
};
|
|
350
|
-
export const
|
|
364
|
+
export const aspectRatio4 = {
|
|
351
365
|
_16_9: '16:9',
|
|
352
366
|
_9_16: '9:16',
|
|
353
367
|
_1_1: '1:1',
|