【工具类】使用AI+二维码升级扫码体验
[封面图]
Stable Diffusion创建艺术二维码,这些二维码是用经过自定义训练的ControlNet模型生成的。
前提准备
生成一个二维码图片
生成二维码地址:https://34qr.com/en/
- 在
Select Type
中输入二维码的目标地址 Fault tolerance
选择30%
QR Code Color
二维码颜色设置为#000000
和Background Color
二维码背景色设置为#ffffff
- 点击
Generate
Download QR Code
选择下载PNG
类型图片
使用stable diffusion美化二维码
选择img2img
菜单
- 使用
GhostMix
模型 - 输入正向提示词和反向提示词
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 - 上传二维码到
img2img
画布 - 配置下面
img2img
参数- Resize mode: Just resize
- Sampling method: DPM++2M Karras
- Sampling step: 50
- Width: 768
- Height: 768
- CFG Scale: 7
- Denoising strength: 0.75
- 上传二维码到
ControlNet
的图片画布 - 配置
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
- 点击
Generate
- 打开微信,使用扫一扫确保生成的二维码有效,上面的方式生成有效的二维码的概率约为1/4
提示
- 文本较短的二维码成功率较高,因为图案更简单。
其他的提示词
机械女孩
1 | 【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 |
日本女孩
1 | 【prompt】:Japanese painting, mountains, 1girl |
中国女孩
1 | 【prompt】:Chinese painting, mountains,cheongsam, 1Chinese girls |
机器人
1 | 【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 |
户外市场
1 | 【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 |
浮世
1 | 【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> |
题外话
欢迎大家加入我的纯技术摸鱼群,另外如果对ChatGPT感兴趣,也可以加入我的ChatGPT讨论群,里面会定期分享免费ChatGPT资源。如果群二维码过期了,也可以添加下面我的个人微信。
摸鱼群
ChatGPT讨论小组
个人微信
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 王也的个人小站!
评论