# Relaystation Placeholder Image Generator

> Relaystation Placeholder Image Generator 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).

Generates placeholder images at any specified size with optional label text, returning PNG or SVG output

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/generate/placeholder
- 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-placeholder-image-generator-54da6088
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BvK7pPA0y-WJEU5wj7D4O

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-placeholder-image-generator-54da6088 -d '<json body>'
```

Example prompt: Can you generate a 1200×630 placeholder image in PNG format with the label 'Hero Banner' on it — I need it for a mockup layout I'm building?

## When to prefer this

Use this endpoint when you need a quick, programmatic placeholder image at precise dimensions with custom label text for UI mockups, wireframes, email templates, or any layout that requires a filler graphic. Prefer it over static stock placeholder services when you need dynamic sizing via API, SVG output support, or pay-per-call pricing with no subscription.

## Known failure modes

- Invalid or missing dimension parameters return a 400 error
- Unsupported output format string returns an error
- Payment failure or insufficient x402 credits blocks the request
- Extremely large dimensions may be rejected or time out
- Label text that is too long may be truncated or overflow the image

## How this service works

$0.0002/call. Placeholder images at any size with label text — PNG or SVG. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

Returns a placeholder image file (PNG or SVG) at the requested dimensions, filled with a neutral background and optionally displaying the specified label text centered on the image.

## 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": {
      "text": {
       "type": "string",
       "maxLength": 120,
       "description": "Label text (default \"W×H\")."
      },
      "color": {
       "type": "string",
       "maxLength": 32
      },
      "width": {
       "type": "integer",
       "maximum": 4000,
       "minimum": 8
      },
      "format": {
       "enum": [
        "png",
        "svg"
       ],
       "type": "string"
      },
      "height": {
       "type": "integer",
       "maximum": 4000,
       "minimum": 8
      },
      "background": {
       "type": "string",
       "maxLength": 32
      }
     }
    },
    "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-placeholder-image-generator-54da6088/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)
