{"uid":"cap_LUJOku-vfQL2035Ha33No","slug":"relaystation-image-compress-7b266034","name":"Relaystation Image Compress","description":"$0.0003/MP. Re-encode an image at lower quality to shrink file size — bandwidth-friendly output. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/image/compress","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"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.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MkAdR3XvLWa40F2VuB2ex","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Re-encodes an image at lower quality to reduce file size for bandwidth-efficient delivery","exampleAgentPrompt":"Can you compress this product photo to reduce its file size — re-encode it at lower quality so it loads faster on mobile?","exampleUseCases":[{"title":"Shrink hero images for web","prompt":"This homepage banner image is 4MB and killing our page load speed — can you compress it down so it's much smaller and bandwidth-friendly?"},{"title":"Optimize photos before email campaign","prompt":"I need to send out a newsletter with several product images, but they're too large to attach. Can you compress each one to a smaller file size before I include them?"},{"title":"Reduce upload size for mobile app","prompt":"Users are uploading full-resolution photos to our app and it's eating their data. Can you re-encode this image at lower quality to shrink it before we store it?"}],"resultDescription":"A re-encoded image file at reduced quality and smaller file size, suitable for bandwidth-constrained delivery. Charged at $0.0003 per megapixel, with a 1¢ USDC minimum via x402 and any remainder automatically credited.","failureModes":["Unsupported image format returns an error","Image URL unreachable or invalid input returns a failure response","Extremely small images may not compress further meaningfully","Insufficient x402 payment balance blocks the request"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-use image compression service with per-megapixel pricing and automatic x402 micropayment handling. Ideal for agents that need to compress individual images on demand without managing a separate media pipeline or subscription. Best when bandwidth reduction is the goal rather than format conversion or advanced image editing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:49:44.717Z","isFirstParty":false}