{"uid":"cap_-Q4fIB4hqRqQpJt55mGcz","slug":"pixo-tools-image-compress-convert-d8545b90","name":"Pixo Tools Image Compress/Convert","description":"Compress or convert an image","url":"https://api.pixo.tools/v1/image/compress","method":"POST","headers":{},"bodySchema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","description":"JPEG, PNG, or WebP"},"colors":{"type":"integer","description":"PNG only, default 256"},"format":{"enum":["jpeg","png","webp"],"type":"string","description":"Target format; defaults to the input format"},"quality":{"type":"integer","description":"JPEG/WebP only, default 90"}}},"responseSchema":{"type":"string","format":"binary"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_q4T6yMlVfEXGC_HCvhnYc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compresses or converts an uploaded image file to reduce file size","exampleAgentPrompt":"Can you compress this image file I'm uploading? I want to reduce its file size as much as possible.","exampleUseCases":null,"resultDescription":"A compressed or converted image file returned as binary output, with reduced file size compared to the input image.","failureModes":["Unsupported image format returns 400 or similar error","File too large may result in timeout or rejection","Malformed binary upload returns validation error","Payment not included or insufficient returns 402 Payment Required","Server error during processing returns 500"],"whenToPreferThis":"Use this endpoint when you need to reduce the byte size of an image file or convert it to a more efficient format, especially in automated pipelines where images must be optimized before storage or delivery. Prefer this over PDF compression siblings when the input is a raster image rather than a document.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:40:36.593Z","isFirstParty":false}