image:convert

Convert an image to a different format.

Type: Async

Usage

simplified image:convert --url <image-url> --format <format> [--wait]

Options

FlagTypeRequiredDescription
--urlstringPublic URL of the source image
--formatstringTarget format: webp, png, jpg, gif
--waitbooleanBlock until complete (timeout: 120s)

Example

simplified image:convert --url "https://example.com/photo.png" --format webp --wait

Response (with --wait)

{ "url": "https://cdn.simplified.com/converted.webp" }