> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# LumaRay32TextToVideoNode - ComfyUI Built-in Node Documentation

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

此节点使用 Luma 的 Ray 3.2 模型，根据文本提示生成视频。它会将您的提示和视频设置发送至 Luma API，并返回生成的视频及其生成 ID。

## ## 输入

| 参数    | 描述                      | 数据类型    | 是否必填 | 取值范围                                                                        |
| ----- | ----------------------- | ------- | ---- | --------------------------------------------------------------------------- |
| `提示词` | 用于视频生成的文本提示。            | STRING  | 是    | 1-6000 个字符                                                                  |
| `宽高比` | 生成视频的宽高比。               | STRING  | 是    | `"16:9"`<br />`"9:16"`<br />`"1:1"`<br />`"4:3"`<br />`"3:4"`<br />`"21:9"` |
| `分辨率` | 视频的输出分辨率（默认值："720p"）。   | STRING  | 是    | `"360p"`<br />`"540p"`<br />`"720p"`<br />`"1080p"`                         |
| `时长`  | 生成视频的时长。                | STRING  | 是    | `"5s"`<br />`"10s"`                                                         |
| `循环`  | 使视频无缝循环播放。仅当时长为 5s 时可用。 | BOOLEAN | 否    | True/False（默认值：False）                                                       |
| `种子`  | 用于可复现生成的随机种子。           | INT     | 否    | 0 至 2147483647                                                              |

**注意：** `loop` 参数仅在 `duration` 设置为 "5s" 时可用。若选择 "10s" 时长并启用循环，节点将返回错误。

## ## 输出

| 输出名称            | 描述            | 数据类型   |
| --------------- | ------------- | ------ |
| `VIDEO`         | 生成的视频文件。      | VIDEO  |
| `generation_id` | 视频生成请求的唯一标识符。 | STRING |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/LumaRay32TextToVideoNode/zh.md)

***

**Source fingerprint (SHA-256):** `04358a872530e5a2622bf0f148a694f2c707ce8535586d8f860bdf9911e1fa6a`
