by Bario Entertainment System
This service was originally created for baes.app to display Bario Punks-inspired avatars for users who comment without ENS or Basename profile pictures, replacing empty silhouettes with generated pixel art.
The API is domain-restricted and won't work if you try to use it directly on your site. However, we'd be happy if you're interested in using it! Please reach out to us at @basebario to discuss integration possibilities.
This project is 100% open source! You can fork it, customize it with your own NFT artwork layers, and deploy your own avatar generation service.
public/layers/GET https://avatario.baes.so/api/avatar/[address]addressstringrequiredValid Ethereum address (0x...)
sizeintegeroptionalAvatar size in pixels (16-2048, default: 512)
Supported sizes: 16, 32, 64, 128, 256, 512, 1024, 2048
Returns PNG image with headers:
GET https://avatario.baes.so/api/avatar/0x742d35Cc6634C0532925a3b844Bc9e7595f0fEb1GET https://avatario.baes.so/api/avatar/0x742d35Cc6634C0532925a3b844Bc9e7595f0fEb1?size=256