As global internet traffic continues to increase, technologies for generating high-frequency signals, such as sub-terahertz (sub-THz) bands, through photonics are gaining attention. In this study, we demonstrate the generation of millimeter waves at approximately 17 GHz and sub-THz waves at approximately 300 GHz by converting the frequency difference of a two-wavelength tunable laser, fabricated using silicon photonics, into an optical–electrical signal. This device is expected to be used as a compact and low power consumption, two-wavelength tunable light source for THz wave transceivers.