vikit.video.building.handlers.generate_music_and_merge_handler¶
Overview¶
Helper class that provides a standard way to create an ABC using |
Classes¶
- class vikit.video.building.handlers.generate_music_and_merge_handler.GenerateMusicAndMergeHandler(music_duration: float = None, bg_music_prompt: str = None)¶
Bases:
vikit.common.handler.HandlerHelper 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: vikit.gateways.ML_models_gateway.MLModelsGateway)¶
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: