vikit.video.raw_text_based_video

Overview

Classes

RawTextBasedVideo

Generates a video from raw text prompt, i.e. very similar to calling a mainstream video generation platform.

Classes

class vikit.video.raw_text_based_video.RawTextBasedVideo(raw_text_prompt: str = None, title=None)

Bases: vikit.video.video.Video

Generates a video from raw text prompt, i.e. very similar to calling a mainstream video generation platform. This is currently the smallest building block available in the SDK, aimed to be used when you want more control over the video generation process.

Overview

Methods

get_core_handlers(build_settings)

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

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: vikit.video.video_build_settings.VideoBuildSettings) 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_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