Skip to main content
メソッド:client.generateModeration()。

例

主なパラメーター

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

戻り値

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