Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.bytez.com/llms.txt

Use this file to discover all available pages before exploring further.

Basic usage

Generate images without specific conditions or inputs for applications in art generation, creative design, and data augmentation
import Bytez from 'bytez.js';

// insert your key
const sdk = new Bytez('BYTEZ_KEY');

// choose your model
const model = sdk.model('afshr/cam_finetune');

// provide the model with input
const input = undefined;

// send to the model
const { error, output } = await model.run(input);

// observe the output
console.log({ error, output });