Text Moderation Stable

text/moderation/openai/text-moderation-stable by OpenAI
Moderazione del testoSincrono · Input testo
Price from
Gratis
Tasks
1
Moderazione del testo
Regions
Stati Uniti
Mode
sync
Input
Testo
Output
nsfw_likelihood, items, nsfw_likelihood_score

About OpenAI Text Moderation Stable

La moderazione dei testi analizza i contenuti alla ricerca di elementi offensivi, sessualmente espliciti o allusivi, verificando inoltre la presenza di contenuti relativi all'autolesionismo, alla violenza, al razzismo o all'incitamento all'odio.

OpenAI Text Moderation Stable è un modello di OpenAI disponibile su Eden AI per l’attività «Moderazione del testo», a partire da Gratis. Chiamalo con la stessa chiave API di tutti gli altri modelli di Eden AI, inviando la sua stringa del modello all’endpoint Universal AI, con elaborazione negli Stati Uniti.

Learn more about Moderazione del testo APIs on Eden AI

Tasks and prices

OpenAI Text Moderation Stable is available on Eden AI for 1 tasks. Ogni attività ha la propria stringa del modello e il proprio prezzo: invia quella stringa all’endpoint Universal AI per usare il modello per quell’attività.

Task
Price
Regions
Mode
Docs
Playground
Moderazione del testotext/moderation/openai/text-moderation-stable
Gratis
sync

Parameters

What you send and what you get back when you call OpenAI Text Moderation Stable through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.

Input

  • text (obbligatorio): testo. Testo da moderare
  • language: testo. Codice lingua ISO 639-1

Risposta

  • nsfw_likelihood
  • items
  • nsfw_likelihood_score

Estimate your monthly cost

Enter your monthly volume for Moderazione del testo to compare OpenAI Text Moderation Stable with its cheapest alternatives.

Call OpenAI Text Moderation Stable with Eden AI

Invia la stringa del modello all’endpoint Universal AI. Per usare un altro modello, copia la sua stringa dalla tabella qui sopra.

import requests

response = requests.post(
    "https://api.edenai.run/v3/universal-ai",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "text/moderation/openai/text-moderation-stable",
        "input": {"text": "Eden AI ti dà accesso ai migliori modelli di IA tramite un’unica API."},
    },
)
print(response.json())

Questions about OpenAI Text Moderation Stable

On Eden AI, OpenAI Text Moderation Stable costs Gratis for Moderazione del testo. The Tasks and prices table lists the price for each task, and you only pay for what you use.

On Eden AI, OpenAI Text Moderation Stable is available for: Moderazione del testo. Input: Testo. Output: nsfw_likelihood, items, nsfw_likelihood_score.

Eden AI offers Moderazione del testo from 4 providers, all callable with the same API key. The cheapest models are compared just below.

More from OpenAI

Other OpenAI models on Eden AI, for every task.