@civitai/client 0.1.9-beta.30 → 0.1.9-beta.31

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.
@@ -1678,6 +1678,10 @@ export declare const $ResourceInfo: {
1678
1678
  readonly format: 'date-time';
1679
1679
  readonly nullable: true;
1680
1680
  };
1681
+ readonly hasNSFWContentRestriction: {
1682
+ readonly type: 'boolean';
1683
+ readonly description: 'A boolean indicating whether this resource restricts to SFW content generation.\nNSFWContent covers X and AA whereas MatureContent includes R rated content.';
1684
+ };
1681
1685
  };
1682
1686
  readonly additionalProperties: false;
1683
1687
  readonly description: 'Details for a specific resource.';
@@ -2425,6 +2429,11 @@ export declare const $ViduVideoGenInput: {
2425
2429
  readonly format: 'int32';
2426
2430
  readonly default: 4;
2427
2431
  };
2432
+ readonly endSourceImage: {
2433
+ readonly type: 'string';
2434
+ readonly description: 'Either A URL, A DataURL or a Base64 string';
2435
+ readonly nullable: true;
2436
+ };
2428
2437
  };
2429
2438
  readonly additionalProperties: false;
2430
2439
  },
@@ -1692,6 +1692,11 @@ If resources with this restriction are used in generation, then generations will
1692
1692
  format: 'date-time',
1693
1693
  nullable: true,
1694
1694
  },
1695
+ hasNSFWContentRestriction: {
1696
+ type: 'boolean',
1697
+ description: `A boolean indicating whether this resource restricts to SFW content generation.
1698
+ NSFWContent covers X and AA whereas MatureContent includes R rated content.`,
1699
+ },
1695
1700
  },
1696
1701
  additionalProperties: false,
1697
1702
  description: 'Details for a specific resource.',
@@ -2439,6 +2444,11 @@ export const $ViduVideoGenInput = {
2439
2444
  format: 'int32',
2440
2445
  default: 4,
2441
2446
  },
2447
+ endSourceImage: {
2448
+ type: 'string',
2449
+ description: 'Either A URL, A DataURL or a Base64 string',
2450
+ nullable: true,
2451
+ },
2442
2452
  },
2443
2453
  additionalProperties: false,
2444
2454
  },
@@ -947,6 +947,11 @@ export type ResourceInfo = {
947
947
  * The date at which this model got published
948
948
  */
949
949
  publishedAt?: string | null;
950
+ /**
951
+ * A boolean indicating whether this resource restricts to SFW content generation.
952
+ * NSFWContent covers X and AA whereas MatureContent includes R rated content.
953
+ */
954
+ hasNSFWContentRestriction?: boolean;
950
955
  };
951
956
  /**
952
957
  * The available options for schedulers used in image generation.
@@ -1322,6 +1327,10 @@ export type ViduVideoGenInput = VideoGenInput & {
1322
1327
  sourceImage?: string | null;
1323
1328
  style?: ViduVideoGenStyle;
1324
1329
  duration?: 4 | 8;
1330
+ /**
1331
+ * Either A URL, A DataURL or a Base64 string
1332
+ */
1333
+ endSourceImage?: string | null;
1325
1334
  } & {
1326
1335
  engine: 'vidu';
1327
1336
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/client",
3
- "version": "0.1.9-beta.30",
3
+ "version": "0.1.9-beta.31",
4
4
  "description": "Civitai's javascript client for generating ai content",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",