resize_for_platform
Resize advertising creative assets for any platform using Cloudinary, with AI generative fill to adapt aspect ratios that differ from the source.
Instructions
Generate a Cloudinary transformation URL to resize an asset for a specific advertising platform/channel. Uses AI generative fill for aspect ratios that differ significantly from the source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | Target channel name (e.g., "GDN Medium Rectangle", "Facebook Stories") | |
| publicId | Yes | Cloudinary public_id of the source asset | |
| useGenFill | No | Force AI generative fill (default: auto-detect based on aspect ratio difference) | |
| sourceWidth | No | Source asset width | |
| sourceHeight | No | Source asset height |