how much horsepower can the 904 take?

A friend of mine has a 904 behind a 625 HP 340 in his race car, seems to do fine. It is however built beyond stock specs.

For the 360 it should be fine, unless you plan on racing it, using a trans brake etc, I would run with it.