
Made with Cloudflare Workers AI
Save the image and drop it on the checker.
Quick start
Get an API key, install the SDK, mark one image, log one text output and check the result.
1. Get an API key
Sign in and create a key on the API keys page of your dashboard.
The full key is shown once; store it somewhere your code can read it, for example as environment variables:
export TELLMARK_API_KEY="your-api-key"
export TELLMARK_API_BASE_URL="https://api.tellmark.si"2. Install the SDK
The SDKs install from Tellmark's own package index with an install key. Create one on the API keys page of your dashboard: an install key installs the SDK and cannot mark. Keep it in an environment variable:
export TELLMARK_INSTALL_KEY="your-install-key"Python 3.11, 3.12 or 3.13, with pip:
export PIP_INDEX_URL="https://__token__:${TELLMARK_INSTALL_KEY}@api.tellmark.si/pypi/simple/"
export PIP_EXTRA_INDEX_URL="https://pypi.org/simple/"
pip install tellmarkWith uv, add the index to your project's pyproject.toml, then install:
[[tool.uv.index]]
name = "tellmark"
url = "https://api.tellmark.si/pypi/simple/"
explicit = true
[tool.uv.sources]
tellmark = { index = "tellmark" }export UV_INDEX_TELLMARK_USERNAME="__token__"
export UV_INDEX_TELLMARK_PASSWORD="$TELLMARK_INSTALL_KEY"
uv add tellmarkOn Windows, in PowerShell, set each variable with $env:NAME = "value", writing $($env:TELLMARK_INSTALL_KEY) where the commands read the key, and set UTF-8 mode first with $env:PYTHONUTF8 = "1": one of the SDK's dependencies does not install under the default code page.
3. Mark one image
import tellmark
result = tellmark.mark_image("input.png", "output.png", model="my-model-name")
print(result.wm_id)output.png carries a signed C2PA manifest and an invisible watermark. The image itself is never sent to Tellmark: only its metadata (mime type, model name) and, once it is marked, hashes of it.
4. Log one text output
import tellmark
tellmark.log_text("the text your model generated", model="my-model-name", app_name="my-app")Only a SHA-256 hash of the text is sent. The text itself never leaves your process.
5. Check the result
Drop output.png on your account's verify page (linked from your dashboard's verify page settings) or the free checker at /check to see the mark reported back.
Mark audio
The Python SDK marks WAV, MP3 and FLAC audio too:
import tellmark
result = tellmark.mark_audio("speech.wav", "speech-marked.wav", model="my-tts-model", app_name="my-app")
print(result.mark_id)speech-marked.wav carries a signed C2PA manifest and an invisible watermark, in the same format as the input. The audio itself is never sent to Tellmark: only its metadata (mime type, model name, app name) and, once it is marked, a hash of it. The first time it marks audio, the SDK downloads its audio model, about 60 MB. Drop the marked file on your verify page or the free checker to see the mark reported back. The Node SDK marks audio too, as the Node section below shows.
Mark video
The Python SDK marks MP4 and MOV video too:
import tellmark
result = tellmark.mark_video("clip.mp4", "clip-marked.mp4", model="my-video-model", app_name="my-app")
print(result.mark_id)clip-marked.mp4 carries a signed C2PA manifest, in the same format as the input, and no invisible watermark. The video and its sound are not re-encoded. The video itself is never sent to Tellmark: only its metadata (mime type, model name, app name) and, once it is marked, a hash of it. The SDK marks video files of up to 998 MB. Drop the marked file on your verify page or the free checker to see the mark reported back. The Node SDK marks video too, as the Node section below shows.
Without an SDK: log a text output over HTTP
A text mark is one request, so you can make it from any language today. Hash the text with SHA-256 yourself; the text never leaves your process.
curl -X POST "https://api.tellmark.si/v1/marks" \
-H "Authorization: Bearer $TELLMARK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"media_type":"text","asset_sha256":"<sha256 of the text, 64 hex characters>","model":"my-model-name","app_name":"my-app"}'Image marking needs the SDK: it marks the image on your machine and never sends the image itself. The API reference lists every endpoint.
Node
The Node SDK (@tellmark/sdk) installs from the same index. It needs Node 22 or newer. Add these two lines to your project's .npmrc; they hold no secret, because npm reads the key from the environment when it runs:
@tellmark:registry=https://api.tellmark.si/npm/
//api.tellmark.si/npm/:_authToken=${TELLMARK_INSTALL_KEY}npm install @tellmark/sdkIt marks images and logs text the same way:
import { logText, markImage } from "@tellmark/sdk";
const result = await markImage("input.png", "output.png", { model: "my-model-name" });
console.log(result.wmId);
await logText("the text your model generated", { model: "my-model-name", appName: "my-app" });Set the same two environment variables as above, or pass apiKey and baseUrl directly. As with Python, the image itself is never sent, and only a SHA-256 hash of the text is sent.
As with Python, a file marked with the Node SDK carries a trusted timestamp, so Tellmark's checker keeps reporting its mark after the signing certificate expires.
The Node SDK marks WAV, MP3 and FLAC audio too:
import { markAudio } from "@tellmark/sdk";
const result = await markAudio("speech.wav", "speech-marked.wav", { model: "my-tts-model", appName: "my-app" });
console.log(result.markId);As with Python, the audio itself is never sent, and the first time it marks audio, the SDK downloads its audio model, about 60 MB.
The Node SDK marks MP4 and MOV video too:
import { markVideo } from "@tellmark/sdk";
const result = await markVideo("clip.mp4", "clip-marked.mp4", { model: "my-video-model", appName: "my-app" });
console.log(result.markId);As with Python, the video itself is never sent, and video files of up to 998 MB are marked.