developers / Models
UserUploadSettings
How a user's uploads are handled: their share codes, visibility, compression, watermark, deletion and share links.
This page as MarkdownFields
idintegershareCodeModeenumOne of
AlphanumericLettersLowercaseNumbersHexadecimalUnambiguousEmojisMemorableshareCodeLengthintegercompressionQualityintegervisibilityenumOne of
UnlistedPublicPrivatewatermarkModeenumThe watermark the cdn draws on the user's pictures where others see them (the treatment of an image): None none, Minimal hematite's mark, Medium their own (watermark). Full was never offered and draws hematite's mark.
One of
NoneMinimalMediumFullwatermarkobject | nullThe custom watermark, drawn while watermarkMode is Medium and kept while it isn't. Null until one is saved.
textstringOne line of at most 32 characters: letters (Latin scripts, Vietnamese), digits and common signs. Kept composed (NFC) and without spaces at its ends.
1 to 64 characters
positionenumWhere it sits: a place of a 3 × 3 grid over the picture.
One of
top-lefttoptop-rightleftcenterrightbottom-leftbottombottom-rightsizeenumHow large, against the picture fitted into a 16:9 frame: its height, or its width × 9/16 when it's wider.
One of
smallmediumlargeopacityintegerHow opaque, in percent.
20 to 100
toneenumLight text with a dark shadow, or dark text with a light one.
One of
lightdark
randomizeFilenamesbooleanautoDeleteAfterinteger | nullshareUrlTypeenumOne of
DomainPermanentCDNdomainSubdomainstringdomainPathstringembedStyleIdinteger | nullThe style the account's link previews follow (GET /users/:userId/embed-styles): a built-in, or the account's own. Null is hematite's default, the hematite built-in.
updatedAtdate-timeembedStyleEmbedStyleThat style, whole: the built-in hematite while none is chosen.
{
"id": 1,
"shareCodeMode": "Alphanumeric",
"shareCodeLength": 8,
"compressionQuality": 85,
"visibility": "Unlisted",
"watermarkMode": "None",
"watermark": {
"text": "string",
"position": "top-left",
"size": "small",
"opacity": 0,
"tone": "light"
},
"randomizeFilenames": false,
"autoDeleteAfter": null,
"shareUrlType": "Domain",
"domainSubdomain": "string",
"domainPath": "string",
"embedStyleId": 1,
"updatedAt": "2026-11-10T18:24:00.000Z",
"embedStyle": {
"id": 1,
"key": "hematite",
"name": "Ranked",
"about": "string",
"basedOn": "hematite",
"version": 0,
"author": "Uploader",
"picture": "Large",
"cropToCard": false,
"colour": "Hematite",
"colourHex": "string",
"showTime": false,
"motion": false,
"title": "Clutch on Ascent",
"description": "1v4 on the last round",
"site": "Hematite",
"siteText": "string"
}
}