It has gotten more than 6 million views since it was posted Friday.
The 3 1/2-minute clip shows Minaj dressed in lingerie, swim attire and a mermaid costume at a beach, in a hot tub, a pool and hotel room.
Grande also appears in various bathing suits, singing near the ocean.
The clip ends with the women meeting up on a sunny day with two guys on beds under palm trees.
Minaj, 35, is preparing to go on tour this fall with Future.