Two men were beaten on the street in Manhattan by two men shouting homophobic slurs, cops said on Friday.

The victims, ages 31 and 37, were on Broadway near W. 29th St. in NoMad when the suspects attacked around 7:30 p.m. on July 31, according to law enforcement.

The brutes made anti-LGBT remarks before repeatedly punching and kicking the victims, police said.

Medics took the older victim to NYU Langone Tisch Hospital with minor injuries. The younger man was treated at the scene.

The NYPD released images of the suspects, who were last seen fleeing south on Broadway. Both men had dark hair and wore dark T-shirts and light-colored sneakers. One sported black track pants with a white stripe down the sides and carried a black bag with two large colored dots on it while the other man wore blue or gray pants.

The assault is being investigated by the NYPD’s Hate Crime Task Force.

Anyone with information is asked to call Crime Stoppers at (800) 577-TIPS. All calls will be kept confidential.