Generate Random Bitmap Image

Use this endpoint to generate random bitmap image.

The random result object added properties

Properties

  • Name
    imageURL
    Type
    string
    Description
    URL to download generated image.

GET /api/random/image

Generated Bitmap Image

This endpoint allows you to generate random bitmap image.

Parameters

  • Name
    w
    Type
    integer
    Description
    Width of the image in pixels, maximum 512.
  • Name
    h
    Type
    integer
    Description
    Height of the image in pixels, maximum 512.

Request

GET
/api/random/image
 curl -G https://qrandom.io/api/random/image 
 -d w=128 
 -d h=128

Response

{
    "signature": "OYc3GkSB5qB/fD8pGGeakaaW7uS6IkQoTXclMgidqFBipgf26ShZygQ381FnTDqpGCKq447fTTSr+qx00kzzncGZNHzDsQFwKvGuxqigG8iupyeN7JO5NiTp5bPnZyy8RHQ4dnRhCSEkGKVXVn20jhnQSHe8G70yTq4bbLd32qzyYIk9xztPwzBM+HRWWgHxmvnRNohZoR9Kf80bOsyTrd2W4hIlXg5yoBUrbw9FPK421QMNvMfwEsijH8JIYerCzIUdfcMFNLdEngwa2wGLEeSqRO21yVb35fPO4NYXH34+qwUOFx3N9/5qVHYm9UWpuseCRRVjGoxEKcf1V6FSnFwIhPjXLOZlU9H3Lev3nyusukebXerqiycofQ53MGtYyH+xdazGG81XFo7q5T/7zEGi9C51hVcqpTqoVMEOMy8c6RftMpphM4aQp898gmJS8vWgZdGRXOBKXH6P3McQxpCkcigQbdN0okDOLmt3F/NVNOgvEf5sHBeWtqYZ02pt3446/YdhS+RJ381EV2QEsLWrstk52Z9YKm8pQVgTWINoPPG+m6s663K9W5u8mXqTMxG5cjSZrXVOmTVgy7WrERl4uAwiNlobJAiGpQlKZGUJBd778ME9vdpyxbrdKLkDt9xDc321gitakkt3braluy1uje96livcJF1pmlMXEYXvmRVxNbPj1/zNOs1+IjmNtTMjS3JiGIq/u9bQPAyGOttxTDZZlhFrQjRIvJt9UWPc/sKh8N2q3Ah7n614Umja5RTqmMiBHGoI6bCFJhoFpgpZH8RLxOtkLPpZwxozDa6fXXZZODgzwtDbUaQK1X9Dun0khV3BpU/NakScK2laWwlT1039aNn6J8atGFmKd50=",
    "imageURL": "https://qrandom.io/api/web/download/J5h5DDiehde4WW2QIIzvIVHDw6OmtWXu",
    "elapsedTime": 0.2052,
    "id": "NjA0NENEQjYtMjlGNS00MEQyLUJDRTMtQTYwMTgyRkE5QjIz",
    "resultType": "randomImage",
    "message": "Request: Size: 128x128, ResultHash: 75eca595dbef1b4f06985165e9034be5bf6e31f3509be543c63de41f3ae2abc1, Timestamp: 1676113509.334995",
    "timestamp": "2023-02-11T11:05:09Z"
}