# Aspect Ratios 图片比例

使&#x7528;**`--aspect`参数`--ar`更改生成图像的宽高比。宽高比是图像的宽高比。它通常表示为用冒号分隔的两个数字，例如 7:4 或 4:3。**

正方形图像具有相等的宽度和高度，描述为 1:1 的纵横比。图片可以是 1000px × 1000px，或者 1500px × 1500px，纵横比仍然是 1:1。计算机屏幕的比例可能为 16:10。宽度是高度的1.6倍。所以图像可以是 1600px × 1000px、4000px × 2000px、320px x 200px 等。

默认比例为 1:1。\
`--aspect`必须使用整数。使用 139:100 而不是 1.39:1。\
纵横比影响生成图像的形状和组成。\
放大时，某些宽高比可能会略有变化。

#### 最大纵横比 <a href="#max-aspect-ratios" id="max-aspect-ratios"></a>

不同的[Midjourney 版本模型](https://docs.midjourney.com/models)具有不同的最大纵横比。

|           | Version 4c (default) | Version 4a or 4b      | Version 3 | Test / Testp | niji       |
| --------- | -------------------- | --------------------- | --------- | ------------ | ---------- |
| Ratios 比率 | 1:2 to 2:1           | Only: 1:1, 2:3 or 3:2 | 5:2 to2:5 | 3:2 to 2:3   | 1:2 to 2:1 |

`--ar`参数将接受从 1:1（正方形）到每个模型的最大纵横比的任何纵横比。但是，在图像生成或放大过程中，最终输出可能会略有修改。示例：提示使用`--ar 16:9`(1.78) 创建具有`7:4`(1.75) 纵横比的图像。

![Comparison of common Midjourney Aspect Ratios](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_AspectRatioChart.png)

prompt 示例: `imagine/ prompt` `vibrant california poppies --ar 5:4`

#### 常见的中途纵横比 <a href="#common-midjourney-aspect-ratios" id="common-midjourney-aspect-ratios"></a>

`--aspect 1:1` 默认纵横比.\
`--aspect 5:4` 常见的框架和打印比例.\
`--aspect 3:2` 常见的框架和打印比例\
`--aspect 7:4` 接近高清电视屏幕和智能手机屏幕

***

### 如何更改纵横比 <a href="#how-to-change-the-aspect-ratio" id="how-to-change-the-aspect-ratio"></a>

#### 使用纵横比参数 <a href="#use-aspect-ratio-parameters" id="use-aspect-ratio-parameters"></a>

添加 `--aspect <value>:<value>`, 或者 `--ar <value>:<value>` 到关键词描述的末尾.<br>

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


---

# 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://limi.gitbook.io/mj-doc/yong-hu-zhi-nan/can-shu/aspect-ratios-tu-pian-bi-li.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.
