# 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-13).

Rotate an image by a specified number of degrees and/or flip it horizontally or vertically.

## Facts

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

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-bfe438c4 -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 to rotate and/or flip an existing image without converting its format or applying other transformations. It is purpose-built for orientation adjustments and pairs well with the sibling image-convert endpoint if format conversion is also needed. Prefer this over general image editing APIs when you only need simple geometric transformation at low cost.

## Known failure modes

- Invalid or inaccessible image URL returns an error
- Unsupported image format may cause processing failure
- Rotation degrees outside valid range may return a validation error
- Malformed request body returns 400 Bad Request
- Service unavailability returns 5xx error

## How this service works

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

## Output

Returns a transformed image with the requested rotation (in degrees) and/or horizontal/vertical flip applied. The output is the modified image file or URL, ready for further use 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-bfe438c4/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)
