# 咒语结构

## 欢迎使用山鲸AI咒语

{% embed url="<https://2sj.ai/web?_userMenuKey=ext_menu_0&url=https%3A%2F%2Fprompt.2sj.ai%2F>" fullWidth="false" %}
咒语提示词助手（免费使用）
{% endembed %}

## 1、基本提示词

基本提示可以是简单的单词、短语或表情符号，避免使用累赘、臃肿的词句。

![](https://293311848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7GGz8p5Vv0PvFaH88Kde%2Fuploads%2F0HOVxiJXbKP7BhSz7tOi%2Fimage.png?alt=media\&token=53b119f5-1ac4-4315-b47c-fee557f8ec75)

## 2、高级提示词

更高级的提示词一般包括参考图、关键词、参数指令。

<figure><img src="https://293311848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7GGz8p5Vv0PvFaH88Kde%2Fuploads%2FggSAe1mdLxOWcZBjdZbq%2FMJ%20Prompt.png?alt=media&#x26;token=83f26467-253a-445c-8dfa-3591ef8c741e" alt=""><figcaption><p>Midjourney官方咒语基本结构</p></figcaption></figure>

### **参考图 Image Prompts（选填）**

可以上传参考图，添加到咒语中以影响最终出图样式和效果。

### **关键词 Prompts Text：**

您要生成的图像的文本描述，精心编写的提示有助于生成令人惊叹的图像。

### **指令 Parameters：**

参数可以改变图像的生成方式、图像尺寸纵横比、AI模型等等。

## 3、提示词常见问题

### 提示词长度

提示词尽量简洁，单个词语都可以生成一个图像。简洁的提示词将在很大程度上依赖于 Midjourney 的默认样式，因此更具描述性的提示更适合独特的外观。然而，超长的提示并不总是更好。专注于您想要创建的主要概念。

### 提示词语法 <a href="#grammar" id="grammar"></a>

AI不用像人类那样理解语法、句子结构。词语的选择很重要，在许多情况下，更具体的词语效果更好。不要中性词，或带有歧义的词语。更少的词语意味着每个词语都有更强大的影响力。使用逗号、方括号和连字符来帮助组织您的想法。

### 提示词专注 <a href="#grammar" id="grammar"></a>

最好描述你想要什么，而不是描述你不想要什么。如果你要求举办一个“没有蛋糕”的派对，你的作品可能会出现蛋糕。如果您想确保这个“蛋糕”不出现在最终图像中，请尝试使用`--no`参数进行提前提示。

### 提示词细节 <a href="#grammar" id="grammar"></a>

任何未说出口的事情都可能会让你感到惊讶。根据您的需要具体或模糊，但您遗漏的任何内容都将是随机的。模糊是获得多样性的结果，但你可能无法获得你想要的具体细节。

**尽量弄清楚对您来说重要的任何背景或细节。想一想：**

* **主体：**&#x4EBA;、动物、人物、地点、物体等。
* **对象：**&#x7167;片、绘画、插图、雕塑、涂鸦、挂毯等。
* **环境：**&#x5BA4;内、室外、月球上、纳尼亚、水下、翡翠城等。
* **灯光：**&#x67D4;和、环境、阴天、霓虹灯、演播室灯等
* **颜色：**&#x9C9C;艳、柔和、明亮、单色、彩色、黑白、柔和等。
* **情绪：**&#x5E73;静、平静、喧闹、精力充沛等。
* **构图：**&#x4EBA;像、爆头、特写、鸟瞰等。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.2sj.ai/midjourney/prompts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
