{"uid":"cap_KhkC2yOHFp3RUhaA4-8iE","slug":"x402-image-tools-edit-multi-operation-pipeline-fc4549bc","name":"x402 Image Tools – Edit (Multi-Operation Pipeline)","description":"Apply up to 10 operations in order: rotate (angle), flip, flop, grayscale, blur (sigma), sharpen, negate, trim (cut uniform borders), tint (color), modulate (brightness, saturation, hue).","url":"https://7fg5bxb40m3f0v23.68r.lambda-web.us-east-1.on.aws/v1/edit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ops":{"type":"array","items":{"type":"object"},"description":"operations in order, each {op: rotate|flip|flop|grayscale|blur|sharpen|negate|trim|tint|modulate, ...}"},"url":{"type":"string","description":"https URL of a JPEG, PNG, WebP, AVIF, GIF, TIFF or SVG image (up to 20 MB, 40 megapixels)"},"format":{"enum":["webp","avif","png","jpeg","gif","tiff"],"type":"string","description":"output format (default: the input's)"},"inline":{"type":"boolean","description":"also return the image as a data URL when it is at most 1 MB"}}},"responseSchema":{"type":"json","example":{"url":"https://dn8i8p8knpn68.cloudfront.net/results/images/3f1c2b9e.webp?Expires=...","bytes":48213,"width":800,"format":"webp","height":600,"expires_in":3600,"input_bytes":912345}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QF2SIzcw5Npo89BT8_AWW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Apply up to 10 sequential image transformation operations (rotate, flip, flop, grayscale, blur, sharpen, negate, trim, tint, modulate) to an image at a given URL.","exampleAgentPrompt":"Take the image at https://example.com/photo.jpg, rotate it 90 degrees clockwise, then apply a slight blur with sigma 2, convert it to grayscale, and return the result as a WebP file.","exampleUseCases":[{"title":"Social media thumbnail preparation","prompt":"Can you take this product photo at https://mystore.com/images/product.png, rotate it 180 degrees, sharpen it a bit, and export it as a JPEG so it's ready for the listing?"},{"title":"Artistic grayscale and tint effect","prompt":"I want to give this portrait at https://cdn.mysite.com/portrait.jpg a moody look — convert it to grayscale first, then tint it blue, and give me the result as a WebP."},{"title":"Scanned document cleanup","prompt":"This scanned document at https://docs.example.com/scan.tiff has a lot of uniform white borders — can you trim those off, negate the colors to make it look like a dark-mode doc, and return it as a PNG?"}],"resultDescription":"A JSON object containing a temporary CDN URL to the processed image, its dimensions (width and height in pixels), file size in bytes, output format, and expiry time in seconds. If the image is under 1 MB and inline was requested, also includes the image as a base64 data URL.","failureModes":["Image URL not reachable or returns non-image content → HTTP error or invalid input error","Image exceeds 20 MB or 40 megapixels limit → request rejected with size error","Unsupported input image format → format error","Invalid operation name or missing required op parameters → validation error","More than 10 operations specified → rejected with pipeline limit error","Tint color or modulate values out of valid range → parameter error","Output CDN URL expires after 3600 seconds → subsequent access fails"],"whenToPreferThis":"Choose this endpoint when you need to apply multiple image transformations in a single round-trip without downloading and re-processing the image locally. It is ideal for chaining operations like rotate + blur + grayscale in one call, supports a wide range of formats (JPEG, PNG, WebP, AVIF, GIF, TIFF, SVG), and accepts images directly from URLs up to 20 MB. Prefer it over separate per-operation endpoints when the pipeline has more than one step, to minimize latency and cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:36:51.548Z","isFirstParty":false,"canonicalSlug":"x402-image-tools-edit-multi-operation-pipeline-fc4549bc"}