AI Document Workflow
Document → Sensitive Data Redaction → Share
Detect common sensitive values in a document image and create a redacted PNG before sharing.
ai-sensitive-data-redactor
InputDocument image
Final resultRedacted PNG
Tools usedai-sensitive-data-redactor
Complete code
const safe = await client.run("ai-sensitive-data-redactor", {
file: documentImage,
options: { style: "black" }
});
const redactedFile = safe.files[0];
Before adapting this recipe, use client.describe(toolId) or the Tool Reference page to verify exact file limits, option values, and supported modes.