{"uid":"cap_yFAfrUrZs9KxSwd0-YItd","slug":"24k-labs-image-rotate-flip-34b61ab4","name":"24K Labs Image Rotate & Flip","description":"A curated directory of x402 services — each one on the list on purpose, with the health, uptime, and independent trust grades from across the ecosystem gathered in one place.","url":"https://api.24klabs.ai/api/image-rotate-flip","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"flip":{"type":"string"},"angle":{"type":"number"},"image_b64":{"type":"string"}}},"responseSchema":{"type":"json","example":{"width":2,"format":"PNG","height":2,"image_b64":"..."}},"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__1Fie6qvNpGR0t9DzDbf9","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":"Rotate and/or flip an image, returning the transformed result as a base64-encoded PNG/JPEG/WEBP/etc.","exampleAgentPrompt":"Can you rotate this image 90 degrees clockwise and flip it horizontally? Here's the base64-encoded PNG.","exampleUseCases":[{"title":"Fix sideways phone photo","prompt":"This photo from my phone came out rotated 90 degrees to the right — can you rotate it back so it's upright and give me the corrected image?"},{"title":"Mirror logo for design asset","prompt":"I need a horizontally flipped version of this PNG logo so I can use it as a mirror image in my design — can you flip it left to right?"},{"title":"Rotate thumbnail for gallery","prompt":"I'm building a photo gallery and one of the thumbnails is upside down. Can you rotate this image 180 degrees and return it as a PNG?"}],"resultDescription":"A JSON object containing the transformed image as a base64 string, along with the output width, height, and image format (e.g. PNG).","failureModes":["Invalid or malformed base64 input — returns error indicating unreadable image data","Unsupported image format — returns error if format is not among supported types","Invalid rotation angle or flip parameter — returns validation error","Oversized image payload — may return a payload-too-large or timeout error","Missing required parameters — returns 400-level error with field details"],"whenToPreferThis":"Choose this endpoint when you need a fast, low-cost ($0.003 USDC) programmatic way to rotate or flip an image and receive the result as base64 without managing any image processing library. Ideal for agents correcting image orientation automatically, pipelines flipping assets for design purposes, or any workflow that needs a simple geometric image transformation in a single API call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:30.149Z","isFirstParty":false}