# workbot1.oddsys.org QR Code Generator

> workbot1.oddsys.org QR Code Generator is a paid API for AI agents from workbot1.oddsys.org, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-10).

Generates a QR code from input text, returning it as a base64-encoded PNG or SVG with customizable size, margin, and colors

## Facts

- Endpoint: POST https://workbot1.oddsys.org/qr?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/workbot1-oddsys-org-qr-code-generator-274479c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tjAXna6-JayPisb44TlH0

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 workbot1-oddsys-org-qr-code-generator-274479c5 -d '<json body>'
```

Example prompt: Can you generate a QR code for 'https://mystore.example.com/promo' as a PNG with dark green modules (#1a7a1a) on a white background (#ffffff), module size 4, and a quiet-zone margin of 2? Give me the inline base64 image.

## When to prefer this

Choose this endpoint when you need a fast, deterministic, customizable QR code generated server-side without storing state. It supports both PNG and SVG output with full color control, making it suitable for both web embedding (base64 inline) and print workflows (SVG or download URL). Prefer it over client-side QR libraries when the agent cannot execute JavaScript, or when a canonical server-rendered image is needed.

## Known failure modes

- Input text exceeds 2953-byte QR capacity — returns an error indicating the data is too large
- Invalid hex color codes — may return a validation error or render with fallback colors
- Unsupported output format requested — returns format error
- Short-lived download URL expired before retrieval — link no longer accessible
- Network/server error — standard HTTP 5xx response

## How this service works

Generate a QR code from text as PNG (base64) or SVG. Custom module size, quiet-zone margin, and hex colours. Deterministic, capacity-capped at 2953 bytes. Set delivery to "url" to receive a short-lived download link instead of inline data.

## Output

Returns a QR code image either as a base64-encoded PNG or raw SVG markup inline in the response, or as a short-lived download URL if delivery mode is set to 'url'. The output encodes the provided text deterministically; capacity is capped at 2953 bytes of input.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "dark": {
   "type": "string",
   "description": "Hex colour of the data modules (default #000000)."
  },
  "text": {
   "type": "string",
   "description": "Content to encode (max 2953 bytes utf8 — QR capacity)."
  },
  "light": {
   "type": "string",
   "description": "Hex colour of the background (default #ffffff)."
  },
  "scale": {
   "type": "number",
   "description": "Pixels per QR module, PNG only (1-20, default 4)."
  },
  "format": {
   "enum": [
    "png",
    "svg"
   ],
   "type": "string",
   "description": "Output format (default png)."
  },
  "margin": {
   "type": "number",
   "description": "Quiet-zone width in modules (0-16, default 2)."
  },
  "delivery": {
   "enum": [
    "inline",
    "url"
   ],
   "type": "string",
   "description": "inline (default) = data in the response body; url = a short-lived download link (expires after ~15 min or a small download budget) — hand it to a user or client script instead of carrying the bytes."
  },
  "downloads": {
   "type": "number",
   "description": "url delivery only: download budget before the link dies (1-3, default 2)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/workbot1-oddsys-org-qr-code-generator-274479c5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from workbot1.oddsys.org](https://www.zero.xyz/host/workbot1.oddsys.org/llms.txt)
