Placeholder Image API - Free Custom Sizes
Create placeholder images for wireframes, prototypes, and development. Specify exact dimensions, overlay text, pick background and foreground colors, and choose SVG or PNG output. Useful during front-end development when final assets are not available.
Code examples
curl -X POST https://api.botoi.com/v1/placeholder \
-H "Content-Type: application/json" \
-d '{"width":600,"height":400,"text":"Hero Banner","bg_color":"#f1f5f9","text_color":"#0f172a"}'When to use this API
Wireframe prototyping
Drop placeholder images into Figma exports or HTML prototypes so stakeholders can review layout and spacing before photography or illustration is ready.
CMS content staging
Populate a staging CMS with correctly sized placeholders for each image field. Content editors see the exact space each photo will occupy before uploading final assets.
Automated test fixtures
Generate predictable placeholder images in integration tests for image upload flows. Assert dimensions and file type without relying on static fixture files.
Frequently asked questions
What is the maximum image size?
Can I use custom fonts for the text overlay?
What text appears if I leave the text parameter empty?
Should I choose SVG or PNG?
Can I set a transparent background?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.