A married hedge-funder wooed his beauty-pageant mistress with the promise of an ostrich farm in Uganda — only to gift her with an STD, a Manhattan Supreme Court lawsuit says.

Former Miss Germany International Aline Marie Massel, 31, revealed the alleged seamy details of her two-year illicit relationship with Autonomy Capital CEO Robert Charles Gibbins in new court documents.

The beauty queen-turned-Tesla model met Gibbins while dining at Le Bilboquet in Manhattan in June 2014, her suit says.

Gibbins, who is in his 40s, told Massel he was unmarried and said he wanted to have four children with her, the suit says.

“He promised to buy a large estate for them in Canada called the Royal Antler . . . and an ostrich farm in Uganda,” according to court papers.

Soon he was jetting Massel to the World Cup in Brazil, taking her for Japanese massages in Midtown Manhattan and showering her with gifts including a Faberge purse, her suit says.

But a few weeks into their romance, Massel discovered her wealthy beau was married — when his wife texted her, “You are not the first and will not be the last,’’ court papers allege.

Massel says in the lawsuit that she continued their relationship because Gibbins told her he planned to divorce his wife.

Meanwhile, he insisted on having sex with her without a condom — and gave her HPV, according to court documents.

Massel “felt deceived and upset with [Gibbins] as he had been her only intimate partner since her last health screening and he did not disclose his sexually transmitted disease to her,” the $15 million suit says.

Still, the two continued to see each other, with Gibbins taking a helicopter to Italy to meet her for lunch in the spring of 2015, and paying for her Manhattan pad, the suit says.

Massel got pregnant in July — and Gibbins pushed her to get an abortion, the papers state.

He told her “he would not be there for her in any respect if she chose to keep the baby,” while his lawyer offered her money to have an abortion and warned “how difficult it would be to raise a child alone,” the suit says.

Gibbins’ wife sneered in a text, “Have the baby if you want it so much. I cannot wait to see you getting fat and ugly,“ according to court papers.

The wife also left an “ominous voicemail” telling “her young son to ‘Speak to daddy’s girlfriend,’ ” the suit says.

Massel finally got an abortion a few months later, after someone started following her around Germany, according to her suit filed by lawyer Edward Hayes.

She believes that Gibbins hired a private detective to trail her because he was concerned she would blab about his business dealings, which include his failed effort to buy a Ukrainian bank that was a “location for money laundering,” the suit says.

Massel says she grew so depressed after the ordeal that her modeling agency dropped her and she started seeing a shrink.

A rep for Gibbins said, “These baseless allegations are without merit, and Mr. Gibbins will defend himself vigorously.”