# 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.08/call, status unknown (last checked 2026-11-19).

Heuristically inspects SVG (or restricted EPS) files for print-readiness issues including raster elements, live text, transparency, RGB/HEX color candidates, gradients, effects, and open paths.

## Facts

- Endpoint: POST https://first-ruble-agent.tohaa28.workers.dev/api/native-vector-health?utm_source=zero.xyz
- Price: $0.08/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-75f895ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eq4j7ZUEn7Ug7QjIkzxub

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-75f895ba -d '<json body>'
```

Example prompt: Can you preflight my SVG file for print issues — specifically check for any raster images, live text, open paths, or RGB colors that might cause problems, and use a minimum segment size of 0.5mm?

## When to prefer this

Use this endpoint when you need a fast, automated heuristic preflight of SVG or restricted EPS files before sending to print, particularly to catch common issues like raster embeddings, live text, open paths, RGB colors, and transparency. Prefer this over manual inspection or full professional prepress tools when speed and automation matter and a certified prepress check is not strictly required.

## Known failure modes

- Unsupported file format submitted (not SVG or restricted path-only EPS)
- File contains PostScript page transforms in EPS (not supported)
- File contains executable content or is malformed
- minSegmentMm is zero or negative (exclusiveMinimum: 0 violated)
- Source file too large or complex for heuristic analysis
- Not a certified prepress check — may miss edge cases a professional tool would catch

## 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

A JSON object reporting the tool name ('native-bezier-health') and counts of paths, segments, and open subpaths, plus flags or indicators for detected issues such as raster image elements, live text, transparency, RGB/HEX color candidates, gradients, effects, and open paths found in the submitted SVG or EPS file.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "format": {
   "enum": [
    "svg",
    "eps"
   ],
   "type": "string"
  },
  "source": {
   "type": "string",
   "description": "A simple SVG path-only file, or restricted CorelDRAW path-only EPS without PostScript page transforms. No execution."
  },
  "minSegmentMm": {
   "type": "number",
   "exclusiveMinimum": 0
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": "native-bezier-health",
  "counts": {
   "paths": 1,
   "segments": 2,
   "openSubpaths": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/first-ruble-agent-svg-preflight-api-75f895ba/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)
