MockHero

image_url

Content

Generate unique placeholder image URLs via Picsum. Each URL returns a different image with configurable dimensions. No image hosting needed.

Example Outputs

https://picsum.photos/seed/42/640/480https://picsum.photos/seed/137/800/600

Parameters

ParameterDescription
widthImage width in pixels
heightImage height in pixels

API Usage

Send a POST request to generate image url data:

curl -X POST https://mockhero.dev/api/v1/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "tables": [
    {
      "name": "example",
      "count": 5,
      "fields": [
        {
          "name": "image_url",
          "type": "image_url"
        }
      ]
    }
  ]
}'

Common Use Cases

  • Image gallery testing
  • Product image placeholders
  • Blog post images
  • Social media feeds

Quick Info

Field Type
image_url
Category
Content
Parameters
2 parameters
Output Format
JSON, CSV, SQL

Try it now

Generate image url data instantly in the playground.

Generate Image URL + 155 more types via API

One API call. Multiple tables. Relational integrity. Free tier included.

Get Started Free