These AI “family portraits” really pushed some buttons. An artificial intelligence-focused artist is showcasing what former celebrity couples’ children would look like if they had stayed together in a creepy-but-fascinating project that some observers called “disrespectful.” Jeremy Pomeroy , of Melbourne, Australia, made the “captivating celebrity what-if” images centering on the offspring of A-list exes ranging from Brad Pitt and Jennifer Aniston to Justin Bieber and Selena Gomez , according to his website .

The graphic designer by trade said he creates the portraits by merging “advanced algorithms with Photoshop” and his own aesthetic eye before posting them on Instagram . “I’ve been thrilled by the conversations and discussions that my pieces have sparked,” Pomeroy told The Post — while conceding that “not everyone may share the same opinion” about the value of the project. In fact, some folks called Pomeroy’s work oddly unnerving.

“Out of touch,” one critic wrote. “Leave the couples who aren’t together anymore alone.” Another declared, “Sounds disrespectful to me!” Former flames featured in the series include “The Fall Guy” star Ryan Gosling and “Disobedience” actress Rachel McAdams, who broke up in 2007 after dating for two years.

An AI image shows their imaginary family of three kids — including a son with Gosling’s signature steely-eyed squint — spruced up as they pose in front of a tea set. Another portrait d.