# QR Code Generator by CamelAI

> QR Code Generator by CamelAI is a paid API for AI agents from qr.camelai.io, paid per call via x402, $0.001/call, status down (last checked 2026-09-15).

Generates a QR code image from a given URL or text payload

## Facts

- Endpoint: POST https://qr.camelai.io/generate
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/qr-camelai-io-cf8436f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6tvMBT63-SOVeZFikcD5M

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 qr-camelai-io-cf8436f9 -d '<json body>'
```

Example prompt: Generate a QR code for https://myshop.example.com/sale so I can print it on a flyer.

## When to prefer this

Use this endpoint when an agent needs to generate a QR code on-demand from a URL or short text string, especially in workflows involving print materials, event ticketing, payment links, or sharing a URL in physical form. It charges a micro-fee of $0.001 USDC per call via x402, making it suitable for low-cost, high-frequency QR generation tasks.

## Known failure modes

- Invalid or malformed input URL returns an error response
- Empty payload causes a 400 bad request
- Overly long text may exceed QR code data capacity
- Network timeout if the service is temporarily unavailable
- Payment authorization failure via x402 protocol prevents request from being processed

## Output

Returns a QR code image (likely as binary data, base64-encoded image, or an image URL) that encodes the provided URL or text and can be scanned by a smartphone camera.

## More

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