How to compress images with PiPic
get_integration_guideStep-by-step integration instructions for actually compressing images — either through the @pipic/cli command-line tool (best for whole directories) or over plain HTTP (no Node required). Includes the output contract, exit codes, error codes and which failures are worth retrying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | "cli" for the @pipic/cli tool, "http" for calling POST /compress/image directly. |