@civitai/client 0.2.0-beta.31 → 0.2.0-beta.33

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.
@@ -16,6 +16,13 @@ export const AnylineMergeWith = {
16
16
  LINEART_ANIME: 'lineart_anime',
17
17
  MANGA_LINE: 'manga_line',
18
18
  };
19
+ /**
20
+ * Determines how regions are applied to the blur operation.
21
+ */
22
+ export const BlurRegionMode = {
23
+ INCLUDE: 'include',
24
+ EXCLUDE: 'exclude',
25
+ };
19
26
  export const BuzzClientAccount = {
20
27
  YELLOW: 'yellow',
21
28
  BLUE: 'blue',
@@ -134,6 +141,13 @@ export const KlingModel = {
134
141
  V2: 'v2',
135
142
  V2_5_TURBO: 'v2.5-turbo',
136
143
  };
144
+ export const KlingV3Operation = {
145
+ TEXT_TO_VIDEO: 'text-to-video',
146
+ IMAGE_TO_VIDEO: 'image-to-video',
147
+ REFERENCE_TO_VIDEO: 'reference-to-video',
148
+ VIDEO_TO_VIDEO_EDIT: 'video-to-video-edit',
149
+ VIDEO_TO_VIDEO_REFERENCE: 'video-to-video-reference',
150
+ };
137
151
  export const KlingVideoGenAspectRatio = {
138
152
  '16:9': '16:9',
139
153
  '9:16': '9:16',
@@ -235,6 +249,8 @@ export const SdCppSampleMethod = {
235
249
  DDIM_TRAILING: 'ddim_trailing',
236
250
  EULER_A: 'euler_a',
237
251
  LCM: 'lcm',
252
+ RES_MULTISTEP: 'res_multistep',
253
+ RES_2S: 'res_2s',
238
254
  };
239
255
  export const SdCppSchedule = {
240
256
  SIMPLE: 'simple',
@@ -242,6 +258,7 @@ export const SdCppSchedule = {
242
258
  KARRAS: 'karras',
243
259
  EXPONENTIAL: 'exponential',
244
260
  AYS: 'ays',
261
+ BONG_TANGENT: 'bong_tangent',
245
262
  };
246
263
  export const SeedreamVersion = {
247
264
  V3: 'v3',
@@ -36,8 +36,8 @@ export declare class TimeSpan {
36
36
  get milliseconds(): number;
37
37
  get ticks(): number;
38
38
  get totalMilliseconds(): number;
39
- get totalMinutes(): number;
40
39
  get totalSeconds(): number;
40
+ get totalMinutes(): number;
41
41
  get totalHours(): number;
42
42
  get totalDays(): number;
43
43
  get totalTicks(): number;
@@ -89,17 +89,17 @@ export class TimeSpan {
89
89
  get totalMilliseconds() {
90
90
  return Math.floor(__classPrivateFieldGet(this, _TimeSpan_ticks, "f") / ticksPerMillisecond);
91
91
  }
92
- get totalMinutes() {
93
- return Math.floor(this.minutes / ticksPerMinute);
94
- }
95
92
  get totalSeconds() {
96
- return Math.floor(this.seconds / ticksPerSecond);
93
+ return Math.floor(__classPrivateFieldGet(this, _TimeSpan_ticks, "f") / ticksPerSecond);
94
+ }
95
+ get totalMinutes() {
96
+ return Math.floor(__classPrivateFieldGet(this, _TimeSpan_ticks, "f") / ticksPerMinute);
97
97
  }
98
98
  get totalHours() {
99
- return Math.floor(this.hours / ticksPerHour);
99
+ return Math.floor(__classPrivateFieldGet(this, _TimeSpan_ticks, "f") / ticksPerHour);
100
100
  }
101
101
  get totalDays() {
102
- return Math.floor(this.days / ticksPerDay);
102
+ return Math.floor(__classPrivateFieldGet(this, _TimeSpan_ticks, "f") / ticksPerDay);
103
103
  }
104
104
  get totalTicks() {
105
105
  return __classPrivateFieldGet(this, _TimeSpan_ticks, "f");
@@ -0,0 +1,3 @@
1
+ type Prettify<T> = {
2
+ [K in keyof T]: T[K];
3
+ } & NonNullable<unknown>;
@@ -0,0 +1 @@
1
+ "use strict";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/client",
3
- "version": "0.2.0-beta.31",
3
+ "version": "0.2.0-beta.33",
4
4
  "description": "Civitai's javascript client for generating ai content",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -54,4 +54,4 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  }
57
- }
57
+ }