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

Quick Install

install.sh
1npm install 0byte-sdk

Basic Usage

example.js
1import { createZeroByte } from '0byte-sdk'; 2 3const zeroByte = createZeroByte({ 4 network: 'mainnet', 5}); 6 7const proof = await zeroByte.generateProof({ 8 promptHash: hash('a fox in space'), 9 modelId: 'stable-diffusion-xl', 10 timestamp: Date.now() 11}); 12 13await zeroByte.embedProofIntoImage('output.png', proof);

What You Get

  • Easy-to-integrate SDK for any GenAI platform
  • Zero-knowledge proof engine (privacy-preserving)
  • Embedded media proof structure
  • On-chain anchoring to Solana
  • Verifier API + Open-source components

Verifier Integration

Let your users or platforms verify content instantly:

example.js
1const result = await zeroByte.verifyFile('output.png'); 2 3if (result.verified) { 4 console.log("Proof valid:", result); 5} else { 6 console.warn("Tampered or unverified media."); 7}

Docs + API

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