Need to comply with the EU AI Act by 2 December 2026? New users can start with Trufo's AI Labeling Service or C2PA Certificates for free until 1 January 2027.
Documentation

Build with Trufo

Last Updated: 2026-11-15 (trufo 2.3.1, trufo-local 2.3.1)

Trufo provides content-provenance infrastructure as a service: C2PA Content Credentials, invisible watermarking, trusted certificates, and timestamping, all behind one API. The open-source trufo-py library (v2.3.1) wraps the REST endpoints, manages credentials, and ships runnable quickstarts for every workflow.

Get started in two steps

  1. Create an account. Sign up on the Trufo Dashboard, set up MFA (passkey or TOTP), register your organization, and issue API keys for the products you want to use.
  2. Install the library and start developing. Install from PyPI (source on GitHub) and sign your first file in under a minute.
terminal
pip install trufo
trufo set-api-key c2pa-sign-test <your-api-key>
sign_test.py
from pathlib import Path

from trufo import sign_c2pa_test
from trufo.util.credentials import TrufoAPIKey, load_api_key

api_key = load_api_key(TrufoAPIKey.C2PA_SIGN_TEST)

signed_bytes = sign_c2pa_test(api_key, Path("input.jpg").read_bytes())
Path("signed.jpg").write_bytes(signed_bytes)

That is a complete C2PA signature — Trufo assembles and signs the manifest, so you do not need a certificate of your own. Swap in sign_c2pa() with a c2pa-sign-prod key for production-trusted output. The setup guide covers API keys and configuration in detail.

C2PA Signing, Local

In Local mode, your media stays on your machine: Trufo's engine builds the manifest locally, and Trufo receives the signing instructions and signs the claim. Two ways to run it:

  • Python SDK: sign_c2pa_distributed() with the trufo[local-sign-only] or trufo[local-full] extra; local-full adds local watermark embedding. See Local mode with the Python SDK.
  • Docker image: ghcr.io/trufo-ai/trufo-local, an HTTP service on your machine that signs files by path, for callers in any language; the full image (2.3-full) adds watermark embedding. See Local mode with the Docker image.

Explore the docs

Support

Questions and integration help: support@trufo.ai. Bug reports and feature requests: GitHub issues. For architecture reviews or enterprise onboarding, request a consultation.

Get Started
Create an account to issue your API keys, then install the library and sign your first file.