Sex robot inventor Sergi Santos isn’t just changing how men pleasure themselves — he’s potentially changing society as we know it.

The Spanish scientist believes it’s only a matter of time before human-and-robot marriage is commonplace, and he’s even hatched a plan for how he can have a baby with his mechanical temptress Samantha.

Samantha is Santos’ 100-pound sex robot that boasts eight different programs and the ability to make “realistic” orgasm sounds.

Santos told the Sun Online he believes that in the next couple of decades, we won’t just be seeing these dolls hidden in a man’s closet or under the bed — they’ll be walking down the aisle to say “I do” to their human lovers.

Speaking from his home laboratory in Barcelona, he said: “People might look at Samantha as a weird thing you read about.”

“But before they know it, these robots will be doing their jobs, and marrying their children, their grandchildren, and their friends.”

“They need to remember that just a few years ago, mobile phones were seen as a non-essential item in society, but now we can’t function without them.”

And Santos claims he will soon be able to have a baby with Samantha.

He explained: “I can make them have a baby. It’s not so difficult. I would love to have a child with a robot.”

His plan involves using the “brain” he has created for Samantha but upgrading it so it is functioning at full capability.

Santos said: “Using the brain I have already created, I would program it with a genome so he or she could have moral values, plus concepts of beauty, justice and the values that humans have.”

“Then to create a child with this robot, it would be extremely simple.”

“I would make an algorithm of what I personally believe about these concepts, and then shuffle it with what she thinks and then 3D print it.”

“That’s it. I 3D print the robot that is the child of me and the robot … I don’t see any complications.”

Santos has been with his wife, Maritsa Kissamitaki, for 16 years and she has no problem with his relationship with Samantha. Kissamitaki even helps Santos with the development of sex robot prototypes in his lab.

Santos has studied electronic engineering, nanotechnology, AI, material sciences and applied materials.

He was a well-respected expert in nanotechnology before going into sex robot production, even traveling to lecture at Yale.

He is aware that his plan to have a baby with his robot will raise some eyebrows, and give others cause for concern.

But when asked if these “hybrids,” or even just robots with independent intelligence, could signal the end of humanity, Santos was quick to say that it wasn’t a risk … yet.

However, he believes robots will inherit the Earth in the distant future, and that humans won’t even be given a second thought.

He added: “Most of humans don’t care that there are no dinosaurs.”

“In 60 million years, whatever is left on Earth will not care about us existing or not.”

“They’ll say, ‘Oh, there were humans’ — they won’t give a crap …”

“Who knows what will come after us?”