AI觉醒日报(一觉醒来发生了什么)(三)

TorrentToMagnet PHP 转换BT种子到 磁力链 立即下载

来源:https://diwfpqo78m.feishu.cn/docx/NOl4dsah8o4LtixcOv4cdjB3nfb

  • Dalle

  • 0.13 美元 / 生成

  • 6pen

  • 免费排队生成

  • 付费快速生成: 0.1人民币起

可以看出,商业化的 AI绘画的服务目前几乎不区分 ToB 或 ToC ,更多是提供按量或按需付费的服务,无论是企业还是个人用户都可以使用。这种收费模式是因为这些原因:

  • AI生成使用显卡服务器,维持免费使用需要付出巨大成本

  • 缺乏生成图之后的闭环,无法从免费用户获得其他方面的收入

  • 受限于尚处在争议中的版权及其它道德因素,其它商业化手段还有待探索

ToB 的可能性

AI绘画在 ToB 领域天然拥有更多可能性,但受限于模型质量,版权争议,以及目前较早期的技术阶段,还很少有公开落地的案例,但我们认为在下列方向,可能会在未来涌现出更多 ToB 的成功案例:

  • 广告行业

  • ToB 素材库

  • 设计师/美术工作者辅助工具

  • 营销定制服务

  • 线下实体结合服务

  • 元宇宙等线上虚拟空间

争议,问题,潜力和未来

争议

目前 AI 绘画的最大的争议在于版权归属,以及模型是否有权利指定版权归属,众所周知,AI模型训练所使用的大量素材,可能包含了未经授权的,有明确版权方的图片数据,因此模型源头就带有「未经授权」的烙印,支持者一方则认为,AI模型经过训练,迭代,蒸馏,最终沉淀下来的是单纯的,崭新的运算方法,由这种运算方法产出的图片,版权归属应该由模型指定。

即便如此,目前获得较多认可的说法是,如果在AI生成图片的文本描述( prompt )中,指定了在世的艺术家,那么绝对不应该申明该图片的版权。

我们提倡,如果在生成 prompt 中指定了在世艺术家,那么至少应该将AI生成的图片以 CC0 协议发布,同时应该保留艺术家的相关信息,并且在得到艺术家授权前,尽量不做商业用途,即便这样,依然可能会对艺术家造成困扰,目前全世界范围内对此都还在进行讨论,AI和人类艺术家的更好的合作规则也急需尽快建立。

版权问题的探索

6pen 对原创艺术家发放问卷,并搜集到了 368 份艺术家反馈,其中 7.1% 的受访艺术家明确表示自己已经被 AI 模型学习,67%的艺术家对此还不确定。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/3845babd93f6ead8b1ac65eab4c6d276.png

27% 的艺术家无论如何都不希望AI模型使用自己的风格,27%的艺术家希望如果生成者使用了自己的风格,那么需要在使用图片时展示艺术家的信息,37%的艺术家希望如果使用自己的风格,那么需要向自己付费,完全不介意的只有6.9%

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/a13cbac8db8c8b1b06d3d96696941625.png

对目前的 AI 绘画(包括模型和产品),绝大部分艺术家都持有负面的态度,NPS评分低至-89,这主要的原因在于,那些在未经授权就被模型学习的大量人类艺术家,其本身并不能从模型生成中获益,但生成的图片却可能为生成者带来收益,这既不公平,也在某种程度上破坏了生产关系,还将进一步瓦解人类的创作动力——为了免于成为模型学习的素材,原创性的探索将会减少,新的风格,范式,流派都可能会停止出现。

但是,如果未来AI绘画能更具规范,例如:

  • 使用版权干净的素材训练模型

  • 使用艺术家风格,向其进行分成付费

  • 和艺术家共同探索新的风格边界

  • 为人类创作提供辅助性功能

  • 尊重艺术家 **不被AI模型学习 **的意愿

根据我们的问卷调查,如果这些问题得到解决,那么艺术家对AI生成图片技术的 NPS 评分将提高 4 倍,绝大多数艺术家认为这样的 AI 生成是可以被接受的。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/ab966795963cb6498bf011dffb582737.png

然而这样的模式建立也并不容易,其中在技术,产品和规则上都需要很多创新和尝试,6pen 将在搜集更多反馈后开始行动,我们也会将探索的过程随时分享。

其他问题

技术问题

虽然在过去的几个月,AI绘画技术已经得到了快速的发展,但依然有一部分问题一直存在,包括:

  • 对显卡,主要是显存,要求较高,成本高昂

  • 无法精确的指定画面对象的数量,例如“三只猪和四只老虎”

  • 人的肢体(主要是手指)和眼球效果较差

  • 多主体对象生成效果差(往往只会保留一个或两个主体对象)

  • 无法进行有逻辑延续的故事性生成

不过,这些问题有望在未来 6-12 个月得到较大改善

技术性道德问题

和其它赛道不同,AI绘画既依托先进的AI技术,又(很多时候)依托开源世界的能力,因此可能会有一些其他行业所不存在的可能的道德问题,例如在 Stable Diffusion 开源之后,从国内涌现出较多的封装型产品,其中许多都存在技术性道德问题,包括:

  • 不遵守开源模型 licence ,包装成自研或国产 AI 进行营销 *

  • 直接将可能含有艺术家风格的生成图片用于版权交易或NFT

  • 将未经安全过滤的图片直接展示给用户,可能含有歧视,暴力,色情或其他内容

  • 过度封装,隐藏艺术家的相关信息

  • 使用非开源服务,用爬虫等方式获取其他服务的生成结果,封装成独立产品

  • 据我们统计,2022年9月后国内涌现的AI绘画产品,95% 都使用了 Stable Diffusion,但是按照 Stability License 展示必要信息的,只有不到 10 %

这些问题可能会阻碍行业的健康发展,甚至加剧不同立场的用户群体之间的矛盾,其中有些难以避免,另一些则完全是故意为之,我们也再次呼吁,从业者应该理性的,有尊严的进行探索和创新。

未来的市场预估

AI 绘画目前依然是快速增长的市场,技术也在快速发展,根据我们的预测,在未来五年,全世界的图片内容可能有10-30%为AI生成或AI辅助生成,据此估算其市场规模可能超过600亿。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/665bacffdad2bd8f2494cfe33aa55cfd.png

但如果要达到这样的数字,前述的问题和争议都需要得到妥善的解决,就总体而言,AI绘画的技术发展确实很快,甚至快到法律和规则还远远没有跟上,就已经产生了巨大的影响力,这不一定是好事,但也蕴含着许多新的可能性,我们应该更加谨慎,小心的进行探索,尽可能的保护而非损害更多人的利益。

如果AI技术的发展是以人类创作力的枯竭为代价,那 AIGC 将是人类之最大不幸,但如果我们能找到好的方式,来激励人类无穷的创造力,并让所有人都从中受益,那么,这将能成为开启一个更美好的世界的钥匙,我们正处在这两条道路的中间,我们无法停止前进,我们也将注视着,看到人类将迈向何方。

我们希望,能走向对的那方。

奶奶看了都会的Midjourney入门教程!! - 知乎

来源:https://diwfpqo78m.feishu.cn/docx/KdKOduvZNovEnSxBS9ocU56lnJh

🔗 原文链接: https://zhuanlan.zhihu.com/p/618532…

目录

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/5aec847f3221c0cdf0edbaf1c299e9ec.png

一、前言篇

1.1 AI绘图是什么?

AI绘画,顾名思义就是利用人工智能进行绘画,是人工智能生成内容(AIGC)的一个应用场景。其主要原理简单来说就是收集大量已有作品数据,通过算法对它们进行解析,最后再生成新作品,而算法也便是AI绘画的核心,是它得以爆火的基础。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/721c3ba4e456a498ffab3da42e4140d4.png

1.2 Midjourney是什么?

Midjourney是一个由Midjourney研究实验室开发的人工智能程序,可根据文本生成图像,目前架设在Discord频道上。于2022年7月12日进入公开测试阶段,使用者可通过Discord的机器人指令进行操作,可以创作出很多的图像作品。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/6c5d8de3ee7c0448bd5debdb704acfa5.png

1.3 Discord频道是什么?

Discord是前几年诞生的非常火的一种新型聊天工具,类似QQ、微信群。

Midjourney的使用方式是:通过给Discord频道内的聊天机器人发送对应文本,聊天机器人返回对应的图片。

所以想用Midjourney,需要先注册一个discord 账号,然后进入Midjourney的Discord频道。我们注册了账号之后,可以用浏览器使用discord,也可以下载他们的客户端。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/9766a3aad3988817804011e76f0a1d68.png

1.4 AI绘图前景如何?

AI绘图在未来有很大的前景,因为它具有以下几个方面的优势:

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/428c62e5550099eeeeb0e8ab679dfcfa.png

  • 自动化程度高

AI绘图可以通过算法和数据自动化生成绘图,减少人工操作和错误,提高效率和准确性。

  • 精度高

AI绘图可以利用深度学习和神经网络等技术对大量的图像进行学习和训练,从而提高绘图的精度和质量。

  • 可扩展性强

AI绘图可以通过不断地学习和训练来不断提高其绘图的能力和品质,随着技术的不断发展,其绘图的应用范围也会不断扩大。

  • 可定制化

AI绘图可以根据用户的需求进行定制,根据不同的绘图场景和目的,生成不同的绘图结果。

  • 应用广泛

AI绘图可以应用于多个领域,例如设计、建筑、艺术、医疗、教育等,为人们提供更加便捷和高效的绘图解决方案。

然而,AI绘画本身存在着一个非常大的争议——版权问题。AI绘画的核心是模型,而训练它则需要使用大量数据,其中不可避免的会出现未经授权的图片。另外,经过运算之后所生成的图像版权究竟归属于谁在目前也尚未有定论,使得部分艺术家对AI绘画表示反对。因此,要实现市场的良性发展,版权或许是AI绘画行业首先需要解决的问题。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/46634aee7f4674973eca420d22d6c1ae.png

随着时代向Web3.0、元宇宙、虚拟人等等这些代表着未来的概念迈进,AI技术现如今正在以一个令大众应接不暇的速度发展,绘画领域出现AI的身影是发展的必然,而AI绘画近月来的爆火也只是在技术不断积累之下的爆发。作为下一代互联网中图像领域的未来最大生产力,在版权问题得到规范之后,AI未来的市场潜力是超乎想象的。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/b3ad57bff381e443db29f18cdd4c32f8.png

1.5 设计师怎么把握这个趋势?

首先,AI绘画可以为设计师提供更多的设计灵感和创作元素。AI绘画可以模仿人类绘画的艺术风格和风格元素,为设计师提供更多的参考和灵感,使得设计师可以更加轻松地完成作品。 其次,AI绘画可以提高设计效率和质量。与传统的绘画方式相比,AI绘画可以通过自动化和算法优化,快速生成高质量的设计作品,节省设计师的时间和精力。 但是,AI绘画也可能对设计师造成威胁。一方面,AI绘画可能会取代一些设计师的工作。特别是一些简单的设计任务,如图标设计、平面设计等,可能会被AI绘画完全取代,使得这些设计师的就业机会受到影响。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/3378b06d62ecc88260ea7c0e04121dcc.png

作为设计师,我们可以将AI绘图作为辅助工具,来帮助我们快速的实现设计想法,提供更多的灵感和创意。我们需要不断地学习和更新自己的技能,以保持与时俱进。了解最新的技术和工具,研究和探索AI绘图的潜力和应用,探索如何将AI绘图应用到更广泛的设计领域中,这样才能更好地适应未来的设计趋势。

二、注册篇

2.1 如何注册Midjourney账号?

Midjourney官网链接: http://www. midjourney.com 前面说了,Midjourney架设在Discord频道上,所以这里我们主要注册Discord就好啦,来吧展示:

  • 使用条件

需要使用国外网络(对这块有疑问的可以通过主页联系我)

  • 注册流程

打开Midjourney网站之后,点击 “sign in”。(如果你已经注册了账号,点击“join the beta”会自动进入到“discord,新用户就不用搭理这个啦)

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/64aa8192d8f808bd37b53fc98e98929a.png

点击“sign in” 后会出现这个登录界面,点击下方的“注册”按钮,然后弹出一个填写信息框,大家按照要求去填写就好了。

注意!!!**

邮箱:**** 建议用国外的邮箱,国内邮箱不**一定能注册Discord;

用户名: 咱用国外的软件建议还是用些英文名比较好,Discord社区大部分都是国外友人,当然这个不强求,名字取的简单一点吧,不用搞的太复杂;

密码: 用自己常用的的密码吧,不然容易忘(本人),密码可以复杂点,避免出现不可控因素;

出生日期: 年龄填18岁以上的,也不要填的很离谱,万一人家做限制什么的;

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/cf5216308eb55d795c256ef37e05319e.png

然后就是进行人机验证了,根据要求去填写信息,(这里如果人机验证出现不了的原因是“科学上网”的原因)

之后你的邮箱就会收到验证信息,按要求点击就好了。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/7cd1cf36b9461fb3c515275456992280.png

注意的是,如果填写信息之后出现错误(如左1 也可能是其他的错误方式展示),不要着急,等邮箱收到验证信息确定之后就好了,未收到信息之前什么也不用做。最后就是授权登录就大功告成了。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/f355fe4cad3a9591113f753e5dec7310.png

  • 客户端与APP

最后提一嘴,Discord是可以下载客户端和app端的,看自己的习惯和需求进行选择。

官网链接: https:// discord-nu.vercel.app/

Android下载: https://discord.cn.aptoide.com/

windows下载: https://discordapp.com/api/download?platform=win i

os下载 : https://itunes.apple.com/us/app/discord-chat-for-games/id985746746

mac下载: https://discordapp.com/api/download?platform=osx

liunx下载: https://discordapp.com/api/download?platform=linux&format=deb

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/cba9f6ba43422ffcfde7ce57232be7a4.png

2.2 将Midjourney服务器连接到Discord上

  • 进入到“Discord”界面

接着上面的操作,我们点击左下角的“Go to Discord”去到Discord界面:

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/78c740be87746afb1781b446a74c0371.png

  • 创建服务器

然后就会出现创建服务器的弹窗,然后点击“亲自创建”,选择“仅供我和我的朋友使用”,创建服务器名称,头像可以是官方默认的(可以不填),后面的信息就随便填写啦,填写完成之后进入我们的服务器,那么创建服务器就大功告成了。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/db9acb2dda489dd64dacfdcb677dd4e2.png

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/ce3564d7976b1e695fe4a797a36aff5b.png

这边有部分同学进来可能是英文界面的,莫慌! 跟着我接下来的操作:

点击左下角个人信息的设置按钮,找到“language”这个选项,然后选择“中文”,就完事了,那我们继续讲后面的:

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/adffe9102ea3b0ccfa0cc36e721f200c.png

  • 添加Midjourney机器人

创建好自己的服务器之后还不能开始作图,因为我们的Midjourney机器人还没添加进来,你可以把这个理解为是个群聊服务器,可以拉好友进来聊天,跑题了 ,回到我们的主题:

点击左侧“探索公开服务器”这个按钮(左侧这一排的功能都是服务器功能,“我”所在的服务器、创建服务器、公开服务器都在这,这些功能很简单理解,感兴趣自己研究研究)。这里大家应该看到我们的主角了吧,没错,就是第一个Midjourney,然后点进去吧(出现这个欢迎弹窗,咱不管它)。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/63a0787122cc9d1b8d534b88cfdadb05.png

出现了一大堆信息,这个社区是公开的,很多人都在这里做图,左侧的一栏是该服务器频道,有Midjourney管理人员的频道,发布一些更新信息等,还有公众的作图频道,我建议可以在里面看看人家怎么给关键词做图的,不建议在这里生成自己的图,太多信息了。

接下来就是加入Midjourney这个社区,同样,它会让你验证,我们按步骤点击就好了。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/97b087a6c789cbad0decc8938437ad52.png

注意:这里可能验证一遍之后你并没有加入社区,可能是网络原因,影响不大,重复验证一遍即可(一次过的忽略)下面是加入成功之后的界面:

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/e9541e6b04b302050014223d4b036746.png

然后我们切换下频道,频道这边的随便点击一个,然后点击右边顶部的“成员名单”按钮(注意哦,需要点击下面的一个频道才会显示“成员名单”按钮):

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/6c15ec65d122e27efe1ba43d37e56ee6.png

点击“Midjourney Bot”,点击“添加到服务器”,选择刚刚咱们创建的服务器,后面授权验证就好了,可以进到我们的服务器,可以看到,机器人已经在我们的成员列表里了,这样就大功告成了。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/cbd52dfb005a5cbdf4f2407c7090342a.png

到这一步我们的准备工作就做完了,可以开始进行创作了,我下面会讲下Midjourney的付费方式,对这个不需要了解的同学直接跳过。

2.3 会员付费方式

Midjourney给予普通用户25分钟的免费作图时间(这个时间是机器人作图期间的时间,未作图的时间不计入),这个时间可以让你体验一下,不考虑付费的话,要好好珍惜跑图时间哦,用完就生不了图了。

如果是想好好的研究学习Midjourney,并且用在工作中,那咱还是跳不掉付费这个流程,毕竟25分钟,对于想要生成我们想要的图片,这个时间是不够的,过程中会大量的调试跑图。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/e51a3c9a24c02f3bab8c424410891149.png

  • 进入订阅中心

我们回到Midjourney页面,这个链接: https://www. midjourney.com/app/

点击左侧的“Manage Sub”,订阅的种类如下,可以用浏览器翻译一下查看信息,这里我们一般按月付的方式(大佬忽略我这句话,自行选择月/年付),月付的价格会比年费贵点。我建议的是大家要付费就选择“Standard Plan”的方式,也就是30美金/月,10美金可用的图片数量是不够用的,大家可以对比下:

  • 10美金:每月可以生成200张图片,适合轻度使用者。

  • 30美金:每月生成的图片无限制,每月15小时的fast使用时长。

  • 60美金:每月生成的图片无限制,每月30小时的fast使用时长。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/8ad27dd07c77b8b2095682d62a5731b4.png

  • 会员充值条件

需要使用境外的信用卡,如果没有,可以去某宝上找,订阅的流程我就不详细描述了,大家自行研究吧。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/3a2617cf315bc6d7c5b9dfe06aa40074.png

三、操作篇

3.1 如何用 Midjourney 创作你的第一幅 AI 作品

  • 关键词生成图片

回到我们的服务器,然后在下面的输入框输入“/”,它会弹出一系列的命令(如果没弹窗,退出重新登录即可),我们先点击“/imagine”(这个参数我后面再做详细解释),然后会出现如下画面:

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/ed1c325aead8238e07cea72326132832.png

输入一组关键词,切记:一组关键词的后面需要加上英文的逗号“,”然后按空格键,空一格就行,看我下面这组关键词:

An mascot robot, smiling, modern robot, round robot, cartoon, flying, fist up, crypto coins background

(吉祥物机器人,微笑,现代机器人,圆形机器人,卡通,飞行,拳头,加密币背景)

然后我们接着上一步,在对话框内输入这组关键词,我建议大家不要直接复制,先用键盘敲,体验下这个操作。

点击回车发送,然后它会让我们进行授权,我们点击“Accept tos”授权就行了。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/6a96cd5b87908acb65e347e9e0cc4e33.png

然后等待机器人的出图,在发送的关键词后面可以看到图片生成的进度,等一会就会出来图片了:

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/ed85b5894886f7ab92206f396984bab0.png

  • 图片指令及导出图片

生成完成后,会出现两排按钮

U的意思放大图片,U1/U2/U3/U4分别指的是放大四张图片中的某一张

V的意思采用图片的构图形式,重新生成一组类似的图片,V1/V2/V3/V4的顺序与U的顺序一样,如图

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/1734848f649715f430f7dccae512caf1.png

举个栗子,比如我想要导出第一张图片,那么我们点击U1就好了(等待机器出图):

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/453e61f1c768aa30c6ec2e3b66d0120b.png

然后咱们点击图片,点击在浏览器中打开,然后保存图片,这张图片就被下载了(一定要用浏览器打开再保存图片,不然图片的尺寸会很小,会模糊的)

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/399554dea944fbd64f836b23a5b67291.png

换个栗子,我觉得第一张图片还行,构图风格还不错,就是差点细节,想要再优化下,那我们就点击V1,接下来的操作就与上面一样啦,是不是很简单。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/07469cfaf8f37ce7794bfa9281d5ab16.png

一般情况下,我们可以把同一组关键词多生成几组图片,这里可以点击“重复”按钮,然后你就会看见多条生成图片的消息,等待机器人作图,然后找到你喜欢的几张图片进行挑选即可。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/8543d6b3f55799f575ce63bc6f8605be.png

  • Midjourney的尺寸和分辨率

所有尺寸均为正方形1:1的长宽比。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/d29aebef936d97c55ee7e3a06b82a241.png

每个 Midjourney 版本模型的默认升频器。

  • 使用高档重做按钮

升级图像(U1、U2、U3、U4)后,你会在图像下方看到一行按钮,可让您使用不同的升级器模型重新进行升级。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/d00d237fe4c1133fc3d14118cc581884.png

点击重做,Midjourney会在原图的基础上优化和调整细节,有些情况重做的效果不如原效果,根据情况调整。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/5bfce8c2642624d4a32ecd62e4ac1e8d.png

3.2 AI绘画描述词分享

这里给大家分享下关键词词汇,帮助大家更快的掌握AI绘图,篇幅有限,有需要的朋友可以加我们的社群领取更多更详细的资源哦~

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/e83ed61479040bab0f0960a911690a7b.png

3.3 Discor操作命令

  • 基本命令概述

(这里只列出一些我们会用到的参数命令,其他的参数对我们学习AI绘画意义不大)

  • /ask 获取问题的答案。你可以提一些问题让midjourney给你回答,类似FAQ;

  • /blend 融图,一共可以上传6张图片,发送给机器人会帮你把上传的图片融合一起生成新的一组图片;

  • /docs 在官方的Midjourney Discord服务器中使用,可以快速生成本用户指南中涉及的主题链接;

  • /fast 切换到快速模式,一般还有Fast使用时长不需要切换这个命令;

  • /help 显示关于Midjourney Bot的有用基本信息和提示,帮助中心,字面意思;

  • /imagine 使用提示生成一个图像,这个就是生图的命令,输入关键词发送;

  • /info 查看关于你的账户和任何排队或运行中的工作的信息,可以查看账户的剩余作图时长等相关信息;

  • /stealth 对于专业计划的用户(60美金/月):切换到隐身模式。意思是你生成的图片不在社 区展示;

  • /piblic 对于专业计划的用户(60美金/月):切换到公共模式,字面意思;

  • /subscribe 为用户的帐户页面生成个人链接;

  • /settings 查看和调整Midjourney Bot的设置;

  • /prefer option set 创建或管理一个自定义选项;

  • /prefer option list 查看你当前的自定义选项;

  • /prefer suffix 指定一个后缀,添加到每个提示的末尾;

  • /show 使用图像作业ID,在Discord内重新生成作业;

  • /relax 切换到放松模式。这个模式比Fast慢,一般付费的同学用完Fast之后会自动切换到Relax;

  • /prefer remix 开启/关闭混音模式。

  • /imagine 关键词作图

输入“/”,选择“imagine”,然后会出现这种状态:

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/c4a4519771be226fb02ffa66924a4358.png

在Prompt后面输入英文关键词,格式上面说了,一组关键词+ , + 空格 +关键词:

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/1b9da30bcdb95d627e9bc96da4b646b7.png

点击发送等待出图就可以了,在上面演示了这个操作,还不清楚的再看一遍这个操作流程。

  • /blend 多张图片融图

输入“/”,选择“blend”,然后会出现这种状态:

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/b9261f174aca42d1542ccb9ff531fb89.png

选择上传的图片,默认是上传两张,可以点击增加,一共是6张:

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/d61f44dd560e2f7f8aa64bd982acf643.png

发送等待出图,然后大功告成:

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/02476b486543ed12adc2dec10cbde319.png

  • /settings 调整机器人设置

输入“/”,选择“settings”,直接发送,然后出现下列参数设置:

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/3521f5788f3654fbff1c4701152b1234.png

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/51738ba5fe48c1e582e3214379973a7f.png

  • 版本设置

下面这些是选择绘图的模式,目前V5模式仅适用于订阅用户,点击选中:

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/753c33047f797aa22acb2f551454a1fb.png

提示(大家一般用V4或者V5就好了,其他的可以尝试):

Midjourney V5 模型是最新最先进的模型,该模型具有非常高的Coherency,擅长解释自然语言提示,分辨率更高

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/c2f530f41547ac21cd54afe97b3ce7b6.png

Midjourney V4 模型具有三种略有不同的"风格”,对模型的风格调整进行了细微调整,通过在 V4提示末尾添加–style a --style 4b 或来试验这些版本。- -v 4 --style 4c 是当前默认值,不需要添加到提示末尾。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/764818bcb1eee25c402fe7af600efb2e.png

Midjourney V1 - V3 您可以使用 --version 或 --v 参数或使用/settings 命令并选择模型版本来访问更早的 midjourney 模型。不同的模型擅长处理不同类型的图像。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/d54675030b007c67d72f152d3dd929d0.png

Niji Model 该模型是 Midjourney 和Spellbrush—niji之间的合作,经过调整可以制作动画和插图风格。该模型对动漫、动漫风格和动漫美学有更多的了解。一般来说,它在动态和动作镜头以及以角色为中心的构图方面表现出色。 --niji

一般这个模型用在动画插画上,如果你需要画一幅插画,那么用niji模式比V系列模型效果更好。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/7e85ae3c9f409a5ebf3a1a0a9fc8cf41.png

MJ test 偶尔会临时发布新模型以供社区测试和****反馈。目前有两种可用****的测试模型: --test 和 --****testp ,它们可以与 --creative 参数结合使用以获得更多不同的成分。(一般不会使用这个模型)

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/7679c20ec5bef06181c162ba331bd152.png

可以在关键词后面这样设置版本,在关键词后面加入版本参数设置不受默认设置的影响。

  • 图片质量

设置用于作业****的质量参数。半质量** = --**q .5 ,基本质量 = ****--q 1 ,高质量 = --q 2 。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/937929cb46221fbcb17b241bd209efb1.png

**

参数更改生成图像所花费**** --quality 的 –q 时间。更高质量的设置需要更长的时间来处理并产生更多的细节。更高的值还意味着每个作业使用更多的 GPU 分钟数。质量设置不影响分辨率。

默**认 --**quality 值为** 1。较高的值会使用更多订阅的**GPU 分钟。 --quality 接受以下值:默认模型的**** **.25、.5 和 1。较大的值将向下舍入为 1。 --quality 仅影响初始图像生成。 --quality 适用于模型版本1、2、3、4、5 和 niji。

更高的 --quality 设置并不总是更好。有时较低的 --quality 设置可以产生更好的结果——这取决于您尝试创建的图像。较低的 --quality 设置可能最适合手势抽象外观。较高的 --quality 值可以改善受益于许多细节的建筑图像的外观。选择与您希望创建的图像类型最匹配的设置。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/fb3686a4c1a9d2018c9245ec143e2253.png

版本可兼容的参数设置,没有打勾的代表该参数不能生效。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/11236034a3b804b21d715347793ac6a6.png

可以在关键词后面这样设置参数,在关键词后面加入参数设置不受上面默认设置的影响:

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/ea304c18482e588b0044c2b24eddceae.png

  • 风格化参数

设置用于作业的风格化参数****。

风格低 = –s 50 ****,风格中 = --s 100 ,风格高 = --s 250 ,风格非常高 = --s 750 ,

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/fe4a56dec39b0be7ec70d35743fba0bc.png

这个 Midjourney Bot 经过训练可以生成有利于艺术色彩、构图和形式的图像。或参数影响该训练应用 --stylize 的 --s 强度。低程式化值生成的图像与提示非常匹配,但艺术性较差。高程式化值创建的图像非常具有艺术性,但与提示的联系较少。

不同的Midjourney 版本模型具有不同的风格化范围,表示只能在范围内输入数值。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/8a77895a6c6007165554e724dc162ae1.png

不同的数值生成的图片在细节上有较大的区别,大家根据图片效果可以适当的调试。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/b91a368cbcd6650771ab8112cc8fb463.png

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/21a82e5dd61a867e1f6b70f5c86b2a23.png

可以在关键词后面这样设置参数,在关键词后面加入参数设置不受上面默认设置的影响:

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/bfe4d8b8602a7a782f40fd8a08cde132.png

  • 操作模式

在公共模式和隐****身模式**之间切换。对应于**** **/public 和 /stealth 命令。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/b76e033a61840316f2ec49f8823d7d99.png

切换到混音模式

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/4b79b331ee24bdffb78d85ff42dcdf0d.png

**

/prefer remix** 使用命令或使用** /settings** 命令并切换按钮激活混音模式 ️ Remix Mode 。Remix 更改图像网格下的变化按钮(V1、V2、V3、V4)的行为。启用 Remix 后,它允许您在每个变体****期间编辑提示。要重新混****合高档选择 Make Varia****tions 。

启用后 Remix ,变体按钮在使用时变为绿色而不是蓝色。 您可以在使用 Remix 时切换模型版本。 完成 Remix 后,使用 /settings 或 /prefer remix 命令将其关闭。 通过不修改弹出窗口中的提示,在 Remix 处于活动状态时创建标准图像变体。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/c97cb1c7a4538f1e20841fb01f5a509f.png

**

在Fast 和 Rela**xed 模式之间切换。对应于 /fast 和 /relax 命令。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/5c28f37f09bcbff497354cefab6926a8.png

  • /prefer option set 自定义首选项参数

使用 prefer 命令创建自定义选项,以自动将常用参数添加到提示末尾。 /prefer au****to_dm 完成的工作会自动发送到直接消息 /prefer option 创建或管****理自定义选项。 /prefer option list 查看您当前的自定义选项。 /prefer suffix 指定要添加到每个提示末尾的后缀。


**

**

/prefer option set 创建可用于将多个参数快速添加到提示末尾的自定义参数。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/80f6b87c6e558b0bb201112f9be6439c.png

**

/prefer option set mine --hd --ar** 7:4 创建一个名为“我的”的选项,转换为 --hd --ar 7:4 .

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/51a36e78968077e2a0e761c6d3fa89b7.png

使用** /imagine prompt vibrant California poppies --mine , 被解释为 /ima**gine prompt vibrant California poppies --hd --ar 7:4 。

将“value”字段留空以删除选项。

/prefer option list 列出使用创建的所有选项 prefer option set. 用户最多可以有 20 个自定义选项。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/221ad7ab921326c2774d388fa9df38a6.png

要删除自定义选项,请使用** ****/**prefer option set 值字段并将其留空。

  • /info 查看账号服务信息

**使用该 **/info 命令查看有关当前排队和正在运行的作业、订阅类型、续订日期等信息。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/b3cebc6691ff67d3f479be5d375df3f2.png

3.4 Imagine关键词绘图

  • 关键词的结构组成

基本关键词:一个基本的提示可以简单到一个单词、短语或表情符号。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/78ec6e99e523c4e3fa066a9e3a7f7bf6.png

高级关键词:可以包括一个或多个图像链接、多个文本短语或单词,以及一个或多个后缀参数

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/68f679cf6c246efe026828c259803206.png

关键词的语法顺序

  • **主题: **人、动物、人物、地点、物体等。

  • **媒介: **照片、绘画、插图、雕塑、涂鸦、挂毯等。

  • **环境: **室内、室外、月球上、纳尼亚、水下、翡翠城等。

  • **照明: **柔和、环境、阴天、霓虹灯、工作室灯等

  • **颜色: **充满活力、柔和、明亮、单色、彩色、黑白、柔和等。

  • **情绪: **稳重、平静、喧闹、精力充沛等。

  • **构图: **人像、爆头、特写、鸟瞰图等。

**

举个栗**子:

  • **主题: **a woman wearing streetwear(一个穿着街头服饰的女人)

  • **媒介: **Vintage 90’s anime style(90年代的复古动漫风格)

  • **环境: **cluttered 7/11 interior(凌乱的7/11室内)

  • **照明 **:neon lights(霓虹灯)

  • **颜色: **sci-fi colors(科幻色彩)

  • **情绪: **noisy(喧闹)

  • **构图: **close up(近距离)

  • 完整关键词:

a woman wearing streetwear, Vintage 90’s anime style, cluttered 7/11 interior, neon lights, sci-fi colors, noisy, close up

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/cb655afc5c38ad3dae8aa5bbd4fb161e.png

(当然,也不必这么严格,可以多尝试不同的关键词组合,只要我们能达到自己想要的效果即可)提醒一下:关键词描述的越详细,生出的图片效果越精准。

  • 关键词垫图(图生图)

关键词垫图就是大家所说的“喂图”,可以通过Midjourney绘制出与所垫的图片风格类似,具体来看看怎么做的吧:

  • 上传参考图,点击输入框左侧的加号,选择上传图片(可多选图片上传):

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/eee2115807be469b9516c2fe0c2c70ff.png

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/1098f51f0c364af50408ae59a4a53899.png

  • 发送之后,右键点击图片,复制链接

注意:如果你在这里没出现“复制链接”,可以把图片点开然后右键复制链接,如果还复制不了,那你就把图片在浏览器打开,然后复制“图片地址”。

还有一个注意事项:图片地址的后缀必须是.png、.gif或.jpg结尾,不然图片不会生效。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/6a51c79eb18b577ccff6dd29ea9feffe.png

  • 然后把链接复制到“/imagine”里,可以多个链接使用:

切记:每一个链接复制之后,必须空格一下,然后再复制第二个链接

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/edf8f3a01d071c343da4c40a05070ceb.png

  • 复制完链接之后还不能直接发送,直接发送会报错,这个跟“/blend”不一样,这个不是融图,你可以理解是给机器人作为参考。然后我们需要在链接后面打上关键词:

  • 注意了,在链接后面也需要空一格才能生效,然后我们打上关键词:Adidas sneakers(阿迪达斯运动鞋)

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/8f16ea945379a0e0fc090405b6bdb0fb.png

  • 发送后就会生成类似风格的图片了,想要图片按你的想法来,那你就多描述关键词,多尝试跑图。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/36ef5e09e3ed737e4aed3866f24ef1a3.png

  • 最后我们来看下官方演示的案例:

这里可以直接拖拽图片我也是没想到。6666啊

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/42b33e14a5e6ca228c905d7bd2cdd0a9.png

  • Multi Prompts 设置权重

可以让 Mid****journey Bot 单独考虑两个或多个单独的概念 :: 作为分隔符。分隔提示允许您为提示的各个部分分配相对重要性。**

**

多提示基础

:: 在提示中添加双冒号向** Midjourn**ey B****ot 表明它应该分别考虑提示的每个部分。 在下面的示例中,对于提示, hot dog 所有单词都被考虑在一起,Midjourney Bot 生成美味热狗的图像。如果将提示分成两部分, hot:: dog 则将两个概念分开考虑,从而创建温暖的狗的图片。

双冒号之间没有空格 :: Multi-prompts work with Model Versions 1 , 2 , 3 , 4 Any参数仍然添加到提示的最后。 niji

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/8511b9b7db7e9ae6d9b28e1f1ac08f68.png

**

提**示权重

当使用双冒****号 :: 将提示分成不同的部分时,您可以在双冒号后立即添加一个数字,以分配提示的该部分的相对重要性。**

在下面的示例中,提示**** **hot:: dog 生成了一只热狗。将提示更改为使“ 热” hot::2 dog 一词的重要性是“狗”一词的两倍,从而产生了一只非常 热的狗的图像!

[模型版本] 1 , 2 , 3 只接受整数作为权重 [模型版本] 4 可以接受权重的小数位 非指定权重默认为 1。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/e67591fef6f65c4eb1bf05e3289fa492.png

**

负提**示权重

可以将负权重添加到提示中以删除不需要的元素,所有权重的总和必须是正数。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/76dfcdd7ac69640ae0c1b2e021891248.png

3.5 Imagine关键词后缀参数

  • 纵横比(aspect ratios ) --aspect ,或 --ar 调整图片的比例;

  • 混乱(chaos) ****--chaos <number 0–100> 改变结果的多样性。较高的值会产生更多不寻常和意外的世代;

  • **负面提示(no) –no **负面提示,在提示词末尾加上 --no 可以让画面中不出现某些内容;

  • 生成质量(quality) ****--quality <.25, .5, 1, or 2> ,或 --q <.25, .5, 1, or 2> 您要花费多少渲染质量时间。默认值为 1。值越高渲染时间越高,值越渲染时间越低。

  • 种子(seed) –seed <integer between 0–4294967295> 用过 Midjourney 的同学会发现在发送提示词后,MJ 最开始的图像里会有一个非常模糊的噪点团 ,然后逐渐变得具体清晰,而这个噪点团的起点就是“Seed” 种子编号是为每个图像随机生成的,但可以使用 --seed 或 --sameseed 参数指定。使用相同的种子编号和提示将产生相似的结束图像。

  • 停止(stop) ****--stop <in****teger between 10–100> 使用 --stop 参数在流程中途完成作业。以较早的百分比停止作业会产生更模糊、更不详细的结果。

  • **平铺(tile) **–tile 参数生成可用作重复拼贴的图像,以创建织物、壁纸和纹理的无缝图案;

  • **版本(version) **用 --version 或 --v 参数或使用 /settings 命令并选择型号版本来使用其他型号。不同的模型擅长处理不同类型的图像。

  • 风格(style) ****--style <4a, 4b or 4c> 在 Midjourney模型版本4的版本之间切换

  • 程序化(stylize) ****--stylize <numbe****r> ,或 --s 参数会影响 Midjourney 的默认美学风格应用于 Jobs 的强度。

  • **聚光灯(uplight) –uplight **选择 U 按钮时使用替代的“轻型”升频器。结果更接近原始网格图像。放大后的图像细节更少,更平滑。

  • **乌贝塔(upbeta) –upbeta **选择 U 按钮时使用替代的 beta 升频器。结果更接近原始网格图像。放大后的图像添加的细节明显更少。

**

默认值(模型版本 **4)

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/b953c9ac35afca9497e6c9a5201e6957.png

**

默认值(模型版本** 5)

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/5279807854ca7987ad1e526e58661fc2.png

(大于 2:1 的宽高比是实验性的,可能会产生不可预测的结果)

  • 模型版本参数

  • –niji** **另一种模型专注于动漫风格的图像;

  • –hd** **使用早期的替代模型来生成更大、更不一致的图像。该算法可能适用于抽象和风景图像;

  • –test** **使用 Midjourney 特殊测试模型;

  • –testp** **使用 Midjourney 特殊的以摄影为重点的测试模型;

  • --version <1, 2, 3, 4, or 5> 或者 --v <1, 2, 3, 4, or 5> 使用不同版本的 Midjourney 算法。当前算法 (V4) 是默认设置。

  • 其他参数

  • –creative** 修改 test 和 testp **模型更加多样化和创造性;

  • –iw** **设置相对于文本权重的图像提示权重。默认值为 --iw 0.25;

  • –sameseed** **种子值创建一个大的随机噪声场,应用于初始网格中的所有图像。当指定 --sameseed 时,初始网格中的所有图像都使用相同的起始噪声,并将生成非常相似的生成图像;

  • –video** 保存正在生成的初****始**图像网格的进度视频。表情符号使用 ☉️ 对完成的图像网格做出反应,以触发将视频发送到您的直接消息。 --video 放大图像时不起作用。

  • 模型版本和参数兼容性

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/f8fd3760623dfc03916b60ceccf46db2.png

3.6 常用后缀参数详解

  • Aspect Ratios(纵横比)

–aspect 参数 --ar 更改生成图像的纵横比。宽高比是图像的宽****高比。它通常表示为用冒号分隔的两个数字,例如 7:4 或 4:3。

正方形图像具有相等的宽度和高度,描述为 1:1 的纵横比。图片可以是 1000px × 1000px,或者 1500px × 1500px,纵横比仍然是 1:1。计算机屏幕的比例可能为 16:10。宽度是高度的1.6倍。所以图像可以是 1600px × 1000px、4000px × 2000px、320px x 200px 等。

默认纵横比为 1:1。 --aspect 必须使用整数。使用 139:100 而不是 1.39:1。 纵横比影响生成图像的形状和组成。 放大时,某些宽高比可能会略有变化。

最大纵横比

不同的Midjourney 版本模型具有不同的最大纵横比。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/5ac398874ecab046a790626539fb94c6.png

该** --ar** 参数将接受从 1:**1(正方形)到每个模型的最大纵横比**的任何纵横比。但是,在图像生成或放大过程中,最终输出可能会略有修改。示例:提示使用 --ar 16:9 (1.78) 创建具有 7:4 (1.75) 纵横比的图像。

大于 2:1 的宽高比是实验性的,可能会产生不可预测的结果。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/88a329f08951f79b033cfadec0f10dcb.png

提示示例:** imagine/ prompt vibrant california** poppie**s --ar 5:4


**常见的纵横比

–aspect 1:1 默认纵横****比。 --aspect 5:4 常见的框架和打印比例。 –aspect 3**😗*2 印刷摄影中常见。 --aspect 7:4 靠近高清电视屏幕和智能手机屏幕。

如何更改纵横比

添加 --aspect : , 或 --ar : 到提示的末尾。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/37c05dea348d079703a6aa18f75a0656.png

  • Chaos(混乱)

参数影响初始图像网格 --chaos 的 --c 变化程度。高 --chaos 值将产生更多不寻常和意想不到的结果和组合。较低的 --chaos 值具****有更可靠、可重复的结果。

-**-chaos 范围值 0–100。 默认 --chaos 值为 0。

chao**s的生成的效果

低值 --chaos

使用较低的 --chaos 值或不指定值将生成每次运行作业时略有不同的初始图像网格。

提示示例: imagine/ prompt watermelon owl hybrid

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/a172d178b41f4ffcbca32134f2b6adbf.png

**高值 --ch****aos

–chaos 每次运行作业时,使用较高的值将产生更**多变化和意外的初始图像网格。

提示示例: imagine/ prompt watermelon owl hybrid --c 50

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/4d1b5e9aa1199cbf8cac09a1ae8463a6.png

非常高**的值 --ch****aos

–chaos 每次运行作业时,使用极高的值将产生不**同的初始图像网格,并且具有意想不到的构图或艺术媒介。

提示示例: imagine/ prompt watermelon owl hybrid --c 100

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/e76e07cb6d190fd892ad88b2fc2d021f.png

**

如何改变Chaos值

添加 --chaos <value> 或 --c <val**ue> 到提示的末尾。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/9564605728a0b991fbf4db78f83caf2b.png

  • Quality(质量)

参数更改生成图像所花费 --quality 的 --q 时间**。更高质量的设置需****要更长的时间来处理并产生更多的细节。更高的值还意味着每个作业使用更多的 GPU 分钟数。质量设置不影响分辨率。

默认 –quality 值为 1。较高的值会使用更多订阅的GPU 时间。 --quality 接受以下值:默认模型的 .25、.5** 和 1。较大的值将向下舍入为 1。 --quality 仅影响初始图像生成。 --quality 适用于模型版本1、2、3、4、5 和 niji。

质量设置

更高的 --quality 设置并不总是更好。有时较低的 --quality 设置可以产生更好的结果——这取决于您尝试创建的图像。较低的 --quality 设置可能最适合手势抽象外观。较高的 --quality 值可以改善受益于许多细节的建筑图像的外观。选择与您希望创建的图像类型最匹配的设置。

提示示例: /imagine prompt woodcut birch forest --q .25

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/a712cac4796cec5093ea2b985743e0f4.png

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/884ab93d659ebca3706baf324400f848.png

**

版本质量**兼容性

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/0562bb5a1b4a8bf54350bb76eec6a118.png

**

使用 --quality**** 或 –q 参数

添加 --quality ****<**value> 或 --q 到提示的末尾。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/0a5eb7a9ba3d3c5976d13d8418887eac.png

**

使用设**置命令

从菜单中 /sett****ings 选择您的首选值。 quality

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/0d33e7f1538f923a3be502cdac51b4d5.png

  • Seed(种子)

用过 Midjourney** 的同学会发现在发送提示词后,MJ 最开始的图像里会有一个非常模糊的噪点团 ,然后逐****渐变得具体清晰,而这个噪点团的起点就是“Seed” 种子编号是为每个图像随机生成的,但可以使用 --seed 或 --sameseed 参数指定。使用相同的种子编号和提示将**产生相似的结束图像。

–seed 接受整数 0–4294967295。 --seed 值仅影响初始图像网格。 --seed 值模型版本 1 、 2 、 3 、 test 和 testp 是不确定的,将产生相似但不相同的图像。在模型版本 中使用相同的提示+种子+参数 ,将产生相同的图像。 45niji

seed参数

如果未指定种子,Midjourney 将使用随机生成的种子编号,每次使用提示时都会生成多种选项。

使用随机种子运行 3 次

提示示例: /imagine prompt celadon owl pitcher

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/de06d830e17571d00de3a469f4d6342a.png

**

使用指定种子运行 **3 次

提示示例: /imagine pr****ompt celadon owl pitcher --seed 123

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/476fdb7f82308430e969e0e1188d0ea2.png

**

同数****值参数

–seed 值创建一个大****的**随机噪声场,应用于初始网格中的所有图像。指定时 --sameseed ,初始网格中的所有图像都使用相同的起始噪声,并将生成非常相似的生成图像。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/0f102195b61d4911d1e1cab089db236d.png

**

如何查找工作的种**子编号

使用 Discord 表情符号反应,通过对工作使用 ☉️ 信封表情符号做出反应,在不和谐中找到工作的种子编号。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/a668ba44c6623e49cd8c9e769d6c8f54.png

**

如何更改种子编号

使用 –seed 或 --sameseed 参数,添加 --seed <va****lue>** 或 --sameseed 到提示的末尾。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/687e6fe0fd5d28919e12761bd90eefec.png

  1. Shop(停止)

使用 --stop** 参数在流程中途完成作业**。以较早的百分比停**止作业会产生更模糊、更不详细的**结果。

–stop 接受值:10–100。 默认 --stop 值为 100。 --stop 时不起作用。

不同Shop的对比

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/bea1a2cbdf77b10509de148b5eca5499.png

shop和 Bet****a Upscale

放大时,该 --stop 参数不会影响作业。但是,停止会产生更柔和、细节更少的初始图像,这将影响最终放大结果的细节水平。下面的放大图像使用了Beta Upscaler。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/b672f423a6321784c20483e3afb482ed.png

**

使用 --stop** 参数**

添加 --stop <va****l**ue> 到提示的末尾。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/9d39cabd80364636c4d55d3ca7405454.png

  • Stylize(程序化)

Midjourney Bot 经过训练可以生成有利于艺术色彩、构图和形式的图像。或参数影响该训练应用 --stylize 的 --s 强度。低程式化值生成的图像与提示非常匹配,但艺术性较差。高程式化值创建的图像非常具有艺术性,但与提示的联系较少。

–stylize 的默认值为 100,并且在使用默认 [V4 模型] 时接受 0-1000 的整数值。

不同的Midjourney 版本模型具有不同的风格化范围。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/8dc2eaff246aa70ed3ec327e4dde4fcb.png

**

通用风格**化设置

V4**模型

提示示例: /imagi****n**e prompt illustrated figs --s 100

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/e6a941dc93a42a3aec3b2229652f0256.png

V5模**型

提示示例: /imagin****e** prompt colorful risograph of a fig --s 100

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/c5eb87bbb3b6cad4dcecbb8a47ec85cf.png

**

使用stylize参数

添加 --stylize ****<**value> 或 --s 到提示的末尾。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/0bb3f6ff40d3178b828658fa25d81c1b.png

**

使用设****置命令

/sett****i**ngs 从菜单中键入并选择您喜欢的风格化值。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/48b5c6f07afa3f5c61d4b1cd6c4152c7.png

  • Tile(平铺)

–tile** 参数生成可用作重复拼贴的图像,以创**建织物、壁纸和纹理的无缝图案。

–tile 适用于模型 版本1、2、3、5 --tile 只生成一个tile。使用像这种无缝模式检查器这样的模式制作工具来查看拼贴重复。

Tile示例

使用Midjourney的模型测试/Testp

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/1eaeee367bf60191750225b36ee0c441.png

使用Midjourney模型 5

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/1e551e5aef636d1718d9c38c8fdccc41.png

**

如何使用tile参数

添加 --****t**ile 到提示的末尾。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/f78585d4239d364454ebd123f4ce6aae.png

  • Version(版本)

Midjourney 定期发布新模型版本以提高效率、一致性和质量。默认为最新型号,但可以使用 --version 或** --v 参数或使用 /settings 命令并选择型号版本来使用其他型号。不同的模型擅长处理不同类型的图像。

–version 接受值 1、2、3、4 和 5。 --version 可以缩写 --v

最**新模型(V5)

Midjourney V5 模型是最新最先进的模型,于 2023 年 3 月 15 日发布。要使用此模型,请将参数添加 --v 5 到提示末尾,或使用 /settings 命令并选择 5️⃣ MJ Version 5

该模型具有非常高的Coherency,擅长解释自然语言提示,分辨率更高,并支持高级功能,例如重复模式 --tile

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/c045aacb3db50e9e89d95cba86a8a811.png

**

V**4模型

Midjourney V4 模型是由 Midjourney 设计并在新的 Midjourney AI 超级集群上训练的全新代码库和全新 AI 架构。最新的 Midjourney 模型拥有更多关于生物、地点、物体等的知识。它更擅长正确处理小细节,并且可以处理包含多个角色或对象的复杂提示。第 4 版模型支持图像提示和多提示等高级功能。

该模型具有非常高的Coherency并且在Image Prompts方面表现出色。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/6af113eb22e679b4f28147434d893cb8.png

**

V4的 样式 4****a**、4**b 和 4c

Midjourney Model Version 4 具有三种略有不同的**“风格”,对模型的风格调整进行了细微调整。通过****在 V4 提示末尾添加 --style 4a 、 --style 4b 或来试验这些版本。 --style 4c

–v 4 --style 4c 是当前默认值,不需要添加到提示末尾。

关于样式 4a 和 4b 的注释

–style 4a 且 --style 4b 仅支持 1:1、2:3 和 3:2 纵横比。 --style 4c 支持高达 1:2 或 2:1 的纵横比。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/dda76947f594916c354514cfe5591448.png

**

以前**的模型

您可以使用 --ver****sion 或**** –v 参数或使用 /sett****ings 命令并选择模型版本来访问更早的 m****idjourney 模型。不同的模型擅长处理不同类型的图像。

提示示例: /imagine prompt vibrant California poppies --v 1

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/845a1eebfb38386b0ac0b76fb7c05284.png

**

Nij****i模型

该模型是 Midjourney 和Spellbrush niji 之间的合作,经过调整可以制作动画和插图风格。该模型对动漫、动漫风格和**动漫美学有更多的了解。一般来说,它在动态和动作镜头以及以角色为中心的构图方面表现出色。 --niji

提示示例: /imagine prompt vibrant California poppies --niji

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/2c0ef1faf8686c4db9294aa5ec3a5287.png

**

–nij****i** 型号 说明

Niji 不支持 --****stylize** 参数。使用 /settings 命令并选择 Style Med 重置为所有**** –niji 提示的默认****样式设置。Niji ****支持多提示或图像提示。

Test****模**型

偶尔会临**时发布新模型以供社区测试和反馈****。****目前有两种可用的测试模型: --test 和 --**testp ,它们可以与 --creative 参数结合使用以获得更多不同的成分。

提示示例: /imagine prompt vibrant California poppies --testp --creative

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/6478fdd37ca30b5b143b5170b454a604.png

当前测试模型的注释** --tes****t** 和** --test**p

测试模型仅支持 --stylize 1250–5000** 之间的值****。** 测试模型不支****持多提示或图像提****示 测试模型的最****大纵横比为 3:2 或 2:3。 当宽高比为 1:1 时**,测试模型仅生成两个****初始网格图像。** 当纵横**比不是 1:**1 时,测试模型只生成一张初始网格图像。 靠近提示前面的词可能比靠近后面的词更重要。

使用版本或测试参数

将 --v 1 , --v 2 , --v 3 , --v 4 , --v 4 --style 4a , --v4 --style 4b --test , --testp , --test --creative , --testp --creative 或添加 --niji 到提示的末尾。

**

使用设置命令

输入 /sett****i**ngs 并从菜单中选择您喜欢的版本。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/7947d4a018916ac95c5ecb1b0908ed4b.png

  • Video(视频)

使用该 --video** 参数创建正在生成的初始图像网格的短片。使用信封** ☉️** 表情符号对完成的工作做出反应,让 Midjou**rney Bot 将视频链接发送到您的直接消息。

–video 仅适用于图像网格,不适用于高档。 --video 适用于模型版本 1 、 2 、 3 、 test 和 testp 。

视频示例

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/c49ea6f17a0c94b2bcddea36e2cca89e.png

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/c5a4bd344a2e621f7d2a2524000ce674.png

**

如何获取**视频链接

提示示例: /imagine p****rompt Vibrant ****California Poppies --video

1、 添加 --video 到提示的末尾;

2、作业完成后,单击添加反应;

3、选择 ☉️ 信封表情符号;

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/412905b913ab6f654ee479773f0053b3.png

**

4、Midjourney 机器****人**会将视频链接发送到您的直接消息;

5、单击链接可在浏览器中查看您的视频。右键单击或长按以下载视频;

如何使用视频参数

添加 --video 到提示的末尾。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/8fdb2406814517d07f67e88f9882de1a.png

四、分享篇

4.1 好用的关键词网站

看到这,想必大家对Midjourney绘图有一定的了解了吧,那么接下来大家需要的就是怎么描述关键词了,这个才是AI绘图的核心,这里我给大家分享几个关键词网站参考,各种高质量的图片你也能轻而易举的做出来。

AI提示词(Prompt)工具库: https:// prompthero.com/

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/e6c3b56b52bfcb6dbe988100c29c7316.png

Midjourney关键词助手: https:// prompt.noonshot.com/

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/08721e7245009884eeea0eee63c05a75.png

Prompt Hunt: https://www. prompthunt.com/

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/202932aaa7095126b84c07f6bd31f48f.png

PromptBase: https:// promptbase.com/

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/e07a24ca7cee61a95889e554221b0c92.png

Ai画廊: https://www. aigallery.top/aigjz? c2=15&c3&c4&t

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/d6ec8260144e2eefdfc8a77be85681a0.png

Phraser: https:// phraser.tech/inspiratio n

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/67cb01f956443e142f0cc45f85ae3abf.png

AI绘画风格库: https:// lib.kalos.art/

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/96c1c3f7cdff18835d70da1c31db13b4.png

Playgroundai: https:// playgroundai.com/

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/62918913d1949034b003a4fbd9285b46.png

(AI 导航)一起用 AI: https:// 17yongai.com/

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/3887be66b8dbeceeead043f32141e548.png

(AI 导航)Futurepedia: https://www. futurepedia.io/

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/f4497cefbd4162c41392db53c94fdf96.png

4.2 Ai绘图案例分享

  • 插画风格

**

来自**外星的兔子

关键词:

photo of a rabit monster in the space, style of laurie greasley, studio ghibli, akira toriyama, james gilleard, genshin impact, trending pixiv fanbox, acrylic palette knife, 4k, vibrant colors, devinart, trending on artstation, low details

空间中的兔子怪物照片,劳里·格里斯利,吉卜力工作室,鸟山明,詹姆斯·吉勒德的风格,源信冲击,流行pixiv风扇盒,亚克力色板刀,4k,充满活力的颜色,devinart,在artstation上流行,低细节

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/fa119c314024157b0ec73cdffda61897.png

**

矢**量插画

关键词:

Vector illustration, Flat illustration, Illustration, man working on the table with laptop, Trending on Artstation, Popular on Dribbble, Cozy wallpaper, Pastel colors

矢量插图,平面插图,插图,用笔记本电脑在桌子上工作的人,在Artstation上的趋势,在Dribbble上的流行,舒适的壁纸,柔和的颜色

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/7e7b33dbac71307cb32d71fd3f44cd14.png

**

数**字插画

关键词:

Vector illustration, Minimalistic, Digital illustration, Hacker wearing a hoodie and a face mask working on a computer, T-shirt design, Dramatic Lighting, Trending on Artstation, Award winning, Icon, Highly detailed

矢量插图,极简主义,数字插图,黑客穿着卫衣和口罩在电脑上工作,t恤设计,戏剧性的照明,艺术展上的趋势,获奖,图标,高度详细

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/0d32b028ba8b18a0717920edc6737d3f.png

  • 电影风格

**

空中**岛屿

关键词:

A communist city, stablished on flying islands that have mechanisms in the bottom, seen from below the flying islands and afar, soft color palette, movie style, Cinematic, Photography, Sharp, Hasselblad, Dramatic Lighting, Depth of field, Medium shot, Soft color palette, 80mm, Incredibly high detailed, Lightroom gallery

一个共产主义城市,建立在飞行的岛屿上,在底部有机制,从飞行的岛屿下面和远处看,柔和的调色板,电影风格,电影,摄影,锐利,哈苏,戏剧性的灯光,景深,中等镜头,柔和的调色板,80mm,高细节,Lightroom画廊

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/dff9a13b9b14d66a8683504382280874.png

**

赛**博朋克黑暗幻想

关键词:

Neuromancer, cyberpunk, Apocalypse, Dark fantasy, Cityscape, 8k wallpaper, Dark color palette, Hieronymus Bosch, H, R, Giger

神经漫游者,赛博朋克,天启,黑暗幻想,城市景观,8k壁纸,深色调色板,耶罗尼米斯·博斯,H, R,吉格尔

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/6658f14ec84b40ab615d2c7d7e5ce005.png

**

山**底小木屋

关键词:

A wooden cabin on an alpine montain, outside view with look into a valley, autumn wheater and sun, Realistic, Intricately detailed, Cinematic composition, Cinematic lighting, Lightroom gallery, Behance contest winner, Professional photography, Unsplash, Low angle

高山上的木屋,可以看到山谷,秋天的小麦和太阳,现实主义,复杂的细节,电影构图,电影照明,Lightroom画廊,Behance大赛冠军,专业摄影,无飞溅,低角度

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/9028088af060efedde27f10778d48fb6.png

  • 3D风格

可爱的卡通兔子

关键词:

3d cartoon style cute rabbit character with a happy face, future, funko pop, 3d, Hyper realistic

3d卡通风格的可爱的兔子角色,有一个快乐的脸,未来,Funko流行,3D,超现实的

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/14896e04c6cb4769690cfd8df7cc7f90.png

**

太空宇**航员

关键词:

Tiny, Cute, small, An astronaut in space with distant planets in the background, Miniature, Diorama, Orthographic view, Cinematic lighting, Gediminas Pranckevičius, Giuseppe Arcimboldo, Goro Fujita, Intricate, Hyp er detailed, 4k

微小,可爱,小,宇航员在太空中与遥远的行星为背景,微缩,立体,正投影视图,电影照明,Gediminas pranckeviius, Giuseppe Arcimboldo,藤田五郎,复杂,Hyp er细节,4k

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/9d094a1aa6325d61af247249816d7ff6.png

**

超写实**主义机器人

关键词:

Hyperrealism, Hyper detailed, Cute, Sci-fi, 3D, cute, robot assistant made of thunder, loveable, Disney character, friendly, cute, Simple, Icon, Popular on Dribbble, Dieselpunk, High-end, Realistic textures, Centered

超写实主义,超细节,可爱,科幻,3D,可爱,机器人助手,雷,可爱,迪士尼人物,友好,可爱,简单,图标,流行Dribbble, Dieselpunk,高端,现实纹理,居中

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/0ab1f4a579b0aa73ebab189cec3d5333.png

五、结语

本次教学分享到此结束,如果您有任何问题,可以与我私信联系,或者加下方二维码。如果本文对您有所帮助,也欢迎将其分享给需要的小伙伴。以上教程均经过实测。关注我,获取更多关于AIGC相关知识的资讯。

StableDiffusion模型资源探索食用指南

来源:https://diwfpqo78m.feishu.cn/docx/A1UxdkXAxouOq9xUc49cZkpCnsJ

目录

给模型添加预览图 便于查找

常用模型分发传播流程、资源渠道汇总

  • HuggingFace的Stable Diffusion模型分区

  • Discord&TG&Reddit

  • Civitai

模型常见格式介绍

模型文件名常见后缀含义解读

寻找好的模型,给自己找到趁手的魔法水晶球

模型下载方法汇总

0.安装huggingface hub库

1.创建脚本、填写参数

2.执行下载脚本

3.使用模型

Changelog

3.20号 ChatGPT国产开源平替–ChatGLM部署教程

3.3号 搭建自己的stablediffusion绘画机器人 图文教程

3.3号 更新显存优化常见思路

1.27号更新 img2img专用模型 自然语言指导图像编辑 生成速度极快 (几秒)

1.23号更新 Lora 模型使用

1.15号更新 补充EMA depth 等模型后缀名的含义、补充Reddit社区

1.14 号更新 关于VAE文件,你需要了解的都在这

1.12 号更新 使用huggingface hub api 优雅下载模型

TODO

问渠哪得清如许 为有源头活水来

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/e68e7ac33f6283e86fbc086c0414858c.png

经过小半年的发展积累,全民炼炉热潮仍如火如荼的进行,大到各路厂牌亲自下场,小到社区社群用户的遍地建私炉.以SD1.4/1.5 为基线模型、多方向、多维度、交叉螺旋进化发展着. 包括各式各样的自训练微调方法(text inversion 、hypernetwork、dreambooth、native training、DreamArtist、Lora),社区一直在探索在大模型基础上Fine-tune(自训练)的最优雅的解决方案,试图寻找一种让模型在不断高效学习具体风格或实物的同时又不至于抛弃模型原先的泛化性的(生成时二三次元皆可 而不是只能生成特定的风格)可持续的(不断把新东西加进去)、弹性的(按需训练,量大量小皆可)训练方案.

本文主要讲的是完整结构的稳定扩散模型( vae decoder、 unet clip、 encoder)几个G的那种

给模型添加预览图 便于查找

新版webUI自带模型预览图功能,默认本地所有模型上都显示 no preview 即没有预览图,我们可以生成完图片后 再次找到添加模型的位置,鼠标移动模型卡标题处,上方会出现replace preview(替换预览)红色字样 点击即可将刚刚生成的图设置为此模型的预览图

如果想把任意一张图片设置为模型的预览图,可以将图片拖拽到img2img中 然后进行替换.

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/5b1ab0a043ef57b628ca7a30de33c460.png

lora的下载使用见2023.1.23更新的教程

LoRA 指南 158 赞同 · 22 评论 文章

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/0bb29ca308ada5cbe11252e9e8900c40.png

text inversion 、hypernetwork下载使用

NovelAI hypernetwork 自训练教程 115 赞同 · 44 评论 文章

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/49c41e47faa07f7614e28283c54290e9.png

纷繁复杂的模型迭代推新让人眼花撩乱,而普通AIGC绘画者更多地还是考虑如何便捷地找到自己心仪的优秀模型文件并创作出让人眼前一亮的作品.因此,有必要讲讲寻找检索心仪模型并应用的Workflow.( 至于如何搭建部署webui 可以去看之前的文章教程 )

使用stable-diffusion-webui部署NovelAi/Stable Diffusion 保姆级教程、命令解释、原理讲解(colab、windows、Linux ) 240 赞同 · 95 评论 文章

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/6bbdb976ee7afbeeb3e1e378f238118f.png

常用模型分发传播流程、资源渠道汇总

HuggingFace的 Stable Diffusion模型分区

  • 模型训练作者在训练完模型、测试效果后,通常会将模型上传到HuggingFace的 Stable Diffusion模型分区

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/bc0abec55ca22379036718a388968db2.png

Hugging Face SD模型分区

Huggingface TI分区

https:// cyberes.github.io/stabl e-diffusion-textual-inversion-models/

Discord&TG&Reddit

而这些作者往往都是开源社区、社群的活跃成员,所以除了在HuggingFace上传模型外也会编写相关介绍帖子及模型链接在Discord TG Reddit中的社区社群中.

电报模型分享群(需魔法上网)

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/edf16852bc01d586b49d22013e79bfa5.png

Discord相关频道中模型帖子区 (需魔法上网)

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/301d3952427b2a2d91148e00b1d14f0d.png

Shinonome AI Lab discord截图

reddit的 stable diffusion 社区

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/78c477d49efacacbe6704686bd2d91e8.png

Civitai

一些优秀的模型会被收录到专门的模型汇总网站如Civitai中, UI清爽无需登陆

Civitai | Stable Diffusion models, embeddings, hypernetworks and more

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/d537d0578691ca818c3d9e9390fd7506.png

civitai网站截图

模型常见格式介绍

刚接触huggingface模型仓库的同学难免会被一堆文件感到困惑,搞不清自己到底该下那个文件.所以在这里讲下这些仓库的常见构成

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/137856f74ce24859336e11b44d77aebe.png

huggingface SD2.1官方仓库

如图、此种情况下模型训练作者一般都会上传ckpt格式(即webui适用的格式)的同时上传适用于diffusers库的格式,也即把sd各个部分(unet,vae-变分自编码器,clip-文本编码器) [1] 训练好的权重(一般是bin格式)以及scheduler(调度算法)和tokenizer(分词器)等等配置信息分别单独保存在不同的文件夹中.所以我们只需找到ckpt格式的模型文件下载即可.

Safetensors

huggingface后来又推出了safetensors 格式, 旨在取代前面介绍的格式 ,使用方法上与ckpt格式类似,也是下载到webui的model文件夹下即可(如果webUI加载不出safetensors格式模型,可能是webui版本过旧,请gitpull更新)

比ckpt格式加载速度更快更安全

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/9f67d0dc80bc946789e93961a0a534db.png

safetensors直接可以在webUI中原生调用,无需转换格式

在webUI中使用safetensors格式模型的具体细节可以参阅下方给出的链接

https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/4930github.com/AUTOMATIC1111/stable-diffusion-webui/pull/4930 github.com/AUTOMATIC1111/stable-diffusion-webui/pull/4930

模型文件名常见后缀含义解读

有时仓库里会有多个模型文件,文件名后缀各不相同,这里简单介绍下文件名常见后缀及其含义:

ControlNet

AI 绘画引入 ControlNet,将会带来哪些影响? 133 赞同 · 7 评论 回答

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/d4854a98739d06a8c2c43781cc5027af.png

instruct-pix2pix

在 stable-diffusion-webui 中使用 instruct-pix2pix (1.27号更新 img2img专用模型 自然语言指导图像编辑 生成速度极快 (几秒) )

在 stable-diffusion-webui 中使用 instruct-pix2pix模型 111 赞同 · 9 评论 文章

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/29964b1f5fe5a37a3ca9979efa1927b5.png

fp16、fp32

代表着精度不同,精度越高所需显存越大、效果也会相应增加;

512、768

代表着默认训练分辨率时512X512还是768X768,理论上默认分辨率高生成效果也会相应更好;

inpaint

代表着是专门为imgtoimg中的inpaint功能训练的模型,在做inpaint时效果会相对来说较好.

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/553081cb274226182e14031db6f5e8bd.png

depth

代表此模型是能包含处理图片深度信息并进行inpainting和img2img的

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/1d2ca0bccb0b35b8932adf8ef2b896eb.png

EMA

模型文件名中带EMA一般意味着这是个用来继续训练的模型,文件大小相对较大

与之相比,正常的、大小相当较小的那个模型文件是为了做推理生成的

对于那些有兴趣真正理解发生了什么的人来说,应该使用EMA模型来进行推理

小模型实际上有EMA权重。而大模型是一个 “完整版”,既有EMA权重,也有标准权重。因此,如果你想训练这个模型,你应该加载完整的模型,并使用use_ema=False。

什么是EMA权重,为什么它们应该是更好的?

就像你作为一个学生在接受训练时,也许你会在最后一次考试中寄了,或者决定作弊并记住答案。所以一般来说,通过使用考试分数的平均值,你可以更好地了解到学生的表现,

由于你不关心幼儿园时的分数,如果你只考虑去年的分数(即只用一组最近的实际数据值来预测),你会得到 MA (moving average 移动平均数). 而如果你保留整个历史,但给最近的分数以更大的权重,则会得到 EMA (exponential moving average 指数移动平均数)。

这对具有不稳定训练动态的GANs来说是一个非常重要的技巧,但对扩散模型来说,它其实并不是那么重要。

VAE

vae模型文件并不能和正常模型文件一样独立完成图片生成 ,关于VAE文件,我写了篇比较全面的文章,可以跳转查看

在StableDiffusion中说起VAE时,我们在谈论什么? 86 赞同 · 6 评论 文章

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/52d382faee89f4b5ff9db572981f777d.png

模型安利及魔法少女

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/10af03ec3fffe18e714037cd47d0750a.png

寻找好的模型,给自己找到趁手的魔法水晶球

这部分安利三个模型(因为篇幅原因先介绍这些 ,这三个模型都是ckpt文件 下载到model文件夹下 webui里就可以直接调用了 模型下载链接已嵌到每个模型标题中)与此同时将会以魔法少女为生成主题给大家演示下各个模型的使用,用到的prompt也会分享给大家

kawaye1_6000 (Q萌)

画师: 디얍/opinew6

作者:厨 子

备注:webui中直接使用即可,如加特定tag[chibi]

prompt示例:直接输角色英文名即可

**美少女战士 **-> a portrait of Tsukino Usagi, from Sailor Moon,chibi

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/272bc1be449d46a3791461babecac9de.png

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/774af35e04cfcff8a5e289782c39ed80.png

效果演示: 月野兔 弹丸论破 蒂法 拉克丝 miku

dreamlike-photoreal-2.0 (写真风)

Dreamlike Photoreal 2.0是一个基于Stable Diffusion 1.5的拟真模型,由dreamlike.art制作。

你可以给你的prompt添加photo,使你的生成看起来更逼真。

非正方形的长宽比对某些提示的效果更好。如果你想要一张肖像照片,试着使用垂直长宽比。如果你想要一张风景照片,试着使用一个水平的长宽比。

这个模型是在768x768px的图像上训练的,所以使用768x768px、640x896px、896x640px等。在更高的分辨率下,如768x1024px或1024x768px,它的效果也相当好。

**星守拉克丝prompt **-> the Lady of Luminosity,star guardian from league of legends, character portrait, ultra realistic, concept art, intricate details, highly detailed

**月野兔prompt **-> amazing masterclass portrait of sailor moon ], hearthstone splash art, deiv calviz, splash art, natural light, elegant, intricate, fantasy, atmospheric lighting, hd wallpaper, ultra high details, cinematic composition, sharp focus, depth of field, f/1.8, 24mm, full shot

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/c8ed05554966f853efeae8c1eb528154.png

效果演示: 拉克丝 月野兔

FloydianSound/WLOP_Diffusion_v1-5 (WLOP 厚涂)

有能力请到WLOP官网支持WLOP大大

https://www.artstation.com/wlop www.artstation.com/wlop

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/00fa6c25208e6807a3c5a23c4d128961.png

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/b2c903d44c701869691c3e67b8f8729d.png

prompt: amazing masterclass portrait of lux from league of legends, character portrait, highly detailed, blonde curls, big blue eyes ,fantasy art,atmospheric lighting,a detailed painting by wlop ,masterpiece, magic girl,full shot

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/f5c263fcb50bad27d8a889306e48afde.png

prompt: amazing masterclass portrait of sailor moon , hearthstone splash art, natural light, elegant, intricate, fantasy, atmospheric lighting, hd wallpaper, ultra high details, holding a magic book

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/21462193b4fb1e0f82dbb40fb8833d99.png

amazing masterclass portrait of sailor moon , natural light, elegant, intricate, fantasy, atmospheric lighting, hd wallpaper, ultra high details, cinematic composition, sharp focus, f/1.8, 24mm, {{arms behind back}},stunning environment

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/bb7593329f88b4c56c23dff4485ed4c9.png

amazing masterclass portrait of lux from league of legends, character portrait, highly detailed,a picture of a woman , blonde curls, big blue eyes ,trending on pixiv, fantasy art,romantic angelic,a detailed painting by wlop ,masterpiece

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/bc9915beff9a171ccfdb03fa95f91aeb.png

the Lady of Luminosity, from league of legends, character portrait, highly detailed,a picture of a woman , blonde curls, big blue eyes ,trending on pixiv, fantasy art,romantic angelic,a detailed painting by wlop ,masterpiece

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/e2372e3a07912921c02492954f67721a.png

miku is singing, character portrait, highly detailed,romantic lighting,shimmering light,masterpiece,look from side,depth of field,stunning environment,sharp focus

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/1bc62941d6652b852f38ebc222fc5323.png

🎦 点击观看视频

img2img

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/ededad62366c3eb2d4aa417898304142.png

🎦 点击观看视频

炫彩皮肤

模型下载方法汇总

本地机器

如果带GUI本地机器运行stablediffusion,下载没啥好说的 直接浏览器找到下载按钮点击就完事了 慢的话fq 或者复制下载链接到迅雷等下载软件里

linux服务器

如果是服务器 下面介绍两种方法

使用aria2c下载模型文件

apt install aria2 下载安装aria2

使用命令 aria2c 加上模型下载链接 huggingface civital的都可以 然后回车即可

下载链接可参考下面的截图

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/b119e8698115b6988bb80f0e3e2fcf62.png

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/23c893e33cd51fe7834c31f8eace8b74.png

#使用示例
aria2c https://civitai.com/api/download/models/5180

服务器上编写python脚本优雅下载模型文件

来回在自己电脑和服务器之间用FTP传模型非常耗时费力,可以在服务器上编写几行python代码就能快速从huggingface上下载自己需要的模型文件(当然也可以用aria2c 来下载、可以根据实时网络环境择优选择)

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/a8e805c80091c3d2009b5ac0c4ed1d75.png

下载模型脚本代码示例

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/7a84bb45ed172484e45841ec38efd6cb.png

0.安装huggingface hub库

没有安装的话 在终端命令行中输入以下安装命令并回车

pip install huggingface_hub

1.创建脚本、填写参数

在任意路径创建一个python文件文件名随意,将下面代码复制进去

from huggingface_hub import hf_hub_download
hf_hub_download(repo_id=&quot;&quot;,filename=&quot;&quot;,cache_dir=&quot;/root/autodl-tmp/stable-diffusion-webui/models/Stable-diffusion/&quot;)
#cache_dir后是webui存放sd模型的路径、如有不同自行修改

复制你要去下载的模型所在仓库名并填入 repo_id 参数中

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/e2c05f51b66597d90ce73f21a20b43b5.png

🎦 点击观看视频

复制你要模型具体文件名并填入 filename 参数中

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/544bac3d463e0b056d22aa7cf5199c76.png

🎦 点击观看视频

cache_dir** 参数是模型下载存放路径 为方便起见,直接填写webui存放sd**模型的路径,这样下载完就可以直接在webUI启动后读取调用.路径如有不同自行修改

2.执行下载脚本

ps: 如果和我一样使用autodl平台可以在使用脚本前使用平台提供的加速代理

AutoDL帮助文档 www.autodl.com/docs/network_turbo/

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/5bd6d988ae8dcb15f7741a3ad619775c.png

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/79a4a9496c7d17f910b58cb088471ccc.png

终端命令行跳转到python脚本所在路径 输入 python <脚本文件名>.py 并回车即可开始下载

autodl 加速后模型下载速度从几mb每秒到十几mb每秒 这样下载一个模型的时间都能控制在五六分钟左右 节省了很多时间

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/df34eccef01778afafa857d05fd9af3b.png

3.使用模型

下载完成后sd models模型文件夹会多出来这些东西,跟我们平时直接上传单独模型文件不一样

这里是因为huggingface要在我们机器上维护一套模型缓存系统 所以所有下载的模型都按照这个统一的格式保存

blobs文件夹下是实际的模型文件、snapshots文件夹下的只是blobs模型文件的符号软连接(再深究就是Linux文件系统的知识了,感兴趣的同学可以去下面这个issue看看)

https://github.com/huggingface/huggingface_hub/issues/1240 github.com/huggingface/huggingface_hub/issues/1240

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/27fae3cf78c70a040d759c60f6cf20e0.png

webui会自动识别到嵌套文件夹下的模型,所以我们无需对这样的文件结构做调整

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/40ddbab86f865ad1e1dd9bec4d3796cb.png

webUI中直接可以识别

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/f7ff3467dcdb8f2cd92d2fce7aade93c.png

safetensors格式速度确实快

之后要下别的模型只需把脚本文件的两个参数改下即可复用

优雅 永不过时

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/d932ec48e60ba89ee7741d088faac661.png

  • wlop lora

更多huggingface hub的API使用方法 请查看官方文档 https:// huggingface.co/docs/hug gingface_hub/package_reference/file_download

Changelog

3.20号 ChatGPT国产开源平替–ChatGLM部署教程

SeASnAkE:ChatGPT国产开源平替–ChatGLM部署教程 75 赞同 · 11 评论 文章

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/a363a9ee51022ac566929f525d8ffd44.png

3.3号 搭建自己的stablediffusion绘画机器人 图文教程

搭建自己的stablediffusion绘画机器人 121 赞同 · 22 评论 文章

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/6c2e139a04a2346a3ae29c0ebe4c795a.png

3.3号 更新显存优化常见思路

StableDiffusion Optimization(显存优化 推理加速 xFormers、cuDNN) 45 赞同 · 8 评论 文章

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/1fbe52afe15fa96405dc8e760238ad0c.png

1.27号更新 img2img专用模型 自然语言指导图像编辑 生成速度极快 (几秒)

在 stable-diffusion-webui 中使用 instruct-pix2pix模型 111 赞同 · 9 评论 文章

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/d19a184af501ac2cbd85538f1b1d9903.png

1.23号更新 Lora 模型使用

LoRA 指南 158 赞同 · 22 评论 文章

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/f3170472708e632128f094437ab6e805.png

1.15号更新 补充EMA depth 等模型后缀名的含义、补充Reddit社区

1.14 号更新 关于VAE文件,你需要了解的都在这

在StableDiffusion中说起VAE时,我们在谈论什么? 86 赞同 · 6 评论 文章

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/114404a31f6576974df30f80df6c7f5e.png

1.12 号更新 使用huggingface hub api 优雅下载模型

TODO

下面是将于近期陆续更新的内容 敬请期待

  • 如何使用huggingface hub api 优雅下载模型 \sqrt{}

  • 包括多语言模型在内的更多优秀模型推荐

  • transformers 和 diffusers 讲解使用

  • prompt书写策略 \sqrt{}

  • sd api模式运行 以及python nodejs调用 中间件封装整合

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/2b10404b5199cef217a1039f3fe6b1f1.png

用无边记做的部分汇总

参考

  1. 关于SD的结构(unet,vae,clip-text_encoder)的更多信息 可以参阅HuggingFace官方的博客 https://huggingface.co/blog/stable_diffusion

编辑于 2023-03-20 11:55 ・IP 属地浙江

101个Mindjourney 咒语

来源:https://diwfpqo78m.feishu.cn/docx/VMz5dFhF2orQGRxlb7jcw66inEe

绿荧光沙滩 At night sky, the beach is covered with blue and green fluorescence, the huge moon, elf light, stars, facula, the sea with fluorescence, the shining golden beach, the starry sky with moonlight, Michael james Smith’s matte painting, reflection, cg rendering, volume light, space art, bioluminescence, unreal engine 5, magic of light, unreal engine rendering, super wide angle, super wide angle, high definition. --ar 9:16 =DISPIMG(“ID_485C9420886A4DD1BAFBD111673926E5”,1)

蓝色玫瑰海洋 https://s.mj.run/vuxkS7-eaTI Blue ocean,blue sky,white beach of Maldives,pink,roses of different sizes on the beach,blue roses, many tiny and colorful luminous particles,illuminated by the Milky way,Arctic,tundra and,iceberg,fantasy,high detail,beauty,8K,octane shading,complex details,ultra wide angle of view, panoramic shooting,8K.HD --ar 9:16 =DISPIMG(“ID_FC676619B1C24D68A8309D78A437EA9C”,1)

蓝色海洋 白色沙滩 粉玫瑰 Blue ocean,blue sky,white beach of Maldives,pink,roses of different sizes on the beach,blue roses, many tiny and colorful luminous particles,illuminated by the Milky way,Arctic,tundra and,iceberg,fantasy,high detail,beauty,8K,octane shading,complex details,ultra wide angle of view, panoramic shooting,CG matte painting,8K.HD --ar 9:16 =DISPIMG(“ID_DDDCE4E2C61B4AA1823E8F20B508E431”,1)

银河沙滩 https://s.mj.run/lHhemDoEztw The picture is transparent, a silvery white big crescent is scattered on the beach with the Milky Way stars, there are many fuchsia and blue peaches floating on the beach, fuchsia and blue peach blossoms, many fuchsia and blue Peaches Floating on the Sea Flower, Silver, Ultra Wide, Unreal Engine, dream,smoke,HD, --ar 9:16 --q 5 =DISPIMG(“ID_590363B4729C4D2B9FD892B2D2EAF1E3”,1)

极昼蓝色冰川 https://s.mj.run/Bgjwu3D-Qpw Blue ocean, blue sky, white beach of Maldives, pink, roses of different sizes on the beach, blue roses, white roses, many tiny and colorful luminous particles, illuminated by the Milky way, the north pole, tundra and icebergs, fantasy, high detail, beauty, 8K, octane shadow, complex details, ultra wide angle of view, panoramic shooting, 8K. HD --ar 9:16 =DISPIMG(“ID_D0416156824C40DD9C8E59AA918C4CEB”,1)

夜晚银河雪滩 Night, Milky Way, starlight, silver white crescent moon,blue ocean,white snowy beach, frozen Milky Way shines on many tiny and blue rose crystals,artictundra,fantasy, highly detailedbeautiful,8k octane render photorealistic,intricate detailsUltra-wide viewing angle,Panoramic shots 8k HD --ar 9:16 =DISPIMG(“ID_3125A492343549C8AD7C233D4242FEFD”,1)

恶魔王子 prince of darkness, devil, demon, portrait, 8k, photorealistic, highly detailed, hdr, volumetric lighting, octane render, unreal engine —ar 9:16 —upbeta —testp —creative --upbeta =DISPIMG(“ID_37123B1737E34B22A44BEEA22EF182B3”,1)

赛博朋克埃及猫 Anthropomorphic majestic egipcian cat + cyberpunk style + purple + blue + blue eyes + black background + finely detailed armor, 8k, unreal engine --ar 9:16 --s 5000 --upbeta --testp --upbeta =DISPIMG(“ID_137CCB0121F54732AB1179402159DB19”,1)

用这个基本不会生成出来这种,做个参考 cloaked warrior woman with a small secretive smile, mysterious —testp —creative —ar 2:3 --upbeta =DISPIMG(“ID_EB0120EEC10445DCAA99B60BDFA7A1D9”,1)

外星人 beautiful alien biotech sorceress wearing dark-blue and black biotech armor with golden accents, vibrant face warpaint, intricate details, cinematic lighting, photo realistic, close-up portrait —ar 2:3 —test --upbeta =DISPIMG(“ID_C601DE0DFCDC44A99D0362F4D8F1A2FD”,1)

黑豹 Anthropomorphic majestic panther knight, portrait, finely detailed armor, cinematic lighting, intricate filigree metal design, 4k, 8k, unreal engine, octane render --ar 9:16 --s 5000 --upbeta --testp --upbeta =DISPIMG(“ID_BBE9CFF66D60444780A3987F5EC9868E”,1)

黑豹 Chadwick boseman as black panther, purple magical ruin tattooed on skin, intricate little detail with internal purple glow, armored black panther suit, magical background, octane render, volumetric lighting, hyper detail, shot on film, cosmic wonder, vibrant, 85mm, --ar 9:16 --testp --upbeta --iw 7 --upbeta =DISPIMG(“ID_40357D76B1AA456C98B0D123C3330523”,1)

蓝色海洋 Blue ocean, shimmering these stars, white snow color transparent ice cubes with roses, frozen frozen, fell in the sea and snow moon reflected in the Milky Way, the arctic, tundra, glacier, at dusk, fantasy, highly detailed, beautiful, 8 k, octane render, lifelike, the details of the complex, super wide viewing Angle, 8k --ar 9:16 =DISPIMG(“ID_90A7D87DD6FD4BEB977FF3EF3E5EEAED”,1)

夜晚紫冰川 This is surreal and exquisite CG rendering. At night, the pale blue sky, glaciers covering the beach, purple heart-shaped stones, glowing paths, roses, the moon, starlight, art, high definition, starry sky, many tiny and colorful luminous particles, illuminated by the Milky Way, the Arctic, tundra and icebergs, fantasy, high details, beauty, 8K, octane light and shadow, complicated details, super wide angle, panoramic shooting, 8k. High definition.Volumetric light --ar 9:16 --upbeta =DISPIMG(“ID_A7C3F2DC1450440785EF4C471355572C”,1)

极昼 Night, Milky Way, starlight, Colorful aurora,silver white crescent moon with Milky Way starlight sprinkled on the glacier, there are many luminous creatures, the glacier is the shape of love, pebbles, luminous creatures, fluorescent, color, dream, ultra-wide Angle light, Unreal engine, 4K HD, volume light, bioluminescence, ultra-wide Angle of view,HD --ar 9:16 --s 5000 =DISPIMG(“ID_C2C4B607F339406FA10BDFF348E834C0”,1)

玫瑰花瓶 **A panoramic sky garden rose world in a special-shaped transparent glass bottle, castle, roses, petals are flying, romance, dream, Greg lat Kosky, night, red rose Pavilion, art station trend, bright lights, smoke, wood support, UE4, HD, lighting, winter, AUV --ar 9:16 =DISPIMG(“ID_2DCCB3992383492BA19C7F57544D6A94”,1)

月亮女神 https://s.mj.run/sKPJG0Au-Bo goddess of the moon in her human form, stunningly beautiful, symmetrical facial features, freckles like constellations on her skin, galaxy and stars above, moonlight, celestial atmosphere, white hair, grey eyes, celestial, magic, fantasy themed, octane render, 8k, photorealistic --upbeta --testp --ar 9:16 --upbeta --upbeta =DISPIMG(“ID_D11F3E96E43A4152ABFC2D8A08151166”,1)

夜晚银河 At night, the Milky Way, starlight, the silver crescent moon with the galactic starlight sprinkled on the beach, There are many luminous creatures on the beach, the shape of the beach is love, pebbles, shells, sauer, coconut, trees, luminous creatures, fluorescent, gold, green, pink, blue, dream, super wide angle light, unreal engine4K…HD --ar 9:16 =DISPIMG(“ID_B034465510B545A1B4683D679226A585”,1)

梦幻教堂 An ultra high definition ultra real photo fiber light picture, super dream church, butterfly spirit, time tunnel, romance, fantasy, sky, clouds, fairy tale, Unreal technology engine rendering, 3D, Unreal engine 5, object luminescence, light magic, CG ancient Chinese rendering, super wide perspective hd --ar 9:16 =DISPIMG(“ID_B7EFADFFBBEB4520BBFF76AB31634A9E”,1)

星光沙滩 Night, Milky Way, starlight, silver white crescent moon with Milky Way starlight sprinkled on the beach, there are many luminous creatures, the beach is the shape of love, pebbles, luminous creatures, have some butterfly is fly ,fluorescent, pink, color, dream, ultra-wide Angle light, Unreal engine, 4K HD, volume light, bioluminescence, ultra-wide Angle of view,HD --ar 9:16 =DISPIMG(“ID_DCE808B96A2E4C328A52D7DE467CCF13”,1)

星光蝴蝶 Night, Milky Way, starlight, silver white crescent moon with Milky Way starlight sprinkled on the beach, there are many luminous creatures, the beach is the shape of love, pebbles, luminous creatures, have some butterfly is fly ,fluorescent, pink, color, dream, ultra-wide Angle light, Unreal engine, 4K HD, volume light, bioluminescence, ultra-wide Angle of view,HD --ar 9:16 =DISPIMG(“ID_91634F3B95A64CFFAACBA111C556E193”,1)

精灵蝴蝶 Dream Forest, butterfly with colourful wings, Fairy tale Style, lifelike, Lots of Crystal Flowers, Moonlight Effect, High detail, Unreal 3D Digital Art Engine, 2000s Animation Style, Fairy Elves ,16k, HD --ar 9:16 =DISPIMG(“ID_1A36A3B593C447D98BF0BF2BDB5DA4EB”,1)

漫画女孩 Cygames girl character concept art and illustration by akihiko yoshida , ultimate dressy , amazing detailed face in profile closeup, galaxy in blue hair, Jewelry eyes , wearing a white galaxy dress , Line Array Speaker , Extreme Explosion , Subwoofer , kyoani character face , cute ,pretty girl , dynamic pose, portrait , pixiv daily ranking , pixiv , artstation ,specatcualr details, Volumetric Lighting , Dramatic lighting —ar 9:16 --test --creative --upbeta =DISPIMG(“ID_FC1825B2A56841E7A21BD7452C320312”,1)

献花的小浣熊 a tiny adorable raccoon ofering a flower, sakura bloomed background, pixar style, fantasy, epic scene, volumetric light, octane render, 8k --ar 9:16 --s 1250 --testp --upbeta =DISPIMG(“ID_5A65CF8C175A4C4E8F656EEAEB87777F”,1)

和服兔子 cute anthropomorphic bunny in a kimono under cherry blossoms in pixar style, octane render --testp --ar 1:2 --upbeta =DISPIMG(“ID_38A97A93893B42D0A94C049F37CB147E”,1)

秋鼠冒险家 https://s.mj.run/0lsTs3U73Ho Pixar Style, Tiny cute and adorable fall rat adventurer dressed in hoodie, jean - baptiste monge , anthropomorphic , dramatic lighting, 8k, portrait, --ar 9:16 --s 5000 --testp --upbeta =DISPIMG(“ID_FC31B9ADC748463FB8BD72BCDE7789D5”,1)

小男孩与狗 Ethereal portrait of a boy and his dog, best friends, beautifully lit, bokeh, —ar 2:3 —testp --upbeta =DISPIMG(“ID_6C483F47FA2F401A8CD2E8FCA0700C76”,1)

年轻女孩 https://s.mj.run/LDXCY1exS0k full shot of a beautiful young girl, digital art, 4K, by Kyoto Animation, artgerm, tsuaii, Krenz Cushart, Ilya Kuvshinov, Rossdraws, trending on artstation, anatomically correct --ar 9:16 --upbeta --testp --upbeta --upbeta =DISPIMG(“ID_C8D44C9AD3B7480FB2CB3FB85093E730”,1)

女蜘蛛侠 https://s.mj.run/sZb34Ni9veg Marvels Spider-Gwen, portrait, beautiful figure, Hood, cinematic lighting, Photorealism, Bokeh blur, High detail, Sony Alpha α7, ISO1900, --aspect 9:32 --testp --testp --upbeta =DISPIMG(“ID_4C5E7B564B9F40CDBFA6C6DBD1C5AB1F”,1)

拟人猫咪 Pixar Style, Tiny cute and adorable white kitty adventurer in hooded assassin robe , jean - baptiste monge , anthropomorphic , dramatic lighting, backlit, 8k, portrait, --ar 9:16 --s 5000 --testp --upbeta --upbeta =DISPIMG(“ID_35868FAFA0AC435AA36158E1D9C595E2”,1)

机器人赛博朋克 Action figure, Ethereal cyborg, skin-tight neon armour, sensuality, glamour, artgerm, Moebius, medium shot, holy synthwave lighting, octane render, 8k --ar 2:3 --creative --test --upbeta =DISPIMG(“ID_5A770E4288114F0D89509E1007B496A5”,1)

海神波塞冬 https://s.mj.run/20eLV_QCrl0 artistic half-body portrait of Poseidon the sea god, underwater background, backlit, artstation, wlop and artgerm style --ar 9:16 --test --upbeta =DISPIMG(“ID_30FC6A8994A148BB93C70348E9DEC2F7”,1)

银翼杀手 A beautiful portrait of ana de armas from blade runner 2047 by greg rutkowski, raymond swanland and artgerm, sharp focus, trending on artstation, ultra realistic digital art, highly detailed, digital painting, artstation, concept art, smooth, sharp focus, illustration --test --ar 9:16 --upbeta --s 5000 --test --upbeta =DISPIMG(“ID_52FCD5E44A7646B4BEDB0ADAC2195723”,1)

蝙蝠侠 Batman rage portrait, ultra realistic, right side view, dark eyes 12k, black, dark knight, Unreal Engine 5, RTX, Ray Tracing, volumetric light, shine --test --upbeta --ar 2:3 --no text, signature --upbeta --upbeta =DISPIMG(“ID_DDC2DB905780408A947CB83566148134”,1)

极光倒影 https://s.mj.run/Jcu-Avh6qcM HD glossy photo, Sparks Lake , Bend Oregon, galactic sunset Milky Way, --ar 9:16 --test --creative --upbeta =DISPIMG(“ID_E6731B7E9CA546DFA9A91C1BC7DD0921”,1)

极光倒影 HD glossy photo, Sparks Lake , Bend Oregon, galactic sunset Milky Way, --ar 9:16 =DISPIMG(“ID_8F3AFE262ECC42168095008FF75853EF”,1)

樱花树林 dark style painted, river flowing through forest of cherry blossom trees , under a galaxy filled sky, beautiful, galaxies, deep colors,ultra lighting, Bioelectric Modular Synthesizer, perfect symmetry, cinematic, volumetric lighting, --ar 9:16 =DISPIMG(“ID_C14E8D5403744D08A1B0ED39AFF797EB”,1)

梦幻蘑菇屋 Dream Forest, Summer Pink Mushroom House, Marshmallow Cloud, Magic Flower, Lighting, Beauty, FairyTale Art Style, Volumetric Lighting, High Detail, Unreal 3D Digital Art, 90s Animation Style, Sailor Moon HD --ar 9:16 --q 3 =DISPIMG(“ID_03D0413B5BBF45E3A8EA91A3CC6521D3”,1)

七彩瀑布 https://s.mj.run/F8cBxmLjusg A matte painting of beautiful Huge cliff, rainbow waterfall, water mist, soft light, crystal texture of clouds, fairy tales, dreams, Fluorescence, volume light,below the waterfall is a huge lake, blue water,8k, Volumetric light --ar 9:16 --test --creative --upbeta =DISPIMG(“ID_FC2953EE357546D9975AB034CE967EFD”,1)

深海蓝花 There is a kind of flower that is blue. Its petals are as deep as sea water, and its heart is like dew. There are many green leaves on the branches, and many crystal blue Lotus. You can feel its loyalty and purity in comparison with love.HD --ar 9:16 =DISPIMG(“ID_0EC3309EB92E4784806405CFBE2F7F63”,1)

金莲花 There are many round gold coins in the pool, beside which there are golden lotus flowers, frozen roses, and 4k 7x 1 plant roses at night make the room full of romantic.HD --ar 9:16 =DISPIMG(“ID_3F1466A434FF439C8EA74833B96FA775”,1)

紫色沙滩 You have reached the maximum allowed number of concurrent jobs. Don’t worry, this job will start as soon as another one finishes! Note: cancelling queued jobs was temporarily disabled =DISPIMG(“ID_C010F265FACF468386943CD173BB2371”,1)

红玫瑰瀑布 https://s.mj.run/0g-2ICMpBMs Romantic Firefly Snow Forest Cliff Valley Overlooking Waterfall Starry Sky Movie Lighting Effect Crystal Crystal Red Rose Sharp and complicated details Ultra-high resolution and Ultra-high definition --ar 9:16 --v 3 =DISPIMG(“ID_8D17702B07824BA689D0B721EBD7D95E”,1)

粉色玫瑰沙滩 https://s.mj.run/PjgWNOzI52Q The picture is transparent, a large silvery white crescent is sprinkled on the sand accompanied by the Milky Way stars, there are many pink and blue roses floating on the sand, pink and blue roses floating on the sea, a beach in the shape of a heart, glowing creatures, Silver, Unreal Engine, Ultra Wide, 4K HD, HD. --ar 9:16 --v 3 =DISPIMG(“ID_045EF0F413784BD2A10C3D7DE96994CC”,1)

银河灯塔 https://s.mj.run/bQ0iB06FD84 a beach covered in lots of Fluorescent color rocks under a night sky, the silvery white crescent moon, Rocks surrounded by roses, Towering lighthouse + lighting, Fluorescent Sea, Moonlight shines on a sea of twinkling stars, a matte painting by Michael James Smith, Reflection, featured on cg society, Volumetric light, space art, bioluminescence, unreal engine 5, Magic of light, rendered in unreal engine, Ultra-wide viewing angle, Ultra-wide viewing angle, Ultra-wide viewing angle --ar 9:16 --v 3 --v 3 =DISPIMG(“ID_1694741C44E24055A1A2D728DCF07EFF”,1)

梦幻蓝荧光 https://s.mj.run/4SmKnMueOdI < a beach covered in lots of Light Blue rocks under a night sky, Milky Way and the huge moon ,the glowing quicksand flowing from the moon to the sea, petals flying, the sea waves are rolling, with green light in the waves, bright stars, fireflies, clouds, Super beautiful,dreamy, romantic, uplight, 8K, Volumetric lighting, Volumetric light,soft light, unreal engine, octane render, Ultra-wide viewing angle, --ar 9:16 --iw 5 --v 3 =DISPIMG(“ID_C9571F51B05D4A189FF2BD81D336BB67”,1)

夜空下的荧光 https://s.mj.run/NBVwU14gKvo a beach covered in lots of Light Blue rocks under a night sky, Milky Way and the huge moon ,the glowing quicksand flowing from the moon to the sea, petals flying, the sea waves are rolling, with green light in the waves, bright stars, fireflies, clouds, Super beautiful,dreamy, romantic, uplight, 8K, Volumetric lighting, Volumetric light,soft light, unreal engine, octane render, Ultra-wide viewing angle, --ar 9:16 --iw 5 --v 3 =DISPIMG(“ID_71C0B5F1F597434FBDB519104D3DFC0B”,1)

荧光月牙 Night, the Milky Way, starlight, the silvery white crescent moon is accompanied by the Milky Way starlight sprinkled on the beach, there are many glowing creatures in the beach, the beach is the shape of love, pebbles, glowing creatures, fluorescent, golden, color, dreamy, super wide-angle light , Unreal Engine, 4K HD, , HD. --ar 9:16 --v 3 =DISPIMG(“ID_A02D7412865643979A6EE2E84D2AC01B”,1)

游戏cg女神 Close up portrait photo of Megan Fox as part cyborg part human, intimidating stare, Atmospheric, 600mm lens, Sony Alpha α7, epic, dramatic, cinematic lighting, high contrast, 8k, photo realistic, character design --testp --ar 2:3 --upbeta =DISPIMG(“ID_F4C5C1258DE14F51896DA9993E47DCD8”,1)

高山流水 large ornate ancient cathedral in the ethereal jungle atop a waterfall with birds flying overhead, dramatic, high detail, love in the air, wisdom, beauty, respect of the water, cathedral is large and ancient and beautiful, sea serpent, 🐍, perfect render, --ar 9:16 --testp --s 1301 --upbeta =DISPIMG(“ID_F6062954FAA54C5580DD5291963B64EB”,1)

梦幻花场 field of flowers fantasy, leafy tree, swing, light, glitter effect stars, small house in the middle of the forest, hills, waterfall, stream, path, glitter effect, sparkle, painting, light pink sky clouds, purple an blue tones, epic, pastel light, After Effects, light soft, --ar 5:7 =DISPIMG(“ID_FC065AB99FB04F3BB054F9233E8E6F26”,1)

田野小猫 https://s.mj.run/HcyxeVf0RRw kitten in a field, anime, in the style of studio ghibli, 90’s anime, hd, intricate detail, soft lighting, 8k --ar 2:3 --upbeta --testp --upbeta =DISPIMG(“ID_4FBECB89AC444EE3A9E3E51EAC1180FD”,1)

紫金狮王 Pixar Style, full body of a lion king, standing on four legs, dust particles and soft lights, diffused light, fog, portrait, intricately detailed uniform, purple, blue and orange, intricate detailed metal design, bioluminescent colors, 4k, octane render, epic composition, golden ratio --ar 5:8 --testp --upbeta --seed 3 --upbeta --upbeta =DISPIMG(“ID_D332B71A1E9E46799F8C614C1188149A”,1)

高清灭霸 Portrait of Thanos, Using The Infinity Gauntlet, Photorealism, Bokeh blur, High detail, Sony Alpha α7, ISO1900, --aspect 9:32 --testp --creative --testp --upbeta =DISPIMG(“ID_34A3497814DC4DD9AB9C23E2E890623D”,1)

紫蓝色荧光沙滩 In the night sky, the beach is covered with violet blue fluorescence, moon, elf light, stars, facula, the sea with fluorescence, the shining golden love beach, the starry sky with moonlight, Michael james Smith’s matte painting, reflection, cg rendering, body light, space art, bioluminescence, unreal engine 5, magic of light, unreal engine rendering, super wide angle, super wide angle, high definition. --ar 9:16 =DISPIMG(“ID_0D0A5ECEA49F4D4DB353F160EA18D7EA”,1)

精灵之光海滩 In the night sky, the beach is covered with blue and yellow fluorescence, the moon, elf light, stars, facula, the sea with fluorescence, the shining golden love beach, the starry sky with moonlight, Michael james Smith’s matte painting, reflection, cg rendering, volume light, space art, bioluminescence, unreal engine 5, magic of light, unreal engine rendering, super wide angle, super wide angle, high definition. --ar 9:16 =DISPIMG(“ID_12D76BC2083D400080BE1947024EA8A3”,1)

未来都市 https://i.mj.run/f2747be1-81ac-4d61-99e7-1a5190412ec1/0_0.png a futuristic city on a giant screen, neon, moon lighting, Spectacular details, Epic composition, in the Style of Hayou Miyazaki, and Shinkai Makoto, Anime, Animation Concept Art, Studio Ghibli, Natural Lighting, Realistic, Beautifully Detailed, 16k --ar 12:16 --test --creative --upbeta =DISPIMG(“ID_276F1208781E4B828E8C18B33A3E7497”,1)

星河湖面 Unreal Engine, Light Painting, Nightlight, LED, Beautiful Lighting, Bioluminescence, Ray Tracing Reflections, Mysterious, glowing river of stars from near to far, the back of a beautiful elf on a boat, with forests and fireflies on both sides, a magnificent glowing crystal palace at the end of the river, a huge full moon held up by the palace, and a waterfall of stars from above flow down --q 2 --s 2300 --ar 10:16 =DISPIMG(“ID_E2AE0F0FBB0B4ED1BF3936D0F31C1594”,1)

浩瀚星河 https://s.mj.run/M1SdX_Ega98 Unreal Engine, Light Painting, Nightlight, Beautiful Lighting, Bioluminescence, Ray Tracing Reflections, light effect, the vast and deep starry sky, the huge luminous full moon hangs in the night sky, the luminous Galaxy waterfall flows down from the moon and flows down the mist-shrouded mountains. By the lake at the foot of the mountain, trees with blue light, firefly spots, ancient Chinese pavilions and pavilions with dim lights, osmanthus flower shadows, reflections in the lake, and boats with stars on the lake --iw 2 --q 2 --s 2300 --ar 10:16 =DISPIMG(“ID_1C5E3F3A0D1D423F97783BAAE7200627”,1)

魔法兔 https://i.mj.run/c945e371-700b-4cbc-9057-6d43ca5c321e/0_0.png Cute magic rabbit, Purple Rainbow symbol, magic effect, bioluminescence, in front of a huge luminous moon, cute environment, neon lights, complex details, surreal, 8K, triple lighting, high resolution, Vray rendering 3D --ar 9:12 --test --creative --upbeta =DISPIMG(“ID_DB6EEAC1CD56439598ECA241699B64E4”,1)

紫色蝴蝶城堡 Fairy tale of lavender, clear skies, butterflies flying, moon, castle, transparent Butterfly, lavender flower language: waiting for love, sweet love, missing. Purple lavender emits refracted light, crystal, quietness, fairy tales, lighting effects, dreams, super wide-angle lighting, unreal engine, --ar 9:16 --uplight =DISPIMG(“ID_FB48E1BB2B18480DB94A139ED83D7FF2”,1)

超逼真小龙 toothless from how to train your dragon, portrait, hyperrealistic, photorealistic, incredible detail, photography, shot on 45mm, depth of field, high contrast, 8K, volumetric lighting, octane render, transparency, magical background, --ar 9:16 --testp --upbeta =DISPIMG(“ID_951F6D89BC92479685107ADE4B8FB9A5”,1)

钢铁侠 Close up portrait photo of Robert Downey Jr as Iron Man, intimidating stare, Atmospheric, 600mm lens, Sony Alpha α7, epic, dramatic, cinematic lighting, high contrast, 8k, photo realistic, character design --ar 9:16 --testp --upbeta =DISPIMG(“ID_4263211B82974EA2A9E90A683E6761A6”,1)

七彩独角兽 very cute fluffy rainbow unicorn, symmetrical, hyperrealistic, volumetric lighting, octane render, very detailed, portrait, 3ds max, --ar 9:16 --testp --upbeta =DISPIMG(“ID_BC36EB309BA94144AAE1806754A46D2F”,1)

金发美女 https://s.mj.run/eW_7TakbVFc intricate stunning highly detailed girl by artgerm and edouard bisson, pale eyes, long blonde hair, portrait, soft studio lighting, ultra realistic gold filigree detailed bodice, photorealistic, octane render, unreal engine, hyper detailed, volumetric lighting, hdr, octane render, 4k, 8K --mp --upbeta --test --creative --upbeta =DISPIMG(“ID_E4AD61D2A7AC4FC0A0B3C0FCF9A630E1”,1)

东方神话祥云 **<<https://s.mj.run/WQ8-6rK3wh4>> This is a beautiful real picture, Perfect details:: Oriental mythology, super exquisite, colorful auspicious clouds, colorful dragons, huge moon, starry sky, dreams, gems, smoke, Movie HD, magic, u unreal engine, a lot of details, surrealism, lighting, octane shadow, complex details, ultra wide angle, panoramic shooting, 8K, UE4, HD --ar 9:16 =DISPIMG(“ID_763B09811A274565B1B9BFD9AB5EE2D0”,1)

绿色花朵海滩 <https://s.mj.run/hDvebUqOozE> < < A big crescent moon is on the sea, and the white beach road is covered with green flowers, light beads, star system, starry sky, fireflies, water bubbles, Miyazaki Hayao style, romantic flowers, 8k HD, CG rendering, HD ,8k --ar 9:16 =DISPIMG(“ID_0492FB19A14C46F0BAFB399809B0794F”,1)

蓝紫色瀑布 Blue with purple dream night sky, there are waterfalls n the air, a large waterfall under the waterfall, there are mountains around the waterfall, the waterfall with fluorescence, the waterfall sea water crystal clear, purple reflection,HD,4K,HD --ar 9:16 =DISPIMG(“ID_13A310C8A165407B906A89F371D47AEE”,1)

梦幻小猫 Cuty Nintendo GameBoy Advance, dreaming world, a sleeping fluffy kitten ears, rendered Pixer-style, pastel illust , smiling , Hairy clothes hardware, Octane rendering and cinematic color grading for whimsy and dramatic lighting,happy emotions Unreal Engine rendering, hyperrealism, ultra detail, warm colors, happy, --ar 9:16 --testp --upbeta =DISPIMG(“ID_8FF333C0D99647DDA22D0267EA8AA01D”,1)

冰蓝宇宙 https://i.mj.run/1e5632a4-0a44-4b59-b4ba-09aaa0628aed/0_0.png The dream at the center of the universe from far away,fantasy,blue small ice&water sparrows flying --ar 16:9 =DISPIMG(“ID_5623B7E7F2BB4FD98D24CB703C0F74D0”,1)

灯塔海涛 moody beach scene of a lighthouse, Unreal Engine, photo realistic, Cinematic Lighting --ar 10:16 --test --s 1250 --upbeta =DISPIMG(“ID_524D4D1480BB4C9B9FA80490B421CD0B”,1)

银河星光新月 Night, Milky Way, starlight, silver white crescent moon with Milky Way starlight sprinkled on the beach, there are many luminous creatures, the beach is the shape of love, pebbles, luminous creatures, fluorescent, pink, color, dream, ultra-wide Angle light, Unreal engine, 8K HD, volume light, bioluminescence, ultra-wide Angle of view,HD --ar 9:16 --s 5000 =DISPIMG(“ID_1871ABE48BC74FB39270C3BE3BDC3A8B”,1)

彩虹星光 https://i.mj.run/aace42d0-1e4c-40c1-a69d-b6fbf3129044/0_3.png Under the starry sky, a fantastic rainbow covers the beach, with many colorful roses and glowing crystal pebbles on the beach. Starlight, meteor, silver crescent moon and Milky Way starlight scattered on the beach, luminous creatures, fluorescent, golden, colorful, dreamy, super wide-angle light, unreal engine, 4K HD --ar 9:16 --v 3 --v 3 =DISPIMG(“ID_C4C73E5443D64B4F8A5DC0EAD01527A3”,1)

紫玫瑰新月 The picture is transparent. A huge silver-white crescent moon is scattered on the beach. The Milky Way shines with many purple-blue roses. There are many purple-blue rose flowers on the beach, fantasy, highly detailed, beautiful, 8k, octane rendering, real photos, complex details, ultra-wide viewing angle, panoramic shooting, and several purple-blue roses in the foreground. Duo HD --ar 9:16 =DISPIMG(“ID_C0CFE6F296E343C18A4A62F6D7A80503”,1)

金光沙滩 In the night sky, the beach is covered with blue and yellow fluorescence, the moon, elf light, stars, facula, the sea with fluorescence, the shining golden love beach, the starry sky with moonlight, Michael james Smith’s matte painting, reflection, cg rendering, volume light, space art, bioluminescence, unreal engine 5, magic of light, unreal engine rendering, super wide angle, super wide angle, high definition. --ar 9:16 =DISPIMG(“ID_970A02E78A5A4BF784868D3E2DD7F18B”,1)

雅典娜梦宫 Athena’s Dream Palace, Sapphire, Amethyst, Crystal, Wide Angle, Large Aperture Luminous Gem, Foreground Pale Pink Rose, Starry Sky, Zoom Engine, Octane Rendering, Volume Lighting, HD --ar 9:16 =DISPIMG(“ID_41D607424CD74E218607829C10F5DA8D”,1)

半机械人梅根 Close up portrait photo of Megan Fox as part cyborg part human,high-quality portrait, as a cyberpunk geisha, Bokeh blur f/1.4, studio lighting, pastel colors, award winning 8K UHD ultra high definition studio 24mm lens Sony Alpha α7 ISO1900 --ar 2:3 --test --upbeta --upbeta --upbeta --upbeta =DISPIMG(“ID_D9E1DC5930F74FC1BF468B6FA74951CC”,1)

半机械人超人 Portrait photo of Henry Cavill as cyborg part human, high quality portrait as cyberpunk geisha, futuristic, blur f/1.4, studio lighting, pastel colors, award-winning 8K UHD Ultra HD Studio 24mm Lens Sony Alpha α7 ISO1900 --ar 2:3 --test --upbeta --upbeta --upbeta --upbeta =DISPIMG(“ID_920EE75ECEAE46A1935710BA1EEA5A60”,1)

赛博朋克机械人 Portrait photo of Ben Affleck as cyborg part human, high quality portrait as cyberpunk geisha, futuristic, blur f/1.4, studio lighting, pastel colors, award-winning 8K UHD Ultra HD Studio 24mm Lens Sony Alpha α7 ISO1900 --ar 2:3 --test --upbeta --upbeta --upbeta --upbeta =DISPIMG(“ID_F7A08BE8A6AB43539073F8D01F44531E”,1)

半机械人朱莉 Portrait photo of Angelina Jolie as cyborg part human, high quality portrait as cyberpunk geisha, futuristic, blur f/1.4, studio lighting, pastel colors, award-winning 8K UHD Ultra HD Studio 24mm Lens Sony Alpha α7 ISO1900 --ar 9:16 --test --upbeta --upbeta --upbeta --upbeta =DISPIMG(“ID_E46A62682B6B478ABFEB2F296D6B373F”,1)

梦幻彩虹沙滩 Blue sea, blue sea, dreamy rainbow cover the beach, and there are many colorful roses and shining crystal pebbles on the beach. Starlight, silver crescent moon and galaxy starlight are scattered on the beach, luminous creatures, fluorescent, golden, colorful, dreamy, super wide-angle light, unreal engine, 4K HD --ar 9:16 =DISPIMG(“ID_D12904E4A84F4E4CAACFFE9E8F53081D”,1)

蓝色荧光沙滩 At night sky, the beach is covered with blue and yellow fluorescence the moon, elf light, stars, facula, the sea with fluorescence, the shining golden beach, the starry sky with moonlight, Michael james Smith’s matte painting, reflection, cg rendering, volume light, space art, bioluminescence, unreal engine 5, magic of light, unreal engine rendering, super wide angle, super wide angle, high definition. --ar 9:16 =DISPIMG(“ID_1770139BD8EB460C9DE40A4516A0EAF8”,1)

银河沙滩 a beach covered in lots of Light Blue rocks under a night sky, Milky Way and the huge moon ,the glowing quicksand flowing from the moon to the sea, petals flying, the sea waves are rolling, with green light in the waves, bright stars, fireflies, clouds, Super beautiful,dreamy, romantic, uplight, 8K, Volumetric lighting, Volumetric light,soft light, unreal engine, octane render, Ultra-wide viewing angle, --ar 9:16 --iw 5 --v 3 =DISPIMG(“ID_C0531BC6D353429B8CDD175208BEF47F”,1)

繁星湖面 Night sky, The stars shine on the silky lake , Aurora, Full moon, Elf light, Stars, The stars are twinkling , The wide lake, Starry sky, Matte painting by Michael James Smith, CG rendering, Volume light, Space art, Bioluminescence, Unreal Engine 5, Ultra-wide angle, High definition ,HD Volumetric light --ar 9:16 =DISPIMG(“ID_ABDB85B190764B128E55DAD5704B4A24”,1)

森林花海 This is an artistic picture of a valley forest flower sea. There are valleys, forests, peach trees, plum trees and yellow trees in the picture. Flowers are flying in the air, and the light shines through the flowers, falling flowers and mist. The background is light blue, dream, art station, super wide angle, panoramic view at the top, 8K.HD --ar 9:16 =DISPIMG(“ID_7BEE96DBE2C94168996D9FD84D6A2070”,1)

山水画 The whole canvas is full of night lights.This is a surreal CG rendering of ancient China. Ancient Chinese architecture, Close-up of a glowing blue river in the middle of two mountains,the Dragon floats in the sky, the moon is silver, There is a galaxy in the sky–uplight.8k --ar 9:16 =DISPIMG(“ID_274E8B6AA08643CE9779FB211C802C4F”,1)

金币树 A vacant lot on the growth of several trees, trees covered with golden fruit, leaves are green, clearly visible, under the tree covered with a lot of golden coins. The Sky is bright and sunny,HD --ar 9:16 =DISPIMG(“ID_04E7DC690A224FD69468A84914DAF910”,1)

紫莲彩云 Blue sky, colorful clouds, sun, light, green forest, blue castle, mountain, river, purple lotus, green lotus leaf, pond, white rabbit, dragonfly, boat, leaves,3D, super realistic, clear details, film effects, high definition, 8K, strong visual impact, super wide Angle visual impact is amazing,HD --ar 9:16 --iw 10 --s 5000 --q 2 --upbeta =DISPIMG(“ID_7746A4E50B1249C7A23F59423377367E”,1)

极光森林 The aurora,Dream Forest, There are auroras on the river, the reflection,starry sky --ar 9:16 =DISPIMG(“ID_5DBF6CCE10B54564B22BDF77195E1EAD”,1)

冰雪蓝玫瑰 Blue ice and snow, blue ocean, blue transparent lake water, dusk stars shining blue roses in ice, 8k, HD,hd --ar 9:16 =DISPIMG(“ID_6AAA6108EA0D4469BBD19C79A9F7E7EB”,1)

梦幻精灵森林 Magical fresh fairy tale forest landscape, background with glowing lights, hyper realism, fantasy, radiant light,elven kingdom, unreal engine, hyper realism, highly realistic, sureal, beautiful romantic, remote, detailed and intricate environment, --ar 9:16 --q 2 --s 5000 =DISPIMG(“ID_AC56E9B0654F458D8B85D04561C3B080”,1)

蓝色极光 the grand piano put in the frostforest , surrounded by freez water, night sky, have a green blue Aurora, a few light from Aurora reflection the freez water, sky, night sky, grand piano, aurora, cinematic, landscape, ultra detail, 8k, realistic, photorealistic, photo photo realistic image, natueral, scenery --ar 9:16 =DISPIMG(“ID_60B49C8A03E54A248168152D607388B8”,1)

古镇 **This surreal CG rendering from ancient China shows a stream with ancient buildings in the south of the Yangtze River on a dark night. The stars twinkled in the night sky. The light was dim and weak. There is lightning in the water, a tree is evergreen, a moon, 8K, HD --ar 9:16 =DISPIMG(“ID_C7AD0DCB16B84AD398CEC4E42518844A”,1)

彩色沙滩 The night sky is full of colorful beaches, golden surrounding rocks, lights, fluorescent sea, moonlight on the twinkling star sea, popular across the sky, Matt painting by Michael James Smith, reflection, characteristics of CG society, volume light, space art, bioluminescence, unreal engine 5, magic of light, unreal engine rendering, ultra wide perspective, 8K --ar 9:16 =DISPIMG(“ID_1DF5181ED54442268E3C4503B24B9FE9”,1)

彩虹瀑布 summer starry night, aurora borealis, iridescent, jungle,Luminous colorful stone,Pink waterfall flow,flowers, rolling hills in distance, studio Ghibli style, rendered in unreal engine with clean details,AUV, 4k detail post-processing, Art Station, rendering byoctane, unreal engine --ar 9:16 --uplight =DISPIMG(“ID_A1A6948438544E7289DF6A934C763F1A”,1)

发光玫瑰沙滩 A beach, CG rendering, the ground was covered a lot of blue gems, 8 k resolution, a paved road, rose to the front of crystal + light beacon, lighting effects, large flower roses, super more rose petals floating in the air, integrity, overlooking, lighting effects, surrounded by a lot of roses, roses sea, sea of fluorescence, cigarette smoke, Michael. Matte painting by James Smith, 8K resolution, Epic composition, Super Detail handling, Reflection, Social Selection, Space Art, Bioluminescence, Unreal Engine 5, Magic of Light, In Unreal Engine, Ultra Wide Angle, Ultra View, Fantastic 16K, HD --ar 9:16 --uplight =DISPIMG(“ID_6CFFEA8CF09D4B9EB4D46841407437BB”,1)

红宝石郁金香 sunset, sapphire, ruby, crystal, jade, surrealism, pink tulip, flower, fantasy, movie epic effect, exquisite, ultra wide field of view, CG rendering, 3D, realism, detail, HD, machinery, sunset, sky and stars, pond, reality, redshift rendering, CGI, 3D, ultra detail, reality, 8K, masterpiece, function artstation, ultra wide angle HD --ar 9:16 --iw 10 --s 5000 --q 2 --upbeta =DISPIMG(“ID_1FDC0D1D972846CEAA585E0F3D7400FB”,1)

祥云城堡 The autumn night sky drifts with lavender clouds, below is a red rose garden castle, surrounded by pink clouds outside the lake, full of flower boat fantasy wonderland lighting effect,fantasy project HD --ar 9:16 --iw 10 --s 5000 --q 2 --upbeta =DISPIMG(“ID_BA75A68FC46B4AC3AB10DB24B16075D2”,1)

彩虹瀑布城堡 Hanging gardens of Babylon White, Pink, Blue, Luminous Water, Colorful waterfalls,Flowing from top to bottom,apple tree,Redshift Rendering, 3D, Super Detail, Realistic, 8K, Masterpiece, Functional Art Station, Top View, Panorama, Super Wide Angle --ar 9:16 --uplight =DISPIMG(“ID_F830CD4C9DCE4135B64CBF31DC69123B”,1)

魔法宫殿 magical palace, heaven, white, tiffany blue, pink, glowing water, pink rose, magic, photorealistic, redshift rendering, CGI, 3D, super detail, photorealistic, 8K, masterpiece, feature artstation , ultra-wide --ar 9:16 --s 3000 =DISPIMG(“ID_41A37075126B48ABB75C486F5CDD974D”,1)

心形树 Logan Hicks, nature, deviantartstation, Castro, magical palace, sasent, giant heart-shaped world tree, pink blussam, emerging path, surrealist photos,HD --ar 9:16 =DISPIMG(“ID_A74F2ECE3A3B4A0EB9C47704EF450140”,1)

省了几千块! Stable Diffusion“网页版”上线,超详细教程

来源:https://diwfpqo78m.feishu.cn/docx/X467d7PMpooD2SxGlXPcJvrvn3d

一个抖音AI绘画博主绝对不会告诉你的Stable Diffusion内幕

前几周,我在抖音上看到有人分享关于Stable Diffusion的安装和绘画教程。Stable Diffusion,简称SD,是一款比我之前提到的Midjourney更强大的AI绘画软件。如果说Midjourney是一个艺术家,那么Stable Diffusion就是一个专业设计师。而且使用它是完全免费的,而且它所生成的图像非常惊艳。

我对它进行了一番研究,发现大部分人不仅出售Stable Diffusion的安装教程,还附带AI绘画的教学内容。

除此之外,目前Stable Diffusion主要用于电商AI模特、产品摄影图和辅助AI绘画等领域。

起初,我对在抖音上教普通人使用SD持怀疑态度,因为能够熟练使用SD的人实在是太少了。

首先,SD的安装过程相对复杂,大多数普通人并不了解如何操作。

其次,SD对显卡要求较高,大部分电脑无法满足运行要求。

再者,即使在低配电脑上安装了SD,生成图像的速度也非常缓慢。

然而,我发现了一个小秘密,他们所教的Stable Diffusion实际上不受电脑配置的限制。

顺藤摸瓜,我发现国内已经有一家公司上线了一个SD界的神器

Stable Diffusion网页版

https://www.lanrui-ai.com/register?invitation_code=0951224320

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/5db742536f211c04165772262f80543d.png

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/340708b4d8c92a5afadadc3666fd6a12.png

你可以将网页版的Stable Diffusion理解为一个云游戏平台的工作原理。如果对云游戏的概念不太了解的话,我来简单解释一下。

云游戏的核心思想是将游戏的所有运算工作都放在云端完成,然后将游戏画面传输到你的低配电脑上,这样你就可以通过远程方式来玩高端游戏了。举个例子,比如你想玩《原神》,这款游戏占用的存储空间很大,你的手机或者电脑可能无法承载,但你可以在一个云游戏平台上注册,通过流媒体的方式来进行游戏。

现在的Stable Diffusion和Midjourney一样,只需要一台电脑就可以轻松启动了。它的工作方式类似于云游戏平台,所有的处理工作都在云端完成,而你所需要做的只是通过键盘来进行操作。

而且,这个网页版的功能和体验与安装在你自己电脑上的版本几乎没有差别。

然而,由于这个工具目前在AI绘画的小圈子中传播,很多人还不知道它的存在。

最近,我注意到在抖音和小红书上已经有很多人利用这个信息差来赚钱。

Stable Diffusion的前景实际上比Midjourney更广阔,比如国内上个月上线的Vega AI,因为它可以让用户自己训练模型,因此用户数量大幅增加。

我估计等门槛再降低一点,Stable Diffusion在国内也将迎来爆发期。

下面是Stable Diffusion的“网页版”超详细教程!

为了方便大家理解,你可以把它当成一个AI绘画游戏。

按照下面的步骤,你可以生成一个属于自己的绘画网址。

最酷的是,你可以将这个链接发送给你的朋友或同事(他们也可以使用这个绘画工具),当然,使用它会扣除你的余额。

打开网站并安装Stable Diffusion。

2、创建工作空间

点击右上角的[进控制台]。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/2b3cb2159a513f4ed3222c65277c4646.png

接着你需要选择显卡,比如我选择的是这个[3090-24G]

目前价格还可以,1.9/小时,比买一张显卡便宜。

启动速度就俩字一一牛逼

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/d526a2697751119aea85433ab5f26b4d.png

名称:自己起一个就好了,一般就用默认的

运行环境镜像: 公有镜像/others/sd-webui/v4.27

网盘: 挂载

数据盘会计费,看自己需要选择用不用.

数据集: sd-base

启动以后大概要等[3-5分钟],你就可以进入VsCode界面

3、VsCode界面

确认是[运行中]的状态,点击[进入],选择[VS Code]

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/f0a21b3a0066e1d33b45930466ec6505.png

选择 Terminal -New Terminal

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/12d5ebcf030087a5b1a92d54cf40c5ef.png

然后输入这两行命令,这一步之前有很多人说出错,其实很简单。

先输入 cd /app

然后按回车键,等第二行出现了user@lsp-ws:/app$

再输入 bash start.sh

再按回车键

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/94214a58454d6213c2395e010bf48dcb.png

等到一连串的代码出现running on local url,就说明成功了

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/a7e33fe19e446f77446c691dce6caae9.png

启动完成,回到控制台,点击复制调试地址,会复制一个网址。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/99fa60be029537f72e806d965664865f.png

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/df05bb771e161e0694b1ee0ed354c454.png

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/0285805e025ff730fa173865a863439f.png

Stable Diffusion"网页版”画图测试

接下来我们要先测试一下我们的Stable Diffusion有没有启动成功?

(1) 先切换一下主模型

这个里面已经有一些自带的了,比如 (chilloutmix NiPrunedFp16Fix]

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/5e80da4529e23ee09b6531468b941c0d.png

(2) 接着输入这两行prompt

正面提示词: (masterpiece:1.1), (best quality:1.1), highly detailed, {highres), fan extremelydelicate and beautiful, (ultra detailed), (disheveled hair), (illustration), (dynamic angle), (1girl),colored hair:1.5)), (Fashionable clothing), standing,Fashion model, looking at viewer, (interview)simple background), beautiful detailed eyes, delicate beautiful face, Floating, (high saturation).(colorful splashes), (colorful bubble), (shining),(beautiful detailed Light and shadow)

负面提示词: easynegative, paintings, sketches,(worst quality:2), (low quality:2), (normaquality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skinblemishes, age spot, glansextra fingers,fewer fingers,strange fingers,bad hand

(3) 设置一下其他参数

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/2b8df69592235b55e7fae29433ca4a23.png

(4) lora模型选择,韩国娃娃

点击右上方的[Generate] 按钮,启动成功

1分钟左右,出图的速度快到飞起

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/7c9cdbd16ff2c3b6343958fe788bde0f.png

值得收藏的AI绘画提示词网站

来源:https://diwfpqo78m.feishu.cn/docx/ZvvLdMvrEorjHExrWmEc6GKyn1g

值得收藏的ai绘画提示词网站。(网址均需复制到浏览器打开,个别网站需要魔法)

1、finding.art

网址:https://finding.art/

百万AI画作与Prompt任意搜索 已支持 Stable-diffusion、midjourney、waifu、NovelAI。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/6e86fce90363ff7f622f0f666c157339.png

2、魔咒百科词典

网址:https://aitag.top/

魔法导论必备工具, 简单易用的AI绘画tag生成器。可自由选择tag,汇集后一次复制使用,非常简便。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/fd199cada6f1a9fa45a8a1e100abd665.png

3、元素法典——Novel AI 元素魔法全收录

网址:https://docs.qq.com/doc/DWHl3am5Zb05QbGVs

你没看错,这是国内先驱们用腾讯文档制作的一份优质tag生成的美丽插图,可以使人快速照抄使用,无需思考,直接吟唱咒语。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/7696a028fde44a3923313c5c7e11dfb6.png

4、prompthero

网址:prompthero.com

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/d8a75de2fc8d6d7bd1c04130b4a76217.png

5、prompthunt

网址:www.prompthunt.com

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/56c7609597ee15e9a83a35750cb61afc.png

6、OpenArt ai

网址:OpenArt.ai

7、arthub ai

网址:arthub.ai

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/e697c42c5817b2b3f10b19623a54de3f.png

8、publicprompts

网址:publicprompts.art

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/de5fded31ea6ee3ee59d64a145942ad3.png

9、lexica art

网址:lexica.art

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/6d21cbdc19ddd9be90e6ae66f6d54b8e.png

10、AI画廊

网址:aigallery.top/tool

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/8f87fba44bbed5ec60449e6cc3799d84.png

11、ai-creator

网址:ai-creator.net

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/b46f93b95a8cbd3306f27fb0516740f2.png

12、AIGODLIKE社区

网址:www.aigodlike.com

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/91f09e58745f1fe5eee8594e24ca5d5e.png

13、元素法典

网址:tomxlysplay.com.cn

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/64e637cdc8ffe5397647c6adbbc9c5bc.png

14、AI魔导树

网址:aimds.top

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/3c2e332b3f7c3afafa135fe70c81b2db.png

15、片绘

网址:community.hua-der.com

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/ea8960b4e1a9eec5fc24aed7fad55fdc.png

16、艺术家词库集合

网址:www.midlibrary.io

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/16b395fb1d4719dae0c94a375658fb48.png

17、艺术家风格流派

网址:lib.kalos.art

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/a2de4bfb616f3c4d2916b657cbe93970.png

18、PixAI.Art

网址:https://pixai.art/

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/38b0d0419a1be56a3035645af1f0779a.png

有了这些网站,你还怕没提示词可用吗?

3D图标画不出?看这里,AI绘画3分钟搞定!

来源:https://diwfpqo78m.feishu.cn/docx/S9ondmAkcoInIKxfYX1c7XTUnqt

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/262d7e0ad0773292ad99cb13ac09b981.png

细心小伙伴,可能发现「我们的设计日记」公众号已经改名「 AI 绘画师日记 」,近期星球内容和框架,也会做一些调整,会带着大家往新的方向走。 正如我昨天说的,AI 绘画是生产力革命,发展很快,明天会怎么样,我不知道。 但至少在这个浪潮里,我们是一个冲浪者。

图标设计 已经成为设计里面很重要的一部分,无论是 UI 设计还是创意设计,用心设计的图标都能吸引用户注意力,在这个碎片化时代,图标设计的对品牌起着至关重要的作用。

借助 midjourney 我们可以快速 尝试各种风格设计 ,今天我整理了一些 midjourney 提示词,它能帮我们快速设计出不同的图形。

1.直播礼物图标

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/97d006b76525c7b37705a7f36f455187.png

如果在平时工作中,接到一组直播图标需求,可能设计师先要画草图,再尝试风格,确定风格后再深入细化,一组图标下来你可能需要小一周时间,但今天你借助 midjourney 你能快速设计出类似的图标风格。不废话,直接上礼物图标公式。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/1de6c56baf4c7c02a52174ca0050ca39.png

通过这组公式,你能很轻松画出你想要的游戏图标类型,我们来看看星球小伙伴通过这个公式画的直播礼物图标。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/679eb3afa2e462df154cde1068cc01c1.png

当然这中间的各种参数你都可以灵活调整,比如色彩,背景颜色,学 AI 绘画一定是理解背后的核心,而不是被单词,就像我们学英语一样,一定不是死记硬背,而是心中有画面,再让 ai 把我们想法实现出来。 通过上面那个公式,我们就可以举一反三做更多的变化,当然在后面,我们也会在星球组织各种打卡活动,带着大家在 AI 绘画方向进行实战,掌握这些各种参数细节。

2.APP图标

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/3155dde8c6d75e87ce0b884b46b04726.png

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/30d2ec19be26f196678f33522d16ffbd.png

通过这组Ai公式,我们可以快速设计出一些 app 图标,各种风格都能快速出图,当然目前 AI 出的图标因为是图片,很多细节可能需要二次调整,但是已经大大释放了我们生产力,让设计师可以更加专注在创意上。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/fba61c2b237c89935f7bc1d9c87ab138.png

目前 AI 才一岁不到,虽然目前很多设计都显得很智能,但是在前期作为创意方向完全是可以帮助设计师更快找到灵感。 所以我星球给星球小伙伴说,AI 来了其实不可怕,关键我们要 把 AI 当作我们的武器,去拥抱变化 。

3.毛玻璃风格图标

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/3438752cda6c22786761990e9c918eb4.png

微软毛玻璃风格可以说是当前最流行的图形趋势,它的细节层次感,纹理的处理,以及玻璃的质感,让很多设计师追随,今天你可以通过 AI 绘画轻轻松松画出这样的风格。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/7374d691878c78c04d1b2baf621db449.png

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/756af6e2f0b2441fabd51b859636d7e8.png

这种风格阿里云,腾讯云都很流行,就适合在 B 端场景去学习,去运用,如果你想系统掌握这套风格,不妨按照我上面的公式试试。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/4fe214be92f1490f1e0acb389e988327.png

如果你想做的扁平化一点,修改相关提示词也可以完成类似效果。

4.线条填充图标

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/3d18e94f65e4a5c99f170a724e520398.png

线的图标大家都见的比较多,这两年这种带品牌色的图标设计非常流行,在 AI 里面也能快速实现这种效果。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/341dabbbff3bd9e1f96c156adccfca2a.png

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/a3a6d2de1ecc00eb73f39a491cd20cad.png

通过这个公式,我们加上行业特征,以及颜色要求就能轻松完成各种线条图标的设计,非常适合于设计师我们前期快速做图标灵感。

5.3d 图标

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/4bf18f941a1a4a8be0289f9529375fa2.png

如果在从前,你拿到一组 3d 图标需求,我估计设计师要熬夜几个通宵,但今天不会,你只需要掌握了这个 3d 图标公式,轻轻松松完成。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/35fb3dcd3e59bb074c48d3e92cbd3009.png

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/2f64dbb12c612eb76cbe8de346be71b3.png

我们能通过这些关键词组合,能得出很多很多立体图标设计,你可以用在你需要的场景里面,这里面其实用的关键词,如果学过 3d 同学可能很熟悉,3d 渲染,c4d,这些关键词。 非常适合于在一些科技行业和一些大型项目里面。

AI 的出现让这些平时做设计很难的图形,今天变的简单,作为设计师我们一定要拥抱 AI 绘画而不要去排斥它。

6.卡通图标

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/9cdbad6617dc13f168f80f1986f96ef1.png

这种图标相信大家都见过,特别在夏天非常清爽,很适合去一些店铺的海报,这种图标像水彩画的,非常细腻。 如果你的产品场景中需要有一些手绘插画的形式,那么也可以轻松通过 AI 绘画完成这类型图标设计。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/341cf8f0b3fa13ff13a6b0fa4d940bbe.png

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/ae2fd0d62921b3f72e0be949952f9127.png

说到 niji 模式可能新手不太清楚,它是 AI 绘画软件 midjourney 下面一个模型,专注于动漫设计,能让你画风瞬间变得二次元和卡哇伊,非常适合于在一起写插画创作,二次元等场景,当然画这种图标也很是很轻松。 感兴趣的同学到时候可以在我们星球打卡的课程里面,我详细的和大家讲解。

最后

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/d3a6afeb60d274f8f626f33d09e542bb.png

希望今天这篇 AI 绘画的文章能给大家一些启发,能在工作中帮助大家解决一些困惑。 最后文末,送给大家一份 《AI绘画中英文词典》 里面有上千个AI绘画提示词,帮大家能更好理解 AI 绘画和掌握 AI 绘画。

同时,这周我会有一个 AI** 绘画的公开课 **,给大家系统讲讲 AI 绘画软件如何使用,怎么注册,文中的案例也会有实操。想听公开课的同学直接 扫码报名 ,资料会在群里发放。

🔗 原文链接: https://mp.weixin.qq.com/s/FmrjrZri…

Stable Diffusion中人物去除与背景融合的技巧

来源:https://diwfpqo78m.feishu.cn/docx/YILddxMa4oN87AxYf1HcqN8inxc

最近我有这么一个需求,做AI动画的时候,需要一张背景图,不过之前生成的图里面有人物,现在需要把上面的人物去掉,只要纯粹的背景图,网上搜了下资料,发现SD里面可以实现,这里把步骤分享给大家。

01

需求分析

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/208c5fb420ed1ab421409a928f126dd0.png

以前通常情况下是用图生图中的局部重绘功能,希望把人物重绘成背景,但是这种方法很多时候生成的画面只会用一个物体替代另外一个物体,难以获得想要的效果,比如下面这样,涂黑的地方又生成其他奇奇怪怪的东西,达不到我的需求。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/84d0815acfc99d08925d2f5146f1d538.png

我的需求是扣掉人物后的地方背景是干净的,和后面场景要融合。

SD可以通过 ControlNet 的 inpaint 重绘模型实现我的需求,下面是实操步骤和效果展示。

02

实操步骤

上面原图也是之前文生图实现的,所以提示词我还有,把里面人物的描述都去掉,就留下其他描述场景的

**(**Masterpiece, best picture quality realistic :1.2),underwater, fish,

如果你这个是网图,那么就要去Tagger反推里面,把你的图编辑按钮,移动画框把人物屏蔽掉,然后反推提示词,得出来的词记得检查下是否有描述人物的,有的话去掉即可。

在文生图那边,填入上面这个描述词,ControlNet启用,把上面原图拖进去,点击编辑把人物涂黑。

预处理选择 inpaint_global_harmonious,模型选择inpaint,权重默认1,后面有需要再增加。

控制模式记得选择 **更偏向提示词 **。

ControlNet 中的inpaint模型,除了重绘遮罩的部份外,遮罩意外的地方或多或少也会被重绘,带来的好处就是它能更好的将重绘区域与整体画面融合。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/66e7bf481fdc4cacee177bd0e949d372.png

然后就可以开始生成图片,多生成几张,挑选效果最好的。效果图如下:

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/53bca43a2f97d91c06beb561588a159c.png

正常这时候生成的图就可以用了,但是如果发现不满意,如我上图所示发现还有点瑕疵,层次还有点问题,这时候可以到图生图那边,同样的描述词, ControlNet 启用,我这里用深度模型,重绘程度设置至少要0.5,太低的话还会出现这 个分层问题。

https://github.com/OpenDocCN/dsai-notes-pt4-zh/raw/master/docs/ai-juexing-shequ/img/9dca73a50b8b15cf343846dd00474502.png

HLS Flash 播放器 立即下载

相关推荐

java视频种子(超多30G)

全是学习的视频,2010传智播客struts2.1.8视频教程,张孝祥Java基础加强,还有面试题

血腥大地-第二季(资源破解与管理)

课程继承游戏内容1.主要完成游戏资源的获取,从原血腥大地游戏中获取(不涉及任何商业利益,不能将游戏资源用于其他商业游戏).2.游戏资源的整理以及优化3.游戏纹理资源打包工具的制作4.游戏字体资源打包制作工具

tk8610-src_tcl_c_www.9734hucom_WWW.TK27.C0M_tk_

tk8610 projectt k8610 project

幻兽帕鲁樱花岛6.27大更新咯 异地联机教程

幻兽帕鲁 樱花岛 大更新 异地联机教程

weixin_42727451的博客 1万+

JAVBus 老司机爬虫.zip

爬虫(Web Crawler)是一种自动化程序,用于从互联网上收集信息。其主要功能是访问网页、提取数据并存储,以便后续分析或展示。爬虫通常由搜索引擎、数据挖掘工具、监测系统等应用于网络数据抓取的场景。 爬虫的工作流程包括以下几个关键步骤: URL收集: 爬虫从一个或多个初始URL开始,递归或迭代地发现新的URL,构建一个URL队列。这些URL可以通过链接分析、站点地图、搜索引擎等方式获取。 请求网页: 爬虫使用HTTP或其他协议向目标URL发起请求,获取网页的HTML内容。这通常通过HTTP请求库实现,如Python中的Requests库。 解析内容: 爬虫对获取的HTML进行解析,提取有用的信息。常用的解析工具有正则表达式、XPath、Beautiful Soup等。这些工具帮助爬虫定位和提取目标数据,如文本、图片、链接等。 数据存储: 爬虫将提取的数据存储到数据库、文件或其他存储介质中,以备后续分析或展示。常用的存储形式包括关系型数据库、NoSQL数据库、JSON文件等。 遵守规则: 为避免对网站造成过大负担或触发反爬虫机制,爬虫需要遵守网站的robots.txt协议,限制访问频率和深度,并模拟人类访问行为,如设置User-Agent。 反爬虫应对: 由于爬虫的存在,一些网站采取了反爬虫措施,如验证码、IP封锁等。爬虫工程师需要设计相应的策略来应对这些挑战。 爬虫在各个领域都有广泛的应用,包括搜索引擎索引、数据挖掘、价格监测、新闻聚合等。然而,使用爬虫需要遵守法律和伦理规范,尊重网站的使用政策,并确保对被访问网站的服务器负责。

vbnettest4_www.ggg4_www.19ggg.con_ggg.424com_Windows编程_

funziona molto bene con vb6 ggg

AI觉醒日报(一觉醒来发生了什么)(一)

以下是GPT为大家做的自我介绍:你好是我是是对的话。我的知识截断于2021年9月,所以关于那之后的信息可能无法为您提供准确的答案。请随时向我提问,我会尽我所能帮助你。指令(必须):指令,即你希望模型执行的具体任务。上下文(选填):背景信息,或者说是上下信息,这可以引导模型做出更好的反应。Input Data(选填): 输入数据,报告模型需要处理的数据。Output Indicator(选填):输出指示器,通知我们要输出的类型或格式。更多复杂,但完善备性会比较高,比较适合用于编写提示模板。

龙哥盟 773

Lada-马赛克去除工具Python 源码

Lada-马赛克去除工具 一款恢复像素化或马赛克区域视频质量的软件,通过使用先进的算法,能够有效地修复视频中的模糊区域,使其视觉效果更加清晰和可观看。 可以通过图形用户界面或命令行界面来操作软件,观看或导出恢复后的视频。

AI觉醒日报(一觉醒来发生了什么)(二)

AI画画,无疑是当下最火热的话题之一。彩云这段时间也抽空研究了下用 AI画画,在创作的过程中发现 AI 真的很强大,给了我很多惊喜。下面这些图就是我用 AI 创作的作品,初次用 AI 作画在还不是很熟练的情况就感觉就已经画的还不错了,至少比我自己画的要好,简直是像我这种手残党的救星了,AI 作画让每个人都有成为艺术家的可能性。大概尝试了 4 个 AI 作画平台,分别是:Midjourney、Disco Diffusion、Stable Diffusion、百度文心。

龙哥盟 1003

MSP430FR58xx59xx68xx69xx-.zip_www59xx_wwwxx69xxcon_xx59cOm_xx68x

如何从MSP430F5系列和F6系列移植到MSP430FR58xx59xx68xx69xx系列 希望对大家有用

软件测试工程师笔试题

这里写目录标题全套软件测试面试笔试题(附答案)二、选折三、添空四、简答(资料是搜集整理的,感谢前辈的解题)无1.区别阶段评审的与同行评审2.什么是软件测试3. 简述集成测试的过程4 怎么做好文档测试5 白盒测试有几种方法6 系统测试计划是否需要同行审批,为什么7Alpha 测试与 beta 的区别8 比较负载测试,容量测试和强度测试的区别。性能测试从使用方便的角度来说,9 测试结束的标准是什么?10 描述软件测试活动的生命周期?11 软件的缺陷等级应如何划分? 软件测试工程师笔试题(附答案) 全套软件测试面

m0_46446002的博客 2549

AI觉醒日报(一觉醒来发生了什么)(十二)

ChatGPT和GPT-4迅速蹿红,一夜之间成为新一代人工智能的代言人。家长朋友们有没有发现,家里爱学习的小朋友突然多了很多关于AI的问题?我是个五年级小朋友的家长,也长期做人工智能技术研发、项目孵化与投资。因为ChatGPT,我被我们家小朋友多次“心灵提问”:爸爸爸爸,你们搞了那么多年人工智能——是不是ChatGPT才是真的,你们搞的都是假的?ChatGPT胡说八道的时候,也算人工智能吗?ChatGPT和你比,谁的数学好?ChatGPT帮我们班谁谁谁做作业了,咱们该不该把ChatGPT抓起来?

龙哥盟 567

集成calibre到cadence virtuoso环境中 load: can‘t access file - “/opt/eda/Mentor/lib/calibre.skl“

项目场景: 设想是将Calibre集成到cadence virtuoso中,但网上的解决办法尝试过在本机上实验都有点问题,因此想记录下来我的解决办法仅供参考。 问题描述: 安装好cadence, calibre之后打开virtuoso,CIW窗口显示 *Error* load: can't access file - "/opt/eda/Mentor/lib/calibre.skl" 问题是出在calibre.skl的加载路径出错,尝试网上的在工程目录下修改.cdsinit文件,添加calibre安装

weixin_52714276的博客 1万+

AI觉醒日报(一觉醒来发生了什么)(七)

文长图多,手机载入可能吃力,可以用电脑看。本文包括 943 个 AI 项目,分为 49 个类目,并按照类目首字母顺序排序。项目名录、类目和标签来自 Futurepedia。图片来 自项目首页,截图时间为 2023年2月10日 - 11日,在确保网络畅通前提下,为所有网站预留了 30 秒加载时间,并尝试至少两次-- 如发现某项目的图片是空白或比较奇怪,这意味着,在这期间项目已更换地址或不再正常运营,这个比例约为 10%。

龙哥盟 489

【MDC开发者实战】多传感器融合算法在自动驾驶中的配置与优化

本文详细介绍了华为MDC平台在自动驾驶中多传感器融合算法的配置与优化实践。通过前融合与后融合技术,结合摄像头、激光雷达和毫米波雷达的数据,提升感知精度与可靠性。文章还分享了ARXML配置、标定技巧、算法调优及性能优化等实战经验,帮助开发者高效实现自动驾驶系统的传感器融合。

weixin_29214199的博客 515

Dify部署后访问报502?手把手教你排查和修复Nginx反向代理问题

本文针对Dify部署后常见的502 Bad Gateway错误,提供了从基础容器状态检查到Nginx配置与Docker网络诊断的完整排查流程。详细解析了错误本质,并给出动态服务发现修复与静态IP配置两种解决方案,帮助开发者彻底解决Nginx反向代理问题,确保Dify平台稳定访问。

rnn9storyteller的博客 1096

AI觉醒日报(一觉醒来发生了什么)(十三)

这个阶段在这个图中有点特殊:这个图没有按比例缩放,这个阶段实际上是所有计算工作基本上发生的地方,相当于训练计算时间的 99%。因此,这就是我们在超级计算机中使用数千个 GPU 以及可能进行数月的训练来处理互联网规模数据集的地方。其他三个阶段是微调阶段,更多地遵循少量 GPU 和数小时或数天的路线。那么让我们来看看实现基础模型的预训练阶段。首先,我们要收集大量数据。这是我们称之为数据混合的示例,该示例来自 Meta 发布的这篇论文,他们发布了这个 Llama 基础模型。

龙哥盟 261

(04730)半导体器件之基本放大器工作原理(一)

放大器是构成各种电子线路的基本单元电路。所谓“放大”,就是将输入的微弱信号(微弱变化的电压或电流等)去控制直流电源提供的能量,并使输出按照输入的小信号变化规律而变化的过程。所以放大器的本质是能量转换器。本节重点学习基本放大电路的工作原理和基本分析方法及主要性能指标。

黄先生的博客 3006

AI觉醒日报(一觉醒来发生了什么)(八)

费用: 免费,有增值会员 ,$9/mo网址: letsenhance.io。

龙哥盟 528

伪距单点定位推导+DOP值分析(附matlab仿真代码)

伪距单点定位公式推导、DOP值分析与matlab仿真分析

shannanshouyin的博客 2513

【异常】OpenClaw 项目 `fetch failed` 报错问题排查与解决方案Response interrupted: TypeError: fetch failed

针对无超时控制、异常兜底缺失导致的请求中断,封装标准化的安全请求工具,一次性解决超时控制、异常捕获、日志埋点三大问题,全项目替换原生。:将项目运行的 Node.js 版本升级至 18.x 及以上 LTS 版本,使用 Node.js 内置的稳定版。实现的网络请求环节,包括但不限于:第三方开放接口调用、内部服务接口通信、跨域资源请求、外部配置拉取等场景。:针对无法升级 Node.js 版本的存量环境,通过社区稳定兼容包替换原生。类型异常,直接造成业务请求响应中断。第二步:业务代码改造,替换原生。

奶爸的编程之路,也就一周冷个三天 367

AI觉醒日报(一觉醒来发生了什么)(六)

Latent Labs是基于文本提示生成3D世界的项目,它支持不同版本的稳定扩散,并且还拥有一个Discord社区。它可以帮助你创造出一个充满想象力的3D世界,让你可以在其中自由探索。费用: 免费网址: www.latentlabs.art。

龙哥盟 305

苏宁易购手机行情比价系统:构建一个完整的Python爬虫实战指南

在当今数字化时代,智能手机已成为人们生活中不可或缺的一部分。随着各大手机品牌每年推出多款新品,消费者面临着越来越多的选择。然而,不同电商平台、不同时间段的价格波动使得消费者很难把握最佳购买时机。苏宁易购作为国内领先的电商平台之一,拥有丰富的手机商品信息和价格数据。本文将带领读者构建一个完整的苏宁易购手机行情比价系统,帮助消费者实时掌握手机价格动态。

2201_76125261的博客 207

AI觉醒日报(一觉醒来发生了什么)(五)

1.能不能对一个大任务和大需求做很好的工作拆解,把它们变成大语言模型可以解决好的小问题。2.能不能领悟大语言模型以下几点:对哪些提示词的表现更稳定,更优秀;对哪些类型的任务表现更优秀,哪些任务他不擅长,能不能把大语言模型不擅长的任务转化为它擅长的任务3.能不能用好大语言模型的一些更细的文字/技术调参手段,让结果更符合预期。4.能不能通过大量测试做到对交付的prompt各项指标心中有数,以符合用户期待80%为及格线做出负责任的交付。原创。

龙哥盟 269

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

OV9734 DATASHEET,完整规格书

OV9734完整规格书,包括电气参数,尺寸规格,寄存器配置表等

AI觉醒日报制作方法论:信息降噪与上下文补全的工程实践

在信息过载的时代,如何高效获取并理解关键动态成为普遍需求。信息降噪与上下文补全技术通过分层过滤和信号强度评估,从海量数据中提取高价值内容,其核心原理在于减少噪音干扰并补全事件背景,从而提升决策效率。该技术价值在于帮助用户快速建立认知框架,应用场景涵盖行业日报、技术简报和趋势分析等。AI觉醒日报的实践表明,基于信号强度筛选和术语降维表达,能有效实现五分钟内掌握核心动态的目标。

weixin_29038537的博客 297

android 蓝牙通讯demo

android 下蓝牙通讯demo,实现了发现蓝牙,使能蓝牙,通过蓝牙发送消息。

AI觉醒日报第七期:信息降噪与每日筛选方法论

信息过载时代,如何高效获取AI领域关键动态?日报作为一种轻量信息聚合形式,通过分级信息源、四维打分选题和三段式解读框架,实现每日信息降噪与认知增量。其技术价值在于将信息筛选流程标准化,降低决策成本,并建立持续阅读惯性。应用场景包括从业者保持行业敏感度、新人快速建立认知地图、团队每日简报等。AI觉醒日报第七期完整拆解了从选题到发布的实操细节,涵盖信息源管理、头条解读、快讯压缩和冷思考写作,提供可复现的日报生产框架。

weixin_29041195的博客 224

TMS_WebGMaps_1.9.8.0_Full_Source

TMS_WebGMaps_1.9.8.0_Full_Source 全源码 delphi cbuilder

上一篇: AI觉醒日报(一觉醒来发生了什么)(二)
下一篇: AI觉醒日报(一觉醒来发生了什么)(五)
绝不原创的飞龙
绝不原创的飞龙 优质创作者: 人工智能、数据科学与机器学习技术领域 优质创作者: 人工智能、数据科学与机器学习技术领域
博客等级 码龄15年 4万+粉丝 2万+原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值