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
:head
overlaid with thehelm
layer.helm
: same asoverlay
except the helmet is scaled up to resemble how heads are rendered in-game.texture
: raw texture sheet without any processing
head
andoverlay
heads are internally rendered as 8x8px;helm
is rendered using 64x64px heads to accommodate the scaledhelm
layer.- Resulting PNGs from
head
andoverlay
are RGB (no alpha channel/transparency);helm
uses ARGB (transparency under the scaled up helmet). - UUIDs (dashed or non-dashed) are preferred;
usernames -> UUID
mappings 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.