Involved in the biosynthesis of the antifungal antibiotic pyrrolnitrin (PRN). Catalyzes the oxidation of the amino group of aminopyrrolnitrin (APRN) to a nitro group to form PRN. It has high substrate specificity toward physiological substrate aminopyrrolnitrin, p-aminobenzylamine (pABA), p-aminobenzyl alcohol, and p-aminophenyl alanine. aminopyrrolnitrin + H(+) + NADPH + 2 O2 = 2 H2O + NADP(+) + pyrrolnitrin Binds 1 [2Fe-2S] cluster per subunit. Binds 1 Fe cation per subunit. kcat is 6.8 min(-1) for aminopyrrolnitrin, 6.5 min(-1) for p-aminobenzyl amine, 1.8 min(-1) for p-aminobenzyl alcohol and 1.2 min(-1) for p-aminophenyl alanine. Antibiotic biosynthesis. Homodimer. Cells lacking this gene lose the ability to produce pyrrolnitrin and accumulate APRN.