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

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;
@@ -698,7 +698,7 @@ export declare const $HunyuanVdeoGenInput: {
698
698
  };
699
699
  };
700
700
  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_\\-]+))?$';
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_\\-]+))?$';
702
702
  readonly type: 'string';
703
703
  readonly nullable: true;
704
704
  };
@@ -885,7 +885,7 @@ export declare const $ImageResourceTrainingInput: {
885
885
  readonly type: 'string';
886
886
  };
887
887
  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_\\-]+))?$';
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_\\-]+))?$';
889
889
  readonly type: 'string';
890
890
  readonly description: 'The primary model to train upon.';
891
891
  };
@@ -944,6 +944,15 @@ export declare const $ImageResourceTrainingOutput: {
944
944
  };
945
945
  readonly description: 'The selected prompts for sample images';
946
946
  };
947
+ readonly sampleInputImages: {
948
+ readonly type: 'array';
949
+ readonly items: {
950
+ readonly type: 'string';
951
+ readonly format: 'uri';
952
+ };
953
+ readonly description: 'The selected images for sample images';
954
+ readonly nullable: true;
955
+ };
947
956
  readonly storedAsAssets: {
948
957
  readonly type: 'boolean';
949
958
  readonly description: 'Get wether the blobs are actually stored as assets\nAssets are deprecated and require a different retrieval mechanism';
@@ -2015,7 +2024,7 @@ export declare const $ResourceInfo: {
2015
2024
  readonly type: 'object';
2016
2025
  readonly properties: {
2017
2026
  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_\\-]+))?$';
2027
+ 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
2028
  readonly type: 'string';
2020
2029
  readonly description: 'An AIR ID for the resource.';
2021
2030
  };
@@ -2164,7 +2173,7 @@ export declare const $TextToImageInput: {
2164
2173
  readonly default: 1;
2165
2174
  };
2166
2175
  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_\\-]+))?$';
2176
+ 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
2177
  readonly type: 'string';
2169
2178
  readonly description: 'The AIR of the checkpoint model to use for generation.';
2170
2179
  readonly default: 'urn:air:sd1:checkpoint:civitai:4384@128713';
@@ -2579,6 +2588,53 @@ export declare const $ValueTupleOfStringAndInt32: {
2579
2588
  readonly type: 'object';
2580
2589
  readonly additionalProperties: false;
2581
2590
  };
2591
+ export declare const $Veo3AspectRatio: {
2592
+ readonly enum: readonly ['16:9', '9:16', '1:1'];
2593
+ readonly type: 'string';
2594
+ };
2595
+ export declare const $Veo3VideoGenInput: {
2596
+ readonly required: readonly ['engine'];
2597
+ readonly allOf: readonly [
2598
+ {
2599
+ readonly $ref: '#/components/schemas/VideoGenInput';
2600
+ },
2601
+ {
2602
+ readonly type: 'object';
2603
+ readonly properties: {
2604
+ readonly negativePrompt: {
2605
+ readonly type: 'string';
2606
+ readonly nullable: true;
2607
+ };
2608
+ readonly enablePromptEnhancer: {
2609
+ readonly type: 'boolean';
2610
+ };
2611
+ readonly aspectRatio: {
2612
+ readonly $ref: '#/components/schemas/Veo3AspectRatio';
2613
+ };
2614
+ readonly duration: {
2615
+ readonly type: 'integer';
2616
+ readonly format: 'int32';
2617
+ readonly default: 8;
2618
+ };
2619
+ readonly generateAudio: {
2620
+ readonly type: 'boolean';
2621
+ };
2622
+ readonly seed: {
2623
+ readonly type: 'integer';
2624
+ readonly format: 'int32';
2625
+ readonly nullable: true;
2626
+ };
2627
+ };
2628
+ readonly additionalProperties: false;
2629
+ },
2630
+ ];
2631
+ readonly properties: {
2632
+ readonly engine: {
2633
+ readonly enum: readonly ['veo3'];
2634
+ readonly type: 'string';
2635
+ };
2636
+ };
2637
+ };
2582
2638
  export declare const $VideoBlob: {
2583
2639
  readonly required: readonly ['type'];
2584
2640
  readonly allOf: readonly [
@@ -2642,7 +2698,7 @@ export declare const $VideoEnhancementInputUpscalerOptions: {
2642
2698
  readonly type: 'object';
2643
2699
  readonly properties: {
2644
2700
  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_\\-]+))?$';
2701
+ 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
2702
  readonly type: 'string';
2647
2703
  readonly nullable: true;
2648
2704
  };
@@ -2743,6 +2799,7 @@ export declare const $VideoGenInput: {
2743
2799
  readonly hunyuan: '#/components/schemas/HunyuanVdeoGenInput';
2744
2800
  readonly wan: '#/components/schemas/WanVdeoGenInput';
2745
2801
  readonly vidu: '#/components/schemas/ViduVideoGenInput';
2802
+ readonly veo3: '#/components/schemas/Veo3VideoGenInput';
2746
2803
  };
2747
2804
  };
2748
2805
  };
@@ -2751,7 +2808,7 @@ export declare const $VideoGenInputLora: {
2751
2808
  readonly type: 'object';
2752
2809
  readonly properties: {
2753
2810
  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_\\-]+))?$';
2811
+ 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
2812
  readonly type: 'string';
2756
2813
  };
2757
2814
  readonly strength: {
@@ -2946,7 +3003,7 @@ export declare const $WanVdeoGenInput: {
2946
3003
  readonly format: 'int32';
2947
3004
  };
2948
3005
  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_\\-]+))?$';
3006
+ 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
3007
  readonly type: 'string';
2951
3008
  readonly nullable: true;
2952
3009
  };
@@ -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,
@@ -691,7 +691,7 @@ export const $HunyuanVdeoGenInput = {
691
691
  },
692
692
  },
693
693
  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_\\-]+))?$',
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_\\-]+))?$',
695
695
  type: 'string',
696
696
  nullable: true,
697
697
  },
@@ -878,7 +878,7 @@ export const $ImageResourceTrainingInput = {
878
878
  type: 'string',
879
879
  },
880
880
  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_\\-]+))?$',
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_\\-]+))?$',
882
882
  type: 'string',
883
883
  description: 'The primary model to train upon.',
884
884
  },
@@ -937,6 +937,15 @@ export const $ImageResourceTrainingOutput = {
937
937
  },
938
938
  description: 'The selected prompts for sample images',
939
939
  },
940
+ sampleInputImages: {
941
+ type: 'array',
942
+ items: {
943
+ type: 'string',
944
+ format: 'uri',
945
+ },
946
+ description: 'The selected images for sample images',
947
+ nullable: true,
948
+ },
940
949
  storedAsAssets: {
941
950
  type: 'boolean',
942
951
  description: `Get wether the blobs are actually stored as assets
@@ -2028,7 +2037,7 @@ export const $ResourceInfo = {
2028
2037
  type: 'object',
2029
2038
  properties: {
2030
2039
  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_\\-]+))?$',
2040
+ 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
2041
  type: 'string',
2033
2042
  description: 'An AIR ID for the resource.',
2034
2043
  },
@@ -2179,7 +2188,7 @@ export const $TextToImageInput = {
2179
2188
  default: 1,
2180
2189
  },
2181
2190
  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_\\-]+))?$',
2191
+ 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
2192
  type: 'string',
2184
2193
  description: 'The AIR of the checkpoint model to use for generation.',
2185
2194
  default: 'urn:air:sd1:checkpoint:civitai:4384@128713',
@@ -2594,6 +2603,53 @@ export const $ValueTupleOfStringAndInt32 = {
2594
2603
  type: 'object',
2595
2604
  additionalProperties: false,
2596
2605
  };
2606
+ export const $Veo3AspectRatio = {
2607
+ enum: ['16:9', '9:16', '1:1'],
2608
+ type: 'string',
2609
+ };
2610
+ export const $Veo3VideoGenInput = {
2611
+ required: ['engine'],
2612
+ allOf: [
2613
+ {
2614
+ $ref: '#/components/schemas/VideoGenInput',
2615
+ },
2616
+ {
2617
+ type: 'object',
2618
+ properties: {
2619
+ negativePrompt: {
2620
+ type: 'string',
2621
+ nullable: true,
2622
+ },
2623
+ enablePromptEnhancer: {
2624
+ type: 'boolean',
2625
+ },
2626
+ aspectRatio: {
2627
+ $ref: '#/components/schemas/Veo3AspectRatio',
2628
+ },
2629
+ duration: {
2630
+ type: 'integer',
2631
+ format: 'int32',
2632
+ default: 8,
2633
+ },
2634
+ generateAudio: {
2635
+ type: 'boolean',
2636
+ },
2637
+ seed: {
2638
+ type: 'integer',
2639
+ format: 'int32',
2640
+ nullable: true,
2641
+ },
2642
+ },
2643
+ additionalProperties: false,
2644
+ },
2645
+ ],
2646
+ properties: {
2647
+ engine: {
2648
+ enum: ['veo3'],
2649
+ type: 'string',
2650
+ },
2651
+ },
2652
+ };
2597
2653
  export const $VideoBlob = {
2598
2654
  required: ['type'],
2599
2655
  allOf: [
@@ -2657,7 +2713,7 @@ export const $VideoEnhancementInputUpscalerOptions = {
2657
2713
  type: 'object',
2658
2714
  properties: {
2659
2715
  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_\\-]+))?$',
2716
+ 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
2717
  type: 'string',
2662
2718
  nullable: true,
2663
2719
  },
@@ -2758,6 +2814,7 @@ export const $VideoGenInput = {
2758
2814
  hunyuan: '#/components/schemas/HunyuanVdeoGenInput',
2759
2815
  wan: '#/components/schemas/WanVdeoGenInput',
2760
2816
  vidu: '#/components/schemas/ViduVideoGenInput',
2817
+ veo3: '#/components/schemas/Veo3VideoGenInput',
2761
2818
  },
2762
2819
  },
2763
2820
  };
@@ -2766,7 +2823,7 @@ export const $VideoGenInputLora = {
2766
2823
  type: 'object',
2767
2824
  properties: {
2768
2825
  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_\\-]+))?$',
2826
+ 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
2827
  type: 'string',
2771
2828
  },
2772
2829
  strength: {
@@ -2961,7 +3018,7 @@ export const $WanVdeoGenInput = {
2961
3018
  format: 'int32',
2962
3019
  },
2963
3020
  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_\\-]+))?$',
3021
+ 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
3022
  type: 'string',
2966
3023
  nullable: true,
2967
3024
  },
@@ -460,6 +460,10 @@ export type ImageResourceTrainingOutput = {
460
460
  * The selected prompts for sample images
461
461
  */
462
462
  sampleImagesPrompts: Array<string>;
463
+ /**
464
+ * The selected images for sample images
465
+ */
466
+ sampleInputImages?: Array<string> | null;
463
467
  /**
464
468
  * Get wether the blobs are actually stored as assets
465
469
  * Assets are deprecated and require a different retrieval mechanism
@@ -1414,6 +1418,26 @@ export type ValidationProblemDetails = {
1414
1418
  export type ValueTupleOfStringAndInt32 = {
1415
1419
  [key: string]: unknown;
1416
1420
  };
1421
+ export type Veo3AspectRatio = '16:9' | '9:16' | '1:1';
1422
+ export declare const Veo3AspectRatio: {
1423
+ readonly _16_9: '16:9';
1424
+ readonly _9_16: '9:16';
1425
+ readonly _1_1: '1:1';
1426
+ };
1427
+ export type Veo3VideoGenInput = VideoGenInput & {
1428
+ negativePrompt?: string | null;
1429
+ enablePromptEnhancer?: boolean;
1430
+ aspectRatio?: Veo3AspectRatio;
1431
+ duration?: number;
1432
+ generateAudio?: boolean;
1433
+ seed?: number | null;
1434
+ } & {
1435
+ engine: 'veo3';
1436
+ };
1437
+ export type engine11 = 'veo3';
1438
+ export declare const engine11: {
1439
+ readonly VEO3: 'veo3';
1440
+ };
1417
1441
  export type VideoBlob = Blob & {
1418
1442
  width?: number | null;
1419
1443
  height?: number | null;
@@ -1530,8 +1554,8 @@ export declare const movementAmplitude: {
1530
1554
  readonly MEDIUM: 'medium';
1531
1555
  readonly LARGE: 'large';
1532
1556
  };
1533
- export type engine11 = 'vidu';
1534
- export declare const engine11: {
1557
+ export type engine12 = 'vidu';
1558
+ export declare const engine12: {
1535
1559
  readonly VIDU: 'vidu';
1536
1560
  };
1537
1561
  export type ViduVideoGenModel = 'default' | 'q1';
@@ -1561,8 +1585,8 @@ export type WanVdeoGenInput = VideoGenInput & {
1561
1585
  } & {
1562
1586
  engine: 'wan';
1563
1587
  };
1564
- export type engine12 = 'wan';
1565
- export declare const engine12: {
1588
+ export type engine13 = 'wan';
1589
+ export declare const engine13: {
1566
1590
  readonly WAN: 'wan';
1567
1591
  };
1568
1592
  /**
@@ -2013,6 +2037,7 @@ export type InvalidateResourceData = {
2013
2037
  air: string;
2014
2038
  };
2015
2039
  query?: {
2040
+ etag?: string;
2016
2041
  /**
2017
2042
  * One or more userIds to invalidate early access for
2018
2043
  */
@@ -288,6 +288,14 @@ export const $type8 = {
288
288
  export const UpdateWorkflowStatus = {
289
289
  CANCELED: 'canceled',
290
290
  };
291
+ export const Veo3AspectRatio = {
292
+ _16_9: '16:9',
293
+ _9_16: '9:16',
294
+ _1_1: '1:1',
295
+ };
296
+ export const engine11 = {
297
+ VEO3: 'veo3',
298
+ };
291
299
  export const type2 = {
292
300
  VIDEO: 'video',
293
301
  };
@@ -312,7 +320,7 @@ export const movementAmplitude = {
312
320
  MEDIUM: 'medium',
313
321
  LARGE: 'large',
314
322
  };
315
- export const engine11 = {
323
+ export const engine12 = {
316
324
  VIDU: 'vidu',
317
325
  };
318
326
  export const ViduVideoGenModel = {
@@ -323,7 +331,7 @@ export const ViduVideoGenStyle = {
323
331
  GENERAL: 'general',
324
332
  ANIME: 'anime',
325
333
  };
326
- export const engine12 = {
334
+ export const engine13 = {
327
335
  WAN: 'wan',
328
336
  };
329
337
  /**
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.38",
4
4
  "description": "Civitai's javascript client for generating ai content",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",