# First Ruble Agent — SVG Preflight API

> First Ruble Agent — SVG Preflight API is a paid API for AI agents from first-ruble-agent.tohaa28.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-19).

Heuristically inspects SVG print files using an ink-mask grid to detect raster elements, live text, transparency, RGB/HEX color candidates, gradients, effects, and open paths before printing.

## Facts

- Endpoint: POST https://first-ruble-agent.tohaa28.workers.dev/api/printcheck?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/first-ruble-agent-svg-preflight-api-a121569c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__CROjSDvs7Dz4s3TuyIi7

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 first-ruble-agent-svg-preflight-api-a121569c -d '<json body>'
```

Example prompt: Run a preflight check on this SVG artwork for a 210mm × 297mm screen print job using method B1 — here are the binary ink-mask rows — and let me know if there are any raster images, live text, transparency, gradients, or open paths that would cause problems at press.

## When to prefer this

Use this endpoint when you need a fast, automated heuristic preflight of SVG artwork represented as binary ink-mask rows — particularly when checking for common print-production issues (raster embeds, live text, transparency, RGB/HEX colors, gradients, open paths) before sending files to a print vendor. Prefer this over manual review or full RIP-based prepress when speed and cost matter and a certified check is not required.

## Known failure modes

- Malformed or missing ink-mask rows cause validation failure or empty results
- Invalid or unrecognized print method code (e.g. unsupported value for 'method') may yield unreliable flag output
- Rows with fewer than 4 or more than 192 characters may be rejected or produce incorrect geometry counts
- Missing widthMm or heightMm may result in incomplete analysis
- This is a heuristic check only — not a certified prepress pass, so false positives and missed issues are possible

## How this service works

Focused APIs for SVG print risks, fine print details, Bezier clearance, tiny objects and holes, vector quality, cutting contours and native SVG/CorelDRAW EPS curves. From 0.02 USDC per request with x402 on Base. Free fixed samples and MCP discovery. Not a certified production approval.

## Output

Returns a JSON object with the tool name ('PrintCheck Geometry'), a flags object indicating issues like insufficient sampling, counts of isolated, negative, and positive elements, and a status string such as 'potential_violations' summarizing the preflight result.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Binary ink-mask rows, 4..192 each, #=ink and .=paper"
  },
  "method": {
   "type": "string",
   "description": "Print technology code, for example B1 or D1"
  },
  "widthMm": {
   "type": "number",
   "description": "Final print width in mm"
  },
  "heightMm": {
   "type": "number",
   "description": "Final print height in mm"
  },
  "conditions": {
   "type": "object",
   "description": "Explicit print conditions such as underbase"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": "PrintCheck Geometry",
  "flags": {
   "insufficientSampling": false
  },
  "counts": {
   "isolated": 0,
   "negative": 0,
   "positive": 1
  },
  "status": "potential_violations"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/first-ruble-agent-svg-preflight-api-a121569c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from first-ruble-agent.tohaa28.workers.dev](https://www.zero.xyz/host/first-ruble-agent.tohaa28.workers.dev/llms.txt)
