vikit.video.building.handlers.music_merge_handler

Overview

Classes

MusicMergeHandler

Helper class that provides a standard way to create an ABC using

Classes

class vikit.video.building.handlers.music_merge_handler.MusicMergeHandler(music_to_merge: str = None)

Bases: vikit.common.handler.Handler

Helper class that provides a standard way to create an ABC using inheritance.

Overview

Methods

execute_async(video, ml_models_gateway)

Generate a background music based on the prompt and merge it with the video

Members

async execute_async(video, ml_models_gateway=None)

Generate a background music based on the prompt and merge it with the video

Parameters:

video (Video) -- The video to process

Returns:

The composite video

Return type:

CompositeVideo