Create image pack
create_image_packCreate one image per requested size. Each successful file costs one credit. Reuse a key only for the same request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| sizes | Yes | Use original, a saved size ID, a preset slug, or a WxH size. | |
| format | Yes | ||
| version | No | ||
| template_id | Yes | ||
| idempotency_key | Yes | Reuse this key only when retrying the same command. A new key starts new work and can spend credits again. |