Nicki Minaj can be seen each week on television on “American Idol.” Now she’s headed to the big screen. The rapper is set to make her acting debut alongside Cameron Diaz in Fox’s revenge comedy The Other Woman.

According to The Hollywood Reporter, the “Idol” judge is in final talks to star in the film. In addition to Diaz, the cast includes Leslie Mann, Nikolaj Coster-Waldau, and Kate Upton.

The comedy, directed by Nick Cassavetes (The Notebook), follows a woman (Diaz) who finds out that she is “the other woman” in an affair. She teams up with her lover’s wife (Mann) to get revenge on the cheating husband, played by Nikolaj Coster-Waldau.

Nicki will play Diaz’s opinionated assistant at a law firm, who has been married three times.

She previously lent her voice to a character in last year’s animated film Ice Age: Continental Drift.