You're looking at a specific version of this model. Jump to the model overview.

zhixindev /nsfw-image-detection-2026:12c0e883

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
input_images
array
Input images

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'items': {'properties': {'flagged': {'description': 'Whether the image is '
                                                     'flagged as NSFW.',
                                      'title': 'Flagged',
                                      'type': 'boolean'},
                          'label': {'description': 'Predicted class label.',
                                    'title': 'Label',
                                    'type': 'string'},
                          'score': {'description': 'Confidence score for the '
                                                   'predicted label.',
                                    'title': 'Score',
                                    'type': 'number'}},
           'required': ['label', 'score', 'flagged'],
           'title': 'PredictionResult',
           'type': 'object'},
 'title': 'Output',
 'type': 'array'}