Public APIs

๐ŸŽ Black Friday: 40% off the first payment of every plan, and Skip the queue for $29, through December 6.

DummyImage is in the queue

It will be published on December 30, 2026.

From $29 instead of $49, live within minutes

  1. Added from GitHub

    Added from the open-source list.

  2. In the queue

    Until December 30, 2026.

  3. Live

    Listed on Public APIs, with a link to its website.

DummyImage favicon

DummyImage

Art & Design

Generate placeholder images with custom size, colors and text.

DummyImage's website screenshot

About DummyImage

DummyImage is a web service for generating placeholder images on the fly by constructing a URL. Image dimensions, background color, and foreground (text) color are specified as URL path segments, with hex color codes supporting shorthand notation. Output can be rendered as GIF, JPG, or PNG, with GIF as the default format if none is specified.

The service supports custom text overlays via a query string parameter, using a font from the M+ Font Project, and includes a set of standard predefined sizes covering common ad dimensions, screen resolutions, and video standards, each accessible through keyword shortcuts. It also supports Flash applications by serving images with a specified Content-Length and a crossdomain.xml file.

The tool is aimed at developers who need placeholder graphics for prototyping or testing layouts. It is written in PHP, distributed under the MIT License, with source code available on GitHub, and the page lists several third-party reimplementations in other languages and platforms including Ruby, ASP.net, Django/Python, and various CMS plugins.

Key features

  • Generate placeholder images via URL parameters with custom width and height
  • Set background and foreground colors using hex codes
  • Output images in PNG, GIF, or JPG format
  • Add custom text overlay to generated images via query string
  • Use standard sizes for ads, screen resolutions, and video formats
  • Works with Flash applications via specified Content-Length

Frequently asked questions

Is DummyImage free to use?

Yes, it is distributed freely under an MIT License with source code available on GitHub.

How do I customize the generated image?

You specify size, background color, and text color directly in the URL, with an optional text query string for custom text.

What image formats are supported?

Images can be rendered as GIF, JPG, or PNG by adding the appropriate file extension to the URL; GIF is the default.

What language is DummyImage built in?

It is written in PHP, though other versions exist in Ruby, ASP.net, Django/Python, and other languages/platforms.

Are standard image sizes available?

Yes, it includes standard ad sizes, screen resolutions, and video standards accessible via keyword shortcuts.

Ad
SerpApi - Search API favicon

SerpApi - Search API

SerpApi's Search API makes it easy and fast to scrape Google and other search engines.

Learn more

Featured products

  • SerpApi - Search API favicon

Show your product to thousands of developers

ยท 100k monthly pageviews
ยท 9k newsletter subscribers

Advertise your product