Midjourney Prompt Basic Structure
In the official documentation of Midjourney, the simplest prompt structure is described as follows:
However, I think the above prompt is too simple π, and the Advanced Prompt is more suitable for learning:
Image Prompts (optional)β
The prompt is divided into three parts. The first part is the Image, which is optional and can be included or excluded.
Let's talk about what the Image URL is used for. There are many ways to use it, such as merging two images into one. You can take a look at the following example, where I uploaded an image of a marble sculpture and a flower to Discord:
After asking Midjourney to blend (combine) them (more usage will be introduced in the blending section), the generated image looks like this:
Please note:
- You input the URL address of the image, and it must be a publicly accessible URL.
- The supported image formats are png, gif, and jpg.
- You can include the URLs of up to two images, or one image URL + a piece of text.
If you don't want to upload the images to image hosting servers, you can also use Discord's image hosting service. You can privately message Midjourney Bot and upload the image to Discord first. Then, right-click on the image and copy the image link, like this:
Text Promptβ
This is the description of the image you want the AI to generate. There are many techniques for this, which will be explained in detail later. Here I would like to mention that Midjourney is a bit different from ChatGPT:
- It cannot understand sentence structure and grammar: Midjourney cannot understand what you say in the same way as ChatGPT. As an analogy, Midjourney is more like imperative programming, while ChatGPT is more like declarative programming. You need to give Midjourney complete instructions for it to generate satisfactory results.
- Midjourney has a prohibited word design: Some words cannot be input, for example, the π emoji cannot be input because this emoji is slang for "butts" and often leads to the generation of inappropriate images. Therefore, it is also prohibited.
I will explain how to write a text prompt in detail in the ποΈ Text Prompt section.
Parametersβ
Midjourney has about 20 parameters, and I will introduce several commonly used parameters in the next chapter. Once you understand the basic parameters, you should be able to use Midjourney to generate good images.