Skip to main content
GET
/
avatars
/
{id}
/
{filename}
Get user or guild avatar
curl --request GET \
  --url https://fluxerusercontent.com/avatars/{id}/{filename}
"<string>"

Path Parameters

id
string
required

User or guild ID

filename
string
required

Avatar filename (hash.ext or a_hash.ext for animated)

Query Parameters

size
enum<string>

Target image size in pixels. Default: 128 Allowed image sizes in pixels

Available options:
16,
20,
22,
24,
28,
32,
40,
44,
48,
56,
60,
64,
80,
96,
100,
128,
160,
240,
256,
300,
320,
480,
512,
600,
640,
1024,
1280,
1536,
2048,
3072,
4096
Example:

"128"

format
enum<string>

Output image format. Default: webp Allowed image output formats

Available options:
png,
jpg,
jpeg,
webp,
gif
Example:

"webp"

quality
enum<string>

Image quality level. Default: high Image quality levels: high (default), low (smaller files), lossless (no compression)

Available options:
high,
low,
lossless
Example:

"high"

animated
enum<string>

Whether to return animated images (GIF, APNG). Default: false

Available options:
true,
false

Response

Image data

The response is of type file.