Skip to content
هذه الصفحة غير متاحة بلغتك بعد، لذا تُعرض باللغة الإنجليزية.
OpenAI · OpenAI Moderation

omni-moderation-latest API

Moderate text, images, and mixed text+image content with OpenAI's omni-moderation-latest on APISea.

الإشراف على المحتوىالمحادثة والنصمتزامن
معرّف النموذج
omni-moderation-latest

تسعير API لنموذج omni-moderation-latest

جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.

نوع الـ tokenAPISeaرسميوفّر
الإدخال لكل 1M رمز$0.176$0.20−12%
الإخراج لكل 1M رمز$0.176$0.20−12%

ما هو omni-moderation-latest؟

OpenAI's omni-moderation-latest is a general-purpose content moderation model for checking input content for safety. On APISea, it supports text, images, and mixed text+image inputs, making it suited to moderation workflows for messages, submissions, and image-bearing posts. Submit a single text string, an array of text strings, or an array of content blocks. Image inputs can use publicly accessible URLs or base64 Data URIs. This is a moderation model, not an image, video, or audio generation model.

Call POST /v1/moderations with your APISea Bearer token and the required model and input parameters. Keep stream set to false; streaming is not currently supported. The maximum input is 32,768 tokens. APISea charges $0.176 per 1M tokens for input and $0.176 per 1M tokens for output, with pay-as-you-go billing only for successful requests. The default configuration is about 12% below the provider list price.

أبرز مزايا omni-moderation-latest

Multimodal Safety Moderation

Moderate text, image, or mixed text+image content with one general-purpose OpenAI moderation model.

Flexible Input Formats

The input parameter accepts a single text string, a text array, or a content block array.

Two Image Input Options

Provide images through public URLs or base64 Data URIs. Content block arrays distinguish text and images using the type field.

Below List Pricing

APISea input and output each cost $0.176 per 1M tokens. The default configuration is about 12% below the provider list price.

كيفية استدعاء API الخاص بـ omni-moderation-latest في 4 خطوات

  1. 01

    احصل على API key

    سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.

  2. 02

    اضبط عنوان URL الأساسي

    استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.

  3. 03

    أرسل الطلب

    استدعِ POST /v1/moderations مع "model": "omni-moderation-latest" والمعلمات أدناه.

  4. 04

    تعامل مع الاستجابة

    اقرأ الاستجابة (أو استقبل الـ tokens بالتدفق باستخدام stream: true). يظهر الاستخدام والتكلفة في وحدة التحكم.

curl https://api.apisea.ai/v1/moderations \
  -H "Authorization: Bearer $APISEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "omni-moderation-latest",
    "input": "Text you want to screen before publishing"
  }'

المعلمات

المعلمةالنوعمطلوبافتراضيالوصف
modelstringمطلوب—Moderation model name.
inputstring | string[] | object[]مطلوب—Content to be moderated. Supports plain text, text array, or content block array.
streambooleanاختياريfalseWhether to stream the response.

ما الذي يمكنك إنشاؤه باستخدام omni-moderation-latest

Message Moderation

Add safety moderation to user messages or text submissions before your application displays or processes them.

Image Submission Checks

Build a moderation step for user-submitted images using publicly accessible image URLs or base64 Data URIs.

Mixed-Content Post Review

Submit text and image blocks together to moderate posts that contain both captions and images.

Text Review Workflows

Use text array inputs in moderation workflows for collections of comments, messages, or other text submissions.

نصائح للحصول على نتائج أفضل

  • 01

    Use the Moderation Endpoint

    Send requests to https://api.apisea.ai/v1/moderations with Bearer authentication. Set model to omni-moderation-latest and provide the required input parameter.

  • 02

    Match the Input Structure

    Use a string for single text, string[] for text arrays, and object[] for content blocks. In block arrays, use type to distinguish text and image_url blocks.

  • 03

    Prefer Public Image URLs

    For image moderation, prefer publicly accessible URLs. If using base64, follow the Data URI format data:image/{format};base64,{data}.

  • 04

    Keep Streaming Disabled

    Set stream to false consistently, or rely on its false default. The true value is not currently supported.

القيود ومعلومات مهمة

  • Maximum input is 32,768 tokens.

  • Streaming is not supported; stream must be false.

  • This model moderates content and does not generate images, video, or audio.

الأسئلة الشائعة حول API الخاص بـ omni-moderation-latest

What is omni-moderation-latest used for?

omni-moderation-latest is OpenAI's general-purpose content moderation model. It performs safety moderation on text, images, and mixed text+image input.

How much does omni-moderation-latest cost on APISea?

Input costs $0.176 per 1M tokens, and output costs $0.176 per 1M tokens. The default configuration is about 12% below the provider list price, and APISea bills only for successful requests.

How do I call omni-moderation-latest through APISea?

Send a POST request to https://api.apisea.ai/v1/moderations with your APISea API key as a Bearer token. Include model set to omni-moderation-latest and the content in input.

Which parameters and image formats does it accept?

The required parameters are model and input; input accepts a string, string array, or content block array. Images can be supplied through public URLs or base64 Data URIs, and the optional stream parameter defaults to false.

What is the input limit, and does it support streaming?

The maximum input is 32,768 tokens. Streaming is not currently supported, so keep stream set to false.

Can I use omni-moderation-latest in a commercial application?

Commercial use is subject to the provider's terms. Review the applicable OpenAI terms and APISea documentation before deploying your moderation workflow.

نماذج ذات صلة

العمق: أكثر من 250 نموذجًا · الحد الأدنى لشحن الرصيد $50

ابدأ التطوير باستخدام omni-moderation-latest

مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.