The scanning superconducting quantum interference device (SQUID) microscope is a powerful tool for investigating the microscale magnetic properties of quantum materials. However, the low operating temperature of SQUIDs limits the application of the microscope. In this work, we developed an on-chip probe with dual niobium nitride (NbN) nano-SQUIDs for scanning SQUID microscope. The working temperature of the NbN nano-SQUID on-chip probe is up to 8 K, and it enabled the magnetic imaging of samples at the temperature up to 128 K. We used a gradiometric readout scheme for dual nano-SQUIDs in one probe to reduce the influence of the background magnetic field. Furthermore, we demonstrated the capabilities of both topographic and current imaging by the on-chip probe with spatial resolutions of 1 µm and 2 µm, respectively. The advantage of the probe in the high temperature was also demonstrated by the investigation of the superconducting vortices distribution in the yttrium barium copper oxide film.