# 24K Labs Image Rotate & Flip

> 24K Labs Image Rotate & Flip is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Rotates an image by a specified number of degrees and/or flips it horizontally or vertically.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/v1/image-rotate
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-image-rotate-flip-6c01566f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OrC1dtwurnBQCMS0-eAX1

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 24k-labs-image-rotate-flip-6c01566f -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you need a quick, low-cost ($0.002 USDC) programmatic image rotation or flip operation without needing a full image editing suite. Ideal for correcting photo orientation, creating mirrored assets, or transforming images in automated pipelines. Pairs well with the sibling image format conversion endpoint on the same platform.

## Known failure modes

- Invalid or inaccessible image URL returns an error
- Unsupported image format may cause processing failure
- Out-of-range rotation degrees may return a validation error
- Network timeout if source image is slow to fetch
- Image too large may exceed processing limits

## How this service works

Rotate an image by degrees and/or flip it horizontally or vertically.

## Output

Returns the transformed image (rotated by the specified degrees and/or flipped horizontally or vertically) as a binary image file or URL, ready for download or display.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "degrees": {
   "type": "number"
  },
  "image_b64": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "format": "PNG"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/24k-labs-image-rotate-flip-6c01566f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
