Lovely people.

Insurance giant AIG is trying to seize a $490 million charitable endowment — and claw back $27 million it already awarded to New York charities — to pay executive bonuses, The Post has learned.

The endowment, called Starr International Foundation, is run by former AIG chairman Hank Greenberg, and has given millions to the Sept. 11 Memorial and Museum, Citymeals and other local groups.