Autoresexual is a term for those who may have sexual attraction via masturbation and sexual thoughts/fantasies, but this attraction can change when someone is added. It is a label that can be used alongside others, such as demisexual or asexual.
The romantic equivalent is autoreromantic.