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.
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.
1npm install 0byte-sdk
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);
Let your users or platforms verify content instantly:
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}
Want to go deeper? View the full SDK documentation and API reference.