API Reference
Generate unique avatars with a simple URL. All parameters are optional.
default
Default usage
Generate an avatar using just a name. The gradient is deterministically generated from the name.
https://avzx.vercel.app/vercelnameAny string to generate a unique avataroptional
Custom text
Add initials or custom text overlay. Full names are automatically converted to initials.
https://avzx.vercel.app/john-doe?text=John DoenameBase name for gradienttextDisplayed text (auto-converts to JD)optional
Output format
Choose between SVG (default, scalable) or PNG format for your avatar.
https://avzx.vercel.app/avatar?type=pngtypesvg (default) or pngoptional
Custom size
Specify the output dimensions in pixels. Default is 120px.
https://avzx.vercel.app/avatar?size=256sizeSize in pixels (default: 120)optional
Custom color
Override the auto-generated gradient with a specific hex color.
https://avzx.vercel.app/avatar?color=6366f1colorHex color without #optional
Emoji support
Add an emoji to your avatar for extra personality.
https://avzx.vercel.app/avatar?emoji=🚀&text=ABemojiAny emoji charactertextOptional text above emojiQuick Reference
/[name]Base endpoint?text=ABCustom initials?size=256Output size (px)?type=pngOutput format?shape=circleAvatar shape?gradient=radialGradient style