fastvideo.v1.configs.sample.base#

Module Contents#

Classes#

CacheParams

SamplingParam

Sampling parameters for video generation.

Data#

API#

class fastvideo.v1.configs.sample.base.CacheParams[source]#
cache_type: str#

‘none’

class fastvideo.v1.configs.sample.base.SamplingParam[source]#

Sampling parameters for video generation.

static add_cli_args(parser: Any) Any[source]#

Add CLI arguments for SamplingParam fields

check_sampling_param()[source]#
data_type: str[source]#

‘video’

enable_teacache: bool[source]#

False

fps: int[source]#

24

classmethod from_pretrained(model_path: str) fastvideo.v1.configs.sample.base.SamplingParam[source]#
guidance_rescale: float[source]#

0.0

guidance_scale: float[source]#

1.0

height: int[source]#

720

image_path: Optional[str][source]#

None

negative_prompt: Optional[str][source]#

None

num_frames: int[source]#

125

num_frames_round_down: bool[source]#

False

num_inference_steps: int[source]#

50

num_videos_per_prompt: int[source]#

1

output_path: str[source]#

‘outputs/’

prompt: Optional[Union[str, List[str]]][source]#

None

prompt_path: Optional[str][source]#

None

return_frames: bool[source]#

False

save_video: bool[source]#

True

seed: int[source]#

1024

update(source_dict: Dict[str, Any]) None[source]#
width: int[source]#

1280

fastvideo.v1.configs.sample.base.logger[source]#

‘init_logger(…)’