Is there a way I can get an image url from an asset id?

I’m using discord and wanted to see if i could take an asset id, from the roblox api, and get an image url, no issues, since I don’t know where to start to achieve this. I don’t want to get it manually, since it will be a command in my server. (Searching roblox games). If anybody knows any possible solutions, it would help, thanks!

1 Like

You can use the thumbnail. But I think there are other ways too.
https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId=" .. assetID

8 Likes