✓ Verified ✍️ Content Creation ✓ Enhanced Data

Pr Generator

Generate QR codes from text, URLs, or images.

Rating
4.2 (357 reviews)
Downloads
10,091 downloads
Version
1.0.0

Overview

Generate QR codes from text, URLs, or images.

Key Features

1

✅ Generate QR codes from text

2

✅ Generate QR codes from URLs

3

✅ Generate QR codes from local images (auto-compressed)

4

✅ Customizable QR code size and colors

5

✅ Returns image path for easy sharing

Complete Documentation

View Source →

QR Code Generator

Generate QR codes from text, URLs, or local images. Perfect for sharing links, contact information, or small images via scannable codes.

Features

  • ✅ Generate QR codes from text
  • ✅ Generate QR codes from URLs
  • ✅ Generate QR codes from local images (auto-compressed)
  • ✅ Customizable QR code size and colors
  • ✅ Returns image path for easy sharing

Installation

bash
pip install qrcode[pil] pillow

Usage Examples

Basic Usage

python
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"})

Command Line

bash
# Install dependencies first
pip install qrcode[pil] pillow

# Run the example
python example.py

Parameters

  • content (string): Text or URL to encode
  • image (string): Full path to local image file

Returns

  • image_path: Path to generated QR code image
  • error: Error message if failed
  • message: Informational message

Notes

  • Images larger than 10MB will be rejected
  • Large images are automatically compressed for QR encoding
  • For best results with images, use URLs instead of local files

Installation

Terminal bash

openclaw install pr-generator
    
Copied!

💻Code Examples

### Basic Usage

-basic-usage.py
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"})

### Command Line

-command-line.sh
# Install dependencies first
pip install qrcode[pil] pillow

# Run the example
python example.py

Tags

#image_and-video-generation #code

Quick Info

Category Content Creation
Model Claude 3.5
Complexity One-Click
Author nbf819-web
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install pr-generator