// Use your instances bin ZUID
// Get a read stream to the file you want to upload to your instance
const stream = fs.createReadStream(
path.resolve(__dirname, "path/to/file/image.jpg")
title: "File title used for alt and/or title attribute text",
const file = await sdk.media.createFile(binZUID, stream, opts);