# gardenpatch.xyz QR Code Generator

> gardenpatch.xyz QR Code Generator is a paid API for AI agents from gardenpatch.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-28).

Converts any text or URL into a QR code returned as an inline SVG or PNG image.

## Facts

- Endpoint: POST https://gardenpatch.xyz/api/v1/tools/qr-code/call?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gardenpatch-xyz-qr-code-generator-af917ff5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9Ia7uy5SRycO2UXHCrRts

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 gardenpatch-xyz-qr-code-generator-af917ff5 -d '<json body>'
```

Example prompt: Can you generate a QR code for https://myshop.com/sale and give it to me as a PNG?

## When to prefer this

Choose this endpoint when you need a quick, low-cost ($0.01) QR code generated on-demand from a URL or text string, returned immediately as an embeddable SVG or PNG without requiring a separate image-hosting step. Ideal for agents automating document generation, flyers, or product packaging workflows.

## Known failure modes

- Empty or missing input text/URL returns an error
- Unsupported output format request may return an error
- Payment failure (insufficient USDC balance) blocks the call
- Extremely long input strings may exceed encoding limits

## How this service works

QR code — Turn text or a link into a QR code, returned inline as SVG or PNG. $0.01 per call.

## Output

Returns the QR code inline as either an SVG or PNG image encoding the provided text or URL, ready to embed or download directly.

## More

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