New Multiavatar API updates are now live!
Embedding with Markdown:
Previous API features are working similarly like before.
To get an avatar as SVG code, pass the avatar's ID as the URL parameter:
let avatarId = 'Starrr'
.then(res => res.text())
.then(svg => console.log(svg))
Happy New Year!
I have recently finished rewriting Multiavatar Generator in PHP.
Source code: https://github.com/multiavatar/multiavatar-php
It is now being used for the Multiavatar API (https://api.multiavatar.com), which became much faster, because before it was a mix of PHP and Node.js, and now just PHP.
You can use it by including the Multiavatar.php in your code, or by installing it with Composer.
More info about the Multiavatar algorithm and design is available in the JS repository (https://github.com/multiavatar/Multiavatar) and in the Multiavatar web-app (https://multiavatar.com), which is based on Laravel 8, Vue.js, and ImageMagick PHP extension.
Your feedback is welcome and appreciated!
The Multiavatar Web-App is built around the Multiavatar Generator.
First of all, it's an interface for users to find and save their favorite avatars.
Additionally, users can generate and order unique merchandise using the Merch Maker, or pick products from the pre-generated selection in the Merch Store.
The Multiavatar app extends the avatar generator's functionality and it's also a way to monetize the Multiavatar service, without sacrificing free users' experience.
From the beginning of the project, the aim was to generate more avatars than there are people in the world, so at least 8 billion.
No other publicly available avatar script was able to generate a billion or more visually rich avatars, so a custom algorithm for Multiavatar was required.
With the custom-built Multiavatar script, it is possible to generate 12,230,590,464 (12 billion) cryptographically unique avatars. It means that there are more than enough unique avatars for every person in the world.