In this paper, we study the stochastic resonance (SR) effect in an optomechanical system driven by a strong coupling field and two weak signals in both semiclassical and quantum frameworks. In the semiclassical description, the SR phenomena are found at the cooperation of input signals and system noises. When two signals co-act on our system, the interference effect between the optically induced SR and the mechanically induced SR can be generated. In particular, a unique beating effect, which makes the SR effect robust against the initial phase difference of two signals, appears in the SR synchronization process with unsynchronized signals. In addition, the quantum stochastic resonance effect is numerically observed in the full quantum framework induced by pure quantum fluctuations.