We report the first two-beam coupling investigation of the surface-induced photorefractive effect (SIPRE) in optically twistable nematic liquid crystal cell. The unique space-charge field of SIPRE is exploited to achieve optical tuning of the photorefractive gain. A reconfigurable photoaligning substrate is used to adjust the twist angle, which is proved to be a control parameter for the photorefractive gain. The amplitude of the optical modulation increases gradually with the twist. Its phase shift changes from 0 degrees to 90 degrees with the polarization state of the two interfering beams. These results pave the way to the all-optical control of the photorefractive gain.