---
tool_name: qrcode-gen
summary: Generate a crisp QR code for URLs, text, WiFi strings or vCards — PNG or SVG.
input:
  file: binary, required # No file needed — text input only (max 5MB)
  text: string, required # 二维码内容
  size: number, optional, min 64, max 2048 # 尺寸
  format: enum, optional # 格式
output:
  preview_url: string | watermarked preview, free, no auth
  task_id: string | unique task identifier
  payment_url: string | end-user must complete one-time payment to unlock final output
  final_download_url: string | only available after successful payment
auth: login via email/phone OTP on https://qrcode-gen.yeezhan.com; API callers use a personal API key (Bearer yeek_...)
payment_rule: one-time charge $0.99 per task. NO credits, NO account balance. One payment unlocks only this task.
valid_window: 24 hours after payment
errors:
  - file_too_large
  - invalid_input
  - unsupported_type
  - target_unreachable
  - processing_failed
endpoint: https://qrcode-gen.yeezhan.com/api/v1/run
---
