{"uid":"cap_dFqxI74hbE6Q__3mOO8Un","slug":"relaystation-image-rotate-flip-736cf439","name":"RelayStation Image Rotate/Flip","description":"$0.0003/MP. Rotate or flip an image — any angle, mirrored or not. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/image/rotate","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> }."},"flip":{"type":"boolean","description":"Mirror vertically."},"flop":{"type":"boolean","description":"Mirror horizontally."},"angle":{"enum":["90","180","270"],"type":"string"}}},"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_QFmMyjJFWBoW2YQ7BckA3","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":"Rotates an image by any angle or flips it horizontally/vertically, returning the transformed image.","exampleAgentPrompt":"Can you rotate this image 90 degrees clockwise? Here's the image URL: https://example.com/photo.jpg","exampleUseCases":[{"title":"Fix sideways smartphone photo","prompt":"This photo came out rotated 90 degrees counterclockwise on my phone — can you rotate it back to upright? The image is at https://example.com/sideways-photo.jpg"},{"title":"Mirror image for watermark removal","prompt":"I need to flip this banner image horizontally so it faces the other direction — please mirror it left-to-right. Image URL: https://mysite.com/banner.png"},{"title":"Upside-down image correction","prompt":"My scanned document came in upside down — rotate it 180 degrees to flip it right-side up. Here's the file URL: https://storage.example.com/scan.jpg"}],"resultDescription":"Returns the transformed image file (rotated and/or flipped) in the original or compatible output format, ready for download or further processing.","failureModes":["Invalid or unreachable image URL returns an error","Unsupported image format may cause processing failure","Invalid rotation angle value (non-numeric or out of expected range) returns a validation error","Image file too large may exceed processing limits","Insufficient USDC balance causes payment failure via x402"],"whenToPreferThis":"Choose this endpoint when you need a simple, fast, pay-per-use image rotation or flip without setting up your own image processing pipeline. It's ideal for agents needing to correct image orientation on the fly, mirror images, or apply arbitrary angle rotations at a low per-megapixel cost with no infrastructure overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:52:17.878Z","isFirstParty":false}