最佳搭档::Midjourney V5 + GPT4 - 批量生成高质量Prompt命令,3种ChatGPT机器人训练方法

小薇 Official Channel
27 Mar 202306:58

TLDR大家好,欢迎来到小薇midjourney课堂。在这个视频中,我们学习了如何利用Midjourney和GPT4生成高质量的图像生成命令。Midjourney是一个流行的文本转图像工具,但许多用户因语言限制而难以获取创意的prompt命令。为了解决这个问题,我们介绍了几个获取高质量命令的网站,如Prompt Hero和Arthub,以及Midjourney社区,用户可以从中复制和学习优秀的命令格式。 接下来,我们探讨了三种训练ChatGPT生成原创Midjourney命令的方法。第一种方法是为ChatGPT提供固定格式的命令模板,如汽车摄影或明星肖像,并提供参考命令以生成类似的图像。第二种方法是固定格式加变量,通过详细描述来生成更精准的命令,如儿童插画或数码肖像。第三种方法是以图生图,上传人物图像并生成多种风格的数码肖像。 视频中还介绍了如何指导ChatGPT理解Midjourney Prompt命令的格式,并通过提供基本命令格式和详细描述来生成科幻风格的女性图像等。最后,我们学习了如何设置ar参数和提供参考命令来生成高质量的图像。通过这些方法,用户可以训练ChatGPT批量生成高质量的Midjourney命令,从而提升创意和效率。

Takeaways

  • 📖 Midjourney 是一个广泛使用的文本转图像工具,但主要支持英文命令输入。
  • 🌐 可以通过访问Prompt Hero、Arthub和Midjourney社区等网站获取高质量的Midjourney命令。
  • 🔍 通过复制Midjourney社区中优秀作品的完整命令,可以快速获取类似的图像。
  • 🤖 使用ChatGPT生成类似命令的方法:要求机器人生成与给定命令类似的内容。
  • 🚗 方法1:为ChatGPT提供固定格式的命令模板,如汽车摄影,包括型号、背景等元素。
  • 🎨 方法2:固定格式加变量,如儿童插画风格,包含动物角色、背景等详细描述。
  • 🖼️ 通过自定义格式,可以生成多种风格的数码肖像,如上传人物图像并指定风格。
  • 🔄 利用ChatGPT的想象力,生成多样化的prompt命令,同时保持URL不变。
  • 💡 向ChatGPT展示参考命令,以帮助其理解并生成符合要求的命令。
  • 📈 通过训练,ChatGPT可以掌握更多的Midjourney参数和命令,提高生成图像的质量。
  • 📚 提供的指令和模块可以帮助用户自定义Midjourney格式,生成个性化的图像。
  • ⏱️ 训练ChatGPT机器人的方法可以批量生成高质量的Midjourney命令,节省时间。

Q & A

  • Midjourney是什么类型的工具,它主要支持哪种语言的命令输入?

    -Midjourney是一种文本转图像的制图工具,它主要支持英文命令输入。

  • Prompt Hero是一个什么样的平台,它提供哪些类型的命令?

    -Prompt Hero是一个综合性的Prompt分享平台,提供包括Midjourney、Stable-Diffusion、Dall-e和ChatGPT在内的命令。

  • 如何通过Midjourney社区快速获取高质量的图像命令?

    -登录到Midjourney,点击左侧的Explore,可以找到很多优秀的作品。选择任意图像,点击copy full command,就可以复制该图像的完整命令。

  • 如果ChatGPT模型的知识库截止到2021年9月,而Midjourney是2022年推出的,直接要求ChatGPT生成Midjourney命令会怎样?

    -如果直接要求ChatGPT生成Midjourney命令,机器人会回答无法完成该任务,因为它的知识库中没有Midjourney的信息。

  • 如何引导ChatGPT学习并掌握Midjourney Prompt命令的格式?

    -可以通过对话的形式,提供固定格式的命令,并给出参考命令,让ChatGPT按照我们定义的格式生成内容。

  • 在训练ChatGPT生成Midjourney命令时,可以包含哪些模块?

    -可以包含汽车型号、背景、相机、镜头、高画质形容词等模块,也可以根据需要添加任意模块定制喜欢的格式。

  • 如何使用ChatGPT生成明星肖像的Midjourney命令?

    -可以要求ChatGPT按照包含明星姓名、面部刻画、扮演角色、表情、灯光、风格、相机和形容词的格式输出结果,并提供一段参考命令。

  • 固定格式加变量的方法如何帮助生成精准的Midjourney命令?

    -通过设置一个新的格式,由动物角色、背景、灯光、故事情节和儿童插画风格组成,并在模块中加入详细描述,以便让机器人生成更加适合特定风格的作品。

  • 如何使用ChatGPT生成具有科幻风格的女性图像命令?

    -首先为机器人提供基本的命令格式,然后对每个模块进行描述,让机器人充分理解意图,并在格式的框架下发挥想象力,生成多种类型的prompt命令。

  • 在训练ChatGPT生成Midjourney命令时,ar参数的使用规则是什么?

    -ar参数用于控制生成图像的宽高比,告诉机器人ar参数的使用规则,以及自己常用的几种ar参数值,可以让生成的图像更符合预期。

  • 如何确保ChatGPT生成的Midjourney命令与原图人物的相似度非常高?

    -从本地上传一张人物图像,并获得URL地址,格式可以包含URL、服装、发型、表情、背景、形容词、光圈、镜头、摄影风格和动作,同时提醒机器人保持URL不变。

  • 如何根据视频脚本中的方法训练ChatGPT批量生成高质量Midjourney命令?

    -可以根据脚本中介绍的方法,使用固定格式的命令,或者固定格式加变量的方法,提供详细的描述和参考命令,让ChatGPT生成符合要求的高质量Midjourney命令。

Outlines

00:00

🚀 Introduction to Midjourney and Prompt Generation

This paragraph introduces the audience to the Midjourney tool, which is a widely used text-to-image creation software. It addresses the common issue of language barriers and lack of a fixed format for prompts. The speaker suggests visiting Prompt Hero and Arthub for creative prompts and commands. Additionally, it explains how to copy full commands from the Midjourney community for similar image generation. The paragraph also details methods to guide ChatGPT in generating Midjourney prompts by providing a fixed format and reference commands for various scenarios, such as car photography and celebrity portraits. The speaker emphasizes the flexibility of the command format and encourages customizing it to suit individual preferences.

05:01

🤖 Training ChatGPT for Midjourney Command Generation

The second paragraph delves into the process of training ChatGPT to generate high-quality Midjourney commands. It outlines a method for teaching ChatGPT to understand and create prompts by providing a basic command format and detailed descriptions for each module. The paragraph demonstrates how to generate commands for children's illustrations and digital portraits by customizing formats and variables. It also discusses the importance of maintaining the URL for image-to-image commands and the use of ar parameters for stylistic variations. The speaker shares a method to guide ChatGPT in creating sci-fi styled female images with a rich imagination and high-quality output. The paragraph concludes with an invitation to train ChatGPT further to master more Midjourney parameters and commands.

Mindmap

Keywords

💡Midjourney

Midjourney is a widely used text-to-image creation tool that allows users to generate images from textual prompts. It is central to the video's theme as the tutorial focuses on how to generate high-quality prompts for this tool. In the script, Midjourney is mentioned as the primary application for which the viewer is being taught to create commands.

💡Prompt

A prompt is a textual input that guides the Midjourney tool to generate a specific image. The script emphasizes the importance of creating prompts that are both creative and high-quality, which is the main objective of the video.

💡Prompt Hero

Prompt Hero is a comprehensive platform for sharing prompts, which is introduced in the script as a resource for obtaining commands for various AI tools, including Midjourney. It serves as an example of how users can access ready-made prompts to inspire their own creations.

💡Arthub

Arthub is mentioned as a comprehensive AI art sharing website where users can find image ideas and prompt commands. It represents an additional resource for users looking to expand their creative repertoire.

💡ChatGPT

ChatGPT is an AI language model used in the script to demonstrate how it can be trained to generate Midjourney prompts. The video outlines methods to guide ChatGPT in learning the format of prompts to produce original and similar commands to existing images.

💡Command Format

The command format refers to the structured way of providing instructions to AI tools like Midjourney. The video provides examples of how to define a command format, including elements such as car models, backgrounds, and adjectives, to generate specific types of images.

💡Variables

Variables are used in the context of the command format to allow for variations and randomness in the generated prompts. The script discusses using a combination of fixed formats and variables to create more precise and diverse prompts for Midjourney.

💡URL

In the context of the video, a URL is used to reference a specific image from which ChatGPT can generate prompts for creating a similar image. It is part of the process of 'image-to-image' creation using the AI model.

💡

💡ar Parameters

The ar parameters refer to aspect ratio settings in Midjourney that influence the dimensions of the generated image. The video explains how to instruct ChatGPT on the use of these parameters to control the output's shape and size.

💡Imagination

Imagination is highlighted as a key element in the creative process of generating prompts. The video suggests guiding ChatGPT to use its imagination within the constraints of a given format to produce a variety of prompt commands.

💡Batch Generation

Batch generation refers to the process of creating multiple prompts at once, which is a technique shown in the video to efficiently produce a large number of potential images using ChatGPT and Midjourney.

💡Customization

Customization is the ability to tailor the command format and variables to the user's specific needs or preferences. The script provides guidance on how users can customize their prompts to generate images that align with their desired outcomes.

Highlights

Midjourney是应用最为广泛的文本转图像、制图工具。

Midjourney仅支持英文命令输入,也没有固定的格式。

Prompt Hero是一个综合性Prompt分享平台,你可以在这里获得包括Midjouney、Stable-Diffusion、Dall-e、ChatGPT在内的命令。

Midjourney社区登录到Midjourney,点击左侧Explore,就可以找到很多优秀的作品。

方法1:提供固定格式的命令,进入ChatGPT,输入命令,要求机器人按照我们定义的格式生成内容。

现在,我选择其中一个随机命令,复制到Midjourney,并生成一组图像,也就是行驶在海岸边的奥迪跑车,整体效果不错。

机器人能够完全理解我们的意图。

方法2:固定格式加变量,让ChatGPT生成更为精准的命令。

机器人就会生成10组随机命令,复制其中一组命令,粘贴到Midjourney。

从生产的实际效果来看,具备很强的儿童插画风格。

机器人完全理解了我们的意图,按照格式生成了10组详细的命令。

选择其中的两组命令,粘贴到Midjourney,从生成的结果可以看出,机器人的想像力非常丰富,生成的图像质量也非常高。

今天,我为大家介绍了如何训练ChatGPT机器人的方法。

按照今天的方法,你可以根据自己的需要训练ChatGPT,批量生成高质量Midjourney命令。

如果你有空闲的时间,也可以交ChatGPT掌握更多的Midjourney参数和命令。