{"uid":"cap_ZLlhhlUaFHbOui8stz-Ht","slug":"citiview-image-editor-c52a9725","name":"Citiview 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://agents.citiviewgroup.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_WcviPkmOsE0Zg-1SOa-7t","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 from a URL or base64 input, supporting PNG and JPEG up to 16 megapixels","exampleAgentPrompt":"Take this image URL https://example.com/photo.jpg, resize it to fit inside 800×600 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://myshop.com/images/product123.png to fit inside 400×400 pixels and convert it to JPEG at quality 80 so I can use it as a thumbnail."},{"title":"Profile picture crop and grayscale","prompt":"Crop this image at https://cdn.example.com/user_photo.jpg starting at coordinates 50,30 with a width of 200 and height of 200, then make it grayscale for a monochrome profile picture."},{"title":"Rotate and compress a scanned document","prompt":"Take this base64-encoded scanned document image, rotate it 90 degrees clockwise, and compress it as a JPEG at quality 60 so it's smaller to upload."}],"resultDescription":"Returns the processed image file (PNG or JPEG) reflecting the requested transformations — resized, cropped, rotated, grayscale, and/or format-converted — ready for download or further use.","failureModes":["Image URL is inaccessible or returns a non-image response","Input image exceeds the 16 megapixel limit","Invalid crop coordinates (outside image bounds)","Unsupported rotation value (not 90, 180, or 270)","Invalid JPEG quality value outside 10–100 range","Neither image_url nor image_base64 provided","Malformed base64 string causing decode failure"],"whenToPreferThis":"Choose this endpoint when you need lightweight, on-demand image transformations — resizing, cropping, rotating, format conversion, compression, or grayscaling — directly from a URL or base64 string without standing up your own image processing pipeline. It supports up to 16 megapixels and handles both PNG and JPEG, making it suitable for most web and app image workflows at a low per-call cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:48:37.944Z","isFirstParty":false,"canonicalSlug":"citiview-image-editor-c52a9725"}