Green’s Dictionary of Slang

ape v.

also ape out

(US) to lose control, to act in a wild manner.

[US]R. Johnson ‘Stop Breaking Down’ 🎵 You Saturday night women, you love to ape and clown.
[US]H. Miller Sexus (1969) 72: The more he grinned, the more he clowned and aped it.
[US]Baker et al. CUSS 71: Ape out Go wild.