FileSpin icon

FileSpin

Upload, tag, resize, and share digital assets with FileSpin DAM

Asset → Generate Marketplace Image

AI-generated

Summary

Generate a CDN URL for a resized marketplace image

Inputs

  • assetId (required) — The 32-character asset ID
  • preset — Predefined marketplace preset dimensions and format; defaults to shopify. When set to Custom, width, height, and format parameters become available.
  • width — Width in pixels; default 1080, only displayed when preset is Custom
  • height — Height in pixels; default 1080, only displayed when preset is Custom
  • format — Image format: jpg, png, or webp; default jpg, only displayed when preset is Custom

Output shape

object with fields url, preset, assetId, assetName, assetStatus

The API first verifies the asset exists via GET /assets/{assetId}/data. If a recognized preset is selected, its fixed width, height, and format are used; otherwise the provided width, height, and format values are applied. Returns a CDN URL string pointing to the resized image conversion.

Links

Discussion