GET /avatars/generate
Generate unique avatar image URLs from a seed string (like a username or email). Returns URLs from three different services: DiceBear (17 art styles, SVG/PNG), UI Avatars (initials-based), and RoboHash (robots/monsters). The same seed always produces the same avatar, making it perfect for user profile defaults.
seed
required
Seed string (username, email, any text)
style
optional
default: avataaars
DiceBear style name
size
optional
default: 200
Image size in pixels
| Name | Required | Default | Description |
|---|---|---|---|
seed |
Yes | - | Seed string (username, email, any text) |
style |
No | avataaars | DiceBear style name |
size |
No | 200 | Image size in pixels |
curl "https://nordapi.ee/api/v1/avatars/generate?seed=john_doe"
curl "https://nordapi.ee/api/v1/avatars/generate?seed=john_doe"
curl "https://nordapi.ee/api/v1/avatars/generate?seed=jane&style=pixel-art&size=400"
curl "https://nordapi.ee/api/v1/avatars/generate?seed=user@example.com&style=bottts"
{
"data": {
"dicebear": "https://api.dicebear.com/9.x/avataaars/svg?seed=john_doe&size=200",
"dicebear_png": "https://api.dicebear.com/9.x/avataaars/png?seed=john_doe&size=200",
"robohash": "https://robohash.org/john_doe?size=200x200",
"robohash_monster": "https://robohash.org/john_doe?set=set2&size=200x200",
"robohash_robot_head": "https://robohash.org/john_doe?set=set3&size=200x200",
"seed": "john_doe",
"size": 200,
"style": "avataaars",
"ui_avatar": "https://ui-avatars.com/api/?name=john_doe&size=200&background=random&color=fff"
},
"success": true
}