Four men raided a Queens apartment this week and ripped off seven slot machines from the home, which cops are probing as an illegal gambling operation, authorities said Friday.

The robbery happened just after 4 a.m. Tuesday at the apartment at 35th Avenue and Union Street in Flushing, according to police.

Once inside, the two-armed-bandits– all wearing hoodies — threatened a 27-year-old woman with a gun, according to police, who said she was the only one home at the time.

Surveillance video shows the four entering the home and making their way through a burgundy-colored blanket that was draped over the apartment door.

The thugs then take turns shoving the victim to the floor, the footage shows. The woman was not seriously injured, cops said.

The group fled with the machines.

Police believe the victim and the suspects knew each other.

One neighbor called it a known, “illegal gambling joint.”

No arrests have been made.