User Avatars API

Generate customizable user avatars with flexible styling options. Perfect for user profiles, chat applications, and identity systems with PNG or SVG formats.

API endpoint
GET https://avatars.cleariflow.com/v1/?api_key=YOUR_API_KEY&image_format=png&image_size=128&name=John+Doe

Try it now

Test the API with live data

Need inspiration? Try:

API benefits

Flexible Customization

Customize avatar size (6-512px), colors, fonts, and styling to match your application design.

Multiple Formats

Generate avatars in PNG or SVG formats with binary response for optimal performance.

Color Customization

Choose background and font colors with hex color codes (3 or 6 characters) for brand consistency.

Typography Control

Control font size (0.1-1.0), weight, style, and character limits (1-4 chars) for optimal display.

Advanced Options

Toggle rounded/square shapes, uppercase/lowercase text, italic and bold styles.

Lightning Fast

Generate avatars in under 200ms with global infrastructure and intelligent caching.

Key features

  • Customizable image size (6-512px)
  • PNG and SVG format support
  • Hex color customization (3/6 chars)
  • Font size control (0.1-1.0)
  • Character limit (1-4 characters)
  • Rounded or square avatars
  • Uppercase/lowercase text
  • Italic and bold font styles
  • Multiple character limits
  • Custom background colors
  • Custom font colors
  • Binary image response

Quick start guide

1. Get your API key

Sign up for free and get instant access to your API key.

2. Make your first request

cURL
curl -X GET \
  "https://avatars.cleariflow.com/v1/" \
  ?api_key=YOUR_API_KEY \
  &name=John+Doe \
  &image_size=128 \
  &image_format=png

3. Handle the response

JSON
"Binary image data (PNG or SVG)"