> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# Wan相机嵌入（WanCameraEmbedding）

<div class="node-meta"><code>WanCameraEmbedding</code><span>model/conditioning/wan/camera</span><span>角色：数值读取</span></div>

此节点使用 Plücker 嵌入为您选择的相机路径生成相机轨迹嵌入。它会构建一系列相机姿态，模拟平移、缩放或旋转等运动，并将其转换为可用于视频生成流程的嵌入张量。

## 参数

| 参数            | 类型    | 默认 / 范围                                | 说明                             |
| ------------- | ----- | -------------------------------------- | ------------------------------ |
| `camera_pose` | COMBO | Static、Pan Up、Pan Down、Pan Left …共 9 项 | —                              |
| `width`       | INT   | 16 \~ 16384，步长 16                      | 用于处理的宽度值                       |
| `height`      | INT   | 16 \~ 16384，步长 16                      | 用于处理的高度值                       |
| `length`      | INT   | 1 \~ 16384，步长 4                        | 用于处理的长度值                       |
| `speed`（选填）   | FLOAT | 0 \~ 10.0，步长 0.1                       | —                              |
| `fx`（选填）      | FLOAT | 0 \~ 1，步长 1e-09                        | 焦距 x 参数（默认：0.5，步长：0.000000001） |
| `fy`（选填）      | FLOAT | 0 \~ 1，步长 1e-09                        | 焦距 y 参数（默认：0.5，步长：0.000000001） |
| `cx`（选填）      | FLOAT | 0 \~ 1，步长 0.01                         | 主点 x 坐标（默认：0.5，步长：0.01）        |
| `cy`（选填）      | FLOAT | 0 \~ 1，步长 0.01                         | 主点 y 坐标（默认：0.5，步长：0.01）        |

## 输出

| 输出               | 类型                   | 说明                   |
| ---------------- | -------------------- | -------------------- |
| camera_embedding | WAN_CAMERA_EMBEDDING | WAN_CAMERA_EMBEDDING |
| width            | INT                  | 整数                   |
| height           | INT                  | 整数                   |
| length           | INT                  | 整数                   |

## 怎么接

- **上游**：图像/潜空间/视频数据
- **下游**：任何 INT 参数口
- **接线**：输出的是数值，可接到任何同类型参数口（右键参数 →「转换为输入」）；常用来把图像尺寸、视频帧数动态传给下游，避免手改参数。

## 使用案例

从 `camera_pose`（Static）、`width`（832）、`height`（480） 开始填就能跑起来。典型接法：`图像` → 本节点 → `任何 INT 参数口`。注意：宽高必须是 8 的倍数；SDXL 建议总像素约 1024²，Flux 建议 1MP 左右。

## 端口与连线示意

![WanCameraEmbedding 端口与连线示意](/svg/WanCameraEmbedding.svg)

## 实战提示

- 宽高必须是 8 的倍数；SDXL 建议总像素约 1024²，Flux 建议 1MP 左右。

## 同类节点

[万相机图像转视频](/nodes/03/WanCameraImageToVideo.md)
