SVG Monsters v2
Vertical columns | Url and Description | |
---|---|---|
GET | URL | https://app.pixelencounter.com/api/v2/basic/svgmonsters?saturation=double |
Test | Get a monster with random pattern. | |
[backgroundColor:string] | Must be a CSS color value. | |
[edgeBrightness:double] | Must be a value between 0 and 1. | |
[brightnessNoise:double] | Must be a value between 0 and 1. | |
[colored:bool] | Sets if it should be colored. | |
[colorVariations:double] | Must be a value between 0 and 1. | |
[saturation:double] | Must be a value between 0 and 1. | |
Response type | image/svg+xml; charset=utf-8 | |
Response Headers | ||
monster-id |
The random seed id. |
Vertical columns | Url and Description | |
---|---|---|
GET | URL | https://app.pixelencounter.com/api/v2/basic/svgmonsters/image/{format}?saturation=double&size=int |
Test | Get a monster with random pattern as image. | |
{format} | The value can be png, jpeg or webp. | |
[backgroundColor:string] | Must be a CSS color value. | |
[edgeBrightness:double] | Must be a value between 0 and 1. | |
[brightnessNoise:double] | Must be a value between 0 and 1. | |
[colored:bool] | Sets if it should be colored. | |
[colorVariations:double] | Must be a value between 0 and 1. | |
[saturation:double] | Must be a value between 0 and 1. | |
[size:int] | The size in pixels, default is '100'. | |
Response type | image/jpeg, image/png, image/webp | |
Response Headers | ||
monster-id |
The random seed id. |
Vertical columns | Url and Description | |
---|---|---|
GET | URL | https://app.pixelencounter.com/api/v2/basic/svgmonsters/{int} |
Test | get a monster with pattern from a seed. | |
{int} | The seed id, must be greater than '0' and lower than or equal to '2147483647'. | |
[backgroundColor:string] | Must be a CSS color value. | |
[edgeBrightness:double] | Must be a value between 0 and 1. | |
[brightnessNoise:double] | Must be a value between 0 and 1. | |
[colored:bool] | Sets if it should be colored. | |
[colorVariations:double] | Must be a value between 0 and 1. | |
[saturation:double] | Must be a value between 0 and 1. | |
Response type | image/svg+xml; charset=utf-8 |
Vertical columns | Url and Description | |
---|---|---|
GET | URL | https://app.pixelencounter.com/api/v2/basic/svgmonsters/{int}/image/{format}?size=int |
Test | get a monster with pattern from a seed as image. | |
{int} | The seed id, must be greater than '0' and lower than or equal to '2147483647'. | |
{format} | The value can be png, jpeg or webp. | |
[backgroundColor:string] | Must be a CSS color value. | |
[edgeBrightness:double] | Must be a value between 0 and 1. | |
[brightnessNoise:double] | Must be a value between 0 and 1. | |
[colored:bool] | Sets if it should be colored. | |
[colorVariations:double] | Must be a value between 0 and 1. | |
[saturation:double] | Must be a value between 0 and 1. | |
[size:int] | The size in pixels, default is '100'. | |
Response type | image/jpeg, image/png, image/webp |