Three men accused of being part of a vicious pack attack on two police officers at St Kilda have been released on bail.

Partygoers Trent Potts, 26, and Phillip O’Donnell, 38, along with band singer Jules Jerome Tobin, 26, fronted Melbourne Magistrates Court on Tuesday.

Court sketch of (L-R) Philip O'Donnell, Trent Potts, Kayla Potts, and Jack Houldcroft. The four are accused of a vicious attack on two police officers in St Kilda. Credit:Sketch supplied by Nine News

All three have been charged, alongside two others, with assaulting police, affray, violent disorder, intentionally causing injury and other assault-related offences.

Despite police opposing their release, Magistrate Andrew McKenna said the police officers at the centre of Sunday morning’s incident didn’t sustain serious injuries and that the three accused men had stable employment.