User to upload the texture

Is there any way for the user to upload their texture to the desired object once the project is hosted (own hosting)?
I am coming from Verge3D here, I know it’s possible with Three.js but I cant figure out how to do this with ShapeSpark compiled project.

Any ideas?

The viewer API supports using textures from external sources: GitHub - shapespark/shapespark-viewer-api: JavaScript API for interacting with the Shapespark 3D scene.

Hi,
I can assist you with this. Please DM if you need any help.