Two methods of calling API
GET api-call.php with URL of image to process
or
POST api-post.php with upload-image file attached (max 10mb)
Parameters:
filter= (Filter name as above) REQUIRED
Optional Parameter
For art filters
options= keepcolors (keeps image color pallet)
options= animate (produces animated art)
For do-trans (transparent background)
options= fuzz:20 (agressiveness transparency of 1-50)
For do-tint
options= color:RED (hex or named color)
For sharpen
options= sharpen:20 (intensity of sharpen filter 1-30)
For all non animated filters
options= percent:50% (adjust intensity of filter 1-100%)
Comma separate multiple option flags.
|