Documentation menuDocumentation
Witness documentation
AI notices, AI labels and machine-readable marking for Article 50 of the EU AI Act, for any web app and the Vercel AI SDK.
Try the live demoStart
- IntroductionWhat Witness is, which parts of Article 50 of the EU AI Act it helps with, and which it does not.
- Getting startedInstall Witness and add a chatbot notice, a label and image marking in a few minutes.
- What Article 50 asksThe transparency duties of Article 50 of the EU AI Act, who they apply to, the deadlines, and which Witness feature fits each one.
- Migrating to 2.0What changes from Witness 1.x to 2.0 and how to upgrade.
Guides
- Chatbot noticeTell people they are talking to an AI before the first message, as Article 50(1) and 50(5) ask.
- LabelsVisible "AI" labels for generated, edited and deepfake content, as a web component, as server-rendered HTML or in React.
- ImagesWrite the IPTC Digital Source Type into PNG, JPEG and WebP files, read it back, and how this relates to C2PA.
- Audio and videoWrite the IPTC Digital Source Type into MP3, WAV, MP4, MOV and M4A files, read it back, and what this does not cover.
- TextInvisible text watermark, page metadata and visible labels for AI-generated text.
- Vercel AI SDKMark every answer and every generated image automatically with AI SDK middleware.
- ReactAiNotice, AiLabel, AiContent, AiPlayer and useAiDisclosure from @sweberdev/witness-react.
- Marking layersRecord which techniques mark your AI content and check them against the two-layer expectation of the Code of Practice.
- Content Credentials in the browserRead and show the C2PA manifest of an image, audio or video file without a server.
- Keeping evidenceRecord which notices people saw and acknowledged, and which content was marked.
- CLIMark images, audio and video in bulk and check files for AI marking from the command line.
Pro
- Witness ProAll 24 EU languages, a CI scanner for unlabelled AI content and an AI register with client reports.
- All 24 EU languagesNotice and label wording in every official EU language with witness-locales.
- ScannerCheck every build in CI for AI content without a label or marking with witness-scan.
- MonitoringFail only on new findings, comment on pull requests and get an alert when a deploy breaks a label.
- AI register and reportsKeep an AI register and turn it into a client report and a public AI page with witness-report.
- Signing with C2PASign AI-generated images, audio and video with C2PA Content Credentials using your own certificate.