Kim Kardashian owes her recent weight loss to illness.

“The flu can be an amazing diet,” Kardashian, 36, bragged on Twitter early Wednesday morning. “So happy it came in time for the Met lol #6lbsdown.”

This year’s Met Gala will Comme des Garçon’s Rei Kawakubo.

It seems the flu has kept Kardashian sidelined for some time.

On April 13, she attended the Los Angeles red carpet premiere of Armenian genocide film “The Promise,” but did not stay for the movie itself.

An insider said, “She saw the movie independently. She has the flu and pulled it together to do arrival press.”

As Easter rolled around last weekend, Kardashian looked to be good shape standing for photos with her husband and kids.