Parameter reference for the Minecraft skin render API
Every query parameter of the Minecraft skin render API: size, camera yaw and pitch, fov, layers, capes, poses, per-joint angles and fallbacks, from the code.
This page is rendered from src/lib/render/params.ts, the same table the query parser reads. 53 parameters, 24 aliases, 7 groups. If it is documented here, it exists; if it is not, it does not.
Quick table
General rules
- Names are case-insensitive. Each parameter is listed under its canonical name; aliases are accepted and produce the identical image.
- Booleans accept
1/0,true/false,yes/no,on/off. A bare key with no value (?crop) means true. - Angles are degrees between -360 and 360 unless
units=rad. Values outside that range wrap around instead of failing. - Sizes are integers from 8 to 1024.
sizeis the height;widthandheightoverride it. - Unknown parameters are ignored and echoed in the
X-Ignored-Paramsresponse header, so a typo never breaks an image but is easy to spot. - Out-of-range values (a size of 5000, an
aaof 9) answer400with a plain-text message naming the parameter. - A parameter that does not apply to the requested type is ignored and listed in
X-Ignored-Paramsas well;yawon afacerender does nothing to the image.
The order of parameters in a URL does not matter, but for cache hit rates it helps to build URLs the same way every time. The playground and every example in these docs emit canonical names in table order with defaults omitted; the libraries page has URL-builder snippets you can adapt.
https://skinrender.dev/render/069a79f444e94726a5befca90e38aaf5/body?yaw=-45&pose=wave
https://skinrender.dev/render/069a79f444e94726a5befca90e38aaf5/body?rotate=-45&POSE=wave&units=deg Output
Size, background and how the file is delivered.
size
intHeight of the image in pixels. Width follows the render type’s aspect ratio unless width is given.
- Default
- face
256head256bust256body512front512back512skin256cape256 - Range
8 – 1024- Applies to
- all types
- Example
size=512
width
int alias:w Explicit width in pixels. Overrides the aspect ratio derived from size.
- Default
-
none - Range
8 – 1024- Applies to
- all types
- Example
width=400
height
int alias:h Explicit height in pixels. Overrides size.
- Default
-
none - Range
8 – 1024- Applies to
- all types
- Example
height=600
bg
color alias:background Background colour as 3, 4, 6 or 8 hex digits (with or without #), or transparent.
- Default
-
none - Range
hex colour- Applies to
- all types
- Example
bg=1e1e2e
aa
intSupersampling factor for smoother edges. 1 disables anti-aliasing and is fastest. Lowered automatically so that aa² × width × height stays within 4,194,304 (2048×2048) pixels.
crop
boolTrim fully transparent rows and columns from the edges of the finished image.
margin
numberFraction of the canvas kept empty around the auto-framed model.
mirror
bool alias:flip Mirror the finished image horizontally.
- Default
-
false - Range
true | false- Applies to
- all types
- Example
mirror=true
download
bool alias:dl Send the image as an attachment so browsers save it instead of displaying it.
- Default
-
false - Range
true | false- Applies to
- all types
- Example
download=true
filename
stringFile name used with download. Letters, digits, dashes and underscores; .png is added.
- Default
-
none - Range
text- Applies to
- all types
- Example
filename=my-avatar
Camera
Where the model is viewed from. 3D renders only.
yaw
number aliases:rotateangle Turn the model about its vertical axis, in degrees. 0 faces the camera; positive turns its right side toward you.
pitch
number alias:tilt Tip the model toward or away from the camera, in degrees. Positive looks down on it from above.
roll
numberRotate the whole image about the viewing axis, in degrees.
fov
number alias:perspective Vertical field of view in degrees. 0 is orthographic; 30–50 gives a natural perspective, larger values exaggerate it.
zoom
number alias:scale Multiplier on the auto-framed size. 2 doubles the model on the canvas.
offsetX
number alias:ox Shift the model horizontally by this fraction of the canvas width.
offsetY
number alias:oy Shift the model vertically by this fraction of the canvas height. Positive moves it down.
fit
boolAuto-frame the posed model so it fills the canvas. With fit=false the camera stays fixed, so animations do not jitter between frames.
Model
Which texture and arm width to render.
model
enum alias:variant Arm width. auto uses the profile’s own setting (or detects it from the texture); classic is 4 px wide, slim 3 px.
skin
string alias:texture Render this texture instead of the profile’s skin: a textures.minecraft.net hash or URL.
- Default
-
none - Range
text- Applies to
- all types
- Example
skin=d5c4ee5ce20aed9e33e866c66caa37178606234b3721084bf01d13320fb2eb3f
cape
boolDraw the profile’s cape when it has one.
Layers
Toggle the second skin layer per body part.
overlay
bool alias:layers Master switch for the second skin layer (hat, jacket, sleeves and trousers). false hides them all.
hat
bool alias:helmet Show the head overlay layer.
jacket
boolShow the torso overlay layer.
leftSleeve
boolShow the left arm overlay layer.
rightSleeve
boolShow the right arm overlay layer.
leftPants
bool alias:leftTrousers Show the left leg overlay layer.
rightPants
bool alias:rightTrousers Show the right leg overlay layer.
Lighting
Shading and shadow.
Pose
Named poses and per-joint rotations, in degrees by default.
pose
enumA named pose. Any explicit joint parameter below overrides that joint of the named pose.
frame
numberPhase of an animated pose (walk, run, dance, wave) from 0 to 1. Step it to render the frames of a GIF.
units
enumUnit for every angle parameter: degrees or radians.
headPitch
numberRotation of the head about its side-to-side axis. Positive swings it forward (limbs) or tips it down (head).
headYaw
numberTwist of the head about its vertical axis.
headRoll
numberRotation of the head about its front-to-back axis. For arms and legs, positive moves the limb outward, away from the body.
bodyPitch
numberRotation of the torso about its side-to-side axis. Positive swings it forward (limbs) or tips it down (head).
bodyYaw
numberTwist of the torso about its vertical axis.
bodyRoll
numberRotation of the torso about its front-to-back axis. For arms and legs, positive moves the limb outward, away from the body.
leftArmPitch
number alias:leftArm Rotation of the left arm about its side-to-side axis. Positive swings it forward (limbs) or tips it down (head).
leftArmYaw
numberTwist of the left arm about its vertical axis.
leftArmRoll
numberRotation of the left arm about its front-to-back axis. For arms and legs, positive moves the limb outward, away from the body.
rightArmPitch
number alias:rightArm Rotation of the right arm about its side-to-side axis. Positive swings it forward (limbs) or tips it down (head).
rightArmYaw
numberTwist of the right arm about its vertical axis.
rightArmRoll
numberRotation of the right arm about its front-to-back axis. For arms and legs, positive moves the limb outward, away from the body.
leftLegPitch
number alias:leftLeg Rotation of the left leg about its side-to-side axis. Positive swings it forward (limbs) or tips it down (head).
leftLegYaw
numberTwist of the left leg about its vertical axis.
leftLegRoll
numberRotation of the left leg about its front-to-back axis. For arms and legs, positive moves the limb outward, away from the body.
rightLegPitch
number alias:rightLeg Rotation of the right leg about its side-to-side axis. Positive swings it forward (limbs) or tips it down (head).
rightLegYaw
numberTwist of the right leg about its vertical axis.
rightLegRoll
numberRotation of the right leg about its front-to-back axis. For arms and legs, positive moves the limb outward, away from the body.
capeAngle
numberHow far the cape swings out from the back, in degrees.
Fallback
What happens when a skin cannot be found.
default
enum alias:fallback What to render when the player has no custom skin or cannot be found. auto picks Steve or Alex the way the game does; none answers 404 instead.
- Default
-
auto - Values
auto | steve | alex | none- Applies to
- all types
- Example
default=alex