Skip to main content
メソッド: client.GenerateModeration(...)またはclient.CreateModeration(...)

例

主なパラメーター

  • model(必須): モデレーションモデルのID(例: openai/omni-moderation-latest)。
  • input(必須): 文字列、またはコンテンツ項目(テキストまたはimage_url)の配列。
  • 任意: categories/severityフィルター(対応している場合)とuserタグ。

戻り値

ModerationResponse
最終更新日 2026年10月2日