> For the complete documentation index, see [llms.txt](https://limi.gitbook.io/mj-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://limi.gitbook.io/mj-doc/yong-hu-zhi-nan/gao-ji-ti-shi/tu-pian-ti-shi.md).

# 图片提示

**您可以使用图像作为prompt的一部分来影响作品的构图、风格和颜色。图像提示可以单独使用，也可以与文本提示一起使用——尝试将不同风格的图像组合起来，以获得最令人兴奋的结果。**

要将图像添加到提示中，请键入或粘贴在线存储图像的网址。地址必须以 .png、.gif 或 .jpg 等扩展名结尾。添加图像地址后，添加任何其他文本和参数以完成提示。

![显示 Midjourney 提示结构的图像。](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ%20Prompt.png)

<br>

图像提示位于提示的前面。\
提示必须有两张图片或一张图片和附加文本才能工作。\
图片 URL 必须是指向在线图片的直接链接。\
在大多数浏览器中，右键单击或长按图像并选择复制图像地址以获取 URL。\
[`/blend`命令](https://docs.midjourney.com/blend)是针对移动用户优化的简化图像提示过程。

***

### 将图像上传到 Discord <a href="#jiang-tu-xiang-shang-chuan-dao-discord" id="jiang-tu-xiang-shang-chuan-dao-discord"></a>

要将个人图片用作提示的一部分，请将其上传到 Discord。要上传图像，请单击消息键入位置旁边的**加号。**&#x9009;择**上传文件**，选择图像，然后发送消息。要将此图像添加到提示中，请`/imagine`像往常一样开始输入。出现提示框后，将图片文件拖入提示框，添加图片的URL。或者，右键单击图像，选择**复制链接**，然后将链接粘贴到提示框中。

![Discord\_FHZfwDLhLY.gif](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/Discord_FHZfwDLhLY.gif)

<br>

隐私说明

使用 Midjourney Bot 在您的Direct Message中上传图像，以防止其他服务器用户看到图像。\
图像提示在 Midjourney 网站上可见，除非用户具有隐身模式。

<br>

***

### 例子 <a href="#li-zi" id="li-zi"></a>

#### 起始图像 <a href="#qi-shi-tu-xiang" id="qi-shi-tu-xiang"></a>

![阿波罗半身像的裁剪图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Statue.png)

阿波罗雕像

![复古花卉 illustraiton 的裁剪图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Flowers.png)

复古花卉插图

![梵高的鸢尾花的裁剪图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Iris.png)

梵高的鸢尾花

![Ernst Haeckel 的水母的裁剪图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Jelly.jpg)

恩斯特·海克尔的水母

![恩斯特海克尔的地衣的裁剪图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Lichen.png)

恩斯特·海克尔的地衣

![神奈川冲浪里的裁剪图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Wave.png)

北斋的巨浪

<br>

#### 雕像+鲜花 <a href="#statue-flowers" id="statue-flowers"></a>

![阿波罗半身像的裁剪图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Statue.png) + ![复古花卉 illustraiton 的裁剪图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Flowers.png)

![结合阿波罗雕像和复古花卉插图的中途图像提示](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Statue_Flowers.png)

#### 雕像+鸢尾花 <a href="#statue-irises" id="statue-irises"></a>

![阿波罗半身像的裁剪图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Statue.png) + ![复古花卉 illustraiton 的裁剪图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Iris.png)&#x20;

<figure><img src="https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Statue_Iris.png" alt=""><figcaption></figcaption></figure>

#### 雕像+水母 <a href="#statue-jellyfish" id="statue-jellyfish"></a>

![阿波罗半身像的裁剪图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Statue.png) + ![Ernst Haeckel 的水母的裁剪图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Jelly.jpg)&#x20;

<figure><img src="https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Statue_Jelly.png" alt=""><figcaption></figcaption></figure>

#### 雕像+地衣 <a href="#statue-lichen" id="statue-lichen"></a>

![阿波罗半身像的裁剪图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Statue.png) + ![恩斯特海克尔的地衣的裁剪图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Lichen.png)&#x20;

<figure><img src="https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Statue_Litchen.png" alt=""><figcaption></figcaption></figure>

#### 雕像+波浪 <a href="#statue-wave" id="statue-wave"></a>

![阿波罗半身像的裁剪图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Statue.png) + ![神奈川冲浪里的裁剪图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Wave.png)&#x20;

<figure><img src="https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Statue_Wave.png" alt=""><figcaption></figcaption></figure>

#### 雕像+地衣+鲜花 <a href="#statue-lichen-flowers" id="statue-lichen-flowers"></a>

![阿波罗半身像的裁剪图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Statue.png) + ![恩斯特海克尔的地衣的裁剪图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Lichen.png) + ![复古花卉 illustraiton 的裁剪图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Flowers.png)&#x20;

<figure><img src="https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ImagePrompt_Statue_lichen_flowers.png" alt=""><figcaption></figcaption></figure>

宽高比提示

将图像裁剪为与最终图像相同的纵横比以获得最佳效果。

***

### V3 中的图像提示 <a href="#image-prompts-in-v3" id="image-prompts-in-v3"></a>

[与当前模型相比，早期Midjourney 模型版本](https://docs.midjourney.com/models)中的图像提示更抽象。图像提示与在起始输入图像之上构建（或“初始化”）不同。图像提示用作视觉灵感，而不是起点。

#### 图像权重，--iw <a href="#image-weight-iw" id="image-weight-iw"></a>

早期的[Midjourney 模型版本](https://docs.midjourney.com/models)可以使用图像权重参数`--iw`来调整图像 URL 与文本的重要性。是默认值，在未指定`--iw 0.25`时使用。`--iw`较高的`--iw`值意味着图像提示将对完成的作业产生更大的影响。有关提示各部分之间的相对重要性的更多信息，\
请参阅 [多提示页面。](https://docs.midjourney.com/multi-prompts)

`--iw`接受整数 -10,000–10,000。

<br>

示例1：文字提示`vibrant California poppies`结合康定斯基画作的图像提示。\
**prompt：`http://kandinsky.png vibrant California poppies --v 3 --iw <value>`**

**图片提示**

&#x20;![](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/Kandinsky.png)

**`--iw .0`**

&#x20;![](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_IW_0.png)

图像权重 = 0（与使用无图像提示相同）

**`--iw .25`**

&#x20;![](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_IW2_025.png)

图像权重 = .25（默认图片权重）

**`--iw 1`**

&#x20;![](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_IW2_1.png)

图像权重 = 1

**`--iw 2`**

&#x20;![](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_IW2_2.png)

图像权重 = 2

**`--iw 5`**

&#x20;![](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_IW2_5.png)

图像权重 = 5

<br>

示例2：文本提示`vibrant California poppies`结合梵高的向日葵的图像提示。\
\&#xNAN;**：`http://sunflowers.png vibrant California poppies --v 3 --iw <value>`**

**图片提示**

&#x20;![](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/Vangogh.png)

**`--iw .0`**

&#x20;![](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_IW_0.png)

图像权重 = 0（与使用无图像提示相同）

**`--iw .25`**

&#x20;![](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_IW_025.png)

图像权重 = .25（默认图片权重）

**`--iw 1`**

&#x20;![](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_IW_1.png)

图像权重 = 1

**`--iw 2`**&#x20;

![](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_IW_2.png)

图像权重 = 2

**`--iw 5`**

&#x20;![](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_IW_5.png)

图像权重 = 5

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://limi.gitbook.io/mj-doc/yong-hu-zhi-nan/gao-ji-ti-shi/tu-pian-ti-shi.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.
