🖼️ placeholdr.dev

AI placeholder image API with global CDN delivery

Generate custom images for websites and apps with one URL.
Choose your prompt, dimensions and style. Generated images stay cached and ready to serve.

🌟 41,800+ images generated
Since November 2025
Example landscape placeholder

Basic Usage

Drop this snippet directly into your HTML to request a unique placeholder on the fly.

<img src="https://placeholdr.dev/{width}x{height}/{prompt}" />

All Parameters

Add these parameters to the URL to customize the placeholder.

<img src="https://placeholdr.dev/{width}x{height}/{prompt}?style={style}&seed={int}" />
  • Width and height: required, integers between 64 and 2048, any aspect ratio

  • Prompt: text description of the desired image ("space" by default)

  • Style: photographic (default), digital-art, anime

  • Seed: integer between 1 and 3 (1 by default) for alternative outputs

  • Key: optional, for Pro. Your API key, so new images from localhost, servers, apps and AI tools use your Pro allowance. You can also send it as Authorization: Bearer. Your listed domains don't need it.

Demo

Estimated generation time: 2–20 seconds

The preview updates automatically when your image is ready.

Playful black anime cat
Your image URL Copy it into an <img src="..."> on your website.

Examples

Real API calls
White sneaker product photo

Product photo

https://placeholdr.dev/600x400/white%20sneaker?seed=2
Office portrait of a man in a suit

Office portrait

https://placeholdr.dev/400x400/office%20portrait?seed=3
Bright living room with a sofa and wooden floor

Property listing

https://placeholdr.dev/800x600/bright%20living%20room?seed=3
Painting of a city skyline at sunset

Blog cover

https://placeholdr.dev/800x450/city%20at%20sunset?style=digital-art&seed=1

Usage limits

Free

For building and small sites

30 new images / day

Per IP and per domain.

Unlimited views

Pro

For live websites and apps

500 new images / day

Across your domains and API key.

Unlimited views

$9 / month · Cancel anytime.

Subscribe

Pro needs no code change on the domains you list. For localhost, servers, apps and AI tools, add your API key to image URLs (key=plr_…) or send it as Authorization: Bearer.

By subscribing, you agree to the Terms and Privacy policy.

Limits reset at midnight UTC.
Need more? hello@placeholdr.dev

Why placeholdr.dev?

  • Cloudflare network: Powered by Cloudflare Workers at the edge with R2 backing so renders stay cached globally and load fast.
  • Flux model: Powered by Flux diffusion model for quality placeholder imagery.
  • Simple URL API: Works anywhere you can drop an <img> tag or background image.
  • Fast initial generation: Fresh prompts render in a few seconds, then stay cached in R2 for near-instant deterministic repeats.
  • Start with one URL: No account or API key needed to generate an image. Subscribe to Pro for higher limits on your domains, with an optional API key for localhost and servers.

Frequently Asked Questions

What happens on the first request?

A new URL returns a temporary SVG while the final image is generated. The Demo updates automatically when it is ready. If you open or embed a new image URL directly, reload it after a few seconds to see the finished image.

Do I need an account, API key, or JavaScript?

No. Use a normal <img> tag, CSS background, or any client that can request an image URL. Pro adds an optional API key for localhost and servers.

How do the limits work?

Only new images count; saved images always load. Free gives 30 new images a day: per IP address while you build, and per domain once it's live. Pro gives 500 a day to the domains you list on your account page and to requests with your API key, up to 30 a minute. Limits reset at midnight UTC.

What is the Pro API key for?

For requests that don't come from one of your listed domains: localhost, servers, apps and AI tools. Create it on your account page, then add key=plr_… to image URLs or send it as Authorization: Bearer. It works without a page address and on your own domains. Copied into a page on another website, it gets that site the free allowance, not yours. Saved images never need it.

Are generated images deterministic?

Yes. Once an image has been generated, it will not change. The same URL always returns the same cached image. Use seed 2 or 3 for a different variation.

Which dimensions and image formats are supported?

Width and height can each be from 64 to 2048 pixels, with any aspect ratio. Images are JPG files.

How is it different from placehold.co or Lorem Picsum?

placehold.co draws a box with text, and Lorem Picsum returns a random photo. placeholdr.dev generates an image that matches the description in the URL. See how they compare.

Can AI coding tools use it?

Yes. Point them to llms-full.txt, or connect the MCP server at https://placeholdr.dev/mcp. Its create_placeholder_images tool waits for new images and returns finished URLs.