Re-upload using the API


(Mr Inka) #1

Hey, my project is more about making a texture than making an actual model. Is there a way to re-upload an already hosted model with different textures/settings using the data API? This would save a lot of bandwidth bandwidth.

Thanks b


#2

Yes, you can re-upload with PUT https://api.sketchfab.com/v3/models/:uid with the same payload as you would an upload POST https://api.sketchfab.com/v3/models

https://docs.sketchfab.com/data-api/v3/index.html#!/models/put_v3_models_uid

There is a known bug that not all metadata is correctly updated (e.g. tags)


(Mr Inka) #3

Hey, since this requires a an actual model file, I am not sure if this is what I am looking for.

Example: I uploaded a 25mb 3d model on sketchfab and added a texture to it. Now I made a different texture, a completley different version and I’d like to upload this one to sketchfab while keeping the other model/texture. Ther normal approach would then be, to reupload the 25mb model and add the new texture to it in a new sketchfab post.

Well … couldn’t there be an option, to just “grab” the 3D model from an already uploaded scene and put it into a new untouched sketchfab post? Copy it withing the sketchfab servers. This would save bandwith.


#4

Ah ok, sorry I misunderstood. We’re actively working on a model Duplication feature that will allow you to make an exact copy of a model and make changes (e.g. different versions of textures, description/annotations in different languages, etc.)

This will be a feature for Pro members and should be available within the next few weeks.


#6

We now offer a model duplication feature for Pro accounts and above. I hope it helps!