当前位置:首页 >休闲 >将ChatGPT变成Midjourney提示生成器 所以可以使用下面方法

将ChatGPT变成Midjourney提示生成器 所以可以使用下面方法

2024-06-28 21:20:58 [百科] 来源:避面尹邢网

将ChatGPT变成Midjourney提示生成器

作者:Tristan Wolff 人工智能 已经有人总结过可以让ChatGPT作为Midjourney图像生成的变成模板。在本文中,提示我们将展示如何根据个人用例创建这些提示,生成这可以让ChatGPT生成的变成提示可控性更高。

已经有人总结过可以让ChatGPT作为Midjourney图像生成的提示模板。在本文中,生成我们将展示如何根据个人用例创建这些提示,变成这可以让ChatGPT生成的提示提示可控性更高。

将ChatGPT变成Midjourney提示生成器 所以可以使用下面方法

选择提示模板

Midjourney的生成模板结构性很强,所以我们这里使用一下的变成结构:

将ChatGPT变成Midjourney提示生成器 所以可以使用下面方法

图片图片

将ChatGPT变成Midjourney提示生成器 所以可以使用下面方法

让ChatGPT为我们工作

为了让ChatGPT工作,我们还要创建ChatGPT的提示提示,这样才能让它帮我们生成Midjourney的生成提示。

ChatGPT的变成提示的作用是让ChatGPT迭代我们的想法并创建与之相关的图像提示。我们只对ChatGPT提出我们的提示想法和要求,让ChatGPT为我们工作。生成

一个可靠而有效的ChatGPT提示符有两个主要成分:指令和上下文

首先我们从上下文开始:我们可以简单地将我们的要求变为前缀、场景和后缀:

#这是Midjourney的命令  /imagine prompt: PREFIX, SCENE, SUFFIX  PREFIX defines the image's medium and style SCENE defines the content SUFFIX modulates PREFIX and SCENE

在下一步中,就是要将我们将上下文与ChatGPT如何处理信息的指令结合起来:

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  Create 10 prompts that illustrate the theme "father-son relationship"

上面和下面的限定就是我们对ChatGPT的要求,ChatGPT会根据我们的要求来返回结果,大概是这样的:

1. /imagine prompt: Vintage sepia photograph, A father teaching his son how to ride a bicycle in a park, With a sense of warmth and nostalgia.  2. /imagine prompt: Renaissance oil painting, A king passing his crown to his son in a lavish throne room, With an atmosphere of grandeur and responsibility.  3. /imagine prompt: Animated family movie style, A dad and son building a rocket ship in their backyard, Infused with a sense of adventure and bonding.  4. /imagine prompt: Watercolor sketch, A father and son fishing on a quiet lake as the sun sets, With a serene and tranquil atmosphere.  5. /imagine prompt: Comic book art, A superhero father with his sidekick son saving the day, With dynamic action and a sense of camaraderie.  6. /imagine prompt: Traditional Japanese Ukiyo-e style, A samurai father and his young son practicing martial arts under a cherry blossom tree, With a sense of discipline and tradition.  7. /imagine prompt: 90s sitcom illustration, A dad and son laughing together while attempting to fix a car in a garage, With a vibe of humor and togetherness.  8. /imagine prompt: Modern abstract art, An interpretation of the emotional bond between a father and son, With swirling colors that convey deep connection and love.  9. /imagine prompt: Children’s book illustration, A boy on his father’s shoulders, looking up at the stars, With a sense of wonder and shared curiosity.  10. /imagine prompt: Sci-fi concept art, A father and son in futuristic gear exploring an alien planet, With a sense of discovery and shared adventure.

我们可以简单地复制/粘贴这些提示到Midjourney。以下是其中的一些结果:

图片图片

图片图片

以上就是最简单ChatGPT的使用技巧,下面我们还可以进行更高级的应用

扩充思路

因为ChatGPT使用了大量的语料库进行训练,所以我们可以让它帮我我们扩充思路,例如下面的提示:

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

结果如下:

/imagine prompt: Modern abstract art, An anchor and a soaring kite entwined, With a fisheye lens capturing the circular interplay of stability and freedom.  /imagine prompt: Modern abstract art, A torch casting shadows of successive taller figures, With a tilt-shift lens emphasizing the central flame as the source of growth.  /imagine prompt: Modern abstract art, Rivers of color weaving from a storm to a calm sea, With a wide-angle lens to envelop the viewer in the journey.  /imagine prompt: Modern abstract art, A lighthouse beam morphing into a tapestry of music notes, With a telephoto lens bringing focus to the distant harmony.  /imagine prompt: Modern abstract art, Clock gears turning into an unfolding map, With a macro lens capturing the intricacies of time and adventure's intertwinement.

结果如下:

图片图片

图片图片

优化ChatGPT输出

Midjourney有一个叫permutation 的功能,我们在以前的文章中也做过介绍,所以可以使用下面方法,让ChatGPT生成相应格式的结果:

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 suffix

这样ChatGPT就会返回下面的结果:

/imagine prompt: { oil painting, watercolor}, 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时,会得到一下的结果:

图片图片

也就是说,可以直接生成6张图片,以下是结果示例:

图片图片

图片图片

总结

ChatGPT是通过大量语料库进行训练的大语言模型,而Midjourney则可以生成高质量的图像,通过结合2者的优势实现更加综合和丰富的内容创作。这种综合的内容生成方式能够通过文字和图像同时获得更多的信息和灵感。

责任编辑:华轩 来源: DeepHub IMBA ChatGPTMidjourney

(责任编辑:热点)

    推荐文章
    热点阅读