In this study,a Transformer-GAN-based intelligent design method for agricultural product packaging layout was proposed,aiming to solve the current stage of agricultural product packaging that mainly relies on generic packaging,which lacks product characteristics and other problems.Firstly,a content-aware module was designed to learn the content features of the packaging design.Secondly,a design sequence module was proposed to serialize the packaging layout information.Finally,the content-aware and layout information were fused so that the model learns the content features and layout features of the pictures and outputs the packaging layout design diagram.Compared with previous models,the model in this paper has better design performance and interpretability,and at the same time innovatively applies the layout intelligent design method to the field of packaging design.The experimental results showed that the design sequence module effectively improves the effectiveness of the design,and the serialized layout features are more capable of generating high-quality layouts compared to the non-serialized features.The model has strong interpretability and can accomplish the task of intelligent design of agricultural packaging layout with good design performance.