Here you can view all the images Lorem Picsum provides.
60 |Get a specific image by adding /id/{image} to the start of the url.
https://picsum.photos/id/1/200/300
62 | More detailed instructions can be found on the main page.
63 |Just add your desired image size (width & height) after our URL, and you'll get a random image.
59 |https://picsum.photos/200/300
60 | To get a square image, just add the size.
61 |https://picsum.photos/200
62 | Get a specific image by adding /id/{image} to the start of the url.
https://picsum.photos/id/237/200/300
73 | You can find a list of all the images here.
74 |Get the same random image every time based on a seed, by adding /seed/{seed} to the start of the url.
https://picsum.photos/seed/picsum/200/300
87 | Get a grayscale image by appending ?grayscale to the end of the url.
https://picsum.photos/200/300?grayscale
100 | Get a blurred image by appending ?blur to the end of the url.
https://picsum.photos/200/300/?blur
113 | You can adjust the amount of blur by providing a number between 1 and 10.
https://picsum.photos/200/300/?blur=2
115 | You may combine any of the options above.
127 |For example, to get a specific image that is grayscale and blurred.
128 |https://picsum.photos/id/870/200/300?grayscale&blur=2
129 | To request multiple images of the same size in your browser, add the random query param to prevent the images from being cached:
<img src="https://picsum.photos/200/300?random=1">
131 | <img src="https://picsum.photos/200/300?random=2">
132 | If you need a file ending, you can add .jpg to the end of the url.
https://picsum.photos/200/300.jpg
134 | To get an image in the WebP format, you can add .webp to the end of the url.
https://picsum.photos/200/300.webp
136 | Get a list of images by using the /v2/list endpoint.
https://picsum.photos/v2/list
149 | The API will return 30 items per page by default.
150 |To request another page, use the ?page parameter.
To change the amount of items per page, use the ?limit parameter.
https://picsum.photos/v2/list?page=2&limit=100
153 | The Link header includes pagination information about the next/previous pages
[
157 | {
158 | "id": "0",
159 | "author": "Alejandro Escamilla",
160 | "width": 5616,
161 | "height": 3744,
162 | "url": "https://unsplash.com/...",
163 | "download_url": "https://picsum.photos/..."
164 | }
165 | ]
166 | Get information about a specific image by using the /id/{id}/info and /seed/{seed}/info endpoints.
https://picsum.photos/id/0/info
176 | https://picsum.photos/seed/picsum/info
177 | You can find out the ID of an image by looking at the Picsum-ID header, or the User Comment field in the EXIF metadata.
{
181 | "id": "0",
182 | "author": "Alejandro Escamilla",
183 | "width": 5616,
184 | "height": 3744,
185 | "url": "https://unsplash.com/...",
186 | "download_url": "https://picsum.photos/..."
187 | }
188 |