Antitumor pyrrolobenzodiazepines (PBDs), lincosamide antibiotics, quorum-sensing molecule hormaomycin, and antimicrobial griselimycin are structurally and functionally diverse groups of actinobacterial metabolites. The common feature of these compounds is the incorporation of l-tyrosine- or l-leucine-derived 4-alkyl-l-proline derivatives (APDs) in their structures. Here, we report that the last reaction in the biosynthetic pathway of APDs, catalyzed by F420H2-dependent Apd6 reductases, contributes to the structural diversity of APD precursors. Specifically, the heterologous overproduction of six Apd6 enzymes demonstrated that Apd6 from the biosynthesis of PBDs and hormaomycin can reduce only an endocyclic imine double bond, whereas Apd6 LmbY and partially GriH from the biosyntheses of lincomycin and griselimycin, respectively, also reduce the more inert exocyclic double bond of the same 4-substituted Δ1-pyrroline-2-carboxylic acid substrate, making LmbY and GriH unusual, if not unique, among reductases. Furthermore, the differences in the reaction specificity of the Apd6 reductases determine the formation of the fully saturated APD moiety of lincomycin versus the unsaturated APD moiety of PBDs, providing molecules with optimal shapes to bind their distinct biological targets. Moreover, the Apd6 reductases establish the first F420H2-dependent enzymes from the luciferase-like hydride transferase protein superfamily in the biosynthesis of bioactive molecules. Finally, our bioinformatics analysis demonstrates that Apd6 and their homologues, widely distributed within several bacterial phyla, play a role in the formation of novel yet unknown natural products with incorporated l-proline-like precursors and likely in the microbial central metabolism.