12V compressor require generator ampere over 100A. 24V compressor require generator ampere over 70A.
If you want to use the electric compressor after parking, then your vehicle battery capacity should be large enough.