
Text Anonymization
About Microsoft Azure Text Anonymization
The personally identifiable information (PII) detection feature can identify and redact sensitive information in unstructured text. For example: phone numbers, email addresses, and forms of identification. Removing these personally identifiable information helps with the Anonymization of a text and privacy protection.
Microsoft Azure Text Anonymization is Microsoft Azure's default model for Text Anonymization available on Eden AI for Text Anonymization, from $0.25 / 1M characters. Call it with the same API key as every other Eden AI model by sending its model string to the Universal AI endpoint, with processing in Europe.
Tasks and prices
Microsoft Azure Text Anonymization is available on Eden AI for 1 tasks. Each task has its own model string and price: send that string to the Universal AI endpoint to use the model for that task.
Parameters
What you send and what you get back when you call Microsoft Azure Text Anonymization 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 (required): text. Text to detect personal information in
- language: text. ISO 639-1 language code
Response
- result
- entities
Estimate your monthly cost
Enter your monthly volume for Text Anonymization to compare Microsoft Azure Text Anonymization with its cheapest alternatives.
Call Microsoft Azure Text Anonymization with Eden AI
Send the model string to the Universal AI endpoint. To use another model, copy its string from the table above.
import requests
response = requests.post(
"https://api.edenai.run/v3/universal-ai",
headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
json={
"model": "text/anonymization/microsoft",
"input": {"text": "Eden AI gives you access to the best AI models through one API."},
},
)
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/anonymization/microsoft", "input": {"text": "Eden AI gives you access to the best AI models through one API."}}'
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/anonymization/microsoft",
input: {"text": "Eden AI gives you access to the best AI models through one API."},
}),
});
console.log(await response.json());
"text": "Eden AI gives you access to the best AI models through one API."
Questions about Microsoft Azure Text Anonymization
On Eden AI, Microsoft Azure Text Anonymization costs $0.25 / 1M characters for Text Anonymization. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Microsoft Azure Text Anonymization is available for: Text Anonymization. Input: Text. Output: result, entities.
Eden AI offers Text Anonymization from 3 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for Text Anonymization
Other Text Anonymization models you can call with the same key, cheapest first.
More from Microsoft Azure
Other Microsoft Azure models on Eden AI, for every task.

