> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-recommend-assets-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# FluxKontextImageScale - ComfyUI Built-in Node Documentation

> Complete documentation for the FluxKontextImageScale node in ComfyUI. Learn its inputs, outputs, parameters and usage.

这个节点会根据输入图像的宽高比，使用 Lanczos 算法进行图像缩放将输入图像调整为 Flux Kontext 模型训练时使用的最优尺寸。因为输入过大尺寸的图像可能导致模型输出效果变差，或者出现类似多主体等情况，所以此节点在这些情况下特别有用。

## 输入参数说明

| 参数名称    | 数据类型  | 输入方式 | 默认值 | 取值范围 | 功能说明        |
| ------- | ----- | ---- | --- | ---- | ----------- |
| `image` | IMAGE | 必需   | -   | -    | 需要调整尺寸的输入图像 |

## 输出结果说明

| 输出名称    | 数据类型  | 说明       |
| ------- | ----- | -------- |
| `image` | IMAGE | 调整尺寸后的图像 |

## 预设尺寸列表

以下是模型训练时使用的标准尺寸列表，节点会根据输入图像的宽高比选择最接近的尺寸：

| 宽度   | 高度   | 宽高比   |
| ---- | ---- | ----- |
| 672  | 1568 | 0.429 |
| 688  | 1504 | 0.457 |
| 720  | 1456 | 0.494 |
| 752  | 1392 | 0.540 |
| 800  | 1328 | 0.603 |
| 832  | 1248 | 0.667 |
| 880  | 1184 | 0.743 |
| 944  | 1104 | 0.855 |
| 1024 | 1024 | 1.000 |
| 1104 | 944  | 1.170 |
| 1184 | 880  | 1.345 |
| 1248 | 832  | 1.500 |
| 1328 | 800  | 1.660 |
| 1392 | 752  | 1.851 |
| 1456 | 720  | 2.022 |
| 1504 | 688  | 2.186 |
| 1568 | 672  | 2.333 |
