Anime

API - Inappropriate Content

REQUEST

Analyze an anime (animated) image and rate it for the appropriatenes of it's content for a type of audience - Adult, Teen, Everyone. Tags images with detected labels. Detects names any visible anime characters. Detects copyrights (if any) of image content.
This is a modification of the great work by Masaki Saito and Yusuke Matsui among others.

        https://api.moderatecontent.com/anime/?
        key=your_api_key&
        url=https://www.moderatecontent.com/img/sample_anime_2.jpg
    
ARGUMENTS

key
string
The api key used to reference your account within the system.
f96f44847704d2291b2967536afe8898

url
string
The url pointing at an image accessible over the internet, no larger than 10mb and with a format of either .jpg .png .bmp .gif.
https://www.moderatecontent.com/img/sample_anime_2.jpg
RESPONSE

    {
        "url_classified": "https://www.moderatecontent.com/img/sample_anime_2.jpg",
        "copyright": {
            "mahou shoujo madoka magica": 90.15796184539795
        },
        "tags": {
            "blue hair": 96.95212244987488,
            "blue eyes": 78.46944332122803,
            "2girls": 75.85871815681458,
        },
        "rating_index": 1,
        "rating_letter": "e",
        "character": {
            "tatara kogasa": 0.043006258783861995,
            "inumuta houka": 0.06463138270191848
        },
        "predictions": {
            "teen": 0.22514895536005497,
            "everyone": 99.73723888397217,
            "adult": 0.004922297739540227
        },
        "rating_label": "everyone",
        "error": "",
        "error_code": 0
    }
    

url_classified
string
The url pointing at an image accessible over the internet, no larger than 10mb and with a format of either .jpg .png .bmp .gif.
https://www.moderatecontent.com/img/sample_anime_2.jpg

rating_index
integer
A numeric representation of the content rating (1 = everyone, 2 = teen, 3 = adult).
1

rating_letter
string
A single char representing the content rating (e = everyone, t = teen, a = adult).
e

predictions
object
The classification scores created by the computer vision model for each classification. Values range between 0 and 100.
{ "teen": 0.22514895536005497, "everyone": 99.73723888397217, "adult": 0.004922297739540227 }

teen
double
The score by the computer vision model for the teen classification.
Parent: predictions
0.22514895536005497

everyone
double
The score by the computer vision model for the everyone classification.
Parent: predictions
99.73723888397217

adult
double
The score by the computer vision model for the adult classification.
Parent: predictions
0.004922297739540227

rating_label
string
A label representing the content rating (everyone, teen, adult).
everyone

copyright
object
The owner (if any) of the origional artwork, with a score out of 100 for likelyhood.
{ "mahou shoujo madoka magica": 90.15796184539795 }

tags
object
Image objects detected in the image with a score out of 100 for likelyhood.
{ "blue hair": 96.95212244987488, "blue eyes": 78.46944332122803, "2girls": 75.85871815681458, }

character
object
A list of one or more anime characters detected in the image with a score out of 100 for likelyhood.
{ "tatara kogasa": 0.043006258783861995, "inumuta houka": 0.06463138270191848 }

error_code
integer
A code representing the type of error returned. The value 0 means no error was found.
1024

error
string
Optional
A message representing the type of error returned. This occurs when the error_code is not 0.
No url specified in querystring