Integrate into your AI Pipeline

Bring trust to your content at the moment it’s created. 0byte’s SDK makes it seamless to embed cryptographic proof into AI-generated media.

Overview

0byte is the cryptographic trust layer for AI-generated media.

With a single integration, our SDK empowers AI platforms to embed zero-knowledge proofs into content at the point of generation — ensuring that every output carries its own fingerprint of authenticity. These proofs are invisible, tamper-evident, and anchored to the Solana blockchain for public verification. Whether you’re building a GenAI app, API, or creative platform, 0byte gives you the infrastructure to make every image, audio, or video verifiable by default — without compromising on privacy or speed.

What the SDK Does

0byte’s SDK enables AI tools and platforms to generate zero-knowledge proofs at content generation time. These proofs are embedded into the media file and anchored to Solana for public, verifiable authenticity.

  • Embed proof without exposing the prompt or model
  • Protect IP and privacy with zero-knowledge circuits
  • Keep your content verifiable across platforms
  • No blockchain knowledge required

Install & Setup

Installation

install.sh
1pip install zbyte

Quickstart

generate_image.py
1from zbyte import Client, Config 2 3config = Config( 4 provider="stability", 5 model="stable-diffusion-xl-base-1.0", 6 api_key="your_huggingface_token", 7 platform="0byte", 8) 9 10client = Client(config) 11 12result = client.generate_image("A futuristic city at sunset") 13with open("output.jpg", "wb") as f: 14f.write(result.image_bytes) 15 16print("✅ Image verified at:", result.transaction_id)

What You Get

  • Built-in AI Image Generation — Generate images via Stability AI (default) or plug in your own model
  • Zero-Knowledge Proof Engine — Privacy-preserving proofs for prompt, model, and timestamp
  • Embedded Media Proof Structure — Steganographically injects verifiable data into media
  • On-Chain Anchoring — Anchors proof hashes to Solana for immutable auditability
  • Verifier API + Open-Source Components — Anyone can verify media without a wallet or watermark

Docs + API

Want to go deeper? View the full SDK documentation and API reference.