1pip install 0byteGenerate 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"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