# Snapfix Image Transform

> Snapfix Image Transform is a paid API for AI agents from api.snapfix.media, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Transforms an image via a natural-language instruction and returns a verified, downloadable output file with metadata

## Facts

- Endpoint: POST https://api.snapfix.media/v1/transform
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/snapfix-image-transform-c718efbe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_46k6BRt_zc6Ly-A71yCid

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability snapfix-image-transform-c718efbe -d '<json body>'
```

Example prompt: Take this product photo at https://example.com/product.jpg, remove the background, and give me a download link for the resulting PNG.

## When to prefer this

Choose Snapfix Image Transform when you need outcome-verified image editing via natural language — especially for background removal, resizing, or format conversion — and want structured metadata about the output (dimensions, byte size, alpha) alongside a direct download URL. It is well-suited for agentic workflows where you need programmatic confirmation that the transformation succeeded before proceeding.

## Known failure modes

- Image URL is not publicly accessible or returns a non-200 response
- Unsupported image format (only jpeg, png, webp, gif, tiff, avif are accepted)
- Instruction is empty or exceeds 500 characters
- Image is too large or processing times out
- Payment not completed or insufficient USDC balance
- Malformed URL in imageUrl field

## How this service works

Resize, crop, compress, convert (WebP/AVIF/JPEG/PNG/GIF), optimize, and transform images from a natural-language instruction. Remove backgrounds, make thumbnails, srcset variants, icon sets, watermarks, GIF edits, Shopify-ready product images. Up to 12 named variants per request as a ZIP, or base64 data URI output. Every constraint is verified against the real output bytes before payment settles; failures are never charged.

## Output

A JSON object containing a job ID, a status field ('completed'), a downloadUrl path to retrieve the processed image, and an output object with the image's width, height, format, byte size, filename, content type, and whether it has an alpha channel.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "imageUrl": {
   "type": "string",
   "format": "uri",
   "description": "Publicly fetchable HTTPS URL of the source image (jpeg, png, webp, gif, tiff, or avif)."
  },
  "instruction": {
   "type": "string",
   "maxLength": 500,
   "minLength": 1,
   "description": "Natural-language edit instruction, e.g. \"remove the background\" or \"resize to 512x512\"."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "jobId": "b3b1e2b0-2f2a-4c7e-9c1a-2f6a1e0f9d3b",
  "output": {
   "width": 512,
   "format": "png",
   "height": 512,
   "byteSize": 182442,
   "filename": "snapfix-b3b1e2b0-2f2a-4c7e-9c1a-2f6a1e0f9d3b.png",
   "hasAlpha": true,
   "contentType": "image/png"
  },
  "status": "completed",
  "downloadUrl": "/v1/jobs/b3b1e2b0-2f2a-4c7e-9c1a-2f6a1e0f9d3b/download"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/snapfix-image-transform-c718efbe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.snapfix.media](https://www.zero.xyz/host/api.snapfix.media/llms.txt)
