
Textmoderation
About Textmoderation von Microsoft Azure
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 Microsoft Azure ist das Standardmodell von Microsoft Azure für die Aufgabe „Textmoderation“, verfügbar auf Eden AI, ab 1 $ / 1K Anfragen. 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, mit Verarbeitung in Europa.
Tasks and prices
Textmoderation von Microsoft Azure 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.
Parameters
What you send and what you get back when you call Textmoderation von Microsoft Azure 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 Microsoft Azure with its cheapest alternatives.
Call Textmoderation von Microsoft Azure 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/microsoft",
"input": {"text": "Eden AI bietet Ihnen über eine einzige API Zugriff auf die besten KI-Modelle."},
},
)
print(response.json())
curl https://api.edenai.run/v3/universal-ai \
-H "Authorization: Bearer YOUR_EDENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "text/moderation/microsoft", "input": {"text": "Eden AI bietet Ihnen über eine einzige API Zugriff auf die besten KI-Modelle."}}'
const response = await fetch("https://api.edenai.run/v3/universal-ai", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_EDENAI_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "text/moderation/microsoft",
input: {"text": "Eden AI bietet Ihnen über eine einzige API Zugriff auf die besten KI-Modelle."},
}),
});
console.log(await response.json());
"text": "Eden AI bietet Ihnen über eine einzige API Zugriff auf die besten KI-Modelle."
Questions about Textmoderation von Microsoft Azure
On Eden AI, Textmoderation von Microsoft Azure costs 1 $ / 1K Anfragen 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 Microsoft Azure 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.
Alternatives for Textmoderation
Other Textmoderation models you can call with the same key, cheapest first.
More from Microsoft Azure
Other Microsoft Azure models on Eden AI, for every task.
.avif)

