界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
设计与创意 · SKILL.md

illusion-diffusion-hq

illusion-diffusion-hq

【设计与创意】Illusion Diffusion | QR Code Art Generator. Generate artistic QR codes and optical illusion images from prompts. Triggers: illusion diffusion, qr code art, qr code, optical illusion, artistic qr

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: illusion-diffusion-hq description: "Illusion Diffusion | QR Code Art Generator. Generate artistic QR codes and optical illusion images from prompts. Triggers: illusion diffusion, qr code art, qr code, optical illusion, artistic qr" allowed-tools: Bash(curl *), WebFetch

Illusion Diffusion

Generate artistic QR codes and optical illusion images from text prompts. Create beautiful, functional QR codes that blend art with utility, or generate optical illusion artwork from custom images.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "illusion-diffusion-hq",
    "version": "0.0.1",
    "input": {
      "prompt": "a beautiful enchanted forest with magical creatures and glowing plants",
      "qr_code_content": "https://eachlabs.ai",
      "guidance_scale": 7.5,
      "num_inference_steps": 40
    }
  }'

Parameters

ParameterTypeDefaultDescription
borderinteger1QR code border size
controlnet_conditioning_scalenumber1ControlNet conditioning strength multiplier
guidance_scalenumber7.5Scale for classifier-free guidance
heightinteger768Height of the output image
imagestring-Input image. If none is provided, a QR code will be generated
negative_promptstringugly, disfigured, low quality, blurry, nsfwNegative prompt to guide generation
num_inference_stepsinteger40Number of diffusion steps
num_outputsinteger1Number of outputs
promptstring-The prompt to guide QR Code generation
qr_code_contentstring-The website/content your QR Code will point to
qrcode_backgroundstringgrayQR code background color. enum: gray, white
seedinteger-1Seed for reproducibility
widthinteger768Width of the output image

Examples

Business card QR code art:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "illusion-diffusion-hq",
    "version": "0.0.1",
    "input": {
      "prompt": "an elegant Japanese ink painting with cherry blossoms and a mountain, minimalist",
      "qr_code_content": "https://myportfolio.com",
      "controlnet_conditioning_scale": 0.9,
      "guidance_scale": 8,
      "num_inference_steps": 50,
      "qrcode_background": "white"
    }
  }'

Optical illusion from custom image:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "illusion-diffusion-hq",
    "version": "0.0.1",
    "input": {
      "prompt": "a surreal dreamscape with floating islands and cosmic nebulae, detailed fantasy art",
      "image": "https://example.com/spiral-pattern.jpg",
      "controlnet_conditioning_scale": 1.2,
      "guidance_scale": 7.5,
      "num_inference_steps": 45,
      "seed": 42
    }
  }'

Related Models

Documentation

我的收藏