The non-o visa for you is solely based upon you being married to a Thai. It is not to visit her.
You will a copy of your marriage certificate, copies of you wifes ID card and house book registry to upload on the the e visa website ( https://thaievisa.go.th/ ) when you apply for the non-o visa.