> ## Documentation Index
> Fetch the complete documentation index at: https://anam.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Watermarking and Verification

> Learn how Anam marks every avatar's audio and video with an invisible watermark, what survives editing, and how to check a video and verify the signed report.

Every Anam avatar carries an invisible watermark in its voice and in its
picture. People can't see or hear it, but Anam's checker can find it in a
recording. A check tells you whether a video carries Anam's watermark.

The watermark is the machine-readable marking described in
[EU AI Act Article 50(2)](https://anam.ai/docs/security/ai-avatar-disclosure.md#machine-readable-marking).
It is separate from the visible [AI avatar disclosure](https://anam.ai/docs/security/ai-avatar-disclosure.md),
and from the visible "Powered by Anam" badge that some plans can remove.

## What is marked

Anam adds the watermark before media leaves its servers, so it is present on
every delivery path:

* direct WebRTC sessions through the JavaScript and Python SDKs, Lab, share
  links and the widget
* LiveKit, Daily and Agora integrations
* session recordings

The watermark is on by default for every session. There is nothing to
enable, and you can't turn it off. It adds no noticeable delay to the
conversation.

The video is marked on every path. The voice is marked at Anam's default
24 kHz audio output; an Agora session set to a different
`audioSampleRate` carries only the video watermark.

| | Audio | Video |
| - | - | - |
| What carries it | The avatar's voice only | The avatar's video |
| What is left alone | The voices of people talking to the avatar, and silence | The green backdrop of green-screen avatars, so you can still key it out |

Audio and video are checked separately, so a video whose soundtrack was
replaced can still be identified from its picture, and the other way round.
Only the first audio track is checked, so keep the avatar's voice in the first
audio track.

The watermark carries no information about who made the video. It doesn't
identify your organization, a persona or a specific session. Reading it needs a key that
only Anam holds.

## What survives

The watermark is designed to survive everyday handling:

* re-encoding and compression by video platforms and messaging apps
* resizing
* screen recordings of a call, including when the avatar is shown smaller
  than full screen. The checker finds the avatar's face and adjusts for the
  size it was shown at

## Known limits

Detection is statistical. The watermark builds up over time, so the checker
needs enough of the avatar to decide. A check may come back as inconclusive,
or miss the watermark, when:

* **The clip is short.** The minimum is 10 seconds. Clips of 30 seconds or
  more with the avatar speaking give the most reliable answer.
* **The video is high resolution.** Less of a 1080p or 4K video is analysed
  (see [Check a video](#check-a-video)), so the avatar needs to speak early in
  it.
* **The avatar barely speaks.** The audio watermark is only in the avatar's
  speech.
* **The avatar is small or hidden.** A screen recording where the avatar's face
  is very small, cropped out or missing can't be checked from the picture.
* **The video is heavily compressed at a small size.** Strong compression of
  a small screen capture can remove the video watermark.
* **The video was heavily edited.** Heavy cropping, filters or re-recording
  with a camera can weaken the watermark until it's no longer found.

A "no watermark found" result therefore means the checker didn't find the
watermark. It doesn't prove the video wasn't made with Anam.

## Check a video

Anyone can check a video for free, without an Anam account.

**1. Open the checker**

Go to [lab.anam.ai/watermark-check](https://lab.anam.ai/watermark-check).
If you are signed in to Lab, you can use
[lab.anam.ai/watermark-checks](https://lab.anam.ai/watermark-checks)
instead. It counts towards your organization's limits, not the public
page's.

**2. Upload the video**

Choose an MP4, MOV, WebM or MKV video that is at least 10 seconds long and
no larger than 50 MB. Audio-only files aren't accepted: the file must
contain a video track.

**3. Read the result**

The page shows progress until the check finishes. Download the signed
report if you need to keep a record of the result.

The checker analyses the start of the video. How much depends on the
resolution, because larger pictures take longer to check:

| Video resolution | Analysed |
| - | - |
| Up to 720p, including Anam session recordings | First 5 minutes |
| 1080p | About the first 2 minutes 45 seconds |
| 1440p | About the first 1 minute 40 seconds |
| 4K | About the first 48 seconds |

If the checker didn't analyse the whole video, the result says how much it
analysed, for example "Analysed the first 0:48 of
5:00". For a high-resolution screen recording, make sure the avatar speaks
early in the video.

### File requirements

| Requirement | Limit |
| - | - |
| Container | MP4, MOV, WebM or MKV, with a video track |
| File size | Up to 50 MB |
| Duration | At least 10 seconds; up to the first 5 minutes are analysed, less at high resolutions |
| Video | One video track, up to 3840×2160 pixels in total and 4096 on either side, up to 120 fps |
| Audio | Up to 4 audio tracks and 8 channels. Only the first audio track is checked. |

### Checks you can run

| Where | Limit |
| - | - |
| Public page | 5 check attempts per hour per IP address, with a captcha, including attempts made while the checker is busy. When the public checker is busy, the page asks you to try again in a few minutes. |
| Lab and the API | 100 new checks per UTC day and 3 in progress at once per organization |

Authorities, law enforcement, media organizations, fact-checkers, researchers
and civil-society organizations can ask
[support@anam.ai](mailto:support@anam.ai) for free unlimited access.

## Read the result

A result has an overall verdict and a verdict for each of the audio and the
video. The checker looks for the watermark in the audio and video, not in file
metadata, so removing metadata doesn't remove the watermark.

| Overall verdict | Lab shows | Meaning |
| - | - | - |
| `marked` | This video carries an Anam watermark | The checker found Anam's watermark in the audio, the video or both. |
| `not_marked` | No Anam watermark found | The checker didn't find the watermark in the analysed part of the video track and the first audio track. This doesn't prove the content wasn't made with Anam. See [Known limits](#known-limits). |
| `inconclusive` | We couldn't tell | The checker couldn't reach a clear answer for the audio or the video. The audio and video reasons say why. |

The overall verdict is `marked` if either medium is marked. It is
`not_marked` only if every medium present in the file is `not_marked`.

Each medium has one of these verdicts:

| Medium verdict | Meaning |
| - | - |
| `marked` | The watermark was found. |
| `not_marked` | The medium was checked and no watermark was found. |
| `not_present` | The file has no track of this kind, for example no audio. |
| `inconclusive` | The medium couldn't be checked reliably. A reason is given. |

| Reason | Medium | What to try |
| - | - | - |
| `too_little_speech` | Audio | Use a longer clip in which the avatar speaks more. |
| `no_face` | Video | Use a recording in which the avatar's face is visible. |
| `face_too_small` | Video | Use a recording in which the avatar is shown larger. |
| `too_few_frames_with_face` | Video | Use a longer clip with the avatar on screen. |
| `corrupted` | Audio or video | Part of the file couldn't be decoded. Export the video again. |
| `undetermined` | Audio or video | The checker couldn't reach a reliable conclusion. Try a longer or less edited copy. |

The result never includes a detection score.

### Rejected files

A file that can't be analysed is rejected before detection:

| Code | Meaning |
| - | - |
| `unsupported_format` | The file isn't MP4, MOV, WebM or MKV, or has no video track. |
| `too_short` | The video is shorter than 10 seconds. |
| `undecodable` | The file couldn't be read. Export it again. |
| `unsupported_media` | The video exceeds a media limit, such as resolution, frame rate or number of tracks, or uses an unsupported codec. |

## The signed report

Every check that reaches a verdict (`status: done`) comes with a signed report:
a compact JSON Web Signature
(JWS) signed with Ed25519 (`alg: EdDSA`). Anyone can verify that Anam's checker
produced it and that it hasn't been changed.

The report payload contains the full result plus `iss` (the detector) and
`iat` (when it was signed):

```json theme={"system"}
{
  "check_id": "chk_0123456789abcdefghijklmnop",
  "verdict": "marked",
  "audio": { "verdict": "marked", "reason": null },
  "video": { "verdict": "inconclusive", "reason": "face_too_small" },
  "based_on": "watermark",
  "key_id": "3fa94c1e",
  "validator_version": "1",
  "thresholds_version": "v3",
  "file_sha256": "9f2b5c…",
  "media_duration_s": 760.4,
  "analysed_duration_s": 300.0,
  "analysed_truncated": true,
  "checked_at": "2026-11-20T10:15:02Z",
  "detector": "https://watermark-eu.anam.ai/v1/watermark",
  "iss": "https://watermark-eu.anam.ai/v1/watermark",
  "iat": 1795169702
}
```

| Field | Meaning |
| - | - |
| `file_sha256` | SHA-256 of the uploaded file. Compare it with your copy to show which file the report covers. |
| `analysed_duration_s`, `media_duration_s`, `analysed_truncated` | How much of the file was analysed, and whether the analysis stopped before its end. `media_duration_s` is `null` when the checker can't read the file's duration. |
| `checked_at` | When the check finished, in UTC. |
| `detector` | The checker that produced the result. |
| `key_id`, `validator_version`, `thresholds_version` | Which watermark key, checker version and decision thresholds were used. |

Lab saves the report as `anam-watermark-report-<check_id>.jws`. To verify it,
check its signature against the public keys at
`https://watermark-eu.anam.ai/v1/watermark/jwks.json`. The JWS header's `kid`
names the key.

```typescript Node.js theme={"system"}
import { readFile } from "node:fs/promises";
import { createRemoteJWKSet, jwtVerify } from "jose";

const jwks = createRemoteJWKSet(
  new URL("https://watermark-eu.anam.ai/v1/watermark/jwks.json"),
);

const report = (
  await readFile("anam-watermark-report-chk_0123456789abcdefghijklmnop.jws", "utf8")
).trim();
const { payload } = await jwtVerify(report, jwks, {
  algorithms: ["EdDSA"],
  issuer: "https://watermark-eu.anam.ai/v1/watermark",
});

console.log(payload.verdict, payload.file_sha256);
```

```python Python theme={"system"}
import jwt  # pip install "pyjwt[crypto]"

jwks = jwt.PyJWKClient(
    "https://watermark-eu.anam.ai/v1/watermark/jwks.json",
    headers={"User-Agent": "anam-report-verifier"},
)

with open("anam-watermark-report-chk_0123456789abcdefghijklmnop.jws") as f:
    report = f.read().strip()

key = jwks.get_signing_key_from_jwt(report)
payload = jwt.decode(
    report,
    key.key,
    algorithms=["EdDSA"],
    issuer="https://watermark-eu.anam.ai/v1/watermark",
)

print(payload["verdict"], payload["file_sha256"])
```

## Check videos with the API

Use the API to check videos from your own systems. Create an
[API key](https://lab.anam.ai/api-keys) with **Watermark checks** set to
**Write**, which also lets it get results. **Read** is enough to get results
only.

A check takes three requests. The file goes straight to Anam's checker in the
EU, not through the Anam API.

**1. Create a check**

Send the file size in bytes. The response contains a one-time
`upload_url` that is valid for 10 minutes.

```bash theme={"system"}
SIZE=$(wc -c < recording.mp4 | tr -d ' ')

RESPONSE=$(curl -s -X POST https://api.anam.ai/v1/watermark/checks \
  -H "Authorization: Bearer $ANAM_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"size_bytes\": $SIZE}")

UPLOAD_URL=$(echo "$RESPONSE" | jq -r .upload_url)
STATUS_URL=$(echo "$RESPONSE" | jq -r .status_url)
```

```json theme={"system"}
{
  "check_id": "chk_0123456789abcdefghijklmnop",
  "upload_url": "https://watermark-eu.anam.ai/v1/watermark/uploads/chk_0123456789abcdefghijklmnop?size=…",
  "status_url": "https://api.anam.ai/v1/watermark/checks/chk_0123456789abcdefghijklmnop"
}
```

**2. Upload the file**

`PUT` the file to `upload_url` without an `Authorization` header. The body
must be exactly `size_bytes` long, with a matching `Content-Length` and no
chunked encoding.

```bash theme={"system"}
curl -X PUT "$UPLOAD_URL" \
  -H "Content-Type: video/mp4" \
  --data-binary @recording.mp4
```

The checker answers `202` once it has the file.

**3. Poll for the result**

Call `status_url` every few seconds until `status` is `done`, `rejected`
or `failed`.

```bash theme={"system"}
curl "$STATUS_URL" -H "Authorization: Bearer $ANAM_API_KEY"
```

```json theme={"system"}
{
  "check_id": "chk_0123456789abcdefghijklmnop",
  "status": "done",
  "result": { "verdict": "marked", "audio": { "verdict": "marked", "reason": null }, "video": { "verdict": "marked", "reason": null }, "…": "…" },
  "report": "eyJhbGciOiJFZERTQSIsImtpZCI6Ii4uLiJ9…"
}
```

While a check is in progress, `status` is `awaiting_upload`, `uploading`,
`queued` or `running`. A `rejected` check has an `error_code` from
[Rejected files](#rejected-files). A `failed` check has `timeout` or
`internal_error`; create a new check to try again.

If you never upload the file, the check stays `awaiting_upload` until its link
expires, then `status_url` returns `404 not_found` about 10.5 minutes after
the check was created.

> [!WARNING]
>
> Save the result and report when you first receive them. Anam deletes a result
> 60 seconds after it is first fetched or one hour after the check finishes,
> whichever comes first. After that, `status_url` returns `404 not_found`.

Upload from a server. Browsers can only upload from Lab, so a `PUT` from your
own web page is blocked.

### Upload errors

The checker returns these errors from the `PUT` as `{"error_code": "…"}`:

| Code | Status | What to do |
| - | - | - |
| `busy` | 429 | The checker's queue is full. Retry the same `upload_url` after the `Retry-After` header. |
| `link_expired` | 403 | The link expired or the checker restarted. Create a new check. |
| `link_used` | 409 | The link was already used. Create a new check. |
| `size_mismatch`, `length_required` | 400, 411 | Send exactly `size_bytes` with a matching `Content-Length`, then retry the same `upload_url`. |
| `file_too_large` | 413 | The file is larger than 50 MB. |
| `upload_incomplete`, `upload_timeout` | 400, 408 | The upload stopped or was too slow. Create a new check. A 50 MB upload needs about 2 Mbit/s upstream. |
| `internal_error` | 500 | Create a new check. |
| `invalid_link` | 403 | The URL was changed. Use it exactly as returned. |

The Anam API returns its own errors as `{"error": "…", "code": "…"}`. It
returns `413 file_too_large` from the `POST` when `size_bytes` is larger than
50 MB, before any upload.

It returns `429 rate_limited` when your organization has created
100 checks in the current UTC day, including checks that were never uploaded.
It returns `429 too_many_running` when 3 checks are already in progress. Both
include `Retry-After`.

A check stops counting as in progress as soon as you fetch its `done`,
`rejected` or `failed` status, so poll every check until it finishes. A check
that is never uploaded holds its slot for up to about 46 minutes after it was
created. A check you stop polling before it finishes holds its slot until 46
minutes after it was created or 36 minutes after your last poll, whichever is
later. For `too_many_running`, `Retry-After` is the
longest you may need to wait.

See **Watermark Checks** in the
[API reference](https://anam.ai/docs/api-reference/overview.md) for every field and error.

## Privacy

* **Files:** processed in the EU, kept on the checker only while the check
  runs, and not used for anything else.
* **Results:** kept only until you collect them, as described above. Anam keeps
  no copy of the full result or the signed report.
* **Abuse prevention:** Anam keeps limited technical records of each check for
  a short time to prevent abuse of the checker. They don't include the
  uploaded file.

## FAQ

> [accordion] Can I turn the watermark off?
>
> No. The watermark is on by default for every session on every plan, and
> there is no setting to turn it off. Removing the visible "Powered by Anam"
> badge doesn't affect it.

> [accordion] Does the watermark change how my avatar looks or sounds?
>
> No. It is designed to be invisible and inaudible, and it adds no
> noticeable delay.

> [accordion] Can the checker tell which customer or session made a video?
>
> No. The watermark carries no customer, persona or session information.

> [accordion] Why was a recording of my own session not found?
>
> Check the [known limits](#known-limits). Short clips, little speech, a
> small avatar in a screen capture and heavy compression are the usual
> causes. For an `inconclusive` result, the per-medium reasons say which
> applies. A `not_marked` result has no reason.

> [accordion] Does the visible AI disclosure replace the watermark?
>
> No. The [AI avatar disclosure](https://anam.ai/docs/security/ai-avatar-disclosure.md) tells people
> they are talking to AI. The watermark makes the generated content
> machine-readable. They meet different requirements.

> [!NOTE]
>
> This page provides general product guidance, not legal advice.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.