Kennmarq.com

v0.2.1
com.kennmarq/kennmarq Checked 4 days ago Published 5 days ago

Rules and code for marking AI images, video, audio, 3D models and text with C2PA and watermarks

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_requirements AI-labelling rules for markets

What the AI-labelling laws of the given markets ask of an AI-generated image, video, audio file, 3D model or text, and what a call to POST /v1/mark must send for them: the fields required, whether the visible label is needed, and what can't be marked yet. Answers from the rules the API itself enforces, and lists each market's other rules as the law map does (rules for some sectors only, drafts), with what our marks cover of each and links to the government texts.

ParameterTypeDescription
markets *stringThe countries the app serves, comma-separated, at most 8 ("us" counts as 3): ISO codes (de, jp, br), "eu", US states (us-ca) or "us" for California, Washington and Utah (us-ca, us-wa, us-ut), which do…
media *stringThe kind of file the app generates.
deepfakebooleanWhether the files realistically depict real people, places or events (deep fakes). Default false.
public_interestbooleanText only: published to inform the public on matters of public interest, with no human review (the EU AI Act's Art. 50(4)). Default false.

get_integration Code to mark AI media, per stack

How to add Kennmarq.com marking to an app's code: the package to install, a server-side example that marks each generated file before it's stored or shown, the fields to send, the API key and how to check the result. Stacks: ai-sdk (Vercel AI SDK middleware), javascript (Node.js, Next.js, Bun, Deno, edge), python, comfyui, http (any other language).

ParameterTypeDescription
stack *stringThe app's stack.

read_doc Read a Kennmarq.com docs page

A Kennmarq.com documentation page as Markdown: the API reference, the guides, the SDKs and the laws pages. The index of every page, with one line each: https://kennmarq.com/llms.txt.

ParameterTypeDescription
path *stringThe page's path, e.g. /docs/api/mark.