网站首页 > 资源文章 正文
今天是情人节,自己可以动手制作一张专属的情人节海报送给你的另一半,当然也可以将海报生成成微信红包样式,简直是情绪价值拉满,通过简单的AI对话指令就可以快速生成,你还不试一试?
以下就是博主制作的一些案例,代码已经共享,可以自取哦,具体如何通过AI制作海报,可以往下看:
设计代码如下:使用时可以直接在即梦ai中复制
theme ="情人节"style ="传统水墨画"mood ="浪漫,朦胧,诗意"color_palette =["水墨黑","水墨白","浅灰","淡青","淡蓝","淡红","金色"]details =[ "江南水乡的烟雨", "小桥与流水", "柳树与荷叶", "情人背影,汉服", "喜鹊栖息", "蝴蝶翩翩起舞", "牡丹花,干湿画法", "细雨与波纹", "树叶与云纹", "小船与灯笼", "毛笔字体书写", "诗意的文字点缀"]composition =[ "背景:水墨渲染的灰色和浅蓝色交织,朦胧烟雨效果", "前景:淡墨勾勒的小桥和流水,柳枝低垂,荷叶点缀水面", "人物:情侣背影,简约汉服,留白式设计", "装饰:喜鹊、蝴蝶、牡丹花,点缀色彩", "文字:顶部'情人节快乐',底部'愿做一生相思人',侧边诗句'烟雨江南暗相思'"]lighting ="柔和,朦胧,背景光线柔和,突出主题元素"texture ="水墨画的笔触感,细腻的波纹和雨丝"
# 主题1:星光下的浪漫邂逅prompt = "a romantic night scene under the stars, with soft blue and purple gradients, stars twinkling, fireflies floating, and a magical atmosphere. The text 'You’re the moon to my stars, my love shines brighter than any constellation.' is written in a flowing, cursive font with a subtle glow effect. The background has dynamic elements like floating star clouds and a sense of movement."negative_prompt = "text, blurry, deformed, extra limbs, disfigured, low resolution, Monsters, extra fingers, mutated hands"style = "conceptual art"params = { "version": "V 5", "width": "512", "height": "512", "samples": "1", "num_steps": "150", "scale": "7.5", "offset": "0.2",}# 主题2:魔法森林的奇幻冒险prompt = "a magical forest scene with mint green and lavender purple colors, sparkles, glowing magical wands, and floating star dust. The text 'You’re my dream, my magic. Let’s get lost in the moonlight forest.' is written with a dynamic, flowing effect as if moving with the starlight. The background includes hand-drawn floral elements and a mysterious atmosphere."negative_prompt = "text, blurry, deformed, extra limbs, disfigured, low resolution, Monsters, extra fingers, mutated hands"style = "conceptual art"params = { "version": "V 5", "width": "512", "height": "512", "samples": "1", "num_steps": "150", "scale": "7.5", "offset": "0.2",}# 主题3:星座的低语,爱的约定prompt = "a deep blue night sky with soft pink and purple gradients, constellations, and a glowing river of stars. The text 'You’re my constellation, my guiding star, my forever love.' is written in a neon effect, resembling flowing starlight. The background includes star patterns and a sense of depth in the universe."negative_prompt = "text, blurry, deformed, extra limbs, disfigured, low resolution, Monsters, extra fingers, mutated hands"style = "conceptual art"params = { "version": "V 5", "width": "512", "height": "512", "samples": "1", "num_steps": "150", "scale": "7.5", "offset": "0.2",}# 主题4:爱在月光下的花园prompt = "a romantic moonlit garden with soft pink and lavender colors, floating flower petals, glowing fireflies, and blooming flowers under the moonlight. The text 'You’re the moon to my stars, my love shines brighter than any night.' is written with a subtle floating effect, as if moving with the moonlight. The background includes delicate floral elements and a sense of gentle movement."negative_prompt = "text, blurry, deformed, extra limbs, disfigured, low resolution, Monsters, extra fingers, mutated hands"style = "conceptual art"params = { "version": "V 5", "width": "512", "height": "512", "samples": "1", "num_steps": "150", "scale": "7.5", "offset": "0.2",}
现在我给大家说下具体操作方法,首先在chatbox中提出你的需求,请AI为你设计一个情人节海报,因为deepseek模型是推理性模型,不同于通用模型,我们不要对它的思考进行限制,最好多使用开放式问题,同时一定要简明扼要并且学会将你脑海中的大方案拆解成为小任务,让AI分步思考,这样所回答出的问题将会更加精准,提问的模板可以为“主题元素+背景元素+约束元素”,比如你可以这样:
“今天是情人节,你为我设计两套情人节海报,要求风格迥异,东方审美一套,西方审美一套,可以手机屏幕清晰显示,主题可以自由想象发挥,输出文案”
其中“海报”是主题元素,“情人节”是背景元素,“东方审美、西方审美”则为约束元素,为了让AI能更加充分的理解我说的花,我将会增加格式元素“手机屏幕清晰显示”以及质量元素”自由想象发挥,输出文案”。通过以上的提问,AI会帮忙进行思考且调用数据模型通过文案的形式进行输出,这就完成了第一步。
第二步就是精修文案,比如第一套文案中AI说海报内容将会以“鹿鸣”以及“牡丹花”作为素材,这是典型的AI想当然,“鹿鸣”一般指的是祝寿,而情人节则是用喜鹊、蝴蝶作为国风体进行点缀,因此你可以继续对话,如“东方对于爱情的描述中经常会有喜鹊,而鹿多用于代表长寿,因此东方的我觉得有些偏差”通过这些语句告诉AI需要进行“反思”并重新构思。同时你可以在原文按中请AI从审美、画面、色调、人物上进行反思添加或删除内容,最终形成符合你审美的海报文案。
第三步,请AI生成图像编辑软件能识别的代码,并在相应软件中生成图像,如果一次生成的差强人意,可以反复生成,一般生成2-3次后,图形软件就会比较能领悟你的意图。最后通过软件进行出图使用。
我现在使用的是deepseek+即梦ai工具,当然还有很多其他工具可以使用,如果你对大模型设置不清楚,可以翻看我之前的文章,如果希望深入了解deepseek,可以私信向我索取《deepseek从入门到精通》清华大学的权威ppt,免费哦!
2025.2.14
- 上一篇: 网页首屏设计不漂亮,五招借鉴过来(大量案例)
- 下一篇: Ollama简明教程
猜你喜欢
- 2025-03-12 JavaScript 装饰器:从入门到进阶
- 2025-03-12 深入浅出Python装饰器:让代码魔法般升级的秘籍
- 2025-03-12 微信隐藏表白代码大全,微信满屏表情代码,万圣节表白专场
- 2025-03-12 你还在用Excel做大屏吗?这几款工具做大屏很不错
- 2025-03-12 解锁鸿蒙装饰器:应用、原理与优势全解析
- 2025-03-12 实例讲解Ruby使用设计模式中的装饰器模式的方法
- 2025-03-12 python闭包和装饰器详解
- 2025-03-12 Python快速入门教程11:高级特性之装饰器
- 2025-03-12 Ollama简明教程
- 2025-03-12 网页首屏设计不漂亮,五招借鉴过来(大量案例)
你 发表评论:
欢迎- 最近发表
- 标签列表
-
- 电脑显示器花屏 (79)
- 403 forbidden (65)
- linux怎么查看系统版本 (54)
- 补码运算 (63)
- 缓存服务器 (61)
- 定时重启 (59)
- plsql developer (73)
- 对话框打开时命令无法执行 (61)
- excel数据透视表 (72)
- oracle认证 (56)
- 网页不能复制 (84)
- photoshop外挂滤镜 (58)
- 网页无法复制粘贴 (55)
- vmware workstation 7 1 3 (78)
- jdk 64位下载 (65)
- phpstudy 2013 (66)
- 卡通形象生成 (55)
- psd模板免费下载 (67)
- shift (58)
- localhost打不开 (58)
- 检测代理服务器设置 (55)
- frequency (66)
- indesign教程 (55)
- 运行命令大全 (61)
- ping exe (64)
本文暂时没有评论,来添加一个吧(●'◡'●)