> ## Documentation Index
> Fetch the complete documentation index at: https://phaseo.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 内容审核

> 使用 C# SDK 调用 `/moderations`。

**方法**：`client.GenerateModeration(...)` 或 `client.CreateModeration(...)`

### 示例

```csharp theme={null}
using PhaseoSdk;

var client = new Phaseo(apiKey);
var response = await client.GenerateModeration(new Dictionary<string, object>
{
    ["model"] = "openai/omni-moderation-latest",
    ["input"] = "Text to classify"
});
```

### 主要参数

* `model`（必填）：内容审核模型 ID（例如 `openai/omni-moderation-latest`）。
* `input`（必填）：字符串或内容项数组（文本或 `image_url`）。
* 可选：`categories`/`severity` 筛选条件（受支持时）以及 `user` 标签。

### 返回值

`ModerationResponse`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.