Tools/qr-code
QR Code Generator

QR Code Generator

Active

Your agent can't draw a QR code; this returns one as a PNG for any text or URL.

1 tool

Generate QR codes as PNG images. Encode text or URLs with configurable size, error-correction level, and border.

Sharingqrcodeimagegenerator

Tools (1)

Generate a QR code as a base64-encoded PNG.

Free

Example prompts

  • Generate a QR code for https://askfaro.com
  • Make a 512px QR code linking to my LinkedIn
  • Create a QR code with high error correction for the text "Hello, world"

Parameters

datastringrequired

Text or URL to encode into the QR code.

sizeintegeroptionaldefault: 256

Output image size in pixels (square).

borderintegeroptionaldefault: 4

Quiet-zone border width in modules.

formatstringoptionaldefault: "png"

Output image format.

error_correctionstringoptionaldefault: "M"

QR error-correction level. Higher levels tolerate more damage but encode less data.

API Usage

curl -X POST "https://skill.askfaro.com/skills/qr-code/run" \
  -H "Authorization: Bearer faro_<your_key>" \
  -H "Content-Type: application/json" \
  -d '{
  "intent": {
    "prompt": "Generate a QR code for https://askfaro.com"
  }
}'

CLI Usage

askfaro describe qr-code/generate

Install pip install askfaro-cli, then askfaro auth login.

README

QR Code Generator

Generate QR codes from arbitrary text or URLs. Returns a base64-encoded PNG.

Inputs

NameTypeDefaultDescription
datastringrequiredText or URL to encode (1–4096 chars).
sizeinteger256Output image size in pixels (32–2048).
formatstringpngOutput image format.
error_correctionstringMQR error-correction level: L, M, Q, H.
borderinteger4Quiet-zone border width in modules (0–16).

Output

{
  "image_base64": "<base64 PNG>",
  "mime": "image/png"
}

Pricing

0.005 credits per QR code generated. Flat rate: cost does not depend on input size, output size, or error-correction level.