The invention relates to the technical field of video generation, and particularly discloses an AIGC-based video generation method and
system, and the method comprises the following steps: S1, obtaining a text input by a user,
processing and recognizing a subject and stage keywords through a
natural language, dividing a plurality of stages according to logic, and
numbering the stages; s2, screening a matched video template from a material
library based on the modification keyword, performing dynamic rendering in combination with a main body, generating a sub-video set of each stage, and retaining a
stage number; s3, randomly selecting templates from the sub-video set of each stage, splicing the templates into a candidate video combination according to a
numbering sequence, analyzing the visual coherence of a head frame and a
tail frame, and generating a coherence
score; s4, selecting the combination with the highest connection
score as a final video, and ensuring that the cross-stage transition is natural and accords with the narrative logic; according to the method, the
time sequence consistency and transition fluency of the long video are automatically processed, and the professional content can be generated only by providing a text by a user.