Skip to content
onelayer.
All tools

Tool detail

Snapfix Image Transform

Transforms a source image per a natural-language instruction (resize, crop, background removal, format conversion, etc.) and returns up to 12 variants as a ZIP or base64 data URI.

Categories: Image editing

Use when

  • resize or crop an image from a plain-English instruction
  • remove an image background or generate a thumbnail
  • produce srcset or icon-set variants from one source image

Not for

  • not for images without a public HTTPS URL — no direct file upload
  • not free-text image generation — transforms an existing image only

Inputs

POST JSON body: { instruction: string 1-500 chars (required), imageUrl: https URL (required) }

Admitted input schema

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

Endpoint

Method
POST
URL
https://api.snapfix.media/v1/transform

Payment

Protocol
x402
Listed price
0.005 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://api.snapfix.media/v1/transform
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z