# widar documentation

> widar marks AI output for the EU AI Act and California's AI Transparency Act: an invisible watermark and a signed C2PA credential on text, images, audio and video, in one API, by Bynn Intelligence.

Documentation index: https://widar.com/llms.txt

The examples in these docs use invented companies, such as Lumen Labs B.V., and invented values: none is a real check, mark, signature or certificate.

Section: Get started. URL: https://widar.com/docs

widar marks the output of your AI system for Article 50(2) of the EU AI Act and California's AI Transparency Act: an invisible watermark and a signed, timestamped C2PA credential on text, images, audio and video, through one API. Everything in the console is also an API call, a CLI command and an MCP tool.

Updated December 4, 2026

- [Mark your first output](https://widar.com/docs/quickstart): A test key, a system and one call: an image back marked, signed and timestamped.
- [Set up your coding agent](https://widar.com/docs/agent-setup): One line for your agent. It signs up, connects the MCP server and marks a first output in test mode.
- [Mark text in your inference server](https://widar.com/docs/mark/plugins): A plugin for vLLM, SGLang or Hugging Face Transformers. Prompts and outputs stay on your servers.
- [Check a file](https://widar.com/docs/detect): Findings, never a guess: the system and the company behind a mark, who signed the credential, and when.
- [Generate a free C2PA certificate](https://widar.com/docs/certificates): Validate a domain and get a certificate per system, valid 60 days and renewed every 30 by the renewal daemon or your ACME client.
- [Sign your company's documents](https://widar.com/docs/documents): Every invoice and statement your company issues, signed in its name and checkable by anyone on its verify page.

## What widar does

Article 50(2) of the EU AI Act asks a provider of a generative AI system to mark its output in a machine-readable format, detectable as AI-generated. The EU Code of Practice recommends two layers: watermarking and signing. widar does both, in one call: a watermark that stays with the content, and a C2PA credential that says which system made it, for which company, and when, signed with the company's own certificate, issued by widar's certificate authority, and timestamped by widar's timestamp authority. Each system also gets a free public verify page where anyone can check a file.

The products, core first

| Product | What it does | Start with |
| --- | --- | --- |
| Mark | An invisible watermark on text, images, audio and video, by plugin, cloud API, sidecar or the self-hosted edition. | [Mark](https://widar.com/docs/mark) |
| Sign | A C2PA credential on every image, audio, video and PDF output, signed for the system that made it. | [Sign](https://widar.com/docs/sign) |
| Certificates | A free C2PA certificate per system, bound to your validated domain, renewed every 30 days, every one in a public log. | [Free certificates](https://widar.com/docs/certificates) |
| Timestamps | RFC 3161 timestamps on every credential, and for any client of your own. | [Timestamps](https://widar.com/docs/timestamps) |
| Sign documents | Your company's PDFs signed in its name: a PDF signature, a credential, a timestamp and a mark. | [Documents](https://widar.com/docs/documents) |
| Detect | Checks a file for your marks; a free verify page per system for everyone else. | [Check a file](https://widar.com/docs/detect) |
| Shared detection | One detection service for every provider: widar's marks and registered keys of open schemes, read wherever content is checked. | [Shared detection](https://widar.com/docs/detection) |
| Recover | Shows a stripped credential again from the mark. | [Recover](https://widar.com/docs/recover) |
| Compliance center | Checks each system requirement by requirement from widar's records, with alerts, tasks and a trust page. | [Compliance center](https://widar.com/docs/compliance) |
| Classify | Leaves source code and machine-only output unmarked, and records why. | [Classify](https://widar.com/docs/classify) |
| Evidence | A free basic record per system, and a versioned pack that shows a regulator or a buyer how its output is marked. | [Evidence](https://widar.com/docs/evidence) |
| Routes | For routers and hosts: which endpoint or model carries which marking. | [Routes](https://widar.com/docs/routes) |
| Disclose | Visible labels and the EU icons for deployers, with a verify link per output. | [Disclose](https://widar.com/docs/disclose) |

## Choose what you want

At sign-up you say what you want widar for, one or more of three uses. They set the console's menus and first steps; every call, command and tool stays open whatever you chose, and you change them at any time in Settings.

The three uses

| Use | `uses` value | Start with |
| --- | --- | --- |
| Mark and sign AI-generated content | `mark_and_sign` | [Quickstart](https://widar.com/docs/quickstart), then [free certificates](https://widar.com/docs/certificates) |
| Sign my company's documents | `sign_documents` | [Sign your company's documents](https://widar.com/docs/documents) |
| Verify content | `verify` | [Check a file](https://widar.com/docs/detect) |

## One call marks, signs and timestamps

Send the generated file as the body of `POST /v1/markings`, with the system's id in the query. The answer is the same file, marked, signed and timestamped, with its ids in the headers. The file is processed in memory and never kept. The same call as a CLI command and as an MCP tool:

**Mark an output**

API:

```bash
curl -X POST "https://api.widar.com/v1/markings?system_id=sys_4kT9qWm2RbXe" \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: image/png" \
  -H "Idempotency-Key: lumen-out-7731" \
  --data-binary @output.png \
  -D headers.txt -o marked.png
```

CLI:

```bash
widar markings create output.png --system-id sys_4kT9qWm2RbXe --output marked.png
```

MCP tool:

```json
{
  "name": "create_marking",
  "arguments": {
    "system_id": "sys_4kT9qWm2RbXe",
    "file": "output.png"
  }
}
```

Answer:

```
HTTP/1.1 201 Created
Content-Type: image/png
Widar-Mark-Id: mrk_2Xq9vBn4LsKe
Widar-Manifest-Id: mft_8Wc3jRt6NyPa
Widar-Timestamp-Id: tst_4Hd7kMq1ZvBx
X-Request-Id: req_9Vb3nKs7QwLx

<the marked and signed image>
```

## Four ways to do everything

The console, the API, the CLI and the MCP server offer the same actions and reads. You never meet a button with no API behind it, or a call your agent cannot make.

The four surfaces

| Surface | Use it when | Start with |
| --- | --- | --- |
| Console | A person sets up systems, certificates and verify pages, and watches marking. | [widar.com/console](https://widar.com/console). Every action shows its CLI command, API call and MCP tool. |
| API | Your server marks outputs and receives events by webhook. | `https://api.widar.com` with `Authorization: Bearer $WIDAR_API_KEY`. |
| CLI | A terminal, a script or a pipeline. | `widar <resource> <verb>`. It comes with your workspace: [talk to sales](https://widar.com/contact). |
| MCP server | An AI agent works on your workspace, or checks a file with no account. | `https://widar.com/mcp` (Streamable HTTP). |

## Live and test

A test key (`wd_test_`) marks with test watermark keys, signs with a test certificate and timestamps with the test timestamp authority. Every test result says test, nothing is billed, and test objects never mix with live ones. Live marking, signing and timestamps are free on the Free plan up to 1,000 C2PA-only files and 500 watermarked files a month, then Business or Volume. Certificates are free on every plan, once your legal entity and your domain are validated. See [Keys and test mode](https://widar.com/docs/keys-and-test-mode).

## For agents

- [`/agent-setup.md`](https://widar.com/agent-setup.md) is the guide your coding agent follows from one line. See [Set up your coding agent](https://widar.com/docs/agent-setup).
- [`/llms.txt`](https://widar.com/llms.txt) lists every page; [`/llms-full.txt`](https://widar.com/llms-full.txt) carries every page in full.
- Every page is also Markdown: add `.md` to its address, or send `Accept: text/markdown`.
- widar's MCP server at `https://widar.com/mcp` checks a file or a link for a widar mark or a C2PA credential with no account, and does everything else with a key. See [MCP server](https://widar.com/docs/mcp).
