Create a moderation inference

Submit content for moderation using the specified model

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The model API name to use for moderation (e.g., nudity-detection, violence-detection)

string

Text content to moderate (for text models)

string

URL of the image to moderate (for image models)

string

Base64-encoded image data (alternative to image_url)

string

Base64-encoded PDF data (for OCR model, billed per page)

string

URL of the video to moderate (for video models)

string

Base64-encoded video data (alternative to video_url)

string

URL of the audio to moderate (for audio models)

string

Base64-encoded audio data (alternative to audio_url)

metadata
object

Additional metadata for the inference

string

Idempotency key for request deduplication

image_urls
array of strings

Array of image URLs (for batch image processing)

image_urls
base64_images
array of strings

Array of base64-encoded images (for batch image processing)

base64_images
int32
1 to 10
Defaults to 4

Frames per second to extract from video (1-10)

float
Defaults to 0.5

Face matching distance threshold (0.3-0.7, lower = stricter)

boolean
Defaults to false

Extract cropped face PNG for best match

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json