找回密码
 立即注册
查看: 793|回复: 5

Midjourney如何操作ChatGPT优化提示词?

[复制链接]

1

主题

0

回帖

5

积分

新手上路

积分
5
发表于 2023-9-9 19:07:57 | 显示全部楼层 |阅读模式
Midjourney如何操作ChatGPT优化提示词?
回复

使用道具 举报

0

主题

6

回帖

7

积分

新手上路

积分
7
发表于 2023-9-9 19:08:06 | 显示全部楼层
已经有数十个提示可以让 ChatGPT 为Midjourney图像生成令人惊叹的模板。然而,在本文中,我想向您展示如何根据您的个人习惯自行创建这些提示,同时将ChatGPT 转变为Midjourney提示生成器。
第1步:选择提示模板

构建Midjourney提示的方法有无数种,您需要找到一种 ChatGPT 可以使用的结构。对于本教程,我们将使用:


第 2 步:创建 ChatGPT 提示

首先,我们将创建一个提示,允许 ChatGPT 按照我们的想法并创建与其相关的图像提示。请注意,这是一种非常基本的方法。一旦你有了这个想法,请探索你自己的创造性方法,将其应用到你的提示词和图像创意中。
我们知道,可靠且有效的 ChatGPT 提示有两个主要成分:

  • 指令
  • 背景
让我们从上下文部分开始。对于初学者,我们简单地从上面的提示解剖中描述前缀、场景和后缀:
这是使用 Midjourney 生成图像的基本提示词格式:
/imagine prompt: PREFIX、SCENE、SUFFIX
PREFIX定义图像的媒介和风格
SCENE定义内容
SUFFIX PREFIX调节PREFIX和SCENE
在下一步中,我们将上下文与有关 ChatGPT 实际应如何处理所有信息的说明相结合:
这是使用 Midjourney 生成图像的基本提示词格式:
/imagine prompt: PREFIX、SCENE、SUFFIX
PREFIX 定义图像的媒介和风格
SCENE 定义内容
SUFFIX 调节 PREFIX和SCENE
###
使用英文创建10 个提示,说明主题“father-son relationship”(注意:我们使用“###”将上下文与指令分开,这使得模型更容易执行,且因为Midjourney对英文支持较好,要求ChatGPT使用英文创建提示词。)
ChatGPT 会给我们这样的内容:


我们现在可以简单地将这些提示复制/粘贴到 Midjourney 中。以下是生成的结果:








第3步:探索想法

了解如何使用单个提示词轻松表达想法并探索风格,以下是如何通过后续提示进一步探索这些内容的示例:
keep theme, set prefix to "modern abstract art",
scene should contain metaphors (without explanations),
use suffix to implement lens and camera types. list 5 prompts返回结果:


复制到Midjourney生成图片:




第4步(可选):优化 ChatGPT 输出以进行批处理

现在,您可能不想将一个又一个提示从 ChatGPT 复制/粘贴到 Midjourney。在这种情况下我们可以使用Midjourney 的排列功能。
我们可以通过向 ChatGPT 解释语法来更改使用排列的初始提示,如下所示:
You can group variations in comma-separated lists like this:
{PREFIX 1, PREFIX 2, PREFIX 3} or {SCENE 1, SCENE 2} or {SUFFIX 1, SUFFIX 2}
Important: when using variations, each item in the list has to be a single
word or a phrase without comma (otherwise we'd break the syntax)新的提示将如下所示:
This is the basic prompt anatomy for image generation with Midjourney:
/imagine prompt: PREFIX, SCENE, SUFFIX
PREFIX defines the image's medium and style
SCENE defines the content
SUFFIX modulates PREFIX and SCENE
You can group variations in comma-separated lists like this:
{PREFIX 1, PREFIX 2, PREFIX 3} or {SCENE 1, SCENE 2} or {SUFFIX 1, SUFFIX 2}
Important: when using variations, each item in the list has to be a single word or a phrase without comma (otherwise we'd break the syntax)
###
Create a prompt that illustrate the theme "father-son relationship".
Use 2 variations for prefix and 3 variations for suffixChatGPT 使用现成的排列提示进行响应,如下所示:
/imagine prompt: {oil painting, watercolor}, a father teaching his son how to a father teaching his son how to
ride a bike in a park, {with a touch of nostalgia, under a warm sunset,
captured in a moment of laughter}如果我们将此提示复制/粘贴到Midjourney并确认......


所有可能的组合将自动运行:








<hr/>以上就是本次教程,如果你喜欢我的内容,何不在文末点个“赞同”,或分享给朋友呢?
由本人部署的慕斯AI已正式上线,目前支持ChatGPT对话功能,提供了GPT3.5和GPT4的语言模型,同时支持在线绘画功能,登陆注册均有免费体验次数,欢迎大家点击下方链接体验。
慕斯CHAT

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
回复

使用道具 举报

0

主题

1

回帖

0

积分

新手上路

积分
0
发表于 2023-9-9 19:08:40 | 显示全部楼层
说一下我的个人真实操作过程吧
作为阅美剧无数的国人,我心中的第一美剧还是那个烂尾的该死的《权力的游戏》,是的,真的是让人又爱又恨啊!
虽然《权游》算得上是美剧巅峰,里面各位主创的形象也刻画的深入人心,但是一千个读者心里有一千个哈姆雷特,每一个读者心里也会有不同的囧诺、龙妈、小恶魔、三傻、二丫等等。
现在好了,我们有了万能的 ChatGPT,还有超级 AI 绘画神奇 Midjourney,让我们来看看AI眼中的《权游》是什么样的吧。
另外说一下,《权力的游戏》原著名字叫做《冰与火之歌》,嘿嘿!
开整

首先登录 ChatGPT,调教之




好了,看起来 ChatGPT 很听话,下面进入正题


琼恩·雪诺

Jon Snow is a tall and lean young man with long, curly black hair and striking grey eyes that seem to change color depending on the light. He has a serious and solemn face, with a strong jawline and a furrowed brow that suggests deep thought and introspection.

His build is athletic and muscular, with broad shoulders and a powerful chest that suggest he is physically capable and strong. He moves with grace and confidence, his body well-trained from years of swordplay and training as a member of the Night's Watch.

Despite his rugged appearance, Jon's eyes betray a deep sense of empathy and compassion, reflecting the kindness and wisdom that lie within. He is a natural leader, commanding respect from those around him through his quiet strength and unwavering dedication to his principles.

Overall, Jon Snow is a complex and multifaceted character, with a blend of strength, intelligence, and sensitivity that make him a compelling and memorable figure in the world of fantasy literature.

这个和美剧《权力的游戏》里面的形象也太想了,不知道 Midjourney 是否也参考了剧版的形象呢
这里我选取第二张和第三张




丹妮莉丝·坦格利安

Daenerys Targaryen is a beautiful and striking young woman with long, silvery-white hair that falls in loose waves down her back. Her eyes are a deep, violet hue that seem to shine with a fierce intensity, conveying her strength and determination. She has a slender and graceful figure, with delicate features and a regal bearing that suggest her noble birth and royal lineage. Her complexion is fair and flawless, with high cheekbones and full lips that give her a distinct and alluring presence. Despite her beauty and charm, Daenerys is also a formidable warrior and leader, commanding respect and admiration from her followers with her intelligence, strategic prowess, and unwavering dedication to her cause. Her clothing often reflects her power and status, with flowing gowns made of rich fabrics and adorned with intricate embroidery and jewels. She carries herself with poise and grace, exuding an air of confidence and authority that is both inspiring and intimidating. Overall, Daenerys Targaryen is a captivating and complex character, with a unique blend of beauty, strength, and resilience that make her a powerful figure in the world of fantasy literature



嗯,没有龙妈的笑容,我不是很认可~
提利昂·兰尼斯特

Tyrion Lannister is a small-statured man with a round and cherubic face that belies his sharp intellect and cunning wit. He has a mop of unruly, pale blonde hair and mismatched eyes, one green and one black, that give him a distinctive and memorable appearance.

Despite his diminutive size, Tyrion carries himself with an air of confidence and authority, his movements and gestures precise and deliberate. He often dresses in fine clothing made of rich fabrics, which complement his pale complexion and sharp features.

His face is marked by a prominent scar above his left eyebrow, which serves as a constant reminder of the violence and cruelty he has endured in his life. Yet despite the hardships he has faced, Tyrion remains resilient and determined, always seeking to outwit his opponents and emerge victorious in any situation.

His intelligence and strategic thinking are his greatest strengths, and he is highly skilled at manipulating those around him to achieve his goals. He has a sharp tongue and a dry sense of humor, using his wit and charm to disarm his enemies and win over his allies.

Overall, Tyrion Lannister is a complex and fascinating character, with a blend of intelligence, wit, and resilience that make him one of the most memorable figures in the world of fantasy literature.



瑟曦·兰尼斯特·拜拉席恩

Cersei Lannister Baratheon is a stunningly beautiful woman with long, golden hair that falls in loose curls around her face and down her back. Her features are sharp and angular, with high cheekbones, a prominent jawline, and piercing green eyes that seem to flash with a dangerous intensity.

She carries herself with a regal bearing, her movements graceful and confident. Her clothing is often adorned with intricate designs and jewels, reflecting her status as one of the most powerful women in the Seven Kingdoms.

Despite her beauty, Cersei is also a formidable and ruthless opponent, with a cunning mind and a fierce determination to protect herself and her family at all costs. Her face is often set in a cold and calculating expression, conveying the danger and power that lie beneath her seemingly perfect exterior.

Cersei is highly intelligent and politically savvy, using her charm and influence to manipulate those around her and gain an advantage in any situation. She is fiercely loyal to her family and will stop at nothing to protect their interests, even if it means resorting to violence and treachery.

Overall, Cersei Lannister Baratheon is a complex and compelling character, with a unique blend of beauty, intelligence, and ruthlessness that make her a powerful figure in the world of fantasy literature.



没有剧版的色后漂亮啊!!!
艾莉亚·史塔克

Arya Stark is a young girl with a fierce spirit and a determination to survive in a world that is often cruel and unforgiving. Her face is narrow and angular, with sharp features and piercing brown eyes that seem to hold a world of secrets and hidden depths.

Her hair is dark and unruly, often pulled back in a messy braid or left to fall in loose waves around her face. She dresses in practical clothing made for movement and agility, often carrying a sword at her side or hidden on her person.

Despite her youth, Arya is a skilled warrior and survivor, having endured numerous trials and hardships on her journey. She moves with a fluid grace, her movements precise and deliberate, betraying the intense training and discipline she has undergone.

Arya's face is often set in a fierce and determined expression, reflecting her unwavering commitment to her goals and her fierce loyalty to her family. Her intelligence and resourcefulness are her greatest strengths, and she is highly skilled at adapting to new situations and outwitting her enemies.

Overall, Arya Stark is a complex and compelling character, with a unique blend of strength, resilience, and cunning that make her one of the most beloved figures in the world of fantasy literature.



这个眼神可以的,有狼家的那种坚毅与狠劲!
好了,其他角色,就留待各位小伙伴们去探索啦

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
回复

使用道具 举报

0

主题

1

回帖

0

积分

新手上路

积分
0
发表于 2023-9-9 19:09:19 | 显示全部楼层
大家好我是Zachary,一个热衷于让每个人都能玩转AI的打工人,今天为大家分享 5 类高质量 Midjourney 提示词,包括创意微缩场景、立体纸艺、波普风插画、粗描边图标等、高级风壁纸,一起来看看吧 ~
一、微缩场景

参考提示词 ①


three tiny farmers, picking a giant broccoli, bright studio light, green background, minimalist, miniature food photography --ar 5:7 --v 5.2
三个农民小人,采摘一个巨大的西兰花,明亮的工作室灯光,绿色背景,极简主义,微型食品摄影 --ar 5:7 --v 5.2
参考提示词 ②


A group of tiny people, hiking among giant strawberries, bright studio light, pink background, minimalist, miniature food photography --ar 7:5 --v 5.2
一群小人,在巨大的草莓间徒步旅行,明亮的工作室灯光,粉红色背景,极简主义,微型食品摄影 --ar 7:5
二、波普风插画

参考提示词 ①



a shocked woman, retro pop art illustration --ar 5:7 --v 5.2 一个震惊的女人,复古的流行艺术插图 --ar 5:7 --v 5.2

参考提示词 ②


a bottle of beer, retro pop art illustration, 1950's style, bold red and blue --v 5.2 一瓶啤酒,复古流行艺术插图,1950 年代风格,大胆的红色和蓝色 --v 5.2
三、立体纸艺术

参考提示词 ①


Chinese temple and garden, Multi-layer paper craft, surrounding by plum blossom trees, mountains, blue background, minimalist --ar 5:7 --v 5.2
中国寺庙和花园,多层纸工艺,周围有梅花树,山脉,蓝色背景,极简主义 -- 5:7 --v 5.2

参考提示词 ②



paper craft stage, three giant flowers, some plants, mint green and yellow, Arches background, minimalist --s 150 --v 5.2
纸艺舞台,三朵巨大的花,一些植物,薄荷绿和黄色,拱门背景,极简主义 --s 150 --v 5.2
四、粗描边图标

参考提示词 ①


Modern Line Icon, A manager, Cute Avatar, Smiling, Bold Outline, bold Color, white background --v 5.2
现代线条图标,一个经理,可爱的头像,微笑,大胆的轮廓,大胆的颜色,白色背景 --v 5.2
参考提示词 ②


Modern Line Icon, A panda, Cute Avatar, Smiling, Bold Outline, bold Color, green background --v 5.2
现代线条图标,熊猫,可爱的头像,微笑,大胆的轮廓,大胆的颜色,绿色背景 --v 5.2
五、高级壁纸风

参考提示词 ①


extreme macro shot of curved glass texture, light green and blue gradient, wallpaper --ar 16:9 --v 5.2
弧形玻璃纹理的极端微距拍摄,浅绿色和蓝色渐变,墙纸 --ar 9:16 --v 5.2
参考提示词 ②


extreme macro shot of curved glass texture, Holographic Dazzling, minimalistic wallpaper --ar 9:16 --v 5.2
弧形玻璃纹理的极端微距拍摄,全息耀眼,简约的壁纸 --ar 9:16 --v 5.2
以上就是本期为大家推荐的 5 类高质量 Midjourney 提示词,Midjourney 生成的图像具有较高的随机性,同一个提示词可以多 Reroll 或 Varation 几次,就会有比较好的结果。
六、如何制作

1、使用MJ进行绘图,如果不了解如何使用Midjourney且不具备翻墙条件,请移步下发。
2、使用国产平替AI绘图网站, 进行绘图。进入后输入上方咒语即可快速生成~
MJ提示词工具-AI健身教练


七、加入AI绘图群,更多学习资源

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
回复

使用道具 举报

0

主题

5

回帖

17

积分

新手上路

积分
17
发表于 2023-9-9 19:09:58 | 显示全部楼层
如果用 Poe 的话,可以尝试下这个 Bot:
https://poe.com/mjen
效果蛮不错的:



cyberpunk, girl, neon

还有一个自己写的 ChatGPT 简化版:
我想要你充当"Midjourney提示词生成器"。Midjourney是一个文本转图片的工具,会将你提供的关键词转化为图片,你的提示词对图像的描述越详细、精确,图像的生成效果就越好。我会给你一组关键词或者一句话,你需要按照以下模板生成对应的一系列关键词,格式:
[画面风格],[画面主体],[画面修饰],(画面背景),(视角),(镜头)
- 画面风格:画面的风格。如:realistic, anime, impressionism, minimalism...(必填,可填多个)
- 画面主体:你所要生成图像的主体。如:girl, bird on a tree, students playing football...(必填)
- 画面修饰:服饰、行为、环境等。如:wearing long skirt, holding a rose, lollipop in mouth...(必填,可填多个)
- 画面背景:色调、背景样式等。如:warm color, dreamlike backgroud...(选填)
- 视角:画面视角。如:from side, close up, far shot(选填)
- 镜头:画面镜头。如:fujifilm,canon,35mm,overexposure...(选填)

最后你应该将你的结果拼接起来,并回复我三个结果。
e.g.
Input:
A beautiful girl

Output:
```
gihilbli anime style, a beautiful young girl, flowing long hair, breamlike colorful background

photo realistic, a girl, beautiful and young, lavender hair, wearing glass, standing under sakura, pink, backgroud bokeh

light watercolor, by monet,  a beautiful young girl,holding a rose, deep blue and purple, white background
```
Here is the original prompt: [YOUR PROMPT HERE]用相同关键词测试的结果:



cyberpunk, girl, neon

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
回复

使用道具 举报

0

主题

4

回帖

18

积分

新手上路

积分
18
发表于 2023-9-9 19:10:35 | 显示全部楼层
工作流一般是这样:
可以先让ChatGPT基于你提供的提示词提供场景,比如:


然后再通过一段规则 Prompt 让 ChatGPT 生成对应的 Midjourney 提示词:
提示词详情:

Midjourney提示词生成




然后就可以得到想要的结果啦:



你也可以使用 提示词编辑器 来修改 Midjourney的选项和提示词的编写~Midjourney 用户指南中文文档!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|T9AI - 深度人工智能平台 ( 沪ICP备2023010006号 )

GMT+8, 2024-11-24 09:08 , Processed in 0.061112 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表