API Documentation

SVG Monsters

Vertical columns Url and Description
GET URL https://app.pixelencounter.com/api/basic/svgmonsters?primaryColor=string
Test Get a monster with random pattern.
[fillType:int] Must be a number of: 0=Solid, 1=VerticalSplit, 2=HorizontalSplit, 3=Dotted, 4=Custom1, 5=RandomPixel
[backgroundColor:string] Must be a CSS color value.
[primaryColor:string] Must be a CSS color value.
[secondaryColor:string] Must be a CSS color value, the fillType cannot be Solid.
[randomColor:bool] For random filltypes, set to true will not make the color random by the seed.
Response type image/svg+xml; charset=utf-8
Vertical columns Url and Description
GET URL https://app.pixelencounter.com/api/basic/svgmonsters/image/{format}?primaryColor=string&size=int
Test Get a monster with random pattern as image.
{format} The value can be png, jpeg or webp.
[fillType:int] Must be a number of: 0=Solid, 1=VerticalSplit, 2=HorizontalSplit, 3=Dotted, 4=Custom1, 5=RandomPixel
[backgroundColor:string] Must be a CSS color value.
[primaryColor:string] Must be a CSS color value.
[secondaryColor:string] Must be a CSS color value, the fillType cannot be Solid.
[randomColor:bool] For random filltypes, set to true will not make the color random by the seed.
[size:int] The size in pixels, default is '100'.
Response type image/jpeg, image/png, image/webp
Vertical columns Url and Description
GET URL https://app.pixelencounter.com/api/basic/svgmonsters/{int}?fillType=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'.
[fillType:int] Must be a number of: 0=Solid, 1=VerticalSplit, 2=HorizontalSplit, 3=Dotted, 4=Custom1, 5=RandomPixel
[backgroundColor:string] Must be a CSS color value.
[primaryColor:string] Must be a CSS color value.
[secondaryColor:string] Must be a CSS color value, the fillType cannot be Solid.
[randomColor:bool] For random filltypes, set to true will not make the color random by the seed.
Response type image/svg+xml; charset=utf-8
Vertical columns Url and Description
GET URL https://app.pixelencounter.com/api/basic/svgmonsters/{int}/image/{format}?fillType=int&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.
[fillType:int] Must be a number of: 0=Solid, 1=VerticalSplit, 2=HorizontalSplit, 3=Dotted, 4=Custom1, 5=RandomPixel
[backgroundColor:string] Must be a CSS color value.
[primaryColor:string] Must be a CSS color value.
[secondaryColor:string] Must be a CSS color value, the fillType cannot be Solid.
[randomColor:bool] For random filltypes, set to true will not make the color random by the seed.
[size:int] The size in pixels, default is '100'.
Response type image/jpeg, image/png, image/webp