Entertainment

Nicki Minaj goes topless in new video

This . . . is “American Idol’s” worst nightmare.

A risqué music video featuring new judge Nicki Minaj flashing her surgically enhanced double Ds — and dropping F-bombs — emerged online yesterday, racking up thousands of views in the first few hours.

In the three-minute clip she did for hip-hop star French Montana’s song “Freaks,” Minaj gyrates seductively in an open gold jacket (with pasties over her nipples) while rapping about graphic sex acts.

“I just felt like she was one of the hottest female artists to come out of New York in a while, and I felt the same about me,” Montana, 28, said of the collaboration on a recent episode of MTV’s “RapFix Live.” “So I felt it was a record that’s more for the city — [you] see two people that’s doing real good put a record together.”

The “Freaks” video takes place in an underground dance club and samples the hit reggae song “Murder She Wrote,” as well as Doug E. Fresh and Lil Vicious’ “Freaks.”

Montana is originally from Morocco, but moved to the South Bronx at 13.

A spokesperson for “Idol” declined to comment about the video, filmed last month.