Every visible trait your child has is settled by two copies of each gene — one from each parent — and by how those copies interact. A few traits follow the clean dominant-and-recessive pattern from school biology, and most do not.
Dominant and recessive traits explains which is which, and
Punnett squares shows how to work the odds for the simple ones yourself.
Eye colour is the trait people ask about first. It is mostly governed by
OCA2, switched on or off by
HERC2 — which is why two brown-eyed parents can have a blue-eyed child when both quietly carry the recessive variant, and why a confident single answer is the wrong shape for the question. Our
baby eye colour calculator takes both parents and all four grandparents and returns the odds for each colour rather than one guess.
Hair colour works the same way, with red the most recessive of all: it needs a variant of
MC1R from both sides, so two parents who are not redheads can still have a redheaded child. Skin tone behaves differently again — many genes each contribute a little, which is what
polygenic inheritance means, and why a child's colouring usually lands somewhere between both parents rather than matching either.
Face shape, the nose, the jaw and the set of the eyes are polygenic too, drawing on dozens of variants from both sides. That is the honest answer to whether a baby looks more like its mother or its father: there is no mechanism that favours either parent. The
research on resemblance is a story of one much-quoted 1995 finding that later studies could not replicate — perceived resemblance turns out to say more about the person looking than about the baby.
None of this is what the generator above is doing. It reads the faces in your two photos and blends them along common inheritance patterns; it cannot see a recessive trait neither of you shows, because it never sees your DNA.
How AI baby generators actually work sets out the mechanism, and
why they get eye colour wrong covers the trait where the gap between the genetics and the image is widest.