Skip to main content
Glama

invisible

cli_invisible

Regenerate image pixels with diffusion to disrupt invisible AI watermarks such as SynthID. Runs a CUDA-only two-stage pixel scrub while preserving detail.

Instructions

Attempt to disrupt invisible AI watermarks through pixel regeneration.

Regenerates the pixels with the two-stage diffusion profile. CUDA-only:
pip install 'remove-ai-watermarks[qwen-zimage]'

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "source": "<source>"
    },
    "name": "cli_invisible"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNoRandom seed for reproducibility. Default 0: all profiles are certified at a fixed seed, because SynthID removal near the strength floor is seed-dependent.
tileNoProcess large images in overlapping tiles instead of one forward pass. This keeps the input's native dimensions instead of applying --max-resolution, but still regenerates every tile. Engages only when the long side exceeds --tile-size. Default off.
forceNoRun the diffusion scrub even when no invisible AI watermark is locally detectable. Default: skip it (regeneration only degrades a clean image; a skip never claims the image is watermark-free -- this package has no local SynthID pixel decoder).
outputNoOutput path (default: <source>_clean.<ext>).
sourceYessource
vendorNoStrength cohort for the invisible-removal default, and it implies the scrub runs even without a local signal: naming the cohort asserts the pixel watermark is present. auto: derive from C2PA provenance, else resolution-adaptive. Set explicitly when the source is known but unreadable (e.g. meta for Muse Image Content Seal, which never carries C2PA).auto
unsharpNoUnsharp-mask sharpening strength (0 = off, typical: 0.3-0.8).
hf_tokenNoHugging Face API token.
humanizeNoAnalog Humanizer film grain intensity (0 = off, typical: 2.0-6.0).
pipelineNoPipeline profile. qwen-zimage (DEFAULT, Apache-2.0) = Qwen-Image-2512 + Lightning + Canny, followed by SAM-masked Z-Image face repair; qwen21-zimage (NON-COMMERCIAL / PERSONAL & RESEARCH USE ONLY under the Qwen Research License) = Qwen-Image-2.1 + texture-fix VAE + Canny + the same Z-Image face stage; sdxl-zimage = the same recipe and the same face stage on an SDXL global pass, which needs more denoise; chroma-zimage = the same face stage on an Apache-2.0 Chroma1 global pass; auto = pick the commercial-safe engine from the provenance (sdxl-zimage for Google, chroma-zimage for Microsoft, qwen-zimage for OpenAI/Meta/unknown). All are CUDA-ONLY -- install the qwen-zimage extra. There is no CPU or MPS profile for invisible-watermark removal.qwen-zimage
strengthNoDenoising strength (0.0-1.0). Default: profile-adaptive (qwen-zimage uses resolution-adaptive denoise, with flat OpenAI 0.15625 / Google 0.35 / Microsoft InvisMark 0.15 / Meta Content Seal 0.1 floors; qwen21-zimage uses the same curve and floors with OpenAI 0.2, local quality acceptance and Google 0.45; sdxl-zimage uses OpenAI 0.15 / Google 0.5 / unknown 0.5; chroma-zimage uses OpenAI 0.2 / Microsoft 0.125 / Google 0.5 / Meta 0.17, from the C2PA issuer).
tile_sizeNoTile dimension in px for --tile. Default 1024.
cpu_offloadNoOffload model components to CPU between CUDA calls instead of keeping the whole pipeline in VRAM, at the cost of speed. Forces the face stack to offload instead of using automatic residency, on every profile. It reaches the global stack of qwen-zimage, qwen21-zimage, and sdxl-zimage, which also stream theirs automatically on a card too small to hold it; chroma-zimage keeps its global stack resident either way.
tile_overlapNoOverlap between adjacent tiles in px (feather-blended, no seam). Default 128.
text_manifestNoExperimental verified-text restoration manifest. Requires the text-restoration extra, native untiled geometry, and no postprocessing.
max_resolutionNoCap long side (px) before diffusion; 0 = native and preserves the most detail. Raise only on GPU OOM.
adaptive_polishNoRestore the input's detail level after removal (capped unsharp + edge-masked grain targeting the input's sharpness, sparing text), countering the over-smoothed look. Unset follows the profile: ON for sdxl-zimage, OFF for qwen-zimage, whose upstream-matching output is left unchanged. It self-limits where there is no detail deficit (text/flat graphics). Independent of --unsharp/--humanize.
fidelity_anchorNoWith --text-manifest: blend 15% of the Qwen-VAE donor across the whole frame. Off by default - the global blend was measured to return detector-visible OpenAI SynthID on poster-scale manifests.
controlnet_scaleNoCanny ControlNet conditioning scale on the global stage (structure/text preservation strength). Higher = closer to original structure.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.58.1

TDQS

B3.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations supply only openWorldHint=false, so the description carries most of the burden. It usefully discloses the hard CUDA-only constraint and the required install extra, which are real invocation blockers not in the annotations. It does not disclose the material behavior an agent needs: that this rewrites image pixels destructively and writes a new file to disk rather than reporting a result.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the purpose before the mechanism and the install requirement. Nothing is padded, though the install line sits oddly at the end of a description rather than being framed as a precondition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 19-parameter diffusion tool with no output schema, the description is thin: it says nothing about what the tool produces (a written output file at <source>_clean.<ext>), how long a CUDA diffusion run takes, or what failure looks like. The rich schema and the CUDA/install notes cover enough that an agent can call it, but the completeness is only adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and the parameter docs are unusually detailed (strength floors per vendor, pipeline licensing, tile behavior). The description adds no parameter meaning beyond that, so the baseline of 3 applies; the schema is doing all the work here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Attempt to disrupt invisible AI watermarks through pixel regeneration" states a specific verb (regenerate/disrupt) and a specific resource (invisible pixel watermarks), and "two-stage diffusion profile" narrows the mechanism. It is clear what the tool does, but it never distinguishes itself from the sibling text/video variants (cli_text_invisible, cli_video_invisible), so the agent must infer that this one is the image path.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only conditional guidance is the install prerequisite ("CUDA-only: pip install 'remove-ai-watermarks[qwen-zimage]'"). There is no statement of when to choose this over the text/video invisibility tools or over cli_visible/cli_all, and no when-not-to-use. An agent gets the environment constraint but not the routing rule.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.