An ultrasound is the only popular accurate way to find the baby's gender, and it is low-risk. In addition, amniocentesis (rare and high risk), chorionic villus sampling (rare and invasive), and non-invasive prenatal testing (NIPT) are the other ways to predict the gender of the baby.
AFAB and AMAB - The Significance of Birth Sex for Health
AFAB or AMAB is the gender assigned to a child at birth based on anatomical and biological characteristics.