{"uid":"cap_Y6LdQ15gGYY6d7XpbdQHb","slug":"agentrxi-image-editor-2fc8ac57","name":"AgentRXI Image Editor","description":"Image tools: resize (fit inside a box), crop, rotate, grayscale and convert or compress PNG and JPEG images from a URL or base64. Up to 16 megapixels. Also callable as GET with the same fields as query parameters.","url":"https://agentrxi.com/v1/image/edit?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"crop":{"type":"string","description":"x,y,width,height"},"width":{"type":"integer"},"format":{"type":"string","description":"png | jpeg"},"height":{"type":"integer"},"rotate":{"type":"integer","description":"90 | 180 | 270"},"quality":{"type":"integer","description":"JPEG quality 10-100"},"grayscale":{"type":"boolean"},"image_url":{"type":"string"},"image_base64":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gQDRs2zQvzdrBSEyYjrdt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resize, crop, rotate, convert, compress, and grayscale images (up to 16MP) from a URL or base64 input","exampleAgentPrompt":"Take this image URL https://example.com/photo.png, resize it to fit inside 800x600 pixels, convert it to JPEG at quality 75, and return the result.","exampleUseCases":[{"title":"Thumbnail generation for product listings","prompt":"Resize this product image at https://mystore.com/images/product.jpg to fit inside 300x300 pixels and convert it to JPEG at quality 80 so it loads faster on the website."},{"title":"Profile photo cropping and grayscale","prompt":"Take this image from https://cdn.example.com/avatar.png, crop it to a 200x200 square starting at position 50,50 and make it grayscale."},{"title":"Rotating a scanned document image","prompt":"This scanned document image at https://uploads.myapp.com/scan.jpeg is sideways — can you rotate it 90 degrees clockwise and keep it as JPEG?"}],"resultDescription":"Returns a processed image binary (PNG or JPEG) with the requested transformations applied — resized to fit within the specified box, cropped, rotated, converted to the desired format, compressed to the given quality level, and/or converted to grayscale, depending on which parameters were provided.","failureModes":["Image URL unreachable or returns non-image content","Image exceeds 16 megapixel limit","Invalid crop coordinates (out of bounds)","Rotation value not one of 90, 180, or 270","JPEG quality outside 10-100 range","base64 input malformed or not a valid image","Unsupported image format provided","Payment not received (x402 payment required)"],"whenToPreferThis":"Choose this endpoint when you need lightweight, on-demand image transformation (resize, crop, rotate, grayscale, format conversion, or JPEG compression) on images already available via URL or as base64, without setting up a dedicated image processing pipeline. It supports up to 16 megapixels and accepts both GET and POST, making it convenient for agents to call inline. Prefer this over generic image generation services when you are editing or transforming an existing image rather than creating a new one.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:12.275Z","isFirstParty":false,"canonicalSlug":"agentrxi-image-editor-2fc8ac57"}