{"uid":"cap_bBvOSGN-ZCh4OocvQc-EM","slug":"gedx402-image-transform-579a609d","name":"GEDX402 Image Transform","description":"Resize, fit, and transcode an image on images-api.gedx402.com. POST url or image_base64 with optional width, height, format (webp/jpeg/png/avif), and fit; returns base64 bytes. x402 settlement USDC per request (see npm run pricing:report) worst-case. Hero: GET /heroes/images-transform. Bundle: GET /v1/models?bundle=artifacts.","url":"https://images-api.gedx402.com/v1/images/transform","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"fit":{"enum":["scale-down","contain","cover","crop","pad"],"type":"string"},"url":{"type":"string"},"width":{"type":"integer"},"format":{"enum":["webp","jpeg","png","avif"],"type":"string"},"height":{"type":"integer"},"image_base64":{"type":"string"}}},"responseSchema":{"type":"json","example":{"width":800,"height":600,"byte_length":12345,"content_type":"image/webp","image_base64":"<base64>"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_R1cDZnsBr7YdqrRbGPlwR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resizes, reformats, and transforms images via URL or base64 input, returning the processed image as base64 with no API key required — pay per call with USDC.","exampleAgentPrompt":"Take this image at https://example.com/photo.jpg, resize it to 800 pixels wide and 600 pixels tall using cover fit, and convert it to webp format.","exampleUseCases":null,"resultDescription":"A JSON object containing the transformed image encoded as a base64 string, along with the output width, height, byte length, and content type (e.g. image/webp).","failureModes":["Source URL is unreachable or returns a non-image — likely a 4xx or error response","Base64 payload exceeds 20 MB limit — rejected with payload too large error","Width or height outside 1–12000 range — validation error","Invalid fit or format enum value — schema validation error","Payment not received or underpaid — 402 Payment Required response","Network timeout fetching remote image URL"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-use, keyless image transformation service that accepts either a remote URL or raw base64 image data, supports multiple output formats (webp, jpeg, png, avif), and can be paid with USDC on Base, Polygon, Arbitrum, World, or Solana via the x402 protocol — ideal for agents without pre-registered API credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:37:20.100Z","isFirstParty":false}