Proxy and transform images from decentralized storage protocols like Arweave and IPFS. This endpoint fetches images from ar://, ipfs://, or https:// URLs and optionally resizes and converts them to a target format.
Supported URL formats:
ar:// - Arweave URLs (e.g., ar://abc123...)ipfs:// - IPFS URLs (e.g., ipfs://Qm...)https:// - Direct HTTPS URLsImages are processed using sharp and can be resized and converted to WebP, AVIF, JPEG, or PNG formats. Responses are cached with immutable cache headers.
ar:// and ipfs:// URLs to fetchable gateway URLs| Protocol | Format | Example |
|---|---|---|
| Arweave | ar:// | ar://abc123xyz... |
| IPFS | ipfs:// | ipfs://QmXyz... |
| HTTPS | https:// | https://arweave.net/abc123... |
w (width) or h (height) parameters are provided, the image is resized to fit within the specified dimensions using the inside fit strategy, meaning:
w and hThe URL of the image to fetch. Supports Arweave (ar://), IPFS (ipfs://), and HTTPS URLs.
Target width in pixels. The image will be resized to fit within this width without enlargement.
1 <= x <= 4096Target height in pixels. The image will be resized to fit within this height without enlargement.
1 <= x <= 4096Image quality (1-100). Higher values produce better quality but larger files.
1 <= x <= 100Output image format.
webp, avif, jpeg, png Processed image returned
The response is of type file.