freeapis

RoboHash

生成随机机器人/外星人头像

认证方式
No auth
HTTPS
Yes
CORS
Unknown

简介

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

是确定性的吗? 是的——同一种子总是生成同一头像。

测试数据 分类更多

APIAuthHTTPSCORS
AddressMock

Random US, Hong Kong and Cape Verde addresses with matched city, state and ZIP

No authYesYes
Bacon Ipsum

A Meatier Lorem Ipsum Generator

No authYesUnknown
Dicebear Avatars

Generate random pixel-art avatars

No authYesNo
DummyJSON

Fake REST API with products, users, posts, comments, todos and more

No authYesYes
English Random Words

Generate English Random Words with Pronunciation

No authYesNo