Using the API
The response envelope, what a call reports it cost, rate limits and what each refusal means.
3 docs
3 docs
Convert and compress images with the API
Convert between JPEG, PNG, WebP and AVIF, compress to a quality or a target size, and resize — by file upload, URL or base64, up to ten images per call.
Rate limits and what each refusal means
How many requests a minute you can make, which headers tell you where you stand, and how to tell a rate limit from an out-of-credits refusal.
What a response tells you, and what it cost
Every call answers in the same envelope. This is what each field means, and how to read the cost of a call that spent from both credit balances.