Simply call https://echo.rolan.co.jp/api/v1/images to generate dummy image.
All parameters are optional.
param | default | note |
---|---|---|
format | jpeg | png/jpeg |
width | 512 | 1 ~ 2048 |
height | 512 | 1 ~ 2048 |
background_color | #007aff | RGB(hex) |
border_color | #bbbbbb | RGB(hex) |
text_color | (Contrast) | RGB(hex) |
label | n/a | convert under score to space |
template | legacy | Help! WANT to be able to select templates of image |
Just try to paste it to the browser 👍
https://echo.rolan.co.jp/api/v1/images?width=512&height=256&background_color=000&border_color=f00&text_color=ff0&label=Hello_World&format=png
Pull requests are welcome 🚀