Install
openclaw skills install pr-generatorGenerate QR codes from text, URLs, or images. Use when users ask to 'generate QR code', 'create QR', or 'make QR code for'. Supports text content, URLs, and...
openclaw skills install pr-generatorGenerate QR codes from text, URLs, or local images. Perfect for sharing links, contact information, or small images via scannable codes.
pip install qrcode[pil] pillow
from agent import handle_call
# Generate QR for URL
result = handle_call({"content": "https://openclaw.ai"})
# Generate QR for text
result = handle_call({"content": "Hello OpenClaw"})
# Generate QR from image
result = handle_call({"image": "/path/to/image.jpg"})
# Install dependencies first
pip install qrcode[pil] pillow
# Run the example
python example.py
content (string): Text or URL to encodeimage (string): Full path to local image fileimage_path: Path to generated QR code imageerror: Error message if failedmessage: Informational message