Dummy Image Generator nightlight_round

A fast, free, and easy-to-use image placeholder service. Generate and use

its as simple as "dummyimg.in"

Generated Placeholder Image

Note: Make sure that the background image type should match with the image type.

Generated Placeholder Image

Documentation

To generate placeholder images, use the following query parameters in the API:

Size

  1. If both width and height are not specified, the image will be resized to 300x200
  2. Minimum values for width and height are 10

Text

Please input a space if you don't want any text

Background Color

Text Color

Font Size

Text Position

Background Image URL

Format

Font Style

GET /placeholder

Parameters:
- width: Width of the image (default: 300).
- height: Height of the image (default: 200).
- text: Optional text to display in the image.
- bg_color: Background color (default: gray, accepts hex or color name).
- text_color: Text color (default: white, accepts hex or color name).
- font_size: Font size of the text (default: 20).
- text_position: Position of the text (default: center, options: center, center-left, center-right, top-left, top-center, top-right, bottom-left, bottom-center, bottom-right).
- bg_image_url: URL of the background image.
- format: Format of the image (default: PNG, options: PNG, JPG, BMP, GIF).
- text_position: Position of the text (default: center, options: center, center-left, center-right, top-left, top-center, top-right, bottom-left, bottom-center, bottom-right).
- font_style: Font style (default: arialuni, options: arial, arialuni, arialblack, comic, impact, times, timesnewroman, verdana).
      

To download the image, use the /download endpoint with the same parameters.

GET /download

Parameters:
- width: Width of the image (default: 300).
- height: Height of the image (default: 200).
- text: Optional text to display in the image.
- bg_color: Background color (default: gray, accepts hex or color name).
- text_color: Text color (default: white, accepts hex or color name).
- font_size: Font size of the text (default: 20).
- text_position: Position of the text (default: center, options: center, center-left, center-right, top-left, top-center, top-right, bottom-left, bottom-center, bottom-right).
- bg_image_url: URL of the background image.
- format: Format of the image (default: PNG, options: PNG, JPG, BMP, GIF).
- text_position: Position of the text (default: center, options: center, center-left, center-right, top-left, top-center, top-right, bottom-left, bottom-center, bottom-right).
- font_style: Font style (default: arialuni, options: arial, arialuni, arialblack, comic, impact, times, timesnewroman, verdana).
      

Created by @Shubham Kumar.