Files
Anything you want a model to look at has to be somewhere it can fetch.
ts
const url = await sequel.upload(file); // File or Blob // → https://…/f/VC6mrteqQL
One call does both halves: it takes an upload URL, PUTs the bytes, and gives you back the URL the model will read. Pass that URL straight into params.
Doing it yourself
ts
const target = await sequel.uploadUrl('image/png', 'png'); await fetch(target.uploadUrl, { method: 'PUT', body: bytes }); // target.fileUrl is readable now
Why the URLs are short
A /f/<id> handle re-signs on every fetch. A presigned URL is four hundred characters and expires in days — bad to store, and worse to hand to an agent that pays tokens for every character it relays.