Definitely have to fold this. I would fold it on the flop because a 30BB minraise isnt a bluff. Either its a weak play by AK or its a pot builder. On the river, you are beating absolutely nothing and he's not folding if he's the average opponent.

Every single imaginable draw got there, its a paired board, and on top of that you're losing to AK and AT now. My first thought was AK until that poster gave it away with Q8o. Sometimes its hard to fold to a flop minraise, but definitely check and fold the turn and then even more definitely check and fold the river. Theres no reason your stack has to get allin on the river so don't tell yourself that.