Image moderation evaluates a single image against vision-language classifiers (for NSFW, AI adult general, and underage detection) plus any per-client custom categories you have configured.Documentation Index
Fetch the complete documentation index at: https://docs.omnifence.ai/llms.txt
Use this file to discover all available pages before exploring further.
Input
Submit amultipart/form-data request with:
| Field | Type | Required | Description |
|---|---|---|---|
image_url | string | Yes | Publicly reachable HTTP or HTTPS URL of the image to scan. The classifiers fetch it directly. |
webhook_url | string | No | URL to receive the result on completion. |
The
image_url must be a public HTTP or HTTPS URL. URLs using another scheme, or resolving to a
private or internal network address, are rejected with 400 INVALID_REQUEST.Pipeline
Checks run in parallel on the submitted image:VLM classification
A vision-language model analyses the image for each configured visual moderation category — by default NSFW, AI adult general, and underage. Disabled categories are skipped at enqueue time.Custom VLM categories
If your client has any custom categories enabled, each one runs as an additional VLM child job in parallel. Results are returned nested undercategories.custom
on the completed job.
Output
When all child checks complete, the parent job merges the results:categories.custom is always present — an empty object means no custom categories ran for this job.
See decision logic for how the prohibition decision is determined.