Free Avatar API
Updated
Give every user a friendly default profile picture. Pass any string as a seed and get back a unique SVG avatar. The same seed always returns the same avatar. You don't need an API key or sign-up.
Quick start
<img src="https://avater-maker.com/api/avatar?seed=YOUR_USERNAME" alt="avatar" width="64" height="64">Parameters
| Parameter | Values | Description |
|---|---|---|
seed | any string (max 128 chars) | Picks a deterministic avatar. Use a username, user ID or email hash. Never send raw emails. |
shape | square · circle · rounded | Crop shape. Default square. |
size | 16–2048 | Sets the SVG width and height attributes. Omit it for a responsive SVG. |
bg | hex without # (e.g. ffd1a8) or none | Overrides the background color, or makes it transparent. |
a | design code from a share link | Renders an exact avatar designed in the editor (the value after ?a= in a share link). |
Examples
https://avater-maker.com/api/avatar?seed=jane-doe
https://avater-maker.com/api/avatar?seed=user_1234&shape=circle&size=128
https://avater-maker.com/api/avatar?seed=team-bot&bg=noneReact
function Avatar({ user }) {
return (
<img
src={`https://avater-maker.com/api/avatar?seed=${encodeURIComponent(user.id)}&shape=circle`}
alt={user.name}
width={40}
height={40}
/>
);
}Markdown / GitHub README
Details
- Format:
image/svg+xml, about 4–8 KB per avatar, with sharp edges at any resolution. - Caching: responses are immutable and cached on Vercel's global edge network.
- CORS:
Access-Control-Allow-Origin: *, so you can fetch it from any origin. - License: free for personal and commercial use. A link back to this page is appreciated but not required.
- Fair use: for very high traffic, cache avatars on your own storage or CDN.