Textmoderation

text/moderation/google by Google Cloud
TextmoderationStandardmodell des Anbieters · Synchron · Texteingabe
Price from
5 $ / 1M Zeichen
Tasks
1
Textmoderation
Regions
Mode
synchronisieren
Input
Text
Output
nsfw_likelihood, items, nsfw_likelihood_score

About Textmoderation von Google Cloud

Bei der Textmoderation wird der Text auf anstößige, sexuell explizite oder anzügliche Inhalte überprüft; außerdem wird geprüft, ob Inhalte vorhanden sind, die Selbstverletzung, Gewalt, Rassismus oder Hassreden betreffen.

Textmoderation von Google Cloud ist das Standardmodell von Google Cloud für die Aufgabe „Textmoderation“, verfügbar auf Eden AI, ab 5 $ / 1M Zeichen. Rufen Sie es mit demselben API-Schlüssel wie alle anderen Eden-AI-Modelle auf, indem Sie seinen Modell-String an den Universal-AI-Endpoint senden.

Learn more about Textmoderation APIs on Eden AI

Tasks and prices

Textmoderation von Google Cloud is available on Eden AI for 1 tasks. Jede Aufgabe hat ihren eigenen Modell-String und Preis: Senden Sie diesen String an den Universal-AI-Endpoint, um das Modell für diese Aufgabe zu nutzen.

Task
Price
Regions
Mode
Docs
Playground
Textmoderationtext/moderation/google
5 $ / 1M Zeichen
synchronisieren

Parameters

What you send and what you get back when you call Textmoderation von Google Cloud through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.

Eingabe

  • text (Pflichtfeld): Text. Zu moderierender Text
  • language: Text. ISO 639-1-Sprachcode

Antwort

  • nsfw_likelihood
  • items
  • nsfw_likelihood_score

Estimate your monthly cost

Enter your monthly volume for Textmoderation to compare Textmoderation von Google Cloud with its cheapest alternatives.

Call Textmoderation von Google Cloud with Eden AI

Senden Sie den Modell-String an den Universal-AI-Endpoint. Um ein anderes Modell zu nutzen, kopieren Sie dessen String aus der Tabelle oben.

import requests

response = requests.post(
    "https://api.edenai.run/v3/universal-ai",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "text/moderation/google",
        "input": {"text": "Eden AI bietet Ihnen über eine einzige API Zugriff auf die besten KI-Modelle."},
    },
)
print(response.json())

Questions about Textmoderation von Google Cloud

On Eden AI, Textmoderation von Google Cloud costs 5 $ / 1M Zeichen for Textmoderation. The Tasks and prices table lists the price for each task, and you only pay for what you use.

On Eden AI, Textmoderation von Google Cloud is available for: Textmoderation. Input: Text. Output: nsfw_likelihood, items, nsfw_likelihood_score.

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

More from Google Cloud

Other Google Cloud models on Eden AI, for every task.