SDK レシピ›文書 → 機密情報マスキング → 共有
AI Document Workflow

文書 → 機密情報マスキング → 共有

文書画像の機密情報を検出し、共有前にマスキング済みPNGを作成します。

ai-sensitive-data-redactor
入力Document image
最終結果Redacted PNG
使用 Toolai-sensitive-data-redactor

完全なコード

const safe = await client.run("ai-sensitive-data-redactor", {
  file: documentImage,
  options: { style: "black" }
});
const redactedFile = safe.files[0];
このレシピを変更する前に client.describe(toolId) または Tool Reference でファイル制限、オプション値、対応モードを確認してください。