@civitai/client 0.1.9-beta.37 → 0.1.9-beta.39

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.
@@ -3,7 +3,7 @@ export declare const $AgeClassificationInput: {
3
3
  readonly type: 'object';
4
4
  readonly properties: {
5
5
  readonly model: {
6
- readonly pattern: '^(?:urn:)?(?:air:)?(?:(?<ecosystem>[a-zA-Z0-9_\\-\\/]+):)?(?:(?<type>[a-zA-Z0-9_\\-\\/]+):)?(?<source>[a-zA-Z0-9_\\-\\/]+):(?<id>[a-zA-Z0-9_\\-\\/\\.]+)(?:@(?<version>[a-zA-Z0-9_\\-\\/.]+))?(?:\\.(?<format>[a-zA-Z0-9_\\-]+))?$';
6
+ readonly pattern: '^(?:urn:)?(?:air:)?(?:(?<ecosystem>[a-zA-Z0-9_\\-\\/]+):)?(?:(?<type>[a-zA-Z0-9_\\-\\/]+):)?(?<source>[a-zA-Z0-9_\\-\\/]+):(?<id>[a-zA-Z0-9_\\-\\/\\.]+)(?:@(?<version>[a-zA-Z0-9_\\-\\/.=,]+))?(?:\\.(?<format>[a-zA-Z0-9_\\-]+))?$';
7
7
  readonly type: 'string';
8
8
  readonly description: 'An optional model to use for age classification. If not provided, the default model will determined by the worker';
9
9
  readonly nullable: true;
@@ -494,6 +494,109 @@ export declare const $FileFormat: {
494
494
  readonly enum: readonly ['unknown', 'safeTensor', 'pickleTensor', 'diffusers', 'coreML', 'onnx'];
495
495
  readonly type: 'string';
496
496
  };
497
+ export declare const $Flux1ImageGenInput: {
498
+ readonly required: readonly ['engine'];
499
+ readonly allOf: readonly [
500
+ {
501
+ readonly $ref: '#/components/schemas/ImageGenInput';
502
+ },
503
+ {
504
+ readonly required: readonly ['model', 'prompt'];
505
+ readonly type: 'object';
506
+ readonly properties: {
507
+ readonly model: {
508
+ readonly type: 'string';
509
+ };
510
+ readonly prompt: {
511
+ readonly type: 'string';
512
+ };
513
+ };
514
+ readonly additionalProperties: false;
515
+ readonly discriminator: {
516
+ readonly propertyName: 'model';
517
+ readonly mapping: {
518
+ readonly 'pro-kontext': '#/components/schemas/Flux1ProKontextImageGenInput';
519
+ };
520
+ };
521
+ },
522
+ ];
523
+ readonly properties: {
524
+ readonly engine: {
525
+ readonly enum: readonly ['flux1'];
526
+ readonly type: 'string';
527
+ };
528
+ };
529
+ };
530
+ export declare const $Flux1ProKontextImageGenInput: {
531
+ readonly required: readonly ['model'];
532
+ readonly allOf: readonly [
533
+ {
534
+ readonly $ref: '#/components/schemas/Flux1ImageGenInput';
535
+ },
536
+ {
537
+ readonly required: readonly ['imageUrl', 'prompt'];
538
+ readonly type: 'object';
539
+ readonly properties: {
540
+ readonly prompt: {
541
+ readonly maxLength: 1000;
542
+ readonly minLength: 0;
543
+ readonly type: 'string';
544
+ };
545
+ readonly imageUrl: {
546
+ readonly type: 'string';
547
+ readonly format: 'uri';
548
+ };
549
+ readonly aspectRatio: {
550
+ readonly enum: readonly [
551
+ '21:9',
552
+ '16:9',
553
+ '4:3',
554
+ '3:2',
555
+ '1:1',
556
+ '2:3',
557
+ '3:4',
558
+ '9:16',
559
+ '9:21',
560
+ ];
561
+ readonly type: 'string';
562
+ };
563
+ readonly outputFormat: {
564
+ readonly enum: readonly ['jpeg', 'png'];
565
+ readonly type: 'string';
566
+ };
567
+ readonly safetyTolerance: {
568
+ readonly maximum: 6;
569
+ readonly minimum: 1;
570
+ readonly type: 'string';
571
+ };
572
+ readonly guidanceScale: {
573
+ readonly maximum: 20;
574
+ readonly minimum: 1;
575
+ readonly type: 'number';
576
+ readonly format: 'double';
577
+ };
578
+ readonly numImages: {
579
+ readonly maximum: 4;
580
+ readonly minimum: 1;
581
+ readonly type: 'integer';
582
+ readonly format: 'int32';
583
+ };
584
+ readonly seed: {
585
+ readonly type: 'integer';
586
+ readonly format: 'int64';
587
+ readonly nullable: true;
588
+ };
589
+ };
590
+ readonly additionalProperties: false;
591
+ },
592
+ ];
593
+ readonly properties: {
594
+ readonly model: {
595
+ readonly enum: readonly ['pro-kontext'];
596
+ readonly type: 'string';
597
+ };
598
+ };
599
+ };
497
600
  export declare const $FluxDevFastImageResourceTrainingInput: {
498
601
  readonly required: readonly ['engine'];
499
602
  readonly allOf: readonly [
@@ -512,6 +615,39 @@ export declare const $FluxDevFastImageResourceTrainingInput: {
512
615
  };
513
616
  };
514
617
  };
618
+ export declare const $GoogleImageGenInput: {
619
+ readonly required: readonly ['engine'];
620
+ readonly allOf: readonly [
621
+ {
622
+ readonly $ref: '#/components/schemas/ImageGenInput';
623
+ },
624
+ {
625
+ readonly required: readonly ['model', 'prompt'];
626
+ readonly type: 'object';
627
+ readonly properties: {
628
+ readonly model: {
629
+ readonly type: 'string';
630
+ };
631
+ readonly prompt: {
632
+ readonly type: 'string';
633
+ };
634
+ };
635
+ readonly additionalProperties: false;
636
+ readonly discriminator: {
637
+ readonly propertyName: 'model';
638
+ readonly mapping: {
639
+ readonly imagen4: '#/components/schemas/Imagen4ImageGenInput';
640
+ };
641
+ };
642
+ },
643
+ ];
644
+ readonly properties: {
645
+ readonly engine: {
646
+ readonly enum: readonly ['google'];
647
+ readonly type: 'string';
648
+ };
649
+ };
650
+ };
515
651
  export declare const $HaiperVideoGenAspectRatio: {
516
652
  readonly enum: readonly ['16:9', '4:3', '1:1', '9:16', '3:4'];
517
653
  readonly type: 'string';
@@ -698,7 +834,7 @@ export declare const $HunyuanVdeoGenInput: {
698
834
  };
699
835
  };
700
836
  readonly model: {
701
- 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_\\-]+))?$';
837
+ 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_\\-]+))?$';
702
838
  readonly type: 'string';
703
839
  readonly nullable: true;
704
840
  };
@@ -756,6 +892,8 @@ export declare const $ImageGenInput: {
756
892
  readonly propertyName: 'engine';
757
893
  readonly mapping: {
758
894
  readonly openai: '#/components/schemas/OpenApiImageGenInput';
895
+ readonly flux1: '#/components/schemas/Flux1ImageGenInput';
896
+ readonly google: '#/components/schemas/GoogleImageGenInput';
759
897
  };
760
898
  };
761
899
  };
@@ -885,7 +1023,7 @@ export declare const $ImageResourceTrainingInput: {
885
1023
  readonly type: 'string';
886
1024
  };
887
1025
  readonly model: {
888
- 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_\\-]+))?$';
1026
+ 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_\\-]+))?$';
889
1027
  readonly type: 'string';
890
1028
  readonly description: 'The primary model to train upon.';
891
1029
  };
@@ -944,6 +1082,15 @@ export declare const $ImageResourceTrainingOutput: {
944
1082
  };
945
1083
  readonly description: 'The selected prompts for sample images';
946
1084
  };
1085
+ readonly sampleInputImages: {
1086
+ readonly type: 'array';
1087
+ readonly items: {
1088
+ readonly type: 'string';
1089
+ readonly format: 'uri';
1090
+ };
1091
+ readonly description: 'The selected images for sample images';
1092
+ readonly nullable: true;
1093
+ };
947
1094
  readonly storedAsAssets: {
948
1095
  readonly type: 'boolean';
949
1096
  readonly description: 'Get wether the blobs are actually stored as assets\nAssets are deprecated and require a different retrieval mechanism';
@@ -1082,6 +1229,52 @@ export declare const $ImageUploadStepTemplate: {
1082
1229
  };
1083
1230
  readonly description: 'Image upload';
1084
1231
  };
1232
+ export declare const $Imagen4ImageGenInput: {
1233
+ readonly required: readonly ['model'];
1234
+ readonly allOf: readonly [
1235
+ {
1236
+ readonly $ref: '#/components/schemas/GoogleImageGenInput';
1237
+ },
1238
+ {
1239
+ readonly required: readonly ['prompt'];
1240
+ readonly type: 'object';
1241
+ readonly properties: {
1242
+ readonly prompt: {
1243
+ readonly maxLength: 1000;
1244
+ readonly minLength: 0;
1245
+ readonly type: 'string';
1246
+ };
1247
+ readonly negativePrompt: {
1248
+ readonly maxLength: 1000;
1249
+ readonly minLength: 0;
1250
+ readonly type: 'string';
1251
+ };
1252
+ readonly aspectRatio: {
1253
+ readonly enum: readonly ['1:1', '16:9', '9:16', '3:4', '4:3'];
1254
+ readonly type: 'string';
1255
+ };
1256
+ readonly numImages: {
1257
+ readonly maximum: 4;
1258
+ readonly minimum: 1;
1259
+ readonly type: 'integer';
1260
+ readonly format: 'int32';
1261
+ };
1262
+ readonly seed: {
1263
+ readonly type: 'integer';
1264
+ readonly format: 'int64';
1265
+ readonly nullable: true;
1266
+ };
1267
+ };
1268
+ readonly additionalProperties: false;
1269
+ },
1270
+ ];
1271
+ readonly properties: {
1272
+ readonly model: {
1273
+ readonly enum: readonly ['imagen4'];
1274
+ readonly type: 'string';
1275
+ };
1276
+ };
1277
+ };
1085
1278
  export declare const $JobSupport: {
1086
1279
  readonly enum: readonly ['unsupported', 'unavailable', 'available'];
1087
1280
  readonly type: 'string';
@@ -1203,7 +1396,7 @@ export declare const $KlingMode: {
1203
1396
  readonly type: 'string';
1204
1397
  };
1205
1398
  export declare const $KlingModel: {
1206
- readonly enum: readonly ['v1', 'v1_5', 'v1_6'];
1399
+ readonly enum: readonly ['v1', 'v1_5', 'v1_6', 'v2'];
1207
1400
  readonly type: 'string';
1208
1401
  };
1209
1402
  export declare const $KlingVideoGenAspectRatio: {
@@ -2015,7 +2208,7 @@ export declare const $ResourceInfo: {
2015
2208
  readonly type: 'object';
2016
2209
  readonly properties: {
2017
2210
  readonly air: {
2018
- 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_\\-]+))?$';
2211
+ 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_\\-]+))?$';
2019
2212
  readonly type: 'string';
2020
2213
  readonly description: 'An AIR ID for the resource.';
2021
2214
  };
@@ -2164,7 +2357,7 @@ export declare const $TextToImageInput: {
2164
2357
  readonly default: 1;
2165
2358
  };
2166
2359
  readonly model: {
2167
- 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_\\-]+))?$';
2360
+ 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_\\-]+))?$';
2168
2361
  readonly type: 'string';
2169
2362
  readonly description: 'The AIR of the checkpoint model to use for generation.';
2170
2363
  readonly default: 'urn:air:sd1:checkpoint:civitai:4384@128713';
@@ -2579,6 +2772,53 @@ export declare const $ValueTupleOfStringAndInt32: {
2579
2772
  readonly type: 'object';
2580
2773
  readonly additionalProperties: false;
2581
2774
  };
2775
+ export declare const $Veo3AspectRatio: {
2776
+ readonly enum: readonly ['16:9', '9:16', '1:1'];
2777
+ readonly type: 'string';
2778
+ };
2779
+ export declare const $Veo3VideoGenInput: {
2780
+ readonly required: readonly ['engine'];
2781
+ readonly allOf: readonly [
2782
+ {
2783
+ readonly $ref: '#/components/schemas/VideoGenInput';
2784
+ },
2785
+ {
2786
+ readonly type: 'object';
2787
+ readonly properties: {
2788
+ readonly negativePrompt: {
2789
+ readonly type: 'string';
2790
+ readonly nullable: true;
2791
+ };
2792
+ readonly enablePromptEnhancer: {
2793
+ readonly type: 'boolean';
2794
+ };
2795
+ readonly aspectRatio: {
2796
+ readonly $ref: '#/components/schemas/Veo3AspectRatio';
2797
+ };
2798
+ readonly duration: {
2799
+ readonly type: 'integer';
2800
+ readonly format: 'int32';
2801
+ readonly default: 8;
2802
+ };
2803
+ readonly generateAudio: {
2804
+ readonly type: 'boolean';
2805
+ };
2806
+ readonly seed: {
2807
+ readonly type: 'integer';
2808
+ readonly format: 'int32';
2809
+ readonly nullable: true;
2810
+ };
2811
+ };
2812
+ readonly additionalProperties: false;
2813
+ },
2814
+ ];
2815
+ readonly properties: {
2816
+ readonly engine: {
2817
+ readonly enum: readonly ['veo3'];
2818
+ readonly type: 'string';
2819
+ };
2820
+ };
2821
+ };
2582
2822
  export declare const $VideoBlob: {
2583
2823
  readonly required: readonly ['type'];
2584
2824
  readonly allOf: readonly [
@@ -2642,7 +2882,7 @@ export declare const $VideoEnhancementInputUpscalerOptions: {
2642
2882
  readonly type: 'object';
2643
2883
  readonly properties: {
2644
2884
  readonly model: {
2645
- 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_\\-]+))?$';
2885
+ 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_\\-]+))?$';
2646
2886
  readonly type: 'string';
2647
2887
  readonly nullable: true;
2648
2888
  };
@@ -2743,6 +2983,7 @@ export declare const $VideoGenInput: {
2743
2983
  readonly hunyuan: '#/components/schemas/HunyuanVdeoGenInput';
2744
2984
  readonly wan: '#/components/schemas/WanVdeoGenInput';
2745
2985
  readonly vidu: '#/components/schemas/ViduVideoGenInput';
2986
+ readonly veo3: '#/components/schemas/Veo3VideoGenInput';
2746
2987
  };
2747
2988
  };
2748
2989
  };
@@ -2751,7 +2992,7 @@ export declare const $VideoGenInputLora: {
2751
2992
  readonly type: 'object';
2752
2993
  readonly properties: {
2753
2994
  readonly air: {
2754
- 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_\\-]+))?$';
2995
+ 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_\\-]+))?$';
2755
2996
  readonly type: 'string';
2756
2997
  };
2757
2998
  readonly strength: {
@@ -2946,7 +3187,7 @@ export declare const $WanVdeoGenInput: {
2946
3187
  readonly format: 'int32';
2947
3188
  };
2948
3189
  readonly model: {
2949
- 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_\\-]+))?$';
3190
+ 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_\\-]+))?$';
2950
3191
  readonly type: 'string';
2951
3192
  readonly nullable: true;
2952
3193
  };
@@ -4,7 +4,7 @@ export const $AgeClassificationInput = {
4
4
  type: 'object',
5
5
  properties: {
6
6
  model: {
7
- pattern: '^(?:urn:)?(?:air:)?(?:(?<ecosystem>[a-zA-Z0-9_\\-\\/]+):)?(?:(?<type>[a-zA-Z0-9_\\-\\/]+):)?(?<source>[a-zA-Z0-9_\\-\\/]+):(?<id>[a-zA-Z0-9_\\-\\/\\.]+)(?:@(?<version>[a-zA-Z0-9_\\-\\/.]+))?(?:\\.(?<format>[a-zA-Z0-9_\\-]+))?$',
7
+ 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_\\-]+))?$',
8
8
  type: 'string',
9
9
  description: 'An optional model to use for age classification. If not provided, the default model will determined by the worker',
10
10
  nullable: true,
@@ -495,6 +495,99 @@ export const $FileFormat = {
495
495
  enum: ['unknown', 'safeTensor', 'pickleTensor', 'diffusers', 'coreML', 'onnx'],
496
496
  type: 'string',
497
497
  };
498
+ export const $Flux1ImageGenInput = {
499
+ required: ['engine'],
500
+ allOf: [
501
+ {
502
+ $ref: '#/components/schemas/ImageGenInput',
503
+ },
504
+ {
505
+ required: ['model', 'prompt'],
506
+ type: 'object',
507
+ properties: {
508
+ model: {
509
+ type: 'string',
510
+ },
511
+ prompt: {
512
+ type: 'string',
513
+ },
514
+ },
515
+ additionalProperties: false,
516
+ discriminator: {
517
+ propertyName: 'model',
518
+ mapping: {
519
+ 'pro-kontext': '#/components/schemas/Flux1ProKontextImageGenInput',
520
+ },
521
+ },
522
+ },
523
+ ],
524
+ properties: {
525
+ engine: {
526
+ enum: ['flux1'],
527
+ type: 'string',
528
+ },
529
+ },
530
+ };
531
+ export const $Flux1ProKontextImageGenInput = {
532
+ required: ['model'],
533
+ allOf: [
534
+ {
535
+ $ref: '#/components/schemas/Flux1ImageGenInput',
536
+ },
537
+ {
538
+ required: ['imageUrl', 'prompt'],
539
+ type: 'object',
540
+ properties: {
541
+ prompt: {
542
+ maxLength: 1000,
543
+ minLength: 0,
544
+ type: 'string',
545
+ },
546
+ imageUrl: {
547
+ type: 'string',
548
+ format: 'uri',
549
+ },
550
+ aspectRatio: {
551
+ enum: ['21:9', '16:9', '4:3', '3:2', '1:1', '2:3', '3:4', '9:16', '9:21'],
552
+ type: 'string',
553
+ },
554
+ outputFormat: {
555
+ enum: ['jpeg', 'png'],
556
+ type: 'string',
557
+ },
558
+ safetyTolerance: {
559
+ maximum: 6,
560
+ minimum: 1,
561
+ type: 'string',
562
+ },
563
+ guidanceScale: {
564
+ maximum: 20,
565
+ minimum: 1,
566
+ type: 'number',
567
+ format: 'double',
568
+ },
569
+ numImages: {
570
+ maximum: 4,
571
+ minimum: 1,
572
+ type: 'integer',
573
+ format: 'int32',
574
+ },
575
+ seed: {
576
+ type: 'integer',
577
+ format: 'int64',
578
+ nullable: true,
579
+ },
580
+ },
581
+ additionalProperties: false,
582
+ },
583
+ ],
584
+ properties: {
585
+ model: {
586
+ enum: ['pro-kontext'],
587
+ type: 'string',
588
+ },
589
+ },
590
+ };
498
591
  export const $FluxDevFastImageResourceTrainingInput = {
499
592
  required: ['engine'],
500
593
  allOf: [
@@ -513,6 +606,39 @@ export const $FluxDevFastImageResourceTrainingInput = {
513
606
  },
514
607
  },
515
608
  };
609
+ export const $GoogleImageGenInput = {
610
+ required: ['engine'],
611
+ allOf: [
612
+ {
613
+ $ref: '#/components/schemas/ImageGenInput',
614
+ },
615
+ {
616
+ required: ['model', 'prompt'],
617
+ type: 'object',
618
+ properties: {
619
+ model: {
620
+ type: 'string',
621
+ },
622
+ prompt: {
623
+ type: 'string',
624
+ },
625
+ },
626
+ additionalProperties: false,
627
+ discriminator: {
628
+ propertyName: 'model',
629
+ mapping: {
630
+ imagen4: '#/components/schemas/Imagen4ImageGenInput',
631
+ },
632
+ },
633
+ },
634
+ ],
635
+ properties: {
636
+ engine: {
637
+ enum: ['google'],
638
+ type: 'string',
639
+ },
640
+ },
641
+ };
516
642
  export const $HaiperVideoGenAspectRatio = {
517
643
  enum: ['16:9', '4:3', '1:1', '9:16', '3:4'],
518
644
  type: 'string',
@@ -691,7 +817,7 @@ export const $HunyuanVdeoGenInput = {
691
817
  },
692
818
  },
693
819
  model: {
694
- 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_\\-]+))?$',
820
+ 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_\\-]+))?$',
695
821
  type: 'string',
696
822
  nullable: true,
697
823
  },
@@ -749,6 +875,8 @@ export const $ImageGenInput = {
749
875
  propertyName: 'engine',
750
876
  mapping: {
751
877
  openai: '#/components/schemas/OpenApiImageGenInput',
878
+ flux1: '#/components/schemas/Flux1ImageGenInput',
879
+ google: '#/components/schemas/GoogleImageGenInput',
752
880
  },
753
881
  },
754
882
  };
@@ -878,7 +1006,7 @@ export const $ImageResourceTrainingInput = {
878
1006
  type: 'string',
879
1007
  },
880
1008
  model: {
881
- 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_\\-]+))?$',
1009
+ 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_\\-]+))?$',
882
1010
  type: 'string',
883
1011
  description: 'The primary model to train upon.',
884
1012
  },
@@ -937,6 +1065,15 @@ export const $ImageResourceTrainingOutput = {
937
1065
  },
938
1066
  description: 'The selected prompts for sample images',
939
1067
  },
1068
+ sampleInputImages: {
1069
+ type: 'array',
1070
+ items: {
1071
+ type: 'string',
1072
+ format: 'uri',
1073
+ },
1074
+ description: 'The selected images for sample images',
1075
+ nullable: true,
1076
+ },
940
1077
  storedAsAssets: {
941
1078
  type: 'boolean',
942
1079
  description: `Get wether the blobs are actually stored as assets
@@ -1076,6 +1213,52 @@ export const $ImageUploadStepTemplate = {
1076
1213
  },
1077
1214
  description: 'Image upload',
1078
1215
  };
1216
+ export const $Imagen4ImageGenInput = {
1217
+ required: ['model'],
1218
+ allOf: [
1219
+ {
1220
+ $ref: '#/components/schemas/GoogleImageGenInput',
1221
+ },
1222
+ {
1223
+ required: ['prompt'],
1224
+ type: 'object',
1225
+ properties: {
1226
+ prompt: {
1227
+ maxLength: 1000,
1228
+ minLength: 0,
1229
+ type: 'string',
1230
+ },
1231
+ negativePrompt: {
1232
+ maxLength: 1000,
1233
+ minLength: 0,
1234
+ type: 'string',
1235
+ },
1236
+ aspectRatio: {
1237
+ enum: ['1:1', '16:9', '9:16', '3:4', '4:3'],
1238
+ type: 'string',
1239
+ },
1240
+ numImages: {
1241
+ maximum: 4,
1242
+ minimum: 1,
1243
+ type: 'integer',
1244
+ format: 'int32',
1245
+ },
1246
+ seed: {
1247
+ type: 'integer',
1248
+ format: 'int64',
1249
+ nullable: true,
1250
+ },
1251
+ },
1252
+ additionalProperties: false,
1253
+ },
1254
+ ],
1255
+ properties: {
1256
+ model: {
1257
+ enum: ['imagen4'],
1258
+ type: 'string',
1259
+ },
1260
+ },
1261
+ };
1079
1262
  export const $JobSupport = {
1080
1263
  enum: ['unsupported', 'unavailable', 'available'],
1081
1264
  type: 'string',
@@ -1197,7 +1380,7 @@ export const $KlingMode = {
1197
1380
  type: 'string',
1198
1381
  };
1199
1382
  export const $KlingModel = {
1200
- enum: ['v1', 'v1_5', 'v1_6'],
1383
+ enum: ['v1', 'v1_5', 'v1_6', 'v2'],
1201
1384
  type: 'string',
1202
1385
  };
1203
1386
  export const $KlingVideoGenAspectRatio = {
@@ -2028,7 +2211,7 @@ export const $ResourceInfo = {
2028
2211
  type: 'object',
2029
2212
  properties: {
2030
2213
  air: {
2031
- 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_\\-]+))?$',
2214
+ 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_\\-]+))?$',
2032
2215
  type: 'string',
2033
2216
  description: 'An AIR ID for the resource.',
2034
2217
  },
@@ -2179,7 +2362,7 @@ export const $TextToImageInput = {
2179
2362
  default: 1,
2180
2363
  },
2181
2364
  model: {
2182
- 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_\\-]+))?$',
2365
+ 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_\\-]+))?$',
2183
2366
  type: 'string',
2184
2367
  description: 'The AIR of the checkpoint model to use for generation.',
2185
2368
  default: 'urn:air:sd1:checkpoint:civitai:4384@128713',
@@ -2594,6 +2777,53 @@ export const $ValueTupleOfStringAndInt32 = {
2594
2777
  type: 'object',
2595
2778
  additionalProperties: false,
2596
2779
  };
2780
+ export const $Veo3AspectRatio = {
2781
+ enum: ['16:9', '9:16', '1:1'],
2782
+ type: 'string',
2783
+ };
2784
+ export const $Veo3VideoGenInput = {
2785
+ required: ['engine'],
2786
+ allOf: [
2787
+ {
2788
+ $ref: '#/components/schemas/VideoGenInput',
2789
+ },
2790
+ {
2791
+ type: 'object',
2792
+ properties: {
2793
+ negativePrompt: {
2794
+ type: 'string',
2795
+ nullable: true,
2796
+ },
2797
+ enablePromptEnhancer: {
2798
+ type: 'boolean',
2799
+ },
2800
+ aspectRatio: {
2801
+ $ref: '#/components/schemas/Veo3AspectRatio',
2802
+ },
2803
+ duration: {
2804
+ type: 'integer',
2805
+ format: 'int32',
2806
+ default: 8,
2807
+ },
2808
+ generateAudio: {
2809
+ type: 'boolean',
2810
+ },
2811
+ seed: {
2812
+ type: 'integer',
2813
+ format: 'int32',
2814
+ nullable: true,
2815
+ },
2816
+ },
2817
+ additionalProperties: false,
2818
+ },
2819
+ ],
2820
+ properties: {
2821
+ engine: {
2822
+ enum: ['veo3'],
2823
+ type: 'string',
2824
+ },
2825
+ },
2826
+ };
2597
2827
  export const $VideoBlob = {
2598
2828
  required: ['type'],
2599
2829
  allOf: [
@@ -2657,7 +2887,7 @@ export const $VideoEnhancementInputUpscalerOptions = {
2657
2887
  type: 'object',
2658
2888
  properties: {
2659
2889
  model: {
2660
- 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_\\-]+))?$',
2890
+ 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_\\-]+))?$',
2661
2891
  type: 'string',
2662
2892
  nullable: true,
2663
2893
  },
@@ -2758,6 +2988,7 @@ export const $VideoGenInput = {
2758
2988
  hunyuan: '#/components/schemas/HunyuanVdeoGenInput',
2759
2989
  wan: '#/components/schemas/WanVdeoGenInput',
2760
2990
  vidu: '#/components/schemas/ViduVideoGenInput',
2991
+ veo3: '#/components/schemas/Veo3VideoGenInput',
2761
2992
  },
2762
2993
  },
2763
2994
  };
@@ -2766,7 +2997,7 @@ export const $VideoGenInputLora = {
2766
2997
  type: 'object',
2767
2998
  properties: {
2768
2999
  air: {
2769
- 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_\\-]+))?$',
3000
+ 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_\\-]+))?$',
2770
3001
  type: 'string',
2771
3002
  },
2772
3003
  strength: {
@@ -2961,7 +3192,7 @@ export const $WanVdeoGenInput = {
2961
3192
  format: 'int32',
2962
3193
  },
2963
3194
  model: {
2964
- 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_\\-]+))?$',
3195
+ 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_\\-]+))?$',
2965
3196
  type: 'string',
2966
3197
  nullable: true,
2967
3198
  },
@@ -235,15 +235,68 @@ export declare const FileFormat: {
235
235
  readonly CORE_ML: 'coreML';
236
236
  readonly ONNX: 'onnx';
237
237
  };
238
+ export type Flux1ImageGenInput = ImageGenInput & {
239
+ model: string;
240
+ prompt: string;
241
+ } & {
242
+ engine: 'flux1';
243
+ };
244
+ export type engine = 'flux1';
245
+ export declare const engine: {
246
+ readonly FLUX1: 'flux1';
247
+ };
248
+ export type Flux1ProKontextImageGenInput = Flux1ImageGenInput & {
249
+ prompt: string;
250
+ imageUrl: string;
251
+ aspectRatio?: '21:9' | '16:9' | '4:3' | '3:2' | '1:1' | '2:3' | '3:4' | '9:16' | '9:21';
252
+ outputFormat?: 'jpeg' | 'png';
253
+ safetyTolerance?: string;
254
+ guidanceScale?: number;
255
+ numImages?: number;
256
+ seed?: number | null;
257
+ } & {
258
+ model: 'pro-kontext';
259
+ };
260
+ export type aspectRatio = '21:9' | '16:9' | '4:3' | '3:2' | '1:1' | '2:3' | '3:4' | '9:16' | '9:21';
261
+ export declare const aspectRatio: {
262
+ readonly _21_9: '21:9';
263
+ readonly _16_9: '16:9';
264
+ readonly _4_3: '4:3';
265
+ readonly _3_2: '3:2';
266
+ readonly _1_1: '1:1';
267
+ readonly _2_3: '2:3';
268
+ readonly _3_4: '3:4';
269
+ readonly _9_16: '9:16';
270
+ readonly _9_21: '9:21';
271
+ };
272
+ export type outputFormat = 'jpeg' | 'png';
273
+ export declare const outputFormat: {
274
+ readonly JPEG: 'jpeg';
275
+ readonly PNG: 'png';
276
+ };
277
+ export type model = 'pro-kontext';
278
+ export declare const model: {
279
+ readonly PRO_KONTEXT: 'pro-kontext';
280
+ };
238
281
  export type FluxDevFastImageResourceTrainingInput = ImageResourceTrainingInput & {
239
282
  [key: string]: unknown;
240
283
  } & {
241
284
  engine: 'flux-dev-fast';
242
285
  };
243
- export type engine = 'flux-dev-fast';
244
- export declare const engine: {
286
+ export type engine2 = 'flux-dev-fast';
287
+ export declare const engine2: {
245
288
  readonly FLUX_DEV_FAST: 'flux-dev-fast';
246
289
  };
290
+ export type GoogleImageGenInput = ImageGenInput & {
291
+ model: string;
292
+ prompt: string;
293
+ } & {
294
+ engine: 'google';
295
+ };
296
+ export type engine3 = 'google';
297
+ export declare const engine3: {
298
+ readonly GOOGLE: 'google';
299
+ };
247
300
  export type HaiperVideoGenAspectRatio = '16:9' | '4:3' | '1:1' | '9:16' | '3:4';
248
301
  export declare const HaiperVideoGenAspectRatio: {
249
302
  readonly _16_9: '16:9';
@@ -297,8 +350,8 @@ export declare const resolution: {
297
350
  readonly _1080: 1080;
298
351
  readonly _2160: 2160;
299
352
  };
300
- export type engine2 = 'haiper';
301
- export declare const engine2: {
353
+ export type engine4 = 'haiper';
354
+ export declare const engine4: {
302
355
  readonly HAIPER: 'haiper';
303
356
  };
304
357
  export type HaiperVideoGenModel = 'v1_5' | 'v2';
@@ -337,8 +390,8 @@ export type HunyuanVdeoGenInput = VideoGenInput & {
337
390
  } & {
338
391
  engine: 'hunyuan';
339
392
  };
340
- export type engine3 = 'hunyuan';
341
- export declare const engine3: {
393
+ export type engine5 = 'hunyuan';
394
+ export declare const engine5: {
342
395
  readonly HUNYUAN: 'hunyuan';
343
396
  };
344
397
  export type ImageBlob = Blob & {
@@ -460,6 +513,10 @@ export type ImageResourceTrainingOutput = {
460
513
  * The selected prompts for sample images
461
514
  */
462
515
  sampleImagesPrompts: Array<string>;
516
+ /**
517
+ * The selected images for sample images
518
+ */
519
+ sampleInputImages?: Array<string> | null;
463
520
  /**
464
521
  * Get wether the blobs are actually stored as assets
465
522
  * Assets are deprecated and require a different retrieval mechanism
@@ -534,6 +591,27 @@ export type ImageUploadStepTemplate = WorkflowStepTemplate & {
534
591
  } & {
535
592
  $type: 'imageUpload';
536
593
  };
594
+ export type Imagen4ImageGenInput = GoogleImageGenInput & {
595
+ prompt: string;
596
+ negativePrompt?: string;
597
+ aspectRatio?: '1:1' | '16:9' | '9:16' | '3:4' | '4:3';
598
+ numImages?: number;
599
+ seed?: number | null;
600
+ } & {
601
+ model: 'imagen4';
602
+ };
603
+ export type aspectRatio2 = '1:1' | '16:9' | '9:16' | '3:4' | '4:3';
604
+ export declare const aspectRatio2: {
605
+ readonly _1_1: '1:1';
606
+ readonly _16_9: '16:9';
607
+ readonly _9_16: '9:16';
608
+ readonly _3_4: '3:4';
609
+ readonly _4_3: '4:3';
610
+ };
611
+ export type model2 = 'imagen4';
612
+ export declare const model2: {
613
+ readonly IMAGEN4: 'imagen4';
614
+ };
537
615
  /**
538
616
  * Available levels of job support.
539
617
  */
@@ -628,11 +706,12 @@ export declare const KlingMode: {
628
706
  readonly STANDARD: 'standard';
629
707
  readonly PROFESSIONAL: 'professional';
630
708
  };
631
- export type KlingModel = 'v1' | 'v1_5' | 'v1_6';
709
+ export type KlingModel = 'v1' | 'v1_5' | 'v1_6' | 'v2';
632
710
  export declare const KlingModel: {
633
711
  readonly V1: 'v1';
634
712
  readonly V1_5: 'v1_5';
635
713
  readonly V1_6: 'v1_6';
714
+ readonly V2: 'v2';
636
715
  };
637
716
  export type KlingVideoGenAspectRatio = '16:9' | '9:16' | '1:1';
638
717
  export declare const KlingVideoGenAspectRatio: {
@@ -661,8 +740,8 @@ export type KlingVideoGenInput = VideoGenInput & {
661
740
  } & {
662
741
  engine: 'kling';
663
742
  };
664
- export type engine4 = 'kling';
665
- export declare const engine4: {
743
+ export type engine6 = 'kling';
744
+ export declare const engine6: {
666
745
  readonly KLING: 'kling';
667
746
  };
668
747
  export type KohyaImageResourceTrainingInput = ImageResourceTrainingInput & {
@@ -768,8 +847,8 @@ export declare const lrScheduler: {
768
847
  readonly COSINE_WITH_RESTARTS: 'cosine_with_restarts';
769
848
  readonly LINEAR: 'linear';
770
849
  };
771
- export type engine5 = 'kohya';
772
- export declare const engine5: {
850
+ export type engine7 = 'kohya';
851
+ export declare const engine7: {
773
852
  readonly KOHYA: 'kohya';
774
853
  };
775
854
  export type LightricksAspectRatio = '1:1' | '16:9' | '9:16' | '3:2' | '2:3';
@@ -795,8 +874,8 @@ export type LightricksVideoGenInput = VideoGenInput & {
795
874
  } & {
796
875
  engine: 'lightricks';
797
876
  };
798
- export type engine6 = 'lightricks';
799
- export declare const engine6: {
877
+ export type engine8 = 'lightricks';
878
+ export declare const engine8: {
800
879
  readonly LIGHTRICKS: 'lightricks';
801
880
  };
802
881
  export type MiniMaxVideoGenInput = VideoGenInput & {
@@ -809,8 +888,8 @@ export type MiniMaxVideoGenInput = VideoGenInput & {
809
888
  } & {
810
889
  engine: 'minimax';
811
890
  };
812
- export type engine7 = 'minimax';
813
- export declare const engine7: {
891
+ export type engine9 = 'minimax';
892
+ export declare const engine9: {
814
893
  readonly MINIMAX: 'minimax';
815
894
  };
816
895
  export type MiniMaxVideoGenModel = 'hailou';
@@ -823,8 +902,8 @@ export type MochiVideoGenInput = VideoGenInput & {
823
902
  } & {
824
903
  engine: 'mochi';
825
904
  };
826
- export type engine8 = 'mochi';
827
- export declare const engine8: {
905
+ export type engine10 = 'mochi';
906
+ export declare const engine10: {
828
907
  readonly MOCHI: 'mochi';
829
908
  };
830
909
  export type MusubiImageResourceTrainingInput = ImageResourceTrainingInput & {
@@ -882,8 +961,8 @@ export type MusubiImageResourceTrainingInput = ImageResourceTrainingInput & {
882
961
  } & {
883
962
  engine: 'musubi';
884
963
  };
885
- export type engine9 = 'musubi';
886
- export declare const engine9: {
964
+ export type engine11 = 'musubi';
965
+ export declare const engine11: {
887
966
  readonly MUSUBI: 'musubi';
888
967
  };
889
968
  export type NSFWLevel = 'pg' | 'pG13' | 'r' | 'x' | 'xxx' | 'na';
@@ -940,8 +1019,8 @@ export declare const size: {
940
1019
  readonly _512X512: '512x512';
941
1020
  readonly _1024X1024: '1024x1024';
942
1021
  };
943
- export type model = 'dall-e-2';
944
- export declare const model: {
1022
+ export type model3 = 'dall-e-2';
1023
+ export declare const model3: {
945
1024
  readonly DALL_E_2: 'dall-e-2';
946
1025
  };
947
1026
  export type OpenAIDallE3CreateImageGenInput = OpenAIDallE3ImageGenInput & {
@@ -975,8 +1054,8 @@ export declare const quality: {
975
1054
  readonly HD: 'hd';
976
1055
  readonly STANDARD: 'standard';
977
1056
  };
978
- export type model2 = 'dall-e-3';
979
- export declare const model2: {
1057
+ export type model4 = 'dall-e-3';
1058
+ export declare const model4: {
980
1059
  readonly DALL_E_3: 'dall-e-3';
981
1060
  };
982
1061
  export type OpenAIGpt1CreateImageInput = OpenAIGpt1ImageGenInput & {
@@ -1016,8 +1095,8 @@ export declare const quality2: {
1016
1095
  readonly MEDIUM: 'medium';
1017
1096
  readonly LOW: 'low';
1018
1097
  };
1019
- export type model3 = 'gpt-image-1';
1020
- export declare const model3: {
1098
+ export type model5 = 'gpt-image-1';
1099
+ export declare const model5: {
1021
1100
  readonly GPT_IMAGE_1: 'gpt-image-1';
1022
1101
  };
1023
1102
  export type OpenApiImageGenInput = ImageGenInput & {
@@ -1026,8 +1105,8 @@ export type OpenApiImageGenInput = ImageGenInput & {
1026
1105
  } & {
1027
1106
  engine: 'openai';
1028
1107
  };
1029
- export type engine10 = 'openai';
1030
- export declare const engine10: {
1108
+ export type engine12 = 'openai';
1109
+ export declare const engine12: {
1031
1110
  readonly OPENAI: 'openai';
1032
1111
  };
1033
1112
  /**
@@ -1414,6 +1493,26 @@ export type ValidationProblemDetails = {
1414
1493
  export type ValueTupleOfStringAndInt32 = {
1415
1494
  [key: string]: unknown;
1416
1495
  };
1496
+ export type Veo3AspectRatio = '16:9' | '9:16' | '1:1';
1497
+ export declare const Veo3AspectRatio: {
1498
+ readonly _16_9: '16:9';
1499
+ readonly _9_16: '9:16';
1500
+ readonly _1_1: '1:1';
1501
+ };
1502
+ export type Veo3VideoGenInput = VideoGenInput & {
1503
+ negativePrompt?: string | null;
1504
+ enablePromptEnhancer?: boolean;
1505
+ aspectRatio?: Veo3AspectRatio;
1506
+ duration?: number;
1507
+ generateAudio?: boolean;
1508
+ seed?: number | null;
1509
+ } & {
1510
+ engine: 'veo3';
1511
+ };
1512
+ export type engine13 = 'veo3';
1513
+ export declare const engine13: {
1514
+ readonly VEO3: 'veo3';
1515
+ };
1417
1516
  export type VideoBlob = Blob & {
1418
1517
  width?: number | null;
1419
1518
  height?: number | null;
@@ -1517,8 +1616,8 @@ export declare const duration2: {
1517
1616
  readonly _4: 4;
1518
1617
  readonly _8: 8;
1519
1618
  };
1520
- export type aspectRatio = '16:9' | '9:16' | '1:1';
1521
- export declare const aspectRatio: {
1619
+ export type aspectRatio3 = '16:9' | '9:16' | '1:1';
1620
+ export declare const aspectRatio3: {
1522
1621
  readonly _16_9: '16:9';
1523
1622
  readonly _9_16: '9:16';
1524
1623
  readonly _1_1: '1:1';
@@ -1530,8 +1629,8 @@ export declare const movementAmplitude: {
1530
1629
  readonly MEDIUM: 'medium';
1531
1630
  readonly LARGE: 'large';
1532
1631
  };
1533
- export type engine11 = 'vidu';
1534
- export declare const engine11: {
1632
+ export type engine14 = 'vidu';
1633
+ export declare const engine14: {
1535
1634
  readonly VIDU: 'vidu';
1536
1635
  };
1537
1636
  export type ViduVideoGenModel = 'default' | 'q1';
@@ -1561,8 +1660,8 @@ export type WanVdeoGenInput = VideoGenInput & {
1561
1660
  } & {
1562
1661
  engine: 'wan';
1563
1662
  };
1564
- export type engine12 = 'wan';
1565
- export declare const engine12: {
1663
+ export type engine15 = 'wan';
1664
+ export declare const engine15: {
1566
1665
  readonly WAN: 'wan';
1567
1666
  };
1568
1667
  /**
@@ -2013,6 +2112,7 @@ export type InvalidateResourceData = {
2013
2112
  air: string;
2014
2113
  };
2015
2114
  query?: {
2115
+ etag?: string;
2016
2116
  /**
2017
2117
  * One or more userIds to invalidate early access for
2018
2118
  */
@@ -29,8 +29,32 @@ export const FileFormat = {
29
29
  ONNX: 'onnx',
30
30
  };
31
31
  export const engine = {
32
+ FLUX1: 'flux1',
33
+ };
34
+ export const aspectRatio = {
35
+ _21_9: '21:9',
36
+ _16_9: '16:9',
37
+ _4_3: '4:3',
38
+ _3_2: '3:2',
39
+ _1_1: '1:1',
40
+ _2_3: '2:3',
41
+ _3_4: '3:4',
42
+ _9_16: '9:16',
43
+ _9_21: '9:21',
44
+ };
45
+ export const outputFormat = {
46
+ JPEG: 'jpeg',
47
+ PNG: 'png',
48
+ };
49
+ export const model = {
50
+ PRO_KONTEXT: 'pro-kontext',
51
+ };
52
+ export const engine2 = {
32
53
  FLUX_DEV_FAST: 'flux-dev-fast',
33
54
  };
55
+ export const engine3 = {
56
+ GOOGLE: 'google',
57
+ };
34
58
  export const HaiperVideoGenAspectRatio = {
35
59
  _16_9: '16:9',
36
60
  _4_3: '4:3',
@@ -57,7 +81,7 @@ export const resolution = {
57
81
  _1080: 1080,
58
82
  _2160: 2160,
59
83
  };
60
- export const engine2 = {
84
+ export const engine4 = {
61
85
  HAIPER: 'haiper',
62
86
  };
63
87
  export const HaiperVideoGenModel = {
@@ -69,7 +93,7 @@ export const HumanoidImageMaskCategory = {
69
93
  UPPER_BODY: 'upperBody',
70
94
  LOWER_BODY: 'lowerBody',
71
95
  };
72
- export const engine3 = {
96
+ export const engine5 = {
73
97
  HUNYUAN: 'hunyuan',
74
98
  };
75
99
  export const type = {
@@ -99,6 +123,16 @@ export const ImageTransformer = {
99
123
  export const $type6 = {
100
124
  IMAGE_UPLOAD: 'imageUpload',
101
125
  };
126
+ export const aspectRatio2 = {
127
+ _1_1: '1:1',
128
+ _16_9: '16:9',
129
+ _9_16: '9:16',
130
+ _3_4: '3:4',
131
+ _4_3: '4:3',
132
+ };
133
+ export const model2 = {
134
+ IMAGEN4: 'imagen4',
135
+ };
102
136
  /**
103
137
  * Available levels of job support.
104
138
  */
@@ -126,6 +160,7 @@ export const KlingModel = {
126
160
  V1: 'v1',
127
161
  V1_5: 'v1_5',
128
162
  V1_6: 'v1_6',
163
+ V2: 'v2',
129
164
  };
130
165
  export const KlingVideoGenAspectRatio = {
131
166
  _16_9: '16:9',
@@ -136,7 +171,7 @@ export const KlingVideoGenDuration = {
136
171
  _5: '5',
137
172
  _10: '10',
138
173
  };
139
- export const engine4 = {
174
+ export const engine6 = {
140
175
  KLING: 'kling',
141
176
  };
142
177
  /**
@@ -148,7 +183,7 @@ export const lrScheduler = {
148
183
  COSINE_WITH_RESTARTS: 'cosine_with_restarts',
149
184
  LINEAR: 'linear',
150
185
  };
151
- export const engine5 = {
186
+ export const engine7 = {
152
187
  KOHYA: 'kohya',
153
188
  };
154
189
  export const LightricksAspectRatio = {
@@ -158,19 +193,19 @@ export const LightricksAspectRatio = {
158
193
  _3_2: '3:2',
159
194
  _2_3: '2:3',
160
195
  };
161
- export const engine6 = {
196
+ export const engine8 = {
162
197
  LIGHTRICKS: 'lightricks',
163
198
  };
164
- export const engine7 = {
199
+ export const engine9 = {
165
200
  MINIMAX: 'minimax',
166
201
  };
167
202
  export const MiniMaxVideoGenModel = {
168
203
  HAILOU: 'hailou',
169
204
  };
170
- export const engine8 = {
205
+ export const engine10 = {
171
206
  MOCHI: 'mochi',
172
207
  };
173
- export const engine9 = {
208
+ export const engine11 = {
174
209
  MUSUBI: 'musubi',
175
210
  };
176
211
  export const NSFWLevel = {
@@ -197,7 +232,7 @@ export const size = {
197
232
  _512X512: '512x512',
198
233
  _1024X1024: '1024x1024',
199
234
  };
200
- export const model = {
235
+ export const model3 = {
201
236
  DALL_E_2: 'dall-e-2',
202
237
  };
203
238
  export const size2 = {
@@ -214,7 +249,7 @@ export const quality = {
214
249
  HD: 'hd',
215
250
  STANDARD: 'standard',
216
251
  };
217
- export const model2 = {
252
+ export const model4 = {
218
253
  DALL_E_3: 'dall-e-3',
219
254
  };
220
255
  export const size3 = {
@@ -228,10 +263,10 @@ export const quality2 = {
228
263
  MEDIUM: 'medium',
229
264
  LOW: 'low',
230
265
  };
231
- export const model3 = {
266
+ export const model5 = {
232
267
  GPT_IMAGE_1: 'gpt-image-1',
233
268
  };
234
- export const engine10 = {
269
+ export const engine12 = {
235
270
  OPENAI: 'openai',
236
271
  };
237
272
  /**
@@ -288,6 +323,14 @@ export const $type8 = {
288
323
  export const UpdateWorkflowStatus = {
289
324
  CANCELED: 'canceled',
290
325
  };
326
+ export const Veo3AspectRatio = {
327
+ _16_9: '16:9',
328
+ _9_16: '9:16',
329
+ _1_1: '1:1',
330
+ };
331
+ export const engine13 = {
332
+ VEO3: 'veo3',
333
+ };
291
334
  export const type2 = {
292
335
  VIDEO: 'video',
293
336
  };
@@ -301,7 +344,7 @@ export const duration2 = {
301
344
  _4: 4,
302
345
  _8: 8,
303
346
  };
304
- export const aspectRatio = {
347
+ export const aspectRatio3 = {
305
348
  _16_9: '16:9',
306
349
  _9_16: '9:16',
307
350
  _1_1: '1:1',
@@ -312,7 +355,7 @@ export const movementAmplitude = {
312
355
  MEDIUM: 'medium',
313
356
  LARGE: 'large',
314
357
  };
315
- export const engine11 = {
358
+ export const engine14 = {
316
359
  VIDU: 'vidu',
317
360
  };
318
361
  export const ViduVideoGenModel = {
@@ -323,7 +366,7 @@ export const ViduVideoGenStyle = {
323
366
  GENERAL: 'general',
324
367
  ANIME: 'anime',
325
368
  };
326
- export const engine12 = {
369
+ export const engine15 = {
327
370
  WAN: 'wan',
328
371
  };
329
372
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/client",
3
- "version": "0.1.9-beta.37",
3
+ "version": "0.1.9-beta.39",
4
4
  "description": "Civitai's javascript client for generating ai content",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",