disclosed is an integrated flying - spot x - ray apparatus comprising a ray generator configured to generate the x - ray , a revolving collimator device provided thereon with at least one aperture and arranged to be rotatable about the ray generator , a frameless torque motor configured to drive the revolving collimator device to rotate about the ray generator , and a cooling device configured to cool the ray generator , wherein the ray generator , the revolving collimator device , the frameless torque motor and the cooling device are mounted on an integrated mounting frame . compared with the prior art , the integrated flying - spot x - ray apparatus according to the present disclosure has a simple and compact structure and is used as a kernel apparatus for fields of safety inspection and medical treatment .