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

littletry /video-nsfw-filter:cca11b2c

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
video
string
Video file to check for visual NSFW content.
num_frames
integer
8

Min: 1

Uniform samples across the declared frame range; 2+ samples include both ends. One sample selects the middle. Short videos are deduplicated.
threshold_offset
number
0.02

Max: 0.1

Additional NSFW similarity margin. Higher values are less strict; this is not a probability threshold.
strict_special_care
boolean
True
Preserve the original stricter normal-concept matching when special-care concepts match.
batch_size
integer
8

Min: 1

Maximum sampled frames per inference batch; reduce for large-resolution videos.
return_frames
None
none
Return no screenshots, only NSFW-matched samples, or all sampled frames as JPEG file outputs.

Output schema

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

Schema
{'properties': {'checked_frames': {'title': 'Checked Frames',
                                   'type': 'integer'},
                'declared_frame_count': {'title': 'Declared Frame Count',
                                         'type': 'integer'},
                'detector_id': {'title': 'Detector Id', 'type': 'string'},
                'exported_frame_count': {'title': 'Exported Frame Count',
                                         'type': 'integer'},
                'flagged_frame_count': {'title': 'Flagged Frame Count',
                                        'type': 'integer'},
                'flagged_frames': {'items': {'type': 'integer'},
                                   'title': 'Flagged Frames',
                                   'type': 'array'},
                'fps': {'nullable': True, 'title': 'Fps', 'type': 'number'},
                'frames': {'items': {'type': 'object'},
                           'title': 'Frames',
                           'type': 'array'},
                'image_01': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 01',
                             'type': 'string'},
                'image_02': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 02',
                             'type': 'string'},
                'image_03': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 03',
                             'type': 'string'},
                'image_04': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 04',
                             'type': 'string'},
                'image_05': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 05',
                             'type': 'string'},
                'image_06': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 06',
                             'type': 'string'},
                'image_07': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 07',
                             'type': 'string'},
                'image_08': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 08',
                             'type': 'string'},
                'image_09': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 09',
                             'type': 'string'},
                'image_10': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 10',
                             'type': 'string'},
                'image_11': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 11',
                             'type': 'string'},
                'image_12': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 12',
                             'type': 'string'},
                'image_13': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 13',
                             'type': 'string'},
                'image_14': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 14',
                             'type': 'string'},
                'image_15': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 15',
                             'type': 'string'},
                'image_16': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 16',
                             'type': 'string'},
                'image_17': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 17',
                             'type': 'string'},
                'image_18': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 18',
                             'type': 'string'},
                'image_19': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 19',
                             'type': 'string'},
                'image_20': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 20',
                             'type': 'string'},
                'image_21': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 21',
                             'type': 'string'},
                'image_22': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 22',
                             'type': 'string'},
                'image_23': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 23',
                             'type': 'string'},
                'image_24': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 24',
                             'type': 'string'},
                'image_25': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 25',
                             'type': 'string'},
                'image_26': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 26',
                             'type': 'string'},
                'image_27': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 27',
                             'type': 'string'},
                'image_28': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 28',
                             'type': 'string'},
                'image_29': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 29',
                             'type': 'string'},
                'image_30': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 30',
                             'type': 'string'},
                'image_31': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 31',
                             'type': 'string'},
                'image_32': {'format': 'uri',
                             'nullable': True,
                             'title': 'Image 32',
                             'type': 'string'},
                'nsfw_detected': {'title': 'Nsfw Detected', 'type': 'boolean'},
                'output_schema_version': {'title': 'Output Schema Version',
                                          'type': 'integer'},
                'planned_frames': {'title': 'Planned Frames',
                                   'type': 'integer'},
                'policy_version': {'title': 'Policy Version', 'type': 'string'},
                'requested_frames': {'title': 'Requested Frames',
                                     'type': 'integer'},
                'return_frames': {'title': 'Return Frames', 'type': 'string'},
                'sampling': {'title': 'Sampling', 'type': 'string'},
                'sampling_complete': {'title': 'Sampling Complete',
                                      'type': 'boolean'},
                'scope': {'title': 'Scope', 'type': 'string'},
                'strict_special_care': {'title': 'Strict Special Care',
                                        'type': 'boolean'},
                'threshold_offset': {'title': 'Threshold Offset',
                                     'type': 'number'},
                'timestamp_source': {'title': 'Timestamp Source',
                                     'type': 'string'}},
 'required': ['output_schema_version',
              'nsfw_detected',
              'scope',
              'sampling',
              'sampling_complete',
              'requested_frames',
              'planned_frames',
              'checked_frames',
              'flagged_frame_count',
              'flagged_frames',
              'exported_frame_count',
              'declared_frame_count',
              'timestamp_source',
              'detector_id',
              'policy_version',
              'threshold_offset',
              'strict_special_care',
              'return_frames',
              'frames'],
 'title': 'Output',
 'type': 'object'}