simple API generate image holder with your custom for free
GET https://placeholder-seven.vercel.app/api?{parameters}
Parameters | Type | Description | Default |
---|---|---|---|
width |
string |
image width to generate | 100 |
height |
string |
image height to generate | 100 |
text |
string |
Your display text | "Image" |
backgroundColor |
string |
background image use RBG encoded | #dde3e9 |
textColor |
string |
text color image use RBG encoded | #eff1f3 |
fontSize |
string |
your respected font size using pango_markup font size unit | "medium" |
<img src="https://placeholder-seven.vercel.app/api?text=Image%20Placeholder%20API&width=200%height%3D300" ...>
curl --location 'https://placeholder-seven.vercel.app/api?text=Image%20Placeholder%20API&width=200%height%3D300' \
--data ''
const raw = "";
const requestOptions = {
method: "GET",
body: raw,
redirect: "follow"
};
fetch("https://placeholder-seven.vercel.app/api?text=Image Placeholder API&width=200%height=300", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
https://placeholder-seven.vercel.app/api?text=400x600&width=400&height=600&fontSize=1000pt&textColor=%230765ff&backgroundColor=white