No frills Minecraft headshot provider. Retrieves profiles & textures directly from Mojang, falling back to CraftHead if/when issues with Mojang's API are encountered.
GET https://heads.discordsrv.com/<uuid|username>/<head|overlay|helm|texture>/<size?>
- Image types:
head: plain head from the texture.overlay:headoverlaid with thehelmlayer.helm: same asoverlayexcept the helmet is scaled up to resemble how heads are rendered in-game.texture: raw texture sheet without any processing
headandoverlayheads are internally rendered as 8x8px;helmis rendered using 64x64px heads to accommodate the scaledhelmlayer.- Resulting PNGs from
headandoverlayare RGB (no alpha channel/transparency);helmuses ARGB (transparency under the scaled up helmet). - UUIDs (dashed or non-dashed) are preferred;
usernames -> UUIDmappings are cached for one hour.
| Image | URL |
|---|---|
| https://heads.discordsrv.com/Scarsz/head | |
| https://heads.discordsrv.com/Scarsz/overlay | |
| https://heads.discordsrv.com/Scarsz/helm | |
| https://heads.discordsrv.com/Scarsz/texture |
The above images are displayed with /64 to request the head at 64x64 resolution.
In the above URLs, Scarsz could be replaced with the UUID d7c1db4d-e57b-488b-b8bc-4462fe49a3e8 for the same results.