RoboHash
生成随机机器人/外星人头像
- 认证方式
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 测试数据
- 文档 / URL
- https://robohash.org/
简介
RoboHash 从任意文本生成独特的机器人/怪物/脑袋头像——确定性、免密钥、免费。经典的占位头像服务(“机器人”由你种子的哈希生成)。
快速开始
机器人头像(实测可用):
curl "https://robohash.org/example.png"
任意文本都可作为种子:
curl "https://robohash.org/user-123.png"
不同套装:
curl "https://robohash.org/user-123.png?set=set1" # 机器人
curl "https://robohash.org/user-123.png?set=set2" # 怪物
curl "https://robohash.org/user-123.png?set=set3" # 机器人头
curl "https://robohash.org/user-123.png?set=set4" # 猫
自定义背景和尺寸:
curl "https://robohash.org/user-123.png?size=200x200&bgset=bg2"
认证方式
无需认证——免密钥。
速率限制与注意事项
- 免费;确定性(同一种子 → 同一图片)——非常适合用户头像。
- 套装:
set1机器人、set2怪物、set3脑袋、set4猫;bgset选择背景样式。 - 输出格式:PNG(默认)、JPG、GIF(通过扩展名,如
example.jpg)。 - 支持热链——设计为
<img>标签使用。
常见问题
RoboHash 免费吗? 是的——免费且免密钥。
可以控制风格吗?
可以——?set=set1..set4 和 ?bgset=bg1..bg2。
是确定性的吗? 是的——同一种子总是生成同一头像。
测试数据 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| AddressMock Random US, Hong Kong and Cape Verde addresses with matched city, state and ZIP | No auth | Yes | Yes | ↗ |
| Bacon Ipsum A Meatier Lorem Ipsum Generator | No auth | Yes | Unknown | ↗ |
| Dicebear Avatars Generate random pixel-art avatars | No auth | Yes | No | ↗ |
| DummyJSON Fake REST API with products, users, posts, comments, todos and more | No auth | Yes | Yes | ↗ |
| English Random Words Generate English Random Words with Pronunciation | No auth | Yes | No | ↗ |