Abstract: An integrated high-frequency generator system utilizing the magnetic field of the target application including a magnetic resonance magnet having an application zone and a high-frequency (microwave/terahertz) generator zone in the magnetic field of the magnetic resonance magnet; and a high-frequency (microwave/terahertz) generator disposed in the high-frequency (microwave/terahertz) generator zone and utilizing the magnet field of the magnetic resonance magnet to generate the high-frequency (microwave/terahertz) radiation. The magnetic resonance magnet may have an auxiliary magnetic field source for modifying the magnetic field profile in the high-frequency (microwave/terahertz) generator zone.