# RelayStation Image Composite

> RelayStation Image Composite 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-15).

Overlays or watermarks one image onto another with configurable position and blend control

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/image/composite
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-image-composite-a22135ae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8Pl3wcOzTOGX54-4Si-V0

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-composite-a22135ae -d '<json body>'
```

Example prompt: Take my product photo and overlay my company logo watermark onto the bottom-right corner with 70% opacity to create a branded composite image.

## When to prefer this

Choose this endpoint when you need to programmatically composite, watermark, or overlay one image on top of another with control over position and blend/opacity. Ideal for automated branding pipelines, batch watermarking workflows, or any agent task requiring image layering at a low per-megapixel cost with micropayment x402 billing.

## Known failure modes

- Invalid or inaccessible image URL returns an error
- Unsupported image format causes processing failure
- Position coordinates out of bounds may clip the overlay
- Insufficient x402 payment balance halts processing
- Overlay image larger than base image may produce unexpected results

## How this service works

$0.0003/MP. Overlay or watermark one image onto another — position and blend control. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

Returns a composited image file with the overlay image blended onto the base image at the specified position and opacity. Charged at $0.0003 per megapixel with a $0.01 minimum via x402 payment; any remainder auto-credits to the account.

## 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": {
      "top": {
       "type": "integer",
       "maximum": 100000,
       "minimum": 0
      },
      "file": {
       "type": "object",
       "description": "The base image. cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key from /v1/cputools/upload-url, ≤ 50 MB> }."
      },
      "left": {
       "type": "integer",
       "maximum": 100000,
       "minimum": 0
      },
      "gravity": {
       "enum": [
        "center",
        "north",
        "south",
        "east",
        "west",
        "northeast",
        "northwest",
        "southeast",
        "southwest"
       ],
       "type": "string",
       "description": "Overlay placement (alternative to top/left)."
      },
      "opacity": {
       "type": "number",
       "maximum": 1,
       "minimum": 0
      },
      "overlay": {
       "type": "object",
       "description": "The overlay image. cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key from /v1/cputools/upload-url, ≤ 50 MB> }."
      }
     }
    },
    "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-composite-a22135ae/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)
