🖼️

Placeholder Image API

Generate customizable placeholder images for development and prototyping. Set dimensions, colors, text, font, and output format.

API Endpoint

GET /v1/placeholder

Parameters

Name Type Required Description
widthintegerYesImage width in pixels
heightintegerNoImage height in pixels (defaults to width)
bgstringNoBackground color (hex without #)
colorstringNoText color (hex without #)
textstringNoCustom text to display

Quick Example

curl "https://api.toolcenter.dev/v1/placeholder?width=800&height=400&bg=6366f1&color=ffffff&text=Hero+Image" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --output placeholder.png

Features

  • Custom width and height
  • Custom background and text colors
  • Custom text overlay
  • PNG and JPEG output
  • Direct URL embedding support

Use Cases

Mockups and wireframes during development

Fill empty image slots in CMS

Generate test images for automated testing

Create size reference images for design specs

Start Using Placeholder Image API for Free

500 free API calls per month. No credit card required.

Get Started Free