Essentially the same, they convert the energy of flowing air into mechanical energy and then into electrical energy;
But the operating principle is different: airflow power generation converts solar energy into air through a heat collecting shed Kinetic energy is converted into mechanical energy when hot air flows out of the chimney; wind power generation directly uses natural wind energy (although wind energy is essentially converted from solar energy).
So the common point is that they all have the process of converting air kinetic energy into mechanical energy; the difference is that air flow power generation uses solar energy (or geothermal energy), while wind power generation uses wind energy