Features

Fast Mocks: Data, Images, PDFs, and Avatars — in a Minute

DummyAssets generates test data, images, identicon avatars, placeholders, and PDFs via simple HTTP endpoints.

Problem → Solution

Pains

  • No quick mocks for UI, integrations, and automated tests.
  • Time-consuming to gather test data and images.
  • Environment setup takes a lot of time.

DummyAssets Solves It

  • Simple HTTP endpoints: data, images, avatars, placeholders, PDF.
  • Ready-made patterns: schemas, pagination, and limits.
  • Easy start: public API and interactive Swagger.

Features Overview

Data Generator

Generate fake objects and collections using simple schemas (faker paths). Use POST with JSON body or GET with headers.

/data/object — POST body schema

POST https://dummyassets.com/data/object
Content-Type: application/json

{
  "id": "number.int",
  "name": "person.fullName",
  "email": "internet.email"
}

/data/object — GET via headers

GET https://dummyassets.com/data/object
X-id: number.int
X-name: person.fullName
X-email: internet.email

/data/collection — POST schema (count in path)

POST https://dummyassets.com/data/collection/5
Content-Type: application/json

{
  "id": "number.int",
  "name": "person.fullName"
}

/data/collection — GET via headers + pagination

GET https://dummyassets.com/data/collection/100?page=2&limit=30
X-id: number.int
X-name: person.fullName

Image Service

Get images by seed, customId, or randomly. Resize and stream delivery.

List

GET https://dummyassets.com/image/list?page=1&limit=30

Info by customId

GET https://dummyassets.com/image/id/123/info

By customId and size

GET https://dummyassets.com/image/id/123/800/600

By seed and size

GET https://dummyassets.com/image/seed/cat/800/600

Random image by size

GET https://dummyassets.com/image/800/600

Identicon Avatars (SVG)

Fast SVG avatars by seed/size, compatible with any UI.

Size + seed in query

GET https://dummyassets.com/avatar/128?seed=alice

Size + seed in path

GET https://dummyassets.com/avatar/64/seed/bob

Placeholder (SVG)

Flexible placeholders: sizes, text, colors, and typography.

GET https://dummyassets.com/placeholder/300/200?text=Hello&bg=eee&color=555

PDF Generation

PDFKit + txtgen. Up to 100 pages, orientation: portrait | landscape | random.

By page count

GET https://dummyassets.com/pdf/3

Pages + orientation

GET https://dummyassets.com/pdf/5/landscape

Swagger /docs — Interactive Documentation

Open /docs to quickly try requests and see schemas.

Frequently Asked Questions

At /docs.

For collections, MAX_COLLECTION_COUNT = 1000. For PDF, up to 100 pages.

Ready to try?

Open the documentation and try the public API.