站长之家(中国站长网)6月12日 消息:继黏土,毛毡娃娃之后,抖音最近又流行了一款新滤镜——AI古风画卷,用户只需上传一张照片,就可以“一秒入画”,分分钟变成工笔画中的主角。
目前,这个滤镜才刚小火,只有94.8万人在用。不过基本上刷抖音,两三个就能刷到一个这个滤镜的视频,可以预测,下一波要火的AI滤镜就是这个AI古风画卷了。

受这个启发,我突然有一个大胆的想法,那就是用coze图像流来挑战一下这种照片转古风漫画的效果。
我计划在coze内搭建一个图像流,实现输入一张照片和简单提示词,即可将照片转化为漫画风格的图片。
在搭建图像流之前,可以大致列一下步骤大纲:
1、用户上传照片,输入简单提示词
2、将用户上传的提示词优化
3、参考用户输入的提示词和图片进行风格化
4、画质提升
有了大致的思路以后就可以开始创建了。
一、创建图像流
打开coze官网地址https://top.aibase.com/tool/cozekouzi
没创建过机器人的,点击创建bot,之前有创建过的,可以跳过直接在之前的机器人里面创建图像流

微信扫码打赏作者

span.cprice {
color: #ee2222;
}
.pcontent {
overflow: visible
}
.markdown {
position: relative;
text-overflow: ellipsis;
word-wrap: break-word;
padding-bottom: 160px
}
.trancent_block {
background-color: #fff;
opacity: 0;
filter: alpha(opacity=0)
}
.carousel_collapsed_layer {
display: block;
width: 100%;
height: 110px;
position: absolute;
bottom: 180px
}
.bg-gradient-white, .bg-gradient-snow {
background-image: -webkit-linear-gradient(top,rgba(255,255,255,0) 25%,#fff 67%);
background-image: linear-gradient(to bottom,rgba(255,255,255,0) 25%,#fff 67%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=’#00ffffff’,endColorstr=’#FFffffff’,GradientType=0)
}
.reward-partial.reward-partial-mask {
margin-top: 0px;
width: 100%;
/*padding-bottom: 160px;*/
z-index: 1000;
position: absolute
}
.need-purchase {
/*margin-bottom: 100px;
min-height: 200px*/
}
.line-sperator {
width: 100%;
position: relative
}
.line-sperator .lock-img-div {
position: absolute;
top: -20px;
left: 50%;
margin-left: -35px;
width: 70px;
background: #fff;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center
}
.header-item .line-sperator {
width: 100%;
border-bottom: 1px solid #EDEDED;
position: relative
}
.header-item .line-sperator .lock-img-div {
position: absolute;
top: -20px;
left: 50%;
margin-left: -35px;
width: 70px;
background: #fff
}
.header-item .line-sperator .lock-img-div .lock-img {
width: 20px;
height: 32px
}
.body-item .tip-one {
margin-top: 19px;
font-size: 14px;
color: #FF7055;
line-height: 23px;
text-align: center
}
.login-partial {
position: relative;
text-align: center
}
.hide_box {
z-index: 999;
filter: alpha(opacity=20);
background: #000;
opacity: 0.2;
-moz-opacity: 0.2;
left: 0;
top: 0;
height: 99%;
width: 100%;
position: fixed;
display: none
}
.shang_box {
width: 340px;
height: auto;
padding: 20px 20px 40px;
background-color: #fff;
border-radius: 10px;
position: absolute;
z-index: 1000;
left: 210px;
bottom: 100px;
display: none;
box-shadow: 0 3px 14px 0 rgba(199,209,215,.4)
}
.shang_box:after, .shang_box:before {
content: ” “;
display: block;
position: absolute;
left: 160px;
width: 0;
height: 0
}
.shang_box:after {
bottom: -8px;
border-top: 8px solid #fff;
border-left: 8px solid transparent;
border-right: 8px solid transparent
}
.shang_box:before {
bottom: -9px;
border-top: 8px solid #eaeeef;
border-left: 8px solid transparent;
border-right: 8px solid transparent
}
.shang_box img {
border: none;
border-width: 0
}
.dashang {
position: relative;
margin: 40px auto 0;
height: 44px;
width: 124px;
font-size: 16px;
box-shadow: 0 10px 20px rgba(255,96,96,.4);
border-radius: 22px;
background: #ee2222;
color: #fff;
transition: all 0.3s;
outline: none
}
button:focus {
outline: none !important
}
.dashang:hover {
opacity: 0.8;
padding: 8px 15px;
font-size: 18px
}
.dashang-text {
margin-top: 10px;
opacity: .5;
display: block;
text-align: center;
line-height: 30px;
font-size: 14px;
color: #303030
}
.shang_close {
float: right;
display: inline-block
}
.shang_logo {
display: block;
text-align: center;
margin: 20px auto
}
.shang_tit {
width: 100%;
height: 65px;
text-align: center;
line-height: 66px;
color: #a3a3a3;
font-size: 16px;
padding-top: 15px
}
.shang_tit p {
color: #27282d;
text-align: center;
font-size: 16px;
margin-left: 20px
}
.shang_payimg {
width: 160px;
border: 6px solid #fff;
margin: 0 auto;
border-radius: 3px;
height: 160px
}
.shang_payimg img {
display: block;
text-align: center;
width: 148px;
height: 148px
}
.shang_paytxt {
font-size: 14px;
line-height: 20px;
color: #27282d;
margin: 10px 0
}
.shang_info {
clear: both
}
.shang_info {
color: #C3C3C3;
text-align: center;
font-size: 12px;
text-decoration: none;
line-height: 2em
}
.success-contact {
position: relative;
width: 100% text-align: center;
}
.cbtn {
margin-top: 1rem;
font-size: .875rem;
–tw-text-opacity: 1;
color: rgb(141 148 153 / var(–tw-text-opacity));
opacity: 0.75;
}
.cbtn:focus {
outline: 2px solid transparent;
outline-offset: 2px;
}
.contact-wrapper {
position: absolute;
left: 0px;
bottom: 2.25rem;
font-size: .815rem;
}
.contact-wrapper_info {
position: relative;
background-color: #fff;
padding: 1rem 0 0 0;
line-height: 1.5rem;
color: #71787e;
}
span.text-orange-400 {
color: #f59e0b;
}
.contact-wxcode {
width: 140px;
height: 140px;
margin: 1.5rem auto 0;
}
快讯转自站长之家,转载请注明出处