Supermodel Miranda Kerr made a Cinderella-like wardrobe change before the W magazine 40th-anniversary dinner and party at the Gramercy Park Hotel on Thursday night. Guests who arrived early to the bash spotted Kerr sitting at the bar, wearing a sweater dress and heels, waiting for her assistant to arrive with her outfit.

PHOTOS: MIRANDA KERR

She then dashed upstairs to her suite and changed into a dramatic, leg-baring Balenciaga gown, Bulgari jewels and heels. Kerr attended the party solo — while her hunky husband Orlando Bloom films “Zulu” in South Africa. Other guests included Jenna Lyons, Iman, Alan Cumming, Alexander Wang, Prabal Gurung and Diane von Furstenberg.