Skip to content

Instantly share code, notes, and snippets.

@Julli4n
Last active April 21, 2025 05:50
Show Gist options
  • Save Julli4n/13016b11e80109ba643ab9e90b431e02 to your computer and use it in GitHub Desktop.
Save Julli4n/13016b11e80109ba643ab9e90b431e02 to your computer and use it in GitHub Desktop.
ROBLOX
/*
!! The feature that uses this endpoint has recently started rolling out to users.
!! See `App > Avatar > Profile Picture Editor`
!!
!! You may continue using this script, the only advantage is being able to
!! customize FullBody and Closeup independently.
*/
// ! VIEW YOUR CURRENT AVATAR THUMBNAIL CUSTOMIZATIONS: https://avatar.roblox.com/v1/avatar/thumbnail-customizations
/*
!! After your first time of setting a thumbnail configuration, the thumbnail of that type can not go back to how it was originally.
!! (i.e.: using Idle Animations, camera position). It can only be temporarily reverted if Roblox disables this feature again.
*/
// doing ajax because easy csrf handling w/their middleware lol
$.ajax({
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 (Closeup) 1 (FullBody) - Camera distance scale from the avatar
"fieldOfViewDeg": 30, // 15 to 45 - Camera Field Of View (FOV) in degrees, slight effect
// xRotDeg used to exist here.
"yRotDeg": 0 // -60 to 60 - Camera Y rotation in degrees
},
"emoteAssetId": 0, /* 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": 1 /* The thumbnailType
* 1 = Closeup (headshot)
* 2 = FullBody (bodyshot)
Closeup and Fullbody can have separate configurations.
*/
})
}).then(data => console.log(data)).fail(error => alert(error.responseJSON.errors[0].message));
// Logs `{success:true}` if success or website alert if error.
// Revert your thumbnail to default, this is the same that the App uses, hopefully
for (let thumbnailType = 1; thumbnailType < 3; thumbnailType++) {
$.ajax({
method: "POST",
url: "https://avatar.roblox.com/v1/avatar/thumbnail-customization",
contentType: "application/json",
data: JSON.stringify({
camera: {
distanceScale: -1,
fieldOfViewDeg: 30,
yRotDeg: 0
},
emoteAssetId: 0,
thumbnailType,
})
})
}
@1234qwerty1qq
Copy link

OMG!!

@1234qwerty1qq
Copy link

i can rest in peace now.

@roguuskcsgui
Copy link

Previously there were "Back" and "Next" buttons, right?

@Calwing999
Copy link

Accept me into the group please

Im prob not gonna update it anymore but I made it so the pending roll can talk too

@Julli4n
Copy link
Author

Julli4n commented May 8, 2024

Added a file to revert your thumbnail customizations for those who don't want to use the app. (please use it for thumbnail customizations)

@robloxsantino2022
Copy link

robloxsantino2022 commented May 8, 2024

Added a file to revert your thumbnail customizations for those who don't want to use the app. (please use it for thumbnail customizations)

i tested it on an alt, and it works!

@elepopiy
Copy link

elepopiy commented May 8, 2024

abtnjıytkhrtudfhjkynrfhnb ık

looking good

@ToolFlation
Copy link

Previously there were "Back" and "Next" buttons, right?

pretty sure the revert button was the 'Done' button, which had no purpose whatsoever

@roguuskcsgui
Copy link

Previously there were "Back" and "Next" buttons, right?

pretty sure the revert button was the 'Done' button, which had no purpose whatsoever

oh yeah this is coming to my head now

@Seva1912
Copy link

Seva1912 commented May 9, 2024

Well guys... we did it! I want to thank everybody who has been an active user here throughout this long and exhausting journey. I still can't believe that we were actually able to get our voices heard. Thanks everybody, especially Calwing999 for bringing awareness to the issue via YouTube and robloxsantino2022 for creating the Roblox group. Thank you guys!!! As they say: Together we CAN make a difference. 👏👏👏

@O2K4
Copy link

O2K4 commented Jul 25, 2024

image

@Freminet
Copy link

Freminet commented Jul 29, 2024

The pose works in the preview but only on 2D and not 3D, does anyone else have this problem?

@ToolFlation
Copy link

Remove any layered clothing, dynamic heads, or ugc bundles, for whatever reason those make your avatar go stiff in 3D

The pose works in the preview but only on 2D and not 3D, does anyone else have this problem?

@Freminet
Copy link

Remove any layered clothing, dynamic heads, or ugc bundles, for whatever reason those make your avatar go stiff in 3D

The pose works in the preview but only on 2D and not 3D, does anyone else have this problem?

Thank you! It works now, that's really weird, I hope they make it work with layered clothing soon

@GeoLei2u
Copy link

GeoLei2u commented Sep 8, 2024

Whats the postion for the old angle, like the one where it was rotated facing to the right or left

@DannyXJR
Copy link

yo if this thread still alive i wonder how people still get their avatar to look like this.
{4F51CE2E-A85F-4AA1-9E81-559CA5A528F8}
{F10D60B1-E8F1-4899-AD29-11B3246CAD9B}
{C8D21A3C-78CF-4BDE-9A43-AED225CBA4FE}

if anyone knows pls lemme know

@ToolFlation
Copy link

They're probably using either the Mini Kong emote or Hwaiting (화이팅)

https://www.roblox.com/catalog/17000058939/Mini-Kong
This one is onsale for 50 robux

@DannyXJR
Copy link

They're probably using either the Mini Kong emote or Hwaiting (화이팅)

https://www.roblox.com/catalog/17000058939/Mini-Kong This one is onsale for 50 robux

i don't think so cause before that used to be a bug when ur avatar is just facing forward like R6 but in R15 i don't know how to get that to work.

@DannyXJR
Copy link

also checked their emotes and no its not there they aren't using any emote. there has to be a code out there does still do that/

They're probably using either the Mini Kong emote or Hwaiting (화이팅)

https://www.roblox.com/catalog/17000058939/Mini-Kong This one is onsale for 50 robux

@robloxsantino2022
Copy link

Does anyone remember when you couldn't revert to the default angles and were panicking, making recreations, and begging Roblox to fix it? Crazy times.

@ToolFlation
Copy link

ToolFlation commented Feb 22, 2025

I remember playing with fire and seeing what I would look like IF i changed my pfp

@robloxsantino2022
Copy link

I remember playing with fire and seeing what I would look like IF i changed my pfp

bro we had no idea this would be irreversible until like may 7th of 2024 man

@ToolFlation
Copy link

ToolFlation commented Feb 22, 2025

yeah people only had to wait a year

@elepopiy
Copy link

elepopiy commented Mar 7, 2025 via email

@cheesebitz1
Copy link

also checked their emotes and no its not there they aren't using any emote. there has to be a code out there does still do that/

did you find out how yet?

@alimusi12344
Copy link

boom

@GreensStuff
Copy link

Does anyone remember when you couldn't revert to the default angles and were panicking, making recreations, and begging Roblox to fix it? Crazy times.

Lol I remember that. I was on the devforum all sad and sorry, checking it every day. Most of my messages got purged since I was rambling on about "how I ruined the profile picture on my main, alt, and mom's roblox account." Still, I remember in nov-dec 2022 when I was excited for the customizable pfps, and when I pressed "default" for my alts profile picture it didn't reset it and just made the avatar face forward. I remember being pretty devastated.
I remember around the summer of 2023 I was thinking about making a roblox group dedicated to getting the classic pfps back, and using my alt as the main owner. (i think i still have a copy of the original group icon) That never went through and I think barely anyone was talking about getting the old pfps back. Luckily you did make a group around may of 2024 and I remember making the icon for it!

@RadioBot05
Copy link

RadioBot05 commented Mar 23, 2025

A-a-and I am back here...

@Calwing999
Copy link

The memories....

@ToolFlation
Copy link

It's been 2 years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment