ImageOps Image Processing API
Inspect, analyze or transform a public HTTPS image: metadata, resize, crop, rotate, convert, compress, color and filter adjustments, masks, composition, text annotation and tile packages. POST /v1/image with image_url, operation and params. Transforms answer a temporary HTTPS URL to the result, kept one hour, never image bytes. Pay per request in USDC; no account, no API key.
Request
- Base URL: https://agent.pocket.network
- URL: https://agent.pocket.network/v1/image-transform
- Auth: none required
Request body
Response
The upstream response, served after payment settles.
For POST /v1/image, a JSON object with ok, operation and input (width, height, format, source_bytes). Analyses add their data; transforms add output with width, height, format, bytes, url and expires_in_seconds. A refused request answers ok false with a failure code, e.g. UNSAFE_URL.
Changes
No recorded changes to this operation across all 1 revision of this API.