[封面图]

封面图

Stable Diffusion创建艺术二维码,这些二维码是用经过自定义训练的ControlNet模型生成的。

原文地址

前提准备

  1. stable diffusion V1.5 环境
  2. GhostMix模型 模型下载
  3. ControlNet模型 模型下载

生成一个二维码图片

生成二维码地址:https://34qr.com/en/

  1. Select Type中输入二维码的目标地址
  2. Fault tolerance选择30%
  3. QR Code Color二维码颜色设置为#000000Background Color二维码背景色设置为#ffffff
  4. 点击Generate
  5. Download QR Code选择下载PNG类型图片

二维码

使用stable diffusion美化二维码

选择img2img菜单

  1. 使用GhostMix模型
  2. 输入正向提示词和反向提示词
    1
    2
    【prompt】:a cubism painting of a town with a lot of houses in the snow with a sky background, Andreas Rocha, matte painting concept art, a detailed matte painting
    【negative prompt】:ugly, disfigured, low quality, blurry, nsfw
    2
  3. 上传二维码到img2img画布
  4. 配置下面img2img参数
    • Resize mode: Just resize
    • Sampling method: DPM++2M Karras
    • Sampling step: 50
    • Width: 768
    • Height: 768
    • CFG Scale: 7
    • Denoising strength: 0.75
      3
  5. 上传二维码到ControlNet的图片画布
  6. 配置ControlNet的参数
    • Enable: Yes
    • Control Type: Tile
    • Preprocessor: tile_resample
    • Model: control_xxx_tile
    • Control Weight: 0.87
    • Starting Control Step: 0.23
    • Ending Control Step: 0.9
      4
  7. 点击Generate
    4
    4
  8. 打开微信,使用扫一扫确保生成的二维码有效,上面的方式生成有效的二维码的概率约为1/4

提示

  • 文本较短的二维码成功率较高,因为图案更简单。

其他的提示词

机械女孩

1
2
【prompt】:1mechanical girl,ultra realistic details, portrait, global illumination, shadows, octane render, 8k, ultra sharp,intricate, ornaments detailed, cold colors, metal, egypician detail, highly intricate details, realistic light, trending on cgsociety, glowing eyes, facing camera, neon details, machanical limbs,blood vessels connected to tubes,mechanical vertebra attaching to back,mechanical cervial attaching to neck,sitting,wires and cables connecting to head
【negative prompt】:ugly, disfigured, low quality, blurry

4
4

日本女孩

1
2
【prompt】:Japanese painting, mountains, 1girl
【negative prompt】:ugly, disfigured, low quality, blurry, nsfw

4
4

中国女孩

1
2
【prompt】:Chinese painting, mountains,cheongsam, 1Chinese girls
【negative prompt】:ugly, disfigured, low quality, blurry, nsfw

4
4

机器人

1
2
【prompt】:light, futobot, cyborg, ((masterpiece),(best quality),(ultra-detailed), (full body:1.2), 1male, solo, hood up, upper body, mask, 1boy, male focus,white gloves, cloak, long sleeves, spaceship, lightning, hires
【negative prompt】:ugly, disfigured, low quality, blurry

4
4

户外市场

1
2
【prompt】:A photo-realistic rendering of a busy market, ((street vendors, fruits, vegetable, shops)), (Photorealistic:1.3), (Highly detailed:1.2), (Natural light:1.2), art inspired by Architectural Digest, Vogue Living, and Elle Decor
【negative prompt】:ugly, disfigured, low quality, blurry, nsfw

4
4

浮世

1
2
【prompt】:((masterpiece)), ((high detail)),((ultra-detailed)),((delicate face)),A wave, a mountain, a sun rising over the horizon, complex clouds, 1 girl,white hair,<lora:fuyuestylenew-000010:1>
【negative prompt】:ugly, disfigured, low quality, blurry, nsfw

题外话

欢迎大家加入我的纯技术摸鱼群,另外如果对ChatGPT感兴趣,也可以加入我的ChatGPT讨论群,里面会定期分享免费ChatGPT资源。如果群二维码过期了,也可以添加下面我的个人微信。

摸鱼群

moyu

ChatGPT讨论小组

【工具类】免费ChatGPT资源收录

chatgpt-group

个人微信

wechat