# RelayStation Image Rotate/Flip

> RelayStation Image Rotate/Flip is a paid API for AI agents from api.relaystation.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Rotates an image by any angle or flips it horizontally/vertically, returning the transformed image.

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/image/rotate
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-image-rotate-flip-736cf439
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dFqxI74hbE6Q__3mOO8Un

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability relaystation-image-rotate-flip-736cf439 -d '<json body>'
```

Example prompt: Can you rotate this image 90 degrees clockwise? Here's the image URL: https://example.com/photo.jpg

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

$0.0003/MP. Rotate or flip an image — any angle, mirrored or not. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

Returns the transformed image file (rotated and/or flipped) in the original or compatible output format, ready for download or further processing.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/relaystation-image-rotate-flip-736cf439/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relaystation.ai](https://www.zero.xyz/host/api.relaystation.ai/llms.txt)
