Skip to content
Dashboard

developers / Models

Image

An uploaded image, with where its file is stored, its share code, and its like and comment counts.

This page as Markdown

Fields

  • idinteger
  • userIdinteger
  • createdAtdate-time
  • updatedAtdate-time
  • titlestring
  • descriptionstring
  • visibilityenum

    One ofUnlistedPublicPrivate

  • folderIdinteger | null
  • viewsinteger
  • downloadsinteger
  • favoriteboolean
  • applicationstring | null
  • filenamestring
  • sizenumber
  • widthinteger
  • heightinteger
  • nsfwboolean
  • storageIdinteger
  • autoDeleteAtdate-time | null
  • hideUserboolean
  • shieldboolean
  • nsfwLockedAtdate-time | null
  • privateLockedAtdate-time | null
  • offlineAtdate-time | null
  • storageobject
  • shareIdnumber
  • shareCodestring
  • likeCountnumber
  • commentCountnumber
  • metaobject | nulloptional
  • treatmentstring | null

    How 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 | null

    Burn's limits, on a shielded image (shield); null without them.

Example
{
  "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"
  }
}