@civitai/client 0.1.9-beta.18 → 0.1.9-beta.19

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;
@@ -303,7 +303,7 @@ export declare const $ComfyJob: {
303
303
  readonly uniqueItems: true;
304
304
  readonly type: 'array';
305
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_\\-]+))?$';
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
307
  readonly type: 'string';
308
308
  };
309
309
  readonly nullable: true;
@@ -479,7 +479,7 @@ export declare const $ComfyVideoGenJob: {
479
479
  readonly type: 'object';
480
480
  readonly properties: {
481
481
  readonly model: {
482
- 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_\\-]+))?$';
482
+ 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_\\-]+))?$';
483
483
  readonly type: 'string';
484
484
  };
485
485
  readonly prompt: {
@@ -1052,7 +1052,7 @@ export declare const $ImageResourceTrainingInput: {
1052
1052
  readonly type: 'string';
1053
1053
  };
1054
1054
  readonly model: {
1055
- 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_\\-]+))?$';
1055
+ 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_\\-]+))?$';
1056
1056
  readonly type: 'string';
1057
1057
  readonly description: 'The primary model to train upon.';
1058
1058
  };
@@ -1100,7 +1100,7 @@ export declare const $ImageResourceTrainingJob: {
1100
1100
  readonly type: 'object';
1101
1101
  readonly properties: {
1102
1102
  readonly model: {
1103
- 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_\\-]+))?$';
1103
+ 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_\\-]+))?$';
1104
1104
  readonly type: 'string';
1105
1105
  readonly description: 'An AIR representing the model to use.';
1106
1106
  };
@@ -1378,7 +1378,7 @@ export declare const $Job: {
1378
1378
  readonly resources: {
1379
1379
  readonly type: 'array';
1380
1380
  readonly items: {
1381
- 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_\\-]+))?$';
1381
+ 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_\\-]+))?$';
1382
1382
  readonly type: 'string';
1383
1383
  };
1384
1384
  readonly description: 'Get a list of resources that this job depends on';
@@ -1850,9 +1850,6 @@ export declare const $LightricksVideoGenInput: {
1850
1850
  readonly format: 'double';
1851
1851
  readonly default: 4;
1852
1852
  };
1853
- readonly aspectRatio: {
1854
- readonly $ref: '#/components/schemas/LightricksAspectRatio';
1855
- };
1856
1853
  readonly frameRate: {
1857
1854
  readonly type: 'integer';
1858
1855
  readonly format: 'int32';
@@ -1877,14 +1874,14 @@ export declare const $LightricksVideoGenInput: {
1877
1874
  readonly format: 'int32';
1878
1875
  readonly default: 20;
1879
1876
  };
1877
+ readonly aspectRatio: {
1878
+ readonly $ref: '#/components/schemas/LightricksAspectRatio';
1879
+ };
1880
1880
  readonly sourceImage: {
1881
1881
  readonly type: 'string';
1882
1882
  readonly description: 'Either A URL, A DataURL or a Base64 string';
1883
1883
  readonly nullable: true;
1884
1884
  };
1885
- readonly resolution: {
1886
- readonly $ref: '#/components/schemas/ValueTupleOfInt32AndInt32';
1887
- };
1888
1885
  };
1889
1886
  readonly additionalProperties: false;
1890
1887
  },
@@ -2127,7 +2124,7 @@ export declare const $ResourceInfo: {
2127
2124
  readonly type: 'object';
2128
2125
  readonly properties: {
2129
2126
  readonly air: {
2130
- 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_\\-]+))?$';
2127
+ 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_\\-]+))?$';
2131
2128
  readonly type: 'string';
2132
2129
  readonly description: 'An AIR ID for the resource.';
2133
2130
  };
@@ -2280,7 +2277,7 @@ export declare const $SimilaritySearchJob: {
2280
2277
  readonly type: 'object';
2281
2278
  readonly properties: {
2282
2279
  readonly model: {
2283
- 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_\\-]+))?$';
2280
+ 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_\\-]+))?$';
2284
2281
  readonly type: 'string';
2285
2282
  readonly description: 'An AIR ID representing the primary model.';
2286
2283
  };
@@ -2347,7 +2344,7 @@ export declare const $TextToImageInput: {
2347
2344
  readonly default: 1;
2348
2345
  };
2349
2346
  readonly model: {
2350
- 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_\\-]+))?$';
2347
+ 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_\\-]+))?$';
2351
2348
  readonly type: 'string';
2352
2349
  readonly description: 'The AIR of the checkpoint model to use for generation.';
2353
2350
  readonly default: 'urn:air:sd1:checkpoint:civitai:4384@128713';
@@ -2448,7 +2445,7 @@ export declare const $TextToImageJob: {
2448
2445
  readonly type: 'object';
2449
2446
  readonly properties: {
2450
2447
  readonly model: {
2451
- 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_\\-]+))?$';
2448
+ 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_\\-]+))?$';
2452
2449
  readonly type: 'string';
2453
2450
  readonly description: 'An AIR representing the model to use.';
2454
2451
  };
@@ -2608,7 +2605,7 @@ export declare const $TextToImageV2Job: {
2608
2605
  readonly readOnly: true;
2609
2606
  };
2610
2607
  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_\\-]+))?$';
2608
+ 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
2609
  readonly type: 'string';
2613
2610
  readonly description: 'An AIR representing the model to use.';
2614
2611
  };
@@ -2969,10 +2966,6 @@ export declare const $ValidationProblemDetails: {
2969
2966
  };
2970
2967
  readonly additionalProperties: {};
2971
2968
  };
2972
- export declare const $ValueTupleOfInt32AndInt32: {
2973
- readonly type: 'object';
2974
- readonly additionalProperties: false;
2975
- };
2976
2969
  export declare const $ValueTupleOfStringAndInt32: {
2977
2970
  readonly type: 'object';
2978
2971
  readonly additionalProperties: false;
@@ -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,
@@ -304,7 +304,7 @@ export const $ComfyJob = {
304
304
  uniqueItems: true,
305
305
  type: 'array',
306
306
  items: {
307
- 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
+ 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_\\-]+))?$',
308
308
  type: 'string',
309
309
  },
310
310
  nullable: true,
@@ -480,7 +480,7 @@ export const $ComfyVideoGenJob = {
480
480
  type: 'object',
481
481
  properties: {
482
482
  model: {
483
- 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_\\-]+))?$',
483
+ 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_\\-]+))?$',
484
484
  type: 'string',
485
485
  },
486
486
  prompt: {
@@ -1045,7 +1045,7 @@ export const $ImageResourceTrainingInput = {
1045
1045
  type: 'string',
1046
1046
  },
1047
1047
  model: {
1048
- 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_\\-]+))?$',
1048
+ 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_\\-]+))?$',
1049
1049
  type: 'string',
1050
1050
  description: 'The primary model to train upon.',
1051
1051
  },
@@ -1093,7 +1093,7 @@ export const $ImageResourceTrainingJob = {
1093
1093
  type: 'object',
1094
1094
  properties: {
1095
1095
  model: {
1096
- 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_\\-]+))?$',
1096
+ 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_\\-]+))?$',
1097
1097
  type: 'string',
1098
1098
  description: 'An AIR representing the model to use.',
1099
1099
  },
@@ -1373,7 +1373,7 @@ export const $Job = {
1373
1373
  resources: {
1374
1374
  type: 'array',
1375
1375
  items: {
1376
- 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_\\-]+))?$',
1376
+ 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_\\-]+))?$',
1377
1377
  type: 'string',
1378
1378
  },
1379
1379
  description: 'Get a list of resources that this job depends on',
@@ -1858,9 +1858,6 @@ export const $LightricksVideoGenInput = {
1858
1858
  format: 'double',
1859
1859
  default: 4,
1860
1860
  },
1861
- aspectRatio: {
1862
- $ref: '#/components/schemas/LightricksAspectRatio',
1863
- },
1864
1861
  frameRate: {
1865
1862
  type: 'integer',
1866
1863
  format: 'int32',
@@ -1885,14 +1882,14 @@ export const $LightricksVideoGenInput = {
1885
1882
  format: 'int32',
1886
1883
  default: 20,
1887
1884
  },
1885
+ aspectRatio: {
1886
+ $ref: '#/components/schemas/LightricksAspectRatio',
1887
+ },
1888
1888
  sourceImage: {
1889
1889
  type: 'string',
1890
1890
  description: 'Either A URL, A DataURL or a Base64 string',
1891
1891
  nullable: true,
1892
1892
  },
1893
- resolution: {
1894
- $ref: '#/components/schemas/ValueTupleOfInt32AndInt32',
1895
- },
1896
1893
  },
1897
1894
  additionalProperties: false,
1898
1895
  },
@@ -2135,7 +2132,7 @@ export const $ResourceInfo = {
2135
2132
  type: 'object',
2136
2133
  properties: {
2137
2134
  air: {
2138
- 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_\\-]+))?$',
2135
+ 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_\\-]+))?$',
2139
2136
  type: 'string',
2140
2137
  description: 'An AIR ID for the resource.',
2141
2138
  },
@@ -2289,7 +2286,7 @@ export const $SimilaritySearchJob = {
2289
2286
  type: 'object',
2290
2287
  properties: {
2291
2288
  model: {
2292
- 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_\\-]+))?$',
2289
+ 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_\\-]+))?$',
2293
2290
  type: 'string',
2294
2291
  description: 'An AIR ID representing the primary model.',
2295
2292
  },
@@ -2356,7 +2353,7 @@ export const $TextToImageInput = {
2356
2353
  default: 1,
2357
2354
  },
2358
2355
  model: {
2359
- 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_\\-]+))?$',
2356
+ 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
2357
  type: 'string',
2361
2358
  description: 'The AIR of the checkpoint model to use for generation.',
2362
2359
  default: 'urn:air:sd1:checkpoint:civitai:4384@128713',
@@ -2457,7 +2454,7 @@ export const $TextToImageJob = {
2457
2454
  type: 'object',
2458
2455
  properties: {
2459
2456
  model: {
2460
- 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_\\-]+))?$',
2457
+ 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_\\-]+))?$',
2461
2458
  type: 'string',
2462
2459
  description: 'An AIR representing the model to use.',
2463
2460
  },
@@ -2617,7 +2614,7 @@ export const $TextToImageV2Job = {
2617
2614
  readOnly: true,
2618
2615
  },
2619
2616
  model: {
2620
- 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_\\-]+))?$',
2617
+ 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_\\-]+))?$',
2621
2618
  type: 'string',
2622
2619
  description: 'An AIR representing the model to use.',
2623
2620
  },
@@ -2978,10 +2975,6 @@ export const $ValidationProblemDetails = {
2978
2975
  },
2979
2976
  additionalProperties: {},
2980
2977
  };
2981
- export const $ValueTupleOfInt32AndInt32 = {
2982
- type: 'object',
2983
- additionalProperties: false,
2984
- };
2985
2978
  export const $ValueTupleOfStringAndInt32 = {
2986
2979
  type: 'object',
2987
2980
  additionalProperties: false,
@@ -1012,16 +1012,15 @@ export declare const LightricksAspectRatio: {
1012
1012
  export type LightricksVideoGenInput = VideoGenInput & {
1013
1013
  negativePrompt?: string | null;
1014
1014
  cfgScale?: number;
1015
- aspectRatio?: LightricksAspectRatio;
1016
1015
  frameRate?: number;
1017
1016
  duration?: number;
1018
1017
  seed?: number | null;
1019
1018
  steps?: number;
1019
+ aspectRatio?: LightricksAspectRatio;
1020
1020
  /**
1021
1021
  * Either A URL, A DataURL or a Base64 string
1022
1022
  */
1023
1023
  sourceImage?: string | null;
1024
- resolution?: ValueTupleOfInt32AndInt32;
1025
1024
  } & {
1026
1025
  engine: 'lightricks';
1027
1026
  };
@@ -1677,9 +1676,6 @@ export type ValidationProblemDetails = {
1677
1676
  };
1678
1677
  '[key: string]': (unknown | string | number) | undefined;
1679
1678
  };
1680
- export type ValueTupleOfInt32AndInt32 = {
1681
- [key: string]: unknown;
1682
- };
1683
1679
  export type ValueTupleOfStringAndInt32 = {
1684
1680
  [key: string]: unknown;
1685
1681
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/client",
3
- "version": "0.1.9-beta.18",
3
+ "version": "0.1.9-beta.19",
4
4
  "description": "Civitai's javascript client for generating ai content",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",