Primary endpoint of the Random Image API.
https://random.imagecdn.app/v1/image?width=500&height=150
https://random.imagecdn.app/v1/image?width=500&height=150&category=buildings&format=json
Parameter | Description |
---|---|
height |
Height of the desired image, in pixels. |
width |
Width of the desired image, in pixels. |
format |
Response format, allows overriding a the
|
provider |
Select an image provider:
|
category |
Category of the image to be returned. Categories are provider-specific, the default is "buildings". |
Short-hand endpoint for grabbing an image with a given width and height.
https://random.imagecdn.app/500/150
Parameter | Description |
---|---|
width |
Width of the desired image, in pixels. |
height |
Height of the desired image, in pixels. |