A local rapper’s face was slashed open in what was believed to be a rap battle at a club when the dispute spilled out onto the streets, police said Wednesday.

Freeman Durden, who performs as Ju, was at East Village hookah bar Karma on 1st Avenue and East 3rd Street with a friend Tuesday night when they were approached by five men as they were leaving the club.

A scuffle ensued in which one of the men slashed Durden, 23, from left ear to cheek before the five fled on foot, cops said.

The friend ordered an Uber cab for Durden, who was bleeding profusely, but the duo didn’t make it far before the driver ejected them for excessive bleeding.

Durden was finally picked up by an ambulance near 1st Avenue and East Houston Street and taken to Bellevue Hospital where the gash required 30 staples to seal, police said.

Durden performed at the club and the attack was believed to be related to a rap rivalry.

Durden, of Bedford-Stuyvesant, was later arrested at the hospital on an open warrant for criminal trespassing.