Recently, we have developed a unified approach to QED in arbitrary linearly responding media in equilibrium—media that give rise to absorption [Phys. Rev. A 75, (2007) 053813]. In the present paper we show that, under appropriate conditions, the theory can be quite naturally generalized to amplifying media the effect of which is described within the framework of linear response theory. We discu...