← 文本与内容工具

不良内容过滤

GET /profanity/filter

过滤文本中的不良内容,用星号或自定义替换词替换不良词汇。支持添加自定义过滤词。

参数

text 必填

Text to filter

add 可选

Additional words to filter (comma-separated)

fill_char 可选

Replacement character (default: *)

fill_text 可选

Replacement text instead of characters

请求示例

基本用法
curl "https://nordapi.ee/api/v1/profanity/filter?text=hello+world"

实时响应

{
  "data": {
    "result": "hello world"
  },
  "success": true
}