avatar
IdentityAlias for avatar_url — generates unique DiceBear avatar image URLs. Use whichever field name matches your schema.
Example Outputs
https://api.dicebear.com/7.x/avataaars/svg?seed=42API Usage
Send a POST request to generate avatar data:
curl -X POST https://mockhero.dev/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tables": [
{
"name": "example",
"count": 5,
"fields": [
{
"name": "avatar",
"type": "avatar"
}
]
}
]
}'Common Use Cases
- User profile seeding
- Avatar display testing
Quick Info
- Field Type
- avatar
- Category
- Identity
- Parameters
- None required
- Output Format
- JSON, CSV, SQL
Related Types
Generate Avatar + 155 more types via API
One API call. Multiple tables. Relational integrity. Free tier included.