Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.65 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.65 KB

Random Image API

Examples

Link Image
https://readyyyk-randimg.fly.dev/picsum example
https://readyyyk-randimg.fly.dev/hashmap example
.../hashmap?seed=example example
.../hashmap?seed=example&w=8&h=10 (w=8 h=10) example
.../picsum?seed=example&w=64&h=100 example

Usage

host: https://readyyyk-randimg.fly.dev/

https://host/hashmap?...[url params]

https://host/picsum?...[url params]

returns:

  • hashmap - svg image
  • picsum - jpeg image

width and height defaults:

  • hashmap - 7x7
  • picsum - 64x64

Seed default value is Unix time

URL parameters

Parameter Type Value
w (width) Int 1-100 for hashmaps
h (height) Int 1-100 for hashmaps
seed String any