GET /placeholder/random
Generate URLs for slumpmässig placeholder bilder från Lorem Picsum. Perfekt för wireframes, mockups, and utveckling. Returnerar direct bild URLs in flera styles inklusive grayscale and blur effekter. Inga hotlinking-begränsningar.
width
valfri
standard: 600
Image width in pixels
height
valfri
standard: 400
Image height in pixels
| Namn | Obligatorisk | Standard | Beskrivning |
|---|---|---|---|
width |
Nej | 600 | Image width in pixels |
height |
Nej | 400 | Image height in pixels |
curl "https://nordapi.ee/api/v1/placeholder/random?width=800&height=600"
curl https://nordapi.ee/api/v1/placeholder/random
curl "https://nordapi.ee/api/v1/placeholder/random?width=500&height=500"
curl "https://nordapi.ee/api/v1/placeholder/random?width=1200&height=300"
{
"data": {
"blur_url": "https://picsum.photos/800/600?blur=2",
"grayscale_url": "https://picsum.photos/800/600?grayscale",
"height": 600,
"image_url": "https://picsum.photos/800/600",
"specific_url": "https://picsum.photos/id/197/800/600",
"width": 800
},
"success": true
}