Omni Moderation API

openai/omni-moderation-latest
Text + HTTPS image · 0 credits

Omni Moderation evaluates text prompts and up to one HTTPS image URL across OpenAI's safety taxonomy at 0 credits per request. The Omni Moderation API returns the complete verdict, category flags, confidence scores, and modality attribution in data.output.

Input

Drag and drop files, paste from clipboard, or provide a URL. Optional. At most 1 public https:// image URL (no Base64).

1/1 files added

Output
Not flagged — passed safety categories
omni-moderation-latest · modr-5372
Category confidence scores
violence
text · image0.0005
sexual
text · image0.0000
violence/graphic
text · image0.0000
harassment
text0.0000
sexual/minors
text0.0000
self-harm
text · image0.0000
illicit
text0.0000
hate
text0.0000
harassment/threatening
text0.0000
illicit/violent
text0.0000
self-harm/intent
text · image0.0000
self-harm/instructions
text · image0.0000
hate/threatening
text0.0000
0 credits ($0.00) per moderation request. Results return in data.output.
Continue with

Examples

Click to load real moderation input and data.output verdict

What is the Omni Moderation API?

Omni Moderation brings OpenAI's multimodal content safety classifier to Vidgo's unified asynchronous task workflow at 0 credits per request. Submit text in prompt, one HTTPS image URL in image_urls, or both to the Omni Moderation API; the finished status returns an empty files array alongside the full OpenAI moderation verdict and category scores in data.output.

Why choose the Omni Moderation API?

The Omni Moderation API provides free multimodal text and image safety screening through Vidgo's standard async task and webhook flow.

  • Free multimodal safety screeningScreen both text and images for 0 credits before passing user inputs to paid generation models.

  • Complete OpenAI moderation payloadReturns flagged status, category booleans, confidence scores, and category_applied_input_types intact in data.output.

  • Unified Vidgo task & webhook flowReuse your existing /api/generate/submit, /api/generate/status/{task_id}, and callback_url integration.

What parameters does the Omni Moderation API accept?

This API accepts prompt text, up to one public HTTPS URL in image_urls, or both together (at least one input is required).

ParameterRequirementDescription
promptOptional (at least one input)

Text string to classify across safety categories.

Default—
image_urlsOptional (at least one input)

Array with at most 1 public HTTPS image URL (Base64 data URIs are not accepted).

Default—

How do you use the Omni Moderation API?

Supply text, one HTTPS image URL, or both, submit openai/omni-moderation-latest, and read the verdict from data.output.

  1. Supply text, an image, or bothEnter text in prompt and/or attach one HTTPS image URL in image_urls.

  2. Submit to /api/generate/submitSend model openai/omni-moderation-latest with your input object.

  3. Poll status or receive callbackWait until status is finished (data.output is null prior to completion).

  4. Apply policy thresholdsCheck data.output.results[0].flagged and category_scores against your app's rules.

How much does the Omni Moderation API cost?

The Omni Moderation API costs 0 credits ($0.00) per text, image, or multimodal moderation request.

UsageRateDetails
Moderation check0 credits / request$0.00 per text, image, or multimodal moderation task.

What is the Omni Moderation API best for?

This API fits pre-generation prompt and image guardrails, UGC community triage, and custom score-threshold moderation.

  • Pre-generation prompt & image guardrailsFilter user prompts and reference uploads before calling paid image or video generation endpoints.

  • UGC community moderationAutomate triage of forum posts, comments, and user-uploaded images.

  • Custom threshold enforcementUse raw category_scores to apply stricter or softer thresholds per product category.

Pro Tips

  • Ensure image_urls uses https:// without whitespace; upload local files to HTTPS storage rather than sending Base64.
  • Inspect category_applied_input_types to see whether a flag originated from the text prompt or the image.

Notes

  • At least one of prompt or image_urls must be provided.
  • data.files is always an empty array; the moderation response is placed in data.output.

Omni Moderation API FAQ

What is the Omni Moderation API?

Omni Moderation is an OpenAI multimodal content safety model that evaluates text and images for policy risk categories. The Omni Moderation API accepts text in prompt and/or up to one HTTPS image URL and returns flagged booleans, category confidence scores, and input-type attribution at 0 credits. Running through the unified Vidgo task flow makes it easy to place before paid generation calls. You can call it programmatically or try it from the playground above.

How much does the Omni Moderation API cost?

It costs 0 credits ($0.00) per request.

Can the Omni Moderation API review both text and images together?

Yes. You can pass prompt alone, one HTTPS URL in image_urls alone, or both in the same request.

Why does Omni Moderation reject Base64 or HTTP image URLs?

image_urls accepts a single public HTTPS URL with no whitespace; Base64 data URIs and plain HTTP URLs are rejected with a 400 validation error.

Where is the result returned in the Omni Moderation status response?

Unlike image or video models, data.files is always empty ([]) and the complete OpenAI moderation JSON is returned in data.output (null until finished).

Does the Omni Moderation API support webhook callbacks?

Yes. Supply a top-level callback_url when submitting and Vidgo will POST the terminal task object including output when finished.

How many images can Omni Moderation process per request?

At most 1 HTTPS image URL per request.