Stamp. Verify. Done.

One SDK to create cryptographic proofs of AI content origin and verify them anywhere.

What the SDK Does

  • Creates a cryptographic proof of origin for any AI-generated content
  • Computes a perceptual fingerprint that survives re-encoding and screenshots
  • Stores the proof in the 0byte registry for public verification
  • Verifies any content against the registry in a single call

Install

1pip install 0byte

Stamp Content

Generate your AI content with any provider. Then call stamp() to create a verifiable proof.

1from zerobyte import Client 2 3client = Client(api_key="0b_key_...") 4 5# Generate your content however you want, then stamp it 6proof = client.stamp( 7 content=image_bytes, 8 content_type="image/png", 9 provider="stability", 10 model="sdxl-turbo", 11) 12 13print(proof.id) # "0b_proof_abc123" 14print(proof.fingerprint) # perceptual content hash 15print(proof.verify_url) # "https://0byte.tech/proof/0b_proof_abc123"

Verify Content

Upload any content to check if it exists in the registry — even after re-encoding or screenshotting.

1# Verify any content against the registry 2result = client.verify(content=some_image_bytes) 3 4print(result.matched) # True / False 5print(result.confidence) # fingerprint similarity score 6print(result.proof) # original proof if matched