The invention provides an
interactive animation generation method and apparatus, and an electronic device. The method comprises the steps of determining interactive elements and interactive situation information based on interactive intention description information; inputting the interaction elements and the interaction situation information into a large
language model, and outputting an action sequence comprising a plurality of interaction sub-actions; generating an interaction posture sequence and
time sequence information based on the action sequence; wherein the interaction posture sequence and the
time sequence information are respectively used for indicating a relative posture and
interaction time when the interaction subject interacts with the
interaction object; generating
animation skeleton information based on the interaction posture sequence and the
time sequence information; and adding a preset
animation effect to the
animation skeleton information, and generating an interaction animation for interaction between the interaction subject and the
interaction object. According to the method, the interaction intention is understood through the large
language model, the action sequence matched with the interaction situation is generated, and the interaction animation is generated through the action sequence, so that the animation production cost is reduced, the animation production efficiency is improved, and the finally generated interaction animation is more real.