{"uid":"cap_75JclYfyzWxRzr_l2T9Di","slug":"workbot1-oddsys-org-image-transform-47279668","name":"workbot1.oddsys.org Image Transform","description":"Modify an image in one call: crop, resize, convert to greyscale, and re-encode (PNG/JPEG/WebP) — applied in that order, any combination. Deterministic, no upscaling surprises.","url":"https://workbot1.oddsys.org/image?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"crop":{"type":"object","required":["width","height"],"properties":{"top":{"type":"number"},"left":{"type":"number"},"width":{"type":"number"},"height":{"type":"number"}},"description":"Crop region in source pixels; applied first."},"format":{"enum":["png","jpeg","webp"],"type":"string","description":"Output encoding (default: source format)."},"resize":{"type":"object","properties":{"fit":{"type":"string"},"width":{"type":"number"},"height":{"type":"number"}},"description":"Target size; fit: cover|contain|fill|inside|outside (default inside)."},"quality":{"type":"number","description":"JPEG/WebP quality 1-100 (default 80)."},"delivery":{"enum":["inline","url"],"type":"string","description":"inline (default) = base64 in the response body; url = a short-lived download link (expires after ~15 min or a small download budget) — hand it to a user or client script instead of carrying the bytes."},"downloads":{"type":"number","description":"url delivery only: download budget before the link dies (1-3, default 2)."},"greyscale":{"type":"boolean","description":"Convert to greyscale."},"imageBase64":{"type":"string","description":"Base64-encoded source image (png/jpeg/webp/gif/tiff)."}}},"responseSchema":null,"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_09Trr2_1v0WFJ0BdjeDA-","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":"Crop, resize, convert to greyscale, and re-encode images (PNG/JPEG/WebP) in a single deterministic API call","exampleAgentPrompt":"Take this PNG image, crop it to 800×600 starting at offset (100, 50), resize the result to 400×300, convert it to greyscale, and give me back a JPEG.","exampleUseCases":[{"title":"Avatar thumbnail pipeline","prompt":"Take this profile photo, crop it to a 512×512 square from the center, resize it to 128×128, and return it as a WebP file."},{"title":"Greyscale document scan prep","prompt":"I have a color scan of a document — can you convert it to greyscale and re-encode it as a JPEG to reduce file size before I store it?"},{"title":"Product image resizing for web","prompt":"Resize this product image to 600×400, keep it as PNG, and crop off the top 20 pixels so it fits the banner slot on the website."}],"resultDescription":"Returns the transformed image as encoded binary data (PNG, JPEG, or WebP depending on the requested output format). Transformations — crop, resize, greyscale, re-encode — are applied in that fixed order, with any combination allowed. No upscaling is performed.","failureModes":["Invalid or unsupported image format returns an error","Crop region extends outside image boundaries — returns error","Unsupported output format specifier — returns error","Malformed or missing image data in request body — returns 400","Attempting to upscale may be rejected or no-op depending on policy"],"whenToPreferThis":"Choose this endpoint when you need to apply one or more of crop, resize, greyscale conversion, and format re-encoding to an image in a single deterministic call without spinning up a local image processing library. Ideal for AI agent pipelines that need to normalize image dimensions or formats before passing them to downstream services. Prefer over client-side libraries when running in serverless or constrained environments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:40:27.973Z","isFirstParty":false,"canonicalSlug":"workbot1-oddsys-org-image-transform-47279668"}