@civitai/client 0.2.0-beta.45 → 0.2.0-beta.46

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.
@@ -842,8 +842,8 @@ export {
842
842
  type Wan26FalTextToVideoInput,
843
843
  type Wan26FalVideoGenInput,
844
844
  type Wan26VideoGenInput,
845
- type Wan27FalEditInput,
846
845
  type Wan27FalEditVideoInput,
846
+ type Wan27FalImageEditInput,
847
847
  type Wan27FalImageGenInput,
848
848
  type Wan27FalImageToVideoInput,
849
849
  type Wan27FalReferenceToVideoInput,
@@ -4875,16 +4875,6 @@ export type Wan26VideoGenInput = Omit<WanVideoGenInput, 'engine' | 'version'> &
4875
4875
  version: 'v2.6';
4876
4876
  engine: 'wan';
4877
4877
  };
4878
- export type Wan27FalEditInput = Omit<
4879
- Wan27FalImageGenInput,
4880
- 'engine' | 'version' | 'provider' | 'operation'
4881
- > & {
4882
- images?: Array<string>;
4883
- operation: 'edit';
4884
- provider: 'fal';
4885
- version: 'v2.7';
4886
- engine: 'wan';
4887
- };
4888
4878
  export type Wan27FalEditVideoInput = Omit<
4889
4879
  Wan27FalVideoGenInput,
4890
4880
  'engine' | 'version' | 'provider' | 'operation'
@@ -4905,11 +4895,20 @@ export type Wan27FalEditVideoInput = Omit<
4905
4895
  * Audio handling: "auto" or "origin" (keep original audio)
4906
4896
  */
4907
4897
  audioSetting?: 'auto' | 'origin';
4898
+ operation: 'edit-video';
4899
+ provider: 'fal';
4900
+ version: 'v2.7';
4901
+ engine: 'wan';
4902
+ };
4903
+ export type Wan27FalImageEditInput = Omit<
4904
+ Wan27FalImageGenInput,
4905
+ 'engine' | 'version' | 'provider' | 'operation'
4906
+ > & {
4908
4907
  /**
4909
- * Duration: 0 = match input video duration, or 2-10 seconds
4908
+ * Reference images for editing (1-4 images required)
4910
4909
  */
4911
- duration?: number;
4912
- operation: 'edit-video';
4910
+ images: Array<string>;
4911
+ operation: 'editImage';
4913
4912
  provider: 'fal';
4914
4913
  version: 'v2.7';
4915
4914
  engine: 'wan';
@@ -4925,7 +4924,10 @@ export type Wan27FalImageToVideoInput = Omit<
4925
4924
  Wan27FalVideoGenInput,
4926
4925
  'engine' | 'version' | 'provider' | 'operation'
4927
4926
  > & {
4928
- images?: Array<string>;
4927
+ /**
4928
+ * First frame image URL
4929
+ */
4930
+ startImage?: null | string;
4929
4931
  /**
4930
4932
  * Last frame image for first-and-last-frame-to-video
4931
4933
  */
@@ -4934,6 +4936,12 @@ export type Wan27FalImageToVideoInput = Omit<
4934
4936
  * URL of a video clip to continue from (MP4/MOV, 2-10s, max 100 MB)
4935
4937
  */
4936
4938
  videoUrl?: null | string;
4939
+ negativePrompt?: null | string;
4940
+ enablePromptExpansion?: boolean;
4941
+ /**
4942
+ * URL of audio file (WAV/MP3, 3-30 seconds, up to 15 MB)
4943
+ */
4944
+ audioUrl?: null | string;
4937
4945
  operation: 'image-to-video';
4938
4946
  provider: 'fal';
4939
4947
  version: 'v2.7';
@@ -4954,10 +4962,7 @@ export type Wan27FalReferenceToVideoInput = Omit<
4954
4962
  referenceVideoUrls?: Array<string>;
4955
4963
  aspectRatio?: '16:9' | '9:16' | '1:1' | '4:3' | '3:4';
4956
4964
  multiShots?: boolean;
4957
- /**
4958
- * Duration for reference-to-video is limited to 2-10 seconds
4959
- */
4960
- duration?: number;
4965
+ negativePrompt?: null | string;
4961
4966
  operation: 'reference-to-video';
4962
4967
  provider: 'fal';
4963
4968
  version: 'v2.7';
@@ -4967,7 +4972,7 @@ export type Wan27FalTextToImageInput = Omit<
4967
4972
  Wan27FalImageGenInput,
4968
4973
  'engine' | 'version' | 'provider' | 'operation'
4969
4974
  > & {
4970
- operation: 'text-to-image';
4975
+ operation: 'createImage';
4971
4976
  provider: 'fal';
4972
4977
  version: 'v2.7';
4973
4978
  engine: 'wan';
@@ -4977,6 +4982,12 @@ export type Wan27FalTextToVideoInput = Omit<
4977
4982
  'engine' | 'version' | 'provider' | 'operation'
4978
4983
  > & {
4979
4984
  aspectRatio?: '16:9' | '9:16' | '1:1' | '4:3' | '3:4';
4985
+ negativePrompt?: null | string;
4986
+ enablePromptExpansion?: boolean;
4987
+ /**
4988
+ * URL of audio file (WAV/MP3, 3-30 seconds, up to 15 MB)
4989
+ */
4990
+ audioUrl?: null | string;
4980
4991
  operation: 'text-to-video';
4981
4992
  provider: 'fal';
4982
4993
  version: 'v2.7';
@@ -4985,14 +4996,7 @@ export type Wan27FalTextToVideoInput = Omit<
4985
4996
  export type Wan27FalVideoGenInput = Omit<Wan27VideoGenInput, 'engine' | 'version' | 'provider'> & {
4986
4997
  operation: null | string;
4987
4998
  resolution?: '720p' | '1080p';
4988
- negativePrompt?: null | string;
4989
- enablePromptExpansion?: boolean;
4990
4999
  enableSafetyChecker?: boolean;
4991
- /**
4992
- * URL of audio file (WAV/MP3, 3-30 seconds, up to 15 MB)
4993
- * Supported for text-to-video and image-to-video
4994
- */
4995
- audioUrl?: null | string;
4996
5000
  provider: 'fal';
4997
5001
  version: 'v2.7';
4998
5002
  engine: 'wan';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/client",
3
- "version": "0.2.0-beta.45",
3
+ "version": "0.2.0-beta.46",
4
4
  "description": "Civitai's javascript client for generating ai content",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",