Square-shaped BiFeO3 (BFO) thin films were prepared on SrTiO3 (STO) substrates by off-axis magnetron sputtering using La0.5Sr0.5CoO3 (LSCO) as the bottom electrode, and both LSCO and BFO are perovskite structure. The BFO crystalline quality improves and the grain size becomes larger as the thickness H increases, and both have smaller mean square roughness. The effects of BFO thickness H, light intensity Ip and ambient temperature AT on the ferroelectric photovoltaic effect (FPE) for the Pt/BFO/LSCO heterostructures are significant. With the H increase, the open-circuit voltage Voc and short-circuit current Jsc increase linearly, with Voc up to 0.44 V. The short-circuit current modulation intensity ΔJsc follows the ΔJsc-300>ΔJsc-200>ΔJsc-100 rule. With the Ip increase, Pt/BFO(300nm)/LSCO' Jsc increases linearly, and Voc first increases and then tends to saturation, which satisfies Glass' law. With the AT increases, Voc is linearly decreasing and Jsc shows the law: decreasing→increasing→decreasing. The polarization-modulated FPE mechanism is investigated by analyzing the Pt/BFO/LSCO energy band structure, which is attributed to the coupling effect between the BFO depolarization field (Edp) and the built-in electric field at the interface (EPt/BFO & EBFO/LSCO), and the FPE mechanism is shifted from the interface barrier domination to the ferroelectric polarization domination as H increases.