In order to realize the comprehensive visual inspection of planetary rovers, a highly integrated photoelectric payload including separation mechanism and WiFi camera was proposed. The WiFi camera can be detached from the rover through the separation mechanism. Power supply module was designed to achieve energy self-sufficiency of the camera. WiFi communication module was put forward to implement information transmission between the camera and the planetary rover. Several tests were carried out and showed that the photoelectric payload design was reliable and feasible.