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

google-deepmind /shieldgemma-2-4b-it:d6db0e17

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
image
string
Input image to check for safety
policy_type
string (enum)
sexually_explicit

Options:

sexually_explicit, dangerous_content, violence_gore

Type of policy to check against

Output schema

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

Schema
{'title': 'Output', 'type': 'object'}