@civitai/client 0.2.0-beta.5 → 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.
@@ -393,6 +393,10 @@ export type ImageGenOutput = {
393
393
  * A collection of output images.
394
394
  */
395
395
  images: Array<ImageBlob>;
396
+ /**
397
+ * An optional list of errors related to generation failures
398
+ */
399
+ errors?: Array<string> | null;
396
400
  };
397
401
  /**
398
402
  * Image Generation
@@ -1000,6 +1004,41 @@ export type ProblemDetails = {
1000
1004
  | (string | null)
1001
1005
  | undefined;
1002
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
+ };
1003
1042
  /**
1004
1043
  * Details for a specific resource.
1005
1044
  */
@@ -1521,6 +1560,7 @@ export type Wan225bFalVideoGenInput = Wan225bVideoGenInput & {
1521
1560
  aspectRatio?: '1:1' | '16:9' | '9:16' | 'auto';
1522
1561
  enablePromptExpansion?: boolean;
1523
1562
  useDistill?: boolean;
1563
+ useFastWan?: boolean;
1524
1564
  interpolatorModel?: 'none' | 'film' | 'rife';
1525
1565
  negativePrompt?: string | null;
1526
1566
  enableSafetyChecker?: boolean;
@@ -1827,6 +1867,10 @@ export type WorkflowStepEvent = {
1827
1867
  */
1828
1868
  stepName: string;
1829
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;
1830
1874
  $type?: string;
1831
1875
  };
1832
1876
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/client",
3
- "version": "0.2.0-beta.5",
3
+ "version": "0.2.0-beta.6",
4
4
  "description": "Civitai's javascript client for generating ai content",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",