Skip to content

Instantly share code, notes, and snippets.

@Suferr
Created August 23, 2022 13:56
Show Gist options
  • Save Suferr/c26bc66051bbb675c96d466d471908df to your computer and use it in GitHub Desktop.
Save Suferr/c26bc66051bbb675c96d466d471908df to your computer and use it in GitHub Desktop.
method: "POST",
url: "https://avatar.roblox.com/v1/avatar/thumbnail-customization",
contentType: "application/json",
data: JSON.stringify({
"camera": {
// Ranges are inclusive.
"distanceScale": 2, // 0.5 to 4 - Camera distance scale from the avatar
"fieldOfViewDeg": 30, // 15 to 45 - Camera Field Of View (FOV) in degrees, slight effect
"xRotDeg": 0, // -20 to 20 - Camera X rotation in degrees
"yRotDeg": 0 // -60 to 60 - Camera Y rotation in degrees
},
"emoteAssetId": 3823158750, /* The assetId of an emote you own. 0 for no emote.
* example: 3696763549 in https://www.roblox.com/catalog/3696763549/Heisman-Pose
/
// idleAnimationAssetId used to exist here, it has since been removed.
"thumbnailType": 2 / The thumbnailType
* 1 = Closeup (headshot)
* 2 = FullBody (bodyshot)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment