Create a new transformation preset (Pro only)
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Preset name (alphanumeric, hyphens, underscores) |
description | string | No | Human-readable description |
params | object | Yes | Transformation parameters |
| Param | Type | Description |
|---|---|---|
w | integer | Width in pixels |
h | integer | Height in pixels |
fit | string | Fit mode: cover, contain, fill, scale-down |
q | integer | Quality (1-100) |
format | string | Output format: webp, avif, jpeg, png |