generate_music_and_merge_handler

Overview

Classes

class generate_music_and_merge_handler.GenerateMusicAndMergeHandler(music_duration: float, bg_music_prompt: str = None)

Bases: vikit.common.handler.Handler

Overview

Methods

execute_async(video)

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

Members

async execute_async(video)

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