developers / Models
Image
An uploaded image, with where its file is stored, its share code, and its like and comment counts.
This page as MarkdownFields
idintegeruserIdintegercreatedAtdate-timeupdatedAtdate-timetitlestringdescriptionstringvisibilityenumOne of
UnlistedPublicPrivatefolderIdinteger | nullviewsintegerdownloadsintegerfavoritebooleanapplicationstring | nullfilenamestringsizenumberwidthintegerheightintegernsfwbooleanstorageIdintegerautoDeleteAtdate-time | nullhideUserbooleanshieldbooleannsfwLockedAtdate-time | nullprivateLockedAtdate-time | nullofflineAtdate-time | nullstorageobjectkeystring
shareIdnumbershareCodestringlikeCountnumbercommentCountnumbermetaobject | nulloptionalidnumberblurHashstring | nulldominantColorstring | nullThe colour the picture has most of: # and six hex digits, lowercase. Null until it's worked out, just after the upload, or when it can't be.
palettehasAlphaboolean | nullanimatedboolean | nullorientationnumber | null
treatmentstring | nullHow the picture is served where others see it: its owner's watermark, as a token for the cdn's t parameter (image.url() in the sdk adds it). Null when nothing is drawn on it. Without it the cdn serves the picture as it's stored.
burnobject | nullBurn's limits, on a shielded image (shield); null without them.
secondsPerViewnumber | nullThe seconds each view shows the picture; null for no limit.
viewsEachnumber | nullThe views each person gets (signed in by account, a guest by browser); null for no limit.
viewsInAllnumber | nullThe views it has in all, by anyone but its owner; null for no limit.
thenenumWhat happens once the views in all are used: Blur (burned for everyone but its owner), Private, or Delete (gone for everyone but its owner).
One of
BlurPrivateDeleteviewsUsednumberoptionalThe views in all used so far. Only its owner gets it.
burnedAtstring | nulloptionalWhen its last view in all was given; null until then. Only its owner gets it.
{
"id": 1,
"userId": 1,
"createdAt": "2026-11-10T18:24:00.000Z",
"updatedAt": "2026-11-10T18:24:00.000Z",
"title": "Clutch on Ascent",
"description": "1v4 on the last round",
"visibility": "Unlisted",
"folderId": 1,
"views": 0,
"downloads": 0,
"favorite": false,
"application": "VALORANT",
"filename": "a1b2c3d4e5f6.png",
"size": 2457600,
"width": 1920,
"height": 1080,
"nsfw": false,
"storageId": 1,
"autoDeleteAt": null,
"hideUser": false,
"shield": false,
"nsfwLockedAt": "2026-11-10T18:24:00.000Z",
"privateLockedAt": "2026-11-10T18:24:00.000Z",
"offlineAt": "2026-11-10T18:24:00.000Z",
"storage": {
"key": "images/a1b2c3d4e5f6.png"
},
"shareId": 1,
"shareCode": "x7Kp2QmA",
"likeCount": 0,
"commentCount": 0,
"meta": {
"id": 1,
"blurHash": "string",
"dominantColor": "string",
"palette": null,
"hasAlpha": false,
"animated": false,
"orientation": 0
},
"treatment": "string",
"burn": {
"secondsPerView": 0,
"viewsEach": 0,
"viewsInAll": 0,
"then": "Blur",
"viewsUsed": 0,
"burnedAt": "string"
}
}Returned by
The endpoints whose data holds an Image as it is, and where.
- get
/foldersGet the content of a folder: every image in it for its owner; for anyone else, with the folder's share code, the images in it that are Public or Unlisted and don't hide who uploaded them/:folderId /content data[] - get
/imagesGet a single image by ID/:imageId data - patch
/imagesUpdate an image/:imageId data - post
/imagesRegenerate share identifiers for an image/:imageId /regenerate-share-identifiers data - patch
/imagesUpdate many images/bulk data[] - get
/usersGet all images for a user/:userId /images data[] - get
/usersGet a user's discovery images: their public uploads, as their page shows them/:userId /images /discovery data[] - post
/usersSearch for a user's images/:userId /images /search data.results[] - get
/usersGet a user's showcase: the shots pinned at the top of their page, in their order/:userId /showcase data[] - put
/usersPin shots to your showcase, in this order, replacing what was pinned/:userId /showcase data[]
Extended by
The endpoints that return an Image with fields of their own, and the fields they add.
Inside other models
The models with an Image in a field.