Documentation
Build with Trufo
Last Updated: 2026-08-02 (v1.0.0)
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 (v1.0.0) wraps the REST endpoints, manages credentials, and ships runnable quickstarts for every workflow.
Get started in two steps
- Create an account. Sign up on the Trufo Dashboard, register your organization, and issue API keys for the products you want to use.
- 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
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, working example — the signed file carries a C2PA manifest with a certificate and timestamp from Trufo's test environment. The setup guide covers API keys and configuration in detail.
Explore the docs
Setup & Authentication
Install the library, store scoped API keys, and configure regions.
C2PA Signing
Attach Content Credentials with hosted, S3, or distributed signing.
AI Labeling
Disclose AI-generated content for regulatory compliance.
CAWG Publishing
Attach creator metadata, training preferences, and identity.
Ingredients & Redaction
Declare source materials and redact sensitive assertions.
Watermarking
Embed and recover invisible watermarks for durable provenance.
Certificates
Obtain C2PA and CAWG certificates for your own Generator Product.
Timestamping
RFC 3161 timestamps for c2pa-rs, c2patool, and other toolchains.
API & CLI Reference
REST conventions, service hosts, and the bundled CLI.
Support
Bug reports, feature requests, and enterprise help.
Support
Questions and integration help: support@trufo.ai. Bug reports and feature requests: GitHub issues. For architecture reviews or enterprise onboarding, request a consultation.