Generate dynamic placeholder images via URL. Custom size, colors, text. No signup.
https://placeholder-api-liart.vercel.appX-API-Key: your_key (header) or ?key=your_key (query)
Get your free key below
/api/image
Generate a dynamic placeholder image with custom dimensions, colors, and text.
w
number
no
Width in pixels. Default: 400, max 2000
h
number
no
Height in pixels. Default: 200, max 2000
bg
string
no
Background hex color. Default: cccccc
color
string
no
Text hex color. Default: 666666
text
string
no
Display text. Default: WxH
image/svg+xml// 401 โ Unauthorized
{ "error": "Invalid API key" }
// 429 โ Rate Limited
{ "error": "Daily limit reached. Upgrade your plan." }
Get a free API key for 6 requests/day. No credit card required.
X-API-Key: your_key?key=your_keyStart free. Pay only when you need more.
No monthly commitment. Pay only for what you use. All features included.