The avatar API behind DiscordSRV

Any player. Any angle.
One URL.

Heads, busts, bodies, 3D skulls and full 3D player renders for any Java or Bedrock player. Put a name or UUID in a URL and get a PNG back, ready for Discord embeds, websites and READMEs. No API key, no setup.

https://heads.discordsrv.com/Technoblade/player
  • Java and Bedrock (via Geyser) players
  • Any camera angle for 3D renders
  • Up to 512 px, anti-aliased
  • Slim (Alex) arms
  • Straight from Mojang, with a CraftHead fallback

Try it yourself

Pick a player and play with every render type and parameter. The URL updates as you go.

Target

Username, resolved to a UUID through Mojang (cached for an hour).

Type

The front face of the head. These are RGB images with no transparency.

Helmet layer

The helmet layer scaled up around the head, like in-game.

Sizepx

Width of the image.

View

Head renders have a fixed view. Skull, Player and Chibi can be rendered from any angle.

Enter a target to render.

URLOpen
https://heads.discordsrv.com/Technoblade/helm

Usage

Every render is a single GET request, so it can be dropped straight into an embed, an img tag or Markdown.

GET https://heads.discordsrv.com/<target>/<type>[/<size>][?yaw=<degrees>&pitch=<degrees>]
PartDescription
<target>A UUID (dashed or non-dashed), a username, or a texture ID. See targets.
<type>One of the render types below.
<size>Width of the image in pixels, defaulting to 256 for player, 128 for chibi and mini, and 64 for everything else, and capped at 512. Non-square images keep their aspect ratio. For texture, it's rounded to the nearest multiple of 64.
yaw, pitchCamera angles in degrees for the 3D types, skull, player and chibi. See camera angles.

Render types

Examples render Technoblade, or whichever player you last rendered in the playground; click any of them to open it there. Routes listed together are aliases that render the same image.

Head

The front face of the head. These are RGB images with no transparency.

headPlain head.
overlayHelmet layer drawn over the head.
helmHelmet layer scaled up around the head, like heads are drawn in-game.

Bust

Flat head plus the upper half of the torso and arms.

bustNo helmet layer.
bust/overlayHelmet layer drawn over the head.
bust/helmHelmet layer scaled up around the head.

Body

Flat full body: head, torso, arms and legs.

bodyNo helmet layer.
body/overlayHelmet layer drawn over the head.
body/helmHelmet layer scaled up around the head.

Skull

A 3D skull block showing the front, top and one side of the head.

skull[/isometric][/left|/right][/helm]
  • left (the default) shows the player's left side; right shows their right side.
  • Without isometric, the skull uses an oblique projection: the front face is drawn flat and the top and side recede diagonally. The image is square.
  • isometric uses a true isometric projection, where the top, front and side are identical rhombi. The image is narrower than it is tall.
  • helm adds the helmet layer. The plain and helm images of a skin are cropped identically, so they line up exactly.
  • Supports camera angles.
skullskull/leftOblique, left.
skull/rightOblique, right.
skull/helmskull/left/helmOblique with helmet, left.
skull/right/helmOblique with helmet, right.
skull/isometricskull/isometric/leftIsometric, left.
skull/isometric/rightIsometric, right.
skull/isometric/helmskull/isometric/left/helmIsometric with helmet, left.
skull/isometric/right/helmIsometric with helmet, right.

Player

A full 3D render of the player in a neutral standing pose, viewed from slightly above.

player[/left|/right]
  • left (the default) shows the player's left side; right shows their right side.
  • Supports camera angles.
playerplayer/leftLeft (default).
player/rightRight.

Chibi

A 3D render of the player in a chibi art style: a normal-size head on a 0.625× body.

chibi[/left|/right]
  • left (the default) shows the player's left side; right shows their right side.
  • Supports camera angles.
chibichibi/leftLeft (default).
chibi/rightRight.

Mini

A flat, pixel-art chibi with dark outlines: a big head over a small body, turned slightly toward the player's right side.

mini
miniMini.

Texture

The raw skin texture sheet, without any processing. Its size is rounded to the nearest multiple of 64, between 64 and 512.

textureThe texture as uploaded.

Camera angles

skull, player and chibi accept yaw and pitch query parameters, in degrees, to view the model from any angle.

ParameterRangeDescription
yawAny numberHow far the camera turns around the player. 0 faces their front, positive turns toward their left (90 is their left profile), negative toward their right, and 180 faces their back.
pitch-90 to 90How far the camera looks down. 0 is level, 90 looks straight down from above, and negative values look up from below.

left and right are aliases for each type's default angles. Any angle that isn't given keeps the route's default:

Routeleft (default)right
player?yaw=35&pitch=15?yaw=-35&pitch=15
chibi?yaw=35&pitch=15?yaw=-35&pitch=15
skull/isometric?yaw=45&pitch=35.26*?yaw=-45&pitch=35.26*

Player

player?yaw=0&pitch=0Front
player?yaw=90&pitch=0Left profile
player?yaw=180&pitch=15Back
player?yaw=30&pitch=60High angle
player?yaw=-30&pitch=-30From below

Skull

skull/helm?yaw=0&pitch=0Front
skull/helm?yaw=30&pitch=10Shallow
skull/helm?yaw=0&pitch=90Top-down
skull/helm?yaw=200&pitch=30Back
skull/helm?yaw=-45&pitch=-35.26From below

Targets

The target is told apart by its length: up to 16 characters is a username, 32 or 36 is a UUID, and anything else is a texture ID.

UUID

b876ec32-e396-476b-a115-8438d83c67d4

Dashed or non-dashed. Preferred, since UUIDs never change.

Username

Technoblade

Resolved to a UUID through Mojang. Username → UUID mappings are cached for one hour.

Texture ID

9f954e93fe1640f47e916c26622eacf92fd4586371f5f07fd9a7ddedaf4

The hash at the end of a textures.minecraft.net URL. The slim model is detected from the texture itself.

Floodgate UUID

00000000-0000-0000-0009-01f64f65c7c3

Bedrock players joining through Geyser. The last 16 hex digits are the player's XUID, and the skin comes from the GeyserMC global API, which only knows skins of players it has seen join a Geyser server. Unknown players get the default Steve texture.

Offline UUID

e2a5b2c1-7f53-3b8e-9d8a-1c2e3f4a5b6c

Any other UUID that isn't version 4, such as offline-mode servers' UUIDs, always renders the default Steve texture.