Skip to content

Wan video model parameters are missing #154

@barscn

Description

@barscn

You can select, modify and run the parameters on playground, but SDK won't allow to pass video_quality and video_write_mode parameters.

export type WanV22A14bImageToVideoTurboInput = {
/**
* URL of the input image. If the input image does not match the chosen aspect ratio, it is resized and center cropped.
*/
image_url: string | Blob | File;
/**
* The text prompt to guide video generation.
*/
prompt: string;
/**
* Random seed for reproducibility. If None, a random seed is chosen.
*/
seed?: number;
/**
* Resolution of the generated video (480p, 580p, or 720p). Default value: `"720p"`
*/
resolution?: "480p" | "580p" | "720p";
/**
* Aspect ratio of the generated video. If 'auto', the aspect ratio will be determined automatically based on the input image. Default value: `"auto"`
*/
aspect_ratio?: "auto" | "16:9" | "9:16" | "1:1";
/**
* If set to true, input data will be checked for safety before processing.
*/
enable_safety_checker?: boolean;
/**
* Whether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning.
*/
enable_prompt_expansion?: boolean;
/**
* Acceleration level to use. The more acceleration, the faster the generation, but with lower quality. The recommended value is 'none'. Default value: `"none"`
*/
acceleration?: "none" | "regular";
};

SDK Version: 1.6.2

Image

Problem:

Image Image

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestfollow-upIssues that are awaiting either a OP response or requires someone from fal to follow up

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions