contentType | string | Required. MIME type of the file |
sizeBytes | number | Required. Exact size in bytes |
filename | string | Optional — key can supply it instead, or leave both out and Dreep generates one |
folder | string | Slug path of the destination. Missing folders are created |
key | string | Full S3-style object key |
folderId | string | UUID of an existing folder |
autoCreateFolders | boolean | Set false to require the path already exists |
format | string | Target format to re-encode to on confirm |
presetKey | string | A saved preset, applied on confirm |
contentHash | string | SHA-256 of the file — lets Dreep skip content it already has |
autoTag | boolean | Tag the image in the background once the upload is confirmed. Charged per image |
autoIndex | boolean | Index the image for similar and text search once the upload is confirmed. Charged per image |
signal | AbortSignal | Cancels the request |