AI Audio Stretch is a useful tool to remix music automatically. It allows you to retime the audio clip easily to match the duration of the video. The beginning and end of the material remain the same in the remix, and the middle will be edited.
Found this feature in Filmora and the above-mentioned information is also from Filmora