GO:0036132:   13-prostaglandin reductase activity
Catalysis of the reaction: 15-keto-prostaglandin + NAD(P)H + H+ -> 13,14-dihydro-15-keto-prostaglandin + NAD(P)+. This reaction is the reduction of 15-keto-prostaglandin.