@civitai/client 0.2.0-beta.4 → 0.2.0-beta.6
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
|
|
94
|
-
readonly
|
|
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
|
} & {
|
|
@@ -369,6 +393,10 @@ export type ImageGenOutput = {
|
|
|
369
393
|
* A collection of output images.
|
|
370
394
|
*/
|
|
371
395
|
images: Array<ImageBlob>;
|
|
396
|
+
/**
|
|
397
|
+
* An optional list of errors related to generation failures
|
|
398
|
+
*/
|
|
399
|
+
errors?: Array<string> | null;
|
|
372
400
|
};
|
|
373
401
|
/**
|
|
374
402
|
* Image Generation
|
|
@@ -976,6 +1004,41 @@ export type ProblemDetails = {
|
|
|
976
1004
|
| (string | null)
|
|
977
1005
|
| undefined;
|
|
978
1006
|
};
|
|
1007
|
+
export type Qwen20bCreateImageGenInput = Qwen20bImageGenInput & {
|
|
1008
|
+
width?: number;
|
|
1009
|
+
height?: number;
|
|
1010
|
+
} & {
|
|
1011
|
+
operation: 'createImage';
|
|
1012
|
+
};
|
|
1013
|
+
export type Qwen20bEditImageGenInput = Qwen20bImageGenInput & {
|
|
1014
|
+
/**
|
|
1015
|
+
* Either A URL, A DataURL or a Base64 string
|
|
1016
|
+
*/
|
|
1017
|
+
image: string;
|
|
1018
|
+
denoise?: number;
|
|
1019
|
+
} & {
|
|
1020
|
+
operation: 'editImage';
|
|
1021
|
+
};
|
|
1022
|
+
export type Qwen20bImageGenInput = QwenImageGenInput & {
|
|
1023
|
+
operation: string;
|
|
1024
|
+
unet?: string;
|
|
1025
|
+
prompt: string;
|
|
1026
|
+
negativePrompt?: string | null;
|
|
1027
|
+
scheduler?: Scheduler;
|
|
1028
|
+
steps?: number;
|
|
1029
|
+
cfgScale?: number;
|
|
1030
|
+
seed?: number | null;
|
|
1031
|
+
quantity?: number;
|
|
1032
|
+
} & {
|
|
1033
|
+
model: '20b';
|
|
1034
|
+
};
|
|
1035
|
+
export type QwenImageGenInput = ImageGenInput & {
|
|
1036
|
+
engine: 'qwen';
|
|
1037
|
+
} & {
|
|
1038
|
+
model: string;
|
|
1039
|
+
} & {
|
|
1040
|
+
engine: 'qwen';
|
|
1041
|
+
};
|
|
979
1042
|
/**
|
|
980
1043
|
* Details for a specific resource.
|
|
981
1044
|
*/
|
|
@@ -1497,6 +1560,7 @@ export type Wan225bFalVideoGenInput = Wan225bVideoGenInput & {
|
|
|
1497
1560
|
aspectRatio?: '1:1' | '16:9' | '9:16' | 'auto';
|
|
1498
1561
|
enablePromptExpansion?: boolean;
|
|
1499
1562
|
useDistill?: boolean;
|
|
1563
|
+
useFastWan?: boolean;
|
|
1500
1564
|
interpolatorModel?: 'none' | 'film' | 'rife';
|
|
1501
1565
|
negativePrompt?: string | null;
|
|
1502
1566
|
enableSafetyChecker?: boolean;
|
|
@@ -1803,6 +1867,10 @@ export type WorkflowStepEvent = {
|
|
|
1803
1867
|
*/
|
|
1804
1868
|
stepName: string;
|
|
1805
1869
|
status: WorkflowStatus;
|
|
1870
|
+
/**
|
|
1871
|
+
* An up-to-date output of the workflow step at the moment when this event got raised
|
|
1872
|
+
*/
|
|
1873
|
+
output: unknown;
|
|
1806
1874
|
$type?: string;
|
|
1807
1875
|
};
|
|
1808
1876
|
/**
|
|
@@ -4,8 +4,10 @@ export const AgeClassificationPrediction = {
|
|
|
4
4
|
FAIL: 'fail',
|
|
5
5
|
};
|
|
6
6
|
export const BuzzClientAccount = {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
YELLOW: 'yellow',
|
|
8
|
+
BLUE: 'blue',
|
|
9
|
+
GREEN: 'green',
|
|
10
|
+
FAKE_RED: 'fakeRed',
|
|
9
11
|
};
|
|
10
12
|
export const ContainerFormat = {
|
|
11
13
|
MP4: 'mp4',
|