A CPAP without a heated humidifier draws roughly 30-60W. Turn the humidifier on and that climbs to 60-90W, since it's heating water, not just running a motor. Over an 8-hour night, that's the difference between ~360Wh and ~720Wh needed.
CPAP machines are sensitive to waveform. A modified sine wave inverter (cheaper, common in bargain power banks) can cause humming, overheating, or motor damage in some CPAP models. Confirm pure sine wave output before trusting any unit with a medical device overnight.