Free plan
Avatar maker
Create a profile picture from a name, with no photo needed
About this tool
Makes a profile picture from a name or any word you type. You can pick the style (letters on a colour, a block pattern, a gradient or a pixel pattern), the shape (circle, rounded or square), the size and the colours. The same name always gives the same picture. This tool needs no file.
For example, you type Anna Brown to get the letters AB on a coloured circle for a user who has no photo.
How to use it
- Choose this tool.
- Type a name, or any word, in the name box.
- Choose the style, the shape and the colours you like.
- Press Generate.
- Download your picture.
What you get back
You get a new profile picture file (PNG, JPEG, WebP, AVIF or SVG, as you chose) that you can download.
GOOD TO KNOW
Takes no file. Counts as one image.
TEST IT LIVE
Try Avatar maker in the Studio
One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Family
Images
Plan
Free
Method
POST
Endpoint
/v1/images/avatar
Tool ID
images.avatar
Authentication
API key
Accepts
Text and settings
Background jobs
Yes
Usage group
Image
For developers
Use it from your code
cURL
curl -X POST "https://app.h2i.davixlabs.io/v1/images/avatar" \
-H "X-Api-Key: $DAVIX_H2I_API_KEY" \
-F 'name=Ada Lovelace' \
-F 'seed=user-4711' \
-F 'style=initials'Node.js
const { DavixH2I } = require('@davixlabs/h2i-sdk');
const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.images.avatar({
"name": "Ada Lovelace",
"seed": "user-4711",
"style": "initials"
});
console.log(result.data, result.requestId);PHP
<?php
require 'vendor/autoload.php';
$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->images()->avatar([
'name' => 'Ada Lovelace',
'seed' => 'user-4711',
'style' => 'initials',
]);
echo $result->requestId;More in Images
