Hive's AI-Generated Image and Video Detection API takes an input image and determines whether or not that image is entirely AI-generated. The AI-Generated Image and Video Detection API has two heads:

Generation classification: ai_generated, not_ai_generated
Source classification: dalle, midjourney, stablediffusion, hive, gan, bingimagecreator, adobefirefly, kandinsky, stablediffusionxl, lcm, pixart, glide, imagen, amused, stablecascade, deepfloyd, vqdiffusion, wuerstchen, titan, inconclusive (no source identified) or none (image is not AI-generated)

The confidence scores for each model head sum to 1.

The first head gives a binary classification for all images, identifying whether or not they were AI generated and the accompanying confidence score. The second head provides further details as to the image's source, with support for the most popular AI art generators currently in use. If the model cannot identify a source, it will return none under the source head. An example response is shown below:

{
    "status": [
        {
            "status": {
                "code": "0",
                "message": "SUCCESS"
            },
            "response": {
                "input": {
                    "id": "abcdefghijklmnopqrstuvwxyz",
                    "created_on": "2024-02-29T01:03:24.012Z",
                    "media": {
                        "url": null,
                        "filename": "happy-kid.jpg",
                        "type": "PHOTO",
                        "mime_type": "jpeg",
                        "mimetype": "image/jpeg",
                        "width": 1680,
                        "height": 1050,
                        "num_frames": 1,
                        "duration": 0
                    },
                    "user_id": 1234,
                    "project_id": 56789
                },
                "output": [
                    {
                        "time": 0,
                        "classes": [
                            {
                                "class": "not_ai_generated",
                                "score": 0.9975849814723903
                            },
                            {
                                "class": "ai_generated",
                                "score": 0.0024150185276097928
                            },
                            {
                                "class": "bingimagecreator",
                                "score": 9.246947203591525e-07
                            },
                            {
                                "class": "adobefirefly",
                                "score": 0.00027185452114518053
                            },
                            {
                                "class": "lcm",
                                "score": 3.9213190889253314e-08
                            },
                            {
                                "class": "dalle",
                                "score": 0.0002884381943564937
                            },
                            {
                                "class": "pixart",
                                "score": 7.833582225970006e-08
                            },
                            {
                                "class": "glide",
                                "score": 1.1971403705924412e-07
                            },
                            {
                                "class": "stablediffusion",
                                "score": 0.0006276549925196311
                            },
                            {
                                "class": "imagen",
                                "score": 2.994052254296914e-06
                            },
                            {
                                "class": "inconclusive",
                                "score": 0.0005176225280342958
                            },
                            {
                                "class": "amused",
                                "score": 3.1126008736140704e-08
                            },
                            {
                                "class": "stablecascade",
                                "score": 9.48328706805774e-08
                            },
                            {
                                "class": "midjourney",
                                "score": 0.0005551656758772659
                            },
                            {
                                "class": "hive",
                                "score": 9.011603796456029e-06
                            },
                            {
                                "class": "deepfloyd",
                                "score": 1.1786765338128739e-07
                            },
                            {
                                "class": "gan",
                                "score": 1.3019872557209674e-05
                            },
                            {
                                "class": "stablediffusionxl",
                                "score": 1.0469793669988667e-05
                            },
                            {
                                "class": "vqdiffusion",
                                "score": 6.058604788590344e-08
                            },
                            {
                                "class": "kandinsky",
                                "score": 4.674019433138198e-06
                            },
                            {
                                "class": "wuerstchen",
                                "score": 2.829689781782269e-07
                            },
                            {
                                "class": "titan",
                                "score": 2.1734503375784152e-07
                            },
                            {
                                "class": "none",
                                "score": 0.997697128061993
                            }
                        ]
                    }
                ]
            }
        }
    ]
}