@civitai/client 0.2.0-beta.6 → 0.2.0-beta.8

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.
@@ -484,6 +484,10 @@ export type ImageResourceTrainingInput = {
484
484
  * A selection of sample prompts.
485
485
  */
486
486
  samplePrompts?: Array<string>;
487
+ /**
488
+ * An optional negative prompt that will get applied when generating samples
489
+ */
490
+ negativePrompt?: string | null;
487
491
  };
488
492
  export type ImageResourceTrainingOutput = {
489
493
  moderationStatus: ImageResouceTrainingModerationStatus;
@@ -663,9 +667,10 @@ export declare const KlingMode: {
663
667
  export type KlingMode = (typeof KlingMode)[keyof typeof KlingMode];
664
668
  export declare const KlingModel: {
665
669
  readonly V1: 'v1';
666
- readonly V1_5: 'v1_5';
667
- readonly V1_6: 'v1_6';
670
+ readonly V1_5: 'v1.5';
671
+ readonly V1_6: 'v1.6';
668
672
  readonly V2: 'v2';
673
+ readonly V2_5_TURBO: 'v2.5-turbo';
669
674
  };
670
675
  export type KlingModel = (typeof KlingModel)[keyof typeof KlingModel];
671
676
  export declare const KlingVideoGenAspectRatio: {
@@ -1151,6 +1156,26 @@ export declare const Scheduler: {
1151
1156
  * The available options for schedulers used in image generation.
1152
1157
  */
1153
1158
  export type Scheduler = (typeof Scheduler)[keyof typeof Scheduler];
1159
+ export type SeedreamImageGenInput = ImageGenInput & {
1160
+ engine: 'seedream';
1161
+ } & {
1162
+ prompt: string;
1163
+ quantity?: number;
1164
+ width?: number;
1165
+ height?: number;
1166
+ guidanceScale?: number;
1167
+ seed?: number | null;
1168
+ enableSafetyChecker?: boolean;
1169
+ version?: SeedreamVersion;
1170
+ images?: Array<string>;
1171
+ } & {
1172
+ engine: 'seedream';
1173
+ };
1174
+ export declare const SeedreamVersion: {
1175
+ readonly V3: 'v3';
1176
+ readonly V4: 'v4';
1177
+ };
1178
+ export type SeedreamVersion = (typeof SeedreamVersion)[keyof typeof SeedreamVersion];
1154
1179
  /**
1155
1180
  * Input for an text to image step.
1156
1181
  */
@@ -1617,6 +1642,46 @@ export type Wan22VideoGenInput = WanVideoGenInput & {
1617
1642
  } & {
1618
1643
  version: 'v2.2';
1619
1644
  };
1645
+ export type Wan25FalImageGenInput = Wan25ImageGenInput & {
1646
+ operation: string | null;
1647
+ } & {
1648
+ provider: 'fal';
1649
+ };
1650
+ export type Wan25FalImageToImageInput = Wan25FalImageGenInput & {
1651
+ images?: Array<string>;
1652
+ } & {
1653
+ operation: 'image-to-image';
1654
+ };
1655
+ export type Wan25FalImageToVideoInput = Wan25FalVideoGenInput & {
1656
+ images?: Array<string>;
1657
+ } & {
1658
+ operation: 'image-to-video';
1659
+ };
1660
+ export type Wan25FalTextToImageInput = Wan25FalImageGenInput & {} & {
1661
+ operation: 'text-to-image';
1662
+ };
1663
+ export type Wan25FalTextToVideoInput = Wan25FalVideoGenInput & {} & {
1664
+ operation: 'text-to-video';
1665
+ };
1666
+ export type Wan25FalVideoGenInput = Wan25VideoGenInput & {
1667
+ operation: string | null;
1668
+ resolution?: '480p' | '720p' | '1080p';
1669
+ aspectRatio?: '16:9' | '9:16' | '1:1';
1670
+ enablePromptExpansion?: boolean;
1671
+ negativePrompt?: string | null;
1672
+ } & {
1673
+ provider: 'fal';
1674
+ };
1675
+ export type Wan25ImageGenInput = WanImageGenInput & {
1676
+ provider: string | null;
1677
+ } & {
1678
+ version: 'v2.5';
1679
+ };
1680
+ export type Wan25VideoGenInput = WanVideoGenInput & {
1681
+ provider: string | null;
1682
+ } & {
1683
+ version: 'v2.5';
1684
+ };
1620
1685
  export type WanImageGenInput = ImageGenInput & {
1621
1686
  engine: 'wan';
1622
1687
  } & {
@@ -1867,10 +1932,6 @@ export type WorkflowStepEvent = {
1867
1932
  */
1868
1933
  stepName: string;
1869
1934
  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;
1874
1935
  $type?: string;
1875
1936
  };
1876
1937
  /**
@@ -75,9 +75,10 @@ export const KlingMode = {
75
75
  };
76
76
  export const KlingModel = {
77
77
  V1: 'v1',
78
- V1_5: 'v1_5',
79
- V1_6: 'v1_6',
78
+ V1_5: 'v1.5',
79
+ V1_6: 'v1.6',
80
80
  V2: 'v2',
81
+ V2_5_TURBO: 'v2.5-turbo',
81
82
  };
82
83
  export const KlingVideoGenAspectRatio = {
83
84
  '16:9': '16:9',
@@ -144,6 +145,10 @@ export const Scheduler = {
144
145
  DEIS: 'deis',
145
146
  DP_M3MSDE: 'dpM3MSDE',
146
147
  };
148
+ export const SeedreamVersion = {
149
+ V3: 'v3',
150
+ V4: 'v4',
151
+ };
147
152
  export const TransactionType = {
148
153
  DEBIT: 'debit',
149
154
  CREDIT: 'credit',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/client",
3
- "version": "0.2.0-beta.6",
3
+ "version": "0.2.0-beta.8",
4
4
  "description": "Civitai's javascript client for generating ai content",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",