vikit.video.raw_fixed_image_video

Overview

Classes

RawFixedImageVideo

Generates a video from raw image prompt

Classes

class vikit.video.raw_fixed_image_video.RawFixedImageVideo(title: str = None, prompt: vikit.prompt.prompt.Prompt = None)

Bases: vikit.video.video.Video

Generates a video from raw image prompt

Overview

Methods

get_core_handlers(build_settings)

Get the handler chain of the video. Order matters here.

get_duration()

Get the duration of the final video

get_title()

Returns the title of the video.

run_build_core_logic_hook(build_settings, ml_models_gateway)

Run the core logic of the video building

Members

get_core_handlers(build_settings) list[vikit.common.handler.Handler]

Get the handler chain of the video. Order matters here. At this stage, we should already have the enhanced prompt and title for this video

Parameters:

build_settings -- The settings for building the video

get_duration()

Get the duration of the final video

Returns:

The duration of the final video

Return type:

float

get_title()

Returns the title of the video.

run_build_core_logic_hook(build_settings: vikit.video.video_build_settings.VideoBuildSettings, ml_models_gateway)

Run the core logic of the video building

Parameters:

build_settings (VideoBuildSettings) -- The settings to use for building the video