cURL
curl --request POST \ --url https://api.qclawrouter.com/v1/moderations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "input": "<string>", "model": "text-moderation-latest" } '
{ "id": "<string>", "results": [ { "flagged": true, "categories": {}, "category_scores": {} } ] }
对文本内容进行安全审核。
使用您的 API Key 作为 Bearer Token。在控制台创建令牌获取。
待审核文本
"text-moderation-latest"
审核结果
Show child attributes