Upload an image or a TTF/OTF font (multipart)

The upload door of the web UI and of the stdio MCP server's upload_asset {path}: the file travels as multipart form data, outside any JSON, so a photo never has to be written out as base64. Images PNG, JPEG or WebP up to 5 MB — the content decides the type, not the declared one; fonts TTF or OTF, whose family name comes back as font_family for text layers. Spends an asset slot.

post/assets

Request

  • Base URL: https://rendry.io/api/v1
  • URL: https://rendry.io/api/v1/assets
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer

Headers

X-Rendry-Accountstring

Browser/OAuth current member account selector. API keys/embed credentials are bound to their persisted account and reject another account. Omitting this header selects the browser actor personal account.

Response

Stored

idstring required
file_namestring required
urlstring required

Path under /api/v1/files/…, served to the owner only (see Asset.url)

storage_keystring required
sizeinteger required
asset_type'image' | 'font' required
font_familystring

Fonts only

Changes

No recorded changes to this operation across all 1 revision of this API.