@civitai/client 0.2.0-beta.4 → 0.2.0-beta.5

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.
@@ -90,8 +90,10 @@ export type Blob = {
90
90
  blockedReason?: string | null;
91
91
  };
92
92
  export declare const BuzzClientAccount: {
93
- readonly USER: 'user';
94
- readonly GENERATION: 'generation';
93
+ readonly YELLOW: 'yellow';
94
+ readonly BLUE: 'blue';
95
+ readonly GREEN: 'green';
96
+ readonly FAKE_RED: 'fakeRed';
95
97
  };
96
98
  export type BuzzClientAccount = (typeof BuzzClientAccount)[keyof typeof BuzzClientAccount];
97
99
  export type ComfyInput = {
@@ -264,6 +266,28 @@ export type FluxDevFastImageResourceTrainingInput = ImageResourceTrainingInput &
264
266
  } & {} & {
265
267
  engine: 'flux-dev-fast';
266
268
  };
269
+ export type Gemini25FlashCreateImageGenInput = Gemini25FlashImageGenInput & {} & {
270
+ operation: 'createImage';
271
+ };
272
+ export type Gemini25FlashEditImageGenInput = Gemini25FlashImageGenInput & {
273
+ images: Array<string>;
274
+ } & {
275
+ operation: 'editImage';
276
+ };
277
+ export type Gemini25FlashImageGenInput = GeminiImageGenInput & {
278
+ operation: string;
279
+ quantity?: number;
280
+ } & {
281
+ model: '2.5-flash';
282
+ };
283
+ export type GeminiImageGenInput = ImageGenInput & {
284
+ engine: 'gemini';
285
+ } & {
286
+ model: string;
287
+ prompt: string;
288
+ } & {
289
+ engine: 'gemini';
290
+ };
267
291
  export type GoogleImageGenInput = ImageGenInput & {
268
292
  engine: 'google';
269
293
  } & {
@@ -4,8 +4,10 @@ export const AgeClassificationPrediction = {
4
4
  FAIL: 'fail',
5
5
  };
6
6
  export const BuzzClientAccount = {
7
- USER: 'user',
8
- GENERATION: 'generation',
7
+ YELLOW: 'yellow',
8
+ BLUE: 'blue',
9
+ GREEN: 'green',
10
+ FAKE_RED: 'fakeRed',
9
11
  };
10
12
  export const ContainerFormat = {
11
13
  MP4: 'mp4',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/client",
3
- "version": "0.2.0-beta.4",
3
+ "version": "0.2.0-beta.5",
4
4
  "description": "Civitai's javascript client for generating ai content",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",