For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /nodes/03/WanCameraEmbedding.md.

Wan相机嵌入(WanCameraEmbedding)

WanCameraEmbeddingmodel/conditioning/wan/camera角色:数值读取

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

参数

参数类型默认 / 范围说明
camera_poseCOMBOStatic、Pan Up、Pan Down、Pan Left …共 9 项—
widthINT16 ~ 16384,步长 16用于处理的宽度值
heightINT16 ~ 16384,步长 16用于处理的高度值
lengthINT1 ~ 16384,步长 4用于处理的长度值
speed(选填)FLOAT0 ~ 10.0,步长 0.1—
fx(选填)FLOAT0 ~ 1,步长 1e-09焦距 x 参数(默认:0.5,步长:0.000000001)
fy(选填)FLOAT0 ~ 1,步长 1e-09焦距 y 参数(默认:0.5,步长:0.000000001)
cx(选填)FLOAT0 ~ 1,步长 0.01主点 x 坐标(默认:0.5,步长:0.01)
cy(选填)FLOAT0 ~ 1,步长 0.01主点 y 坐标(默认:0.5,步长:0.01)

输出

输出类型说明
camera_embeddingWAN_CAMERA_EMBEDDINGWAN_CAMERA_EMBEDDING
widthINT整数
heightINT整数
lengthINT整数

怎么接

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

使用案例

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

端口与连线示意

WanCameraEmbedding 端口与连线示意

实战提示

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

同类节点

万相机图像转视频