image_url
ContentGenerate 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/600Parameters
| Parameter | Description |
|---|---|
| width | Image width in pixels |
| height | Image 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
Related Types
Generate Image URL + 155 more types via API
One API call. Multiple tables. Relational integrity. Free tier included.