Interplay between magnetism and photoelectric properties introduces the effective control of photoresponse in optoelectronic devices via magnetic field, termed as magneto-photoresponse. It enriches the application scenarios and shows potential to construct in-sensor vision systems for artificial intelligence with gate-free architecture. However, achieving a simultaneous existence of room-temperature magnetism and notable photoelectric properties in semiconductors is a great challenge. Here, the room-temperature magneto-photoresponse is accomplished in all-2D optoelectronic devices, employing 2D ferromagnet Fe3GaTe2 as the source and drain, with WSe2 forming the channel. The interplay between room-temperature magnetism and photoelectric properties is realized by introducing the unique magneto-band structure effect from 2D interface, resulting in magneto-tunable charge transfer between Fe3GaTe2 and WSe2. The photocurrent in this 2D optoelectronic device exhibits robust response to both the direction and amplitude of external magnetic fields. Utilizing constructed 2D optoelectronic devices with magneto-photoresponse, traditional gate-controlled phototransistors are replaced and a prototype in-sensor vision system with visual adaptation, significantly improving the recognition accuracy to over four times in low-contrast environments is established. These findings pave a way for achieving high-temperature magneto-photoresponse, thereby guiding the construction of robust in-sensor vision systems toward high performance and broad applications.