A method for generating a video, comprising: during a display process of an original video, acquiring,, a background music from the original video as an audio material in response to detecting a selection of an identifier indicating the background music during the display process of the original video; acquiring an image material based on selecting one of two controls, the two controls configured to trigger image shooting and image selection, respectively; determining, (S202; S305), music points for the audio material, wherein the music points are used to divide the audio material into a plurality of music clips; generating, (S203; S306), one video clip for each music clip in the audio material using the image material so as to obtain a plurality of video clips, wherein a music clip and a video clip, which correspond to each other, have a same duration; and splicing, (S204; S307), the plurality of video clips together according to times when music clips respectively corresponding to the plurality of video clips appear in the audio material, and adding the audio material as a video audio track to obtain a synthesized video; wherein the determining the music points for the audio material and dividing the audio material into the plurality of music clips by using the music points comprises: analyzing the audio material based on a beat analysis algorithm to obtain a beat point in the audio material and a timestamp where the beat point is located; performing a short-term spectrum analysis on the audio material to obtain a musical note starting point in the audio material and a timestamp where the musical note starting point is located; performing combining and deduplicating operation on the beat point and the musical note starting point to obtain candidate music points; and selecting a target number of music points from the obtained candidate music points to be the music points for the audio material. during a display process of an original video, acquiring,, a background music from the original video as an audio material in response to detecting a selection of an identifier indicating the background music during the display process of the original video; acquiring an image material based on selecting one of two controls, the two controls configured to trigger image shooting and image selection, respectively; determining, (S202; S305), music points for the audio material, wherein the music points are used to divide the audio material into a plurality of music clips; generating, (S203; S306), one video clip for each music clip in the audio material using the image material so as to obtain a plurality of video clips, wherein a music clip and a video clip, which correspond to each other, have a same duration; and splicing, (S204; S307), the plurality of video clips together according to times when music clips respectively corresponding to the plurality of video clips appear in the audio material, and adding the audio material as a video audio track to obtain a synthesized video; wherein the determining the music points for the audio material and dividing the audio material into the plurality of music clips by using the music points comprises: analyzing the audio material based on a beat analysis algorithm to obtain a beat point in the audio material and a timestamp where the beat point is located; performing a short-term spectrum analysis on the audio material to obtain a musical note starting point in the audio material and a timestamp where the musical note starting point is located; performing combining and deduplicating operation on the beat point and the musical note starting point to obtain candidate music points; and selecting a target number of music points from the obtained candidate music points to be the music points for the audio material. analyzing the audio material based on a beat analysis algorithm to obtain a beat point in the audio material and a timestamp where the beat point is located; performing a short-term spectrum analysis on the audio material to obtain a musical note starting point in the audio material and a timestamp where the musical note starting point is located; performing combining and deduplicating operation on the beat point and the musical note starting point to obtain candidate music points; and selecting a target number of music points from the obtained candidate music points to be the music points for the audio material.