How do I download mesh textures?

I am currently making a new map renderer which will support textures for meshparts on it. I am planning on having my node.js server download the textures but, how would I go about finding the URL to download the image? I have everything else worked out but just need to figure out how to get the URL for the download

I have already tried using “http://www.roblox.com/asset/?id=” but it just says that the page does not exist.

1 Like

That method has been abolished.
It was changed to https://assetdelivery.roblox.com/docs#!/AssetFetch/get_v1_asset, but security was also updated at that time, ROBLOSECURITY was required, and only asset owned by account owner can be downloaded.

3 Likes

Is there any documentation of the api? There are all these terms that are not defined.

Api document is this link: https://assetdelivery.roblox.com/docs#!/AssetFetch/get_v1_asset

I don’t really think there is a documentation of that api so you will might teach yourself how to use that api

Theres is documentation. all roblox apis have documentation.

That’s not really a documentation. It doesn’t define the parameters like what is AssetFormat and AssetType?

You can GET request to api. like this: https://assetdelivery.roblox.com/v1/asset?id=0

16 Likes

I don’t really get it why its public when we can’t even send http request from it

Works thanks. Kind of confusing because the website shows all these required parameters

Accept-Encoding etc. are required, but this can be bypassed. Because those headers are sent by the web browser.

Yeah but the only way to send an http request in studio is by making a proxy server with the roblox api

These APIs are used inside Roblox, Roblox Studio core, Toolbox, etc.

is there a way to make it so I can view the image url instead of it auto downloading?

(EDIT) Nevermind I got it to work.

Youre the best bro, all other ways i seen were using plugins to open link to texture, but in reality all the pages with textures were deleted or something, making it says that it doesnt exist.