Use this method to submit a photo to the WebPurify Automated Intelligent Moderation (AIM) Service. A percentage probability that the submitted photo contains the categories you choose will be returned in real-time.

api_key (Required)
Your API application key.
imgurl (Required)
Full url to the photo you would like moderated.
format (Optional)
Response format: xml or json. Defaults to xml.
cats (Optional)
A comma separated list of the AIM categories.

Supported Categories:

Nudity: Detects Full and Partial Nudity
WAD: Detect Weapons, Alcohol, Medical Drugs
Offensive: Detects Offensive Symbols, Flags, and Gestures.
Celebrities: Detects Celebrities.
Text: Detects if text has been added to an photo (ie Memes)

Example: cats=nudity,wad,offensive,celebrities,text

Example Response
<?xml version="1.0" encoding="utf-8" ?> 
<rsp stat="ok">
		<name>ashton kutcher</name>
		<name>todd herzog</name>
		<name>jameson parker</name>
Error Codes
100: Invalid API Key
The API key passed was not valid.
101: API Key is inactive
The API key passed is inactive or has been revoked.
102: API Key was not included in request
This method requires an API Key.
103: Not a valid URL
The submitted URL is not valid.
104: Unsupported format
AIM only accepts JPEG, PNG, WEBP and multi-frame GIF Formats.
105: Unable to locate photo
The URL returned a 404 or an photo was not found.
106: Out of Requests
Out of Requests, Please refill.
107: Photo too small
Photo should be at least 50 pixels in height or width.
108: Undefined category name
A category name that we do not support was provided.