{"uid":"cap_1tz8Uklt64Z6cfUiQtRGR","slug":"relaystation-image-format-converter-ce8b0ed3","name":"Relaystation Image Format Converter","description":"$0.0003/MP. Convert between PNG, JPEG, WebP, AVIF — HEIC accepted in, animation preserved with animated:true. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/image/convert","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":{"type":"object","properties":{"file":{"type":"object","description":"cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key from /v1/cputools/upload-url, ≤ 50 MB> }."},"format":{"enum":["png","jpeg","webp","avif"],"type":"string"},"quality":{"type":"integer","maximum":100,"minimum":1},"animated":{"type":"boolean","description":"Preserve all frames of an animated GIF/WebP (billed per-frame)."}}},"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_G9jVZys9qE3P9-OybzoCg","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":"Converts images between PNG, JPEG, WebP, and AVIF formats (with HEIC input support), preserving animation when requested, billed per megapixel.","exampleAgentPrompt":"Can you convert this PNG image to WebP format? I want to keep the animation intact — use animated:true.","exampleUseCases":[{"title":"HEIC to JPEG for web upload","prompt":"I have a HEIC photo from my iPhone and I need it converted to JPEG so I can upload it to our website — can you do that?"},{"title":"PNG to AVIF for page speed","prompt":"Convert this PNG hero image to AVIF format so our page loads faster — quality matters so don't destroy it."},{"title":"Animated WebP preservation","prompt":"I have an animated WebP banner and need it as an animated PNG — make sure to preserve the animation when you convert it."}],"resultDescription":"Returns the converted image binary in the requested output format (PNG, JPEG, WebP, or AVIF), with animation frames preserved if animated:true was specified.","failureModes":["Unsupported output format specified — only PNG, JPEG, WebP, AVIF supported as output","Input image corrupted or unreadable — returns error","HEIC input processing failure if file is malformed","Payment insufficient — x402 minimum of $0.01 USDC required","Image too large causing timeout or processing error"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-use image format conversion without provisioning your own image processing infrastructure. It is ideal when HEIC input support is needed (common for iPhone photos), when animated image preservation is required, or when you want a low-cost per-megapixel billing model with no subscription. Prefer it over self-hosted solutions when conversion is occasional or when operating in an agentic x402-payment workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:51:31.097Z","isFirstParty":false}