We developed a module for dual-output, dual-wavelength lasers that facilitates multiphoton imaging and spectroscopy experiments and enables hyperspectral imaging with spectral resolution up to 5 cm−1. High spectral resolution is achieved by employing spectral focusing. Specifically, two sets of grating pairs are used to control the chirps in each laser beam. In contrast with the approach that uses fixed-length glass rods, grating pairs allow matching the spectral resolution and the linewidths of the Raman lines of interest. To demonstrate the performance of the module, we report the results of spectral focusing CARS and SRS microscopy experiments for various test samples and Raman shifts. The developed module can be used for a variety of multimodal imaging and spectroscopy applications, such as single- and multi-color two-photon fluorescence, second harmonic generation, third harmonic generation, pump-probe, transient absorption, and others.