x402
utility

Image resize and conversion API for agents at $0.001 USDC. Call when one base64 PNG/JPEG/WebP needs a bounded resize or format change without an image CDN key. Returns a durable WebP/PNG/JPEG artifact and SHA-256 receipt—no URL fetch, AI upscale claim, or input retention.

post/api/v1/x402/image-transform

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/image-transform
  • Auth: none declared

Request body

image_base64string required

One base64-encoded PNG, JPEG, or WebP image; decoded input is limited to 6 MiB. Data-URI prefixes are accepted.

output_format'webp' | 'png' | 'jpeg'
max_dimension256 | 512 | 768 | 1024 | 1536 | 2048
qualityinteger

JPEG/WebP quality. PNG ignores this field.

Response

Paid utility result. Downstream tool errors are returned as structured result payloads with HTTP 200 after payment succeeds.

transform_idstring required
image_urlstring uri required
provider'first-party' required
model'pillow' required
output_formatstring required
media_typestring required
widthinteger required
heightinteger required
bytesinteger
sha256string required
sale_price_usdcnumber

Changes

No recorded changes to this operation across all 1 revision of this API.