The invention discloses an AI-assisted lightweight interaction prototype generation method,
system and device and a medium, and the method specifically comprises the steps: analyzing the causal relationship between game mechanisms in a game playing method video through a game mechanism rule base, and generating an interaction script; key frames in a game playing video are identified through an AI
algorithm, an optimal compression strategy is automatically selected according to a target platform, resource precision is automatically adjusted based on equipment performance, and the key frames are converted into lightweight resources; generating an H5 prototype code by using a
code generation engine based on the interaction script and the lightweight resource; and performing cross-platform
adaptation processing on the H5 prototype code, generating virtual player behavior data through a GAN to generate a
test case, integrating a multi-objective optimization
algorithm to dynamically adjust a
test strategy, and outputting an interactive H5 trial play prototype. According to the method, rapid generation from the game playing method video to the interactive H5 trial playing prototype is realized, the
development period is shortened, the iteration efficiency is improved, and the creative
verification cost is reduced.