Text Moderation Stable

text/moderation/openai/text-moderation-stable by OpenAI
Moderación de textoSíncrono · Entrada de texto
Price from
Gratis
Tasks
1
Moderación de texto
Regions
Estados Unidos
Mode
sync
Input
Texto
Output
nsfw_likelihood, items, nsfw_likelihood_score

About OpenAI Text Moderation Stable

La moderación de textos analiza el texto en busca de contenido ofensivo, sexualmente explícito o sugerente, y también comprueba si hay algún contenido relacionado con la autolesión, la violencia, el racismo o el discurso de odio.

OpenAI Text Moderation Stable es un modelo de OpenAI disponible en Eden AI para la tarea «Moderación de texto», desde Gratis. Llámalo con la misma clave API que cualquier otro modelo de Eden AI, enviando su cadena de modelo al endpoint Universal AI, con procesamiento en Estados Unidos.

Learn more about Moderación de texto APIs on Eden AI

Tasks and prices

OpenAI Text Moderation Stable is available on Eden AI for 1 tasks. Cada tarea tiene su propia cadena de modelo y su propio precio: envía esa cadena al endpoint Universal AI para usar el modelo en esa tarea.

Task
Price
Regions
Mode
Docs
Playground
Moderación de textotext/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.

Entrada

  • text (obligatorio): texto. Texto para moderar
  • language: texto. Código de idioma ISO 639-1

Respuesta

  • nsfw_likelihood
  • items
  • nsfw_likelihood_score

Estimate your monthly cost

Enter your monthly volume for Moderación de texto to compare OpenAI Text Moderation Stable with its cheapest alternatives.

Call OpenAI Text Moderation Stable with Eden AI

Envía la cadena de modelo al endpoint Universal AI. Para usar otro modelo, copia su cadena de la tabla de arriba.

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 te da acceso a los mejores modelos de IA a través de una sola API."},
    },
)
print(response.json())

Questions about OpenAI Text Moderation Stable

On Eden AI, OpenAI Text Moderation Stable costs Gratis for Moderación de texto. 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: Moderación de texto. Input: Texto. Output: nsfw_likelihood, items, nsfw_likelihood_score.

Eden AI offers Moderación de texto 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.