I just use a regular car type or deep cycle battery, no humidification, goes for a very long time. Either run a cheap harbor freight inverter, or just run it as 12 volt, as most cpaps are.then charge with normal gen during the day.
Which machine you got? You don't need an inverter generator, unless you have to have humidification, and even then you don't.