{
"model": "omni-moderation-latest",
"input": "这是一条测试文本"
}curl --location '/v1/moderations' \
--header 'Content-Type: application/json' \
--data '{
"model": "omni-moderation-latest",
"input": "这是一条测试文本"
}'{
"id": "modr-abc123",
"model": "omni-moderation-latest",
"results": [
{
"flagged": false,
"categories": {
"violence": false,
"hate": false,
"sexual": false
},
"category_scores": {
"violence": 0.001,
"hate": 0.0001,
"sexual": 0.0002
}
}
]
}