A pipe flow direct-drive power generating device comprises a generator shell. The two ends of the generator shell are respectively and fixedly connected with a shrinkable pipe and a wake flow pipe. At least two stages of rotatable blades are arranged in the generator shell, the shrinkable pipe and the wake flow pipe are communicated in space, and a first rotor installation ring, a guide blade installation seat and a second rotor installation ring are sequentially arranged between the shrinkable pipe and the wake flow pipe. The inner wall of the first rotor installation ring is fixedly connected with a first-stage rotating blade, the inner wall of the second rotor installation ring is fixedly connected with a second-stage rotating blade, the first-stage rotating blade and the second-stage rotating blade are fixed on a supporting shaft, the two ends of the supporting shaft can be rotationally supported on the inner wall of the communicated space, the inner wall of the guide blade installation seat is fixedly connected with guide blades, the guide blade installation seat is fixed on the generator shell, permanent magnets are arranged on both the periphery of the first rotor installation ring and the periphery of the second rotor installation ring, a stator coil is arranged in the generator shell, the stator coil and the permanent magnets are opposite, and gaps are left among the stator coil and the permanent magnets. According to the pipe flow direct-drive power generating device, a power transmission link of a transmission shaft is eliminated, energy loss in a shaft transmission link is avoided, and the utilization rate of power is improved.