{"uid":"cap_hIi_SRQ0aGZR9hOh7KjIt","slug":"fastapi-online-image-rotate-244786cc","name":"fastapi.online Image Rotate","description":"Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.","url":"https://api.fastapi.online/image-rotate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"file":{"type":"string","format":"binary","description":"Image file (PNG/JPEG/WebP)"},"expand":{"type":"string"},"degrees":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QuC--k5A8Hv6-e54NuBFj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Rotates an image file (PNG/JPEG/WebP) by a specified number of degrees, with optional canvas expansion to preserve image content.","exampleAgentPrompt":"Can you rotate this image 90 degrees clockwise and expand the canvas so nothing gets cropped?","exampleUseCases":[{"title":"Fix sideways phone photo","prompt":"This photo came out sideways from my phone — can you rotate it 90 degrees clockwise to fix the orientation?"},{"title":"Create upside-down image effect","prompt":"I need this PNG rotated 180 degrees for a novelty graphic I'm making, please keep the canvas the same size."},{"title":"Rotate logo for layout","prompt":"Can you rotate my logo image 270 degrees counterclockwise and expand the canvas so the full image stays visible?"}],"resultDescription":"A rotated image file returned in the same format as the input (PNG/JPEG/WebP), oriented by the specified number of degrees, with optional expanded canvas to avoid cropping.","failureModes":["Unsupported file format returns an error — only PNG, JPEG, and WebP are accepted","Invalid degrees value (non-numeric or out-of-range) may return a 422 validation error","File too large may result in timeout or rejection","Missing required file parameter returns 422 Unprocessable Entity","Payment failure (insufficient USDC or invalid x402 header) returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-call image rotation with no signup or subscription required. Ideal for agents that occasionally need to fix image orientation programmatically without integrating a full image editing SDK. At $0.001 USDC per call it is extremely cost-effective for low-to-moderate volume tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:53:56.371Z","isFirstParty":false}