50 gallon is the most preferable and recommended size of an air compressor you need for a paint gun,
this type of tank capacity has adjustable PSI and as well CFM which you require that you use to run a spray machine to paint wood and as well metal.