blender – How to load templates with the ability to change textures in Three.js

I am working on a game in Three.js where I have some variations of the same model in Blender.

What I want to realize is that I load the model once with all the material parameters, but only change the texture dynamically. Is there a way to do that? and in what format do I have to export it from blender in order to do it efficiently (json, obj)?

Thank you in advance.