Lorem Picsum serves real photos as placeholders: https://picsum.photos/400/300 is a random 400×300 image. The JSON endpoints list the photos and their authors.
None — no key, no signup. Every example runs as-is.
Full reference: https://picsum.photos/
curl "https://picsum.photos/v2/list?page=1&limit=2"
[
{
"id": "0",
"author": "Alejandro Escamilla",
"width": 5000,
"height": 3333,
"url": "https://unsplash.com/photos/yC-Yzbqy7PY",
"download_url": "https://picsum.photos/id/0/5000/3333"
},
{
"id": "1",
"author": "Alejandro Escamilla",
"width": 5000,
"height": 3333,
"url": "https://unsplash.com/photos/LNRyGwIJr5c",
"download_url": "https://picsum.photos/id/1/5000/3333"
}
]
curl https://picsum.photos/id/237/info
{
"id": "237",
"author": "André Spieker",
"width": 3500,
"height": 2095,
"url": "https://unsplash.com/photos/8wTPqxlnKM4",
"download_url": "https://picsum.photos/id/237/3500/2095"
}