ドキュメントが一新されました!旧ドキュメントは doc.newapi.pro
New APINew API
利用ガイドインストールAPI リファレンスAIアプリケーションヘルプ&サポートビジネス協力
AIモデルAPI審査

ネイティブOpenAI形式

テキストコンテンツが利用ポリシーに違反していないか確認する

POST
/v1/moderations

Authorization

BearerAuth

AuthorizationBearer <token>

使用 Bearer Token 认证。 格式: Authorization: Bearer sk-xxxxxx

In: header

Request Body

application/json

input*string|
model?string

Response Body

application/json

curl -X POST "https://loading/v1/moderations" \  -H "Content-Type: application/json" \  -d '{    "input": "string"  }'
{
  "id": "string",
  "model": "string",
  "results": [
    {
      "flagged": true,
      "categories": {},
      "category_scores": {}
    }
  ]
}

このガイドはいかがですか?

最終更新