1<img src="https://picsum.photos/200/300?random=1">
2<img src="https://picsum.photos/200/300?random=2">
1Just add your desired image size (width & height) after our URL, and you'll get a random image.
2
3https://picsum.photos/200/300
4To get a square image, just add the size.
5
6https://picsum.photos/200
1from PIL import Image
2img = Image.new('RGB', (32,32), color='white')
3img.save('empty.png')
4quit()
5
1{
2 "id": "0",
3 "author": "Alejandro Escamilla",
4 "width": 5616,
5 "height": 3744,
6 "url": "https://unsplash.com/...",
7 "download_url": "https://picsum.photos/..."
8}