Created
June 19, 2014 14:08
-
-
Save ikr7/bcac6930d02e58dd3741 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PublicHair API | |
An API that generates public hair image. Outputs PNG, JPEG, Animated GIF, SVG and JSON. | |
API Endpoint is "/v1/[width]x[height].[type]". Max size is 1024x1024. If type is "gif", max size is 512x512. | |
Parameters | |
amount: Specifies number of hair. defaults to 15. max is 1000. | |
curly: Specifies curly of hair. defaults to 30. min is 0, max is 360. | |
length: Specifies length of hair. defaults to 100. min is 0, max is 100. | |
color: Specifies color of hair. defaults to "black". You can use CSS Colors. | |
bgcolor: Specifies background color of image. defaults to "rgba(0,0,0,0)". You can use CSS Colors. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment