The only generator that is reasonably safe to run indoors is a LP one. Even that is pushing it, but you can use the exhaust which has high levels of CO2 to give your plants a boost.
Others are going to be a bitch to exhaust.
Why don't you look into adding a solar array to the roof?
The cost really outweighs the bennies IMO.