Skip to main content

Client for the ChronoVerify image capture-time and provenance verification API.

Project description

chronoverify

Python client for the ChronoVerify image capture-time and provenance verification API. Send any image, get one plain verdict (provenance_confirmed, consistent, inconclusive, metadata_anomaly, or manipulation_indicated) with a 0 to 100 confidence and the signals behind it. It reads C2PA Content Credentials when present and falls back to EXIF, XMP, and pixel forensics when they are not, so it works on any image, signed or not.

Get an API key (the first 100 verifications each month are included, then a flat $0.003 per image, no per-operation multipliers): https://chronoverify.com/pricing

ChronoVerify is provenance-first and deliberately not a deepfake detector. Verdicts are investigative triage to support human review, not proof.

Install

pip install chronoverify

Use

from chronoverify import Client

client = Client("cv_live_...")          # or omit the key to use the free, rate-limited public path
result = client.verify(file="photo.jpg")

print(result["verdict"], result["confidence"])
print(result["capture_time"])           # {"value": "...", "source": "exif", ...}

Verify a remote image by URL (the server fetches it):

result = client.verify(url="https://example.com/photo.jpg")

You can pass a path, raw bytes, or an open binary file:

with open("photo.jpg", "rb") as fh:
    result = client.verify(file=fh)

The key can also come from the CHRONOVERIFY_API_KEY environment variable.

Signed audit report

Get a shareable, independently verifiable PDF audit record for one image (an Ed25519 signature over the canonical verdict, with an optional RFC 3161 timestamp). A report requires an API key. It is the premium artifact: included within a paid plan's monthly quota, otherwise $0.20 from your prepaid balance.

client.report(file="photo.jpg", out="report.pdf")   # writes the PDF, returns the path

pdf_bytes = client.report(file="photo.jpg")          # or get the raw bytes

Verify a report's signature against the public key at https://chronoverify.com/v1/key .

Command line

chronoverify verify photo.jpg
chronoverify verify --url https://example.com/photo.jpg
chronoverify verify photo.jpg --json
chronoverify report photo.jpg -o report.pdf

Set CHRONOVERIFY_API_KEY (or pass --key) to use a metered key; omit it for the free public path.

Response

The verdict object is documented in full, with field reference and examples, at https://chronoverify.com/method#api . A clean result means a file's saved data is internally consistent, not that the scene it shows is real.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chronoverify-0.1.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chronoverify-0.1.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file chronoverify-0.1.1.tar.gz.

File metadata

  • Download URL: chronoverify-0.1.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for chronoverify-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d78db3b0d947214134f1a65e20941eedd9e35ab0b67c2201e1f70ddc9de1ca9a
MD5 8c467222f47a22bc14b0d5a4fc652dc2
BLAKE2b-256 c861238038140917dd4624813dfa04fc3407a98fdeea96cc43da9000ae2d58d5

See more details on using hashes here.

File details

Details for the file chronoverify-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: chronoverify-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for chronoverify-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 17f6fc452fecfa77e5109a838e0237006906cefc136ea653df5589a07421a5bb
MD5 e9e5ac900511ac67dc08d37e6d16ed7f
BLAKE2b-256 6155e569c0186d328558f2980214a41cf4ad5090fbeb3f775cf3850ae0759165

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page