AI
Pass
All posts
AI Agents

AI QR Code Art Agent Skill - AI Pass API

Add AI QR code art generation to your agent. Create beautiful, scannable QR codes.

EiliyaMarch 13, 20261 min read

AI QR Code Art Agent Skill

Add AI QR code art generation to your agent. Create beautiful, scannable QR codes.

Usage

qr-art generate <content> [--style <style>]

Styles: minimalist, colorful, gradient, geometric

Python Implementation

import os, requests

def generate_qr_art(content, style="colorful"):
    url = "https://aipass.one/apikey/v1/images/generations"
    prompt = f"Create a beautiful, artistic QR code for '{content}'. Style: {style}. Must be fully scannable."
    
    r = requests.post(url, headers={"Authorization": f"Bearer {os.environ['AIPASS_API_KEY']}"}, json={
        "model": "flux-pro/v1.1",
        "prompt": prompt,
        "width": 1024,
        "height": 1024
    })
    
    return r.json()["data"][0]["url"]

Get API key: Developer Dashboard

For AI agents

Skill file

Download
---
name: qr-art-generator
description: Generate artistic QR codes
version: 1.0.0
---

# AI QR Code Art

```
qr-art generate <content> [--style <style>]
```

## Setup
```bash
export AIPASS_API_KEY="your-key"
```

## Implementation
```python
def generate_qr(content, style="colorful"):
    prompt = f"QR code for '{content}', style {style}, must scan"
    return api.generate_image(model="flux-pro/v1.1", prompt=prompt)
```

Related apps