@civitai/client 0.2.0-beta.43 → 0.2.0-beta.45
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.
|
@@ -843,9 +843,15 @@ export {
|
|
|
843
843
|
type Wan26FalVideoGenInput,
|
|
844
844
|
type Wan26VideoGenInput,
|
|
845
845
|
type Wan27FalEditInput,
|
|
846
|
+
type Wan27FalEditVideoInput,
|
|
846
847
|
type Wan27FalImageGenInput,
|
|
848
|
+
type Wan27FalImageToVideoInput,
|
|
849
|
+
type Wan27FalReferenceToVideoInput,
|
|
847
850
|
type Wan27FalTextToImageInput,
|
|
851
|
+
type Wan27FalTextToVideoInput,
|
|
852
|
+
type Wan27FalVideoGenInput,
|
|
848
853
|
type Wan27ImageGenInput,
|
|
854
|
+
type Wan27VideoGenInput,
|
|
849
855
|
type WanImageGenInput,
|
|
850
856
|
type WanVideoGenInput,
|
|
851
857
|
type WdTaggingInput,
|
|
@@ -4885,6 +4885,35 @@ export type Wan27FalEditInput = Omit<
|
|
|
4885
4885
|
version: 'v2.7';
|
|
4886
4886
|
engine: 'wan';
|
|
4887
4887
|
};
|
|
4888
|
+
export type Wan27FalEditVideoInput = Omit<
|
|
4889
|
+
Wan27FalVideoGenInput,
|
|
4890
|
+
'engine' | 'version' | 'provider' | 'operation'
|
|
4891
|
+
> & {
|
|
4892
|
+
/**
|
|
4893
|
+
* URL of the input video to edit (MP4/MOV, 2-10s, max 100 MB)
|
|
4894
|
+
*/
|
|
4895
|
+
videoUrl: string;
|
|
4896
|
+
/**
|
|
4897
|
+
* Reference image for reference-based editing
|
|
4898
|
+
*/
|
|
4899
|
+
referenceImage?: null | string;
|
|
4900
|
+
/**
|
|
4901
|
+
* Aspect ratio of the generated video. If not provided, uses the input video's aspect ratio.
|
|
4902
|
+
*/
|
|
4903
|
+
aspectRatio?: '16:9' | '9:16' | '1:1' | '4:3' | '3:4';
|
|
4904
|
+
/**
|
|
4905
|
+
* Audio handling: "auto" or "origin" (keep original audio)
|
|
4906
|
+
*/
|
|
4907
|
+
audioSetting?: 'auto' | 'origin';
|
|
4908
|
+
/**
|
|
4909
|
+
* Duration: 0 = match input video duration, or 2-10 seconds
|
|
4910
|
+
*/
|
|
4911
|
+
duration?: number;
|
|
4912
|
+
operation: 'edit-video';
|
|
4913
|
+
provider: 'fal';
|
|
4914
|
+
version: 'v2.7';
|
|
4915
|
+
engine: 'wan';
|
|
4916
|
+
};
|
|
4888
4917
|
export type Wan27FalImageGenInput = Omit<Wan27ImageGenInput, 'engine' | 'version' | 'provider'> & {
|
|
4889
4918
|
operation: null | string;
|
|
4890
4919
|
usePro?: boolean;
|
|
@@ -4892,6 +4921,48 @@ export type Wan27FalImageGenInput = Omit<Wan27ImageGenInput, 'engine' | 'version
|
|
|
4892
4921
|
version: 'v2.7';
|
|
4893
4922
|
engine: 'wan';
|
|
4894
4923
|
};
|
|
4924
|
+
export type Wan27FalImageToVideoInput = Omit<
|
|
4925
|
+
Wan27FalVideoGenInput,
|
|
4926
|
+
'engine' | 'version' | 'provider' | 'operation'
|
|
4927
|
+
> & {
|
|
4928
|
+
images?: Array<string>;
|
|
4929
|
+
/**
|
|
4930
|
+
* Last frame image for first-and-last-frame-to-video
|
|
4931
|
+
*/
|
|
4932
|
+
endImage?: null | string;
|
|
4933
|
+
/**
|
|
4934
|
+
* URL of a video clip to continue from (MP4/MOV, 2-10s, max 100 MB)
|
|
4935
|
+
*/
|
|
4936
|
+
videoUrl?: null | string;
|
|
4937
|
+
operation: 'image-to-video';
|
|
4938
|
+
provider: 'fal';
|
|
4939
|
+
version: 'v2.7';
|
|
4940
|
+
engine: 'wan';
|
|
4941
|
+
};
|
|
4942
|
+
export type Wan27FalReferenceToVideoInput = Omit<
|
|
4943
|
+
Wan27FalVideoGenInput,
|
|
4944
|
+
'engine' | 'version' | 'provider' | 'operation'
|
|
4945
|
+
> & {
|
|
4946
|
+
/**
|
|
4947
|
+
* Reference images for character/object appearance (max 20 MB each)
|
|
4948
|
+
*/
|
|
4949
|
+
referenceImages?: Array<string>;
|
|
4950
|
+
/**
|
|
4951
|
+
* Reference videos for character/object appearance and motion (max 100 MB each)
|
|
4952
|
+
* Use @Video1, @Video2, @Video3 in the prompt to reference subjects
|
|
4953
|
+
*/
|
|
4954
|
+
referenceVideoUrls?: Array<string>;
|
|
4955
|
+
aspectRatio?: '16:9' | '9:16' | '1:1' | '4:3' | '3:4';
|
|
4956
|
+
multiShots?: boolean;
|
|
4957
|
+
/**
|
|
4958
|
+
* Duration for reference-to-video is limited to 2-10 seconds
|
|
4959
|
+
*/
|
|
4960
|
+
duration?: number;
|
|
4961
|
+
operation: 'reference-to-video';
|
|
4962
|
+
provider: 'fal';
|
|
4963
|
+
version: 'v2.7';
|
|
4964
|
+
engine: 'wan';
|
|
4965
|
+
};
|
|
4895
4966
|
export type Wan27FalTextToImageInput = Omit<
|
|
4896
4967
|
Wan27FalImageGenInput,
|
|
4897
4968
|
'engine' | 'version' | 'provider' | 'operation'
|
|
@@ -4901,11 +4972,41 @@ export type Wan27FalTextToImageInput = Omit<
|
|
|
4901
4972
|
version: 'v2.7';
|
|
4902
4973
|
engine: 'wan';
|
|
4903
4974
|
};
|
|
4975
|
+
export type Wan27FalTextToVideoInput = Omit<
|
|
4976
|
+
Wan27FalVideoGenInput,
|
|
4977
|
+
'engine' | 'version' | 'provider' | 'operation'
|
|
4978
|
+
> & {
|
|
4979
|
+
aspectRatio?: '16:9' | '9:16' | '1:1' | '4:3' | '3:4';
|
|
4980
|
+
operation: 'text-to-video';
|
|
4981
|
+
provider: 'fal';
|
|
4982
|
+
version: 'v2.7';
|
|
4983
|
+
engine: 'wan';
|
|
4984
|
+
};
|
|
4985
|
+
export type Wan27FalVideoGenInput = Omit<Wan27VideoGenInput, 'engine' | 'version' | 'provider'> & {
|
|
4986
|
+
operation: null | string;
|
|
4987
|
+
resolution?: '720p' | '1080p';
|
|
4988
|
+
negativePrompt?: null | string;
|
|
4989
|
+
enablePromptExpansion?: boolean;
|
|
4990
|
+
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
|
+
provider: 'fal';
|
|
4997
|
+
version: 'v2.7';
|
|
4998
|
+
engine: 'wan';
|
|
4999
|
+
};
|
|
4904
5000
|
export type Wan27ImageGenInput = Omit<WanImageGenInput, 'engine' | 'version'> & {
|
|
4905
5001
|
provider: null | string;
|
|
4906
5002
|
version: 'v2.7';
|
|
4907
5003
|
engine: 'wan';
|
|
4908
5004
|
};
|
|
5005
|
+
export type Wan27VideoGenInput = Omit<WanVideoGenInput, 'engine' | 'version'> & {
|
|
5006
|
+
provider: null | string;
|
|
5007
|
+
version: 'v2.7';
|
|
5008
|
+
engine: 'wan';
|
|
5009
|
+
};
|
|
4909
5010
|
export type WanImageGenInput = Omit<ImageGenInput, 'engine'> & {
|
|
4910
5011
|
version: null | string;
|
|
4911
5012
|
prompt: string;
|