Image

Generate a placeholder image

Optional path segments after size: /image/{size}/{background}/{color}/{type}. Query params text and fontFamily customize the overlay.

get/image/{size}

Request

  • Base URL
    https://dummyjson.com
  • URL
    https://dummyjson.com/image/{size}
  • Auth
    none required

Path parameters

sizestring required

Width or widthxheight (e.g. 300 or 300x200).

Query parameters

textstring

Overlay text.

fontFamilystring

Response

Generated image bytes (or redirect to cached CDN URL)

Changes

No recorded changes to this operation across all 1 revision of this API.