Entertainment robots, as a new type of entertainment device, have broad application prospects. Entertainment robots provide entertainment and entertainment experiences through interaction with users. This article designs a programming model to interpret and execute user gesture commands, and convert them into drawing actions that robots can process. By interacting with entertainment robots, users can guide robots to draw through gestures, making artistic creations more intuitive and interesting. We used deep learning algorithms for training and used existing art works as references to enable robots to learn and imitate the painting styles of different artists. Finally, by optimizing the algorithm, the optimal path for the entertainment robot to draw trajectories was determined, which improved the effectiveness and quality of the painting. Through the training of deep learning algorithms, entertainment robots can capture the characteristics and details of an artist’s painting style, and simulate it during the painting process. This provides users with a personalized artistic creation experience, allowing them to interact with entertainment robots, participate in artistic creation, and experience a creative process similar to that of real artists.