Actions17
Asset → Generate Social Media Kit
AI-generatedSummary
Generate Social Media Kit operation returns CDN URLs for resized versions of an asset suitable for various social media platforms.
Inputs
- socialKitAssetId (required) — The 32‑character asset ID of the source image.
- socialKitFormat — Image format for all variants. JPEG recommended for social media. Defaults to JPEG (jpg). Options: JPEG (jpg), PNG (png), WebP (webp).
Output shape
object
Contains the original asset ID, its name and status, plus a CDN URL for each social platform resized to the platform’s recommended dimensions in the selected format. URLs are of the form
https://cdn.filespin.io/api/v1/assets/<assetId>/conversions?resize=<width>,<height>&format=<fmt>.
Examples
Example 1: Generate a Social Media Kit for an asset with ID 'a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6' using JPEG format.
socialKitAssetId = a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6, socialKitFormat = jpg (default).