OpenAI 视频操作#
¥OpenAI Video operations
使用此操作在 OpenAI 中生成视频。有关 OpenAI 节点本身的更多信息,请参阅 OpenAI。
¥Use this operation to generate a video in OpenAI. Refer to OpenAI for more information on the OpenAI node itself.
生成视频#
¥Generate Video
使用此操作根据文本提示生成视频。
¥Use this operation to generate a video from a text prompt.
请输入以下参数:
¥Enter these parameters:
- 用于连接的凭据:创建或选择现有 OpenAI 凭证。
¥Credential to connect with: Create or select an existing OpenAI credential.
- 资源:选择“视频”。
¥Resource: Select Video.
- 操作:选择“生成视频”。
¥Operation: Select Generate Video.
- 模型:选择用于生成视频的模型。当前支持
sora-2和sora-2-pro。
¥Model: Select the model you want to use to generate a video. Currently supports sora-2 and sora-2-pro.
- 提示:用于生成视频的提示信息。
¥Prompt: The prompt to generate a video from.
- 秒:剪辑持续时间(以秒为单位,最长 25 秒)。
¥Seconds: Clip duration in seconds (up to 25).
- 大小:输出分辨率格式为宽度 x 高度。1024x1792 和 1792x1024 分辨率仅 Sora 2 Pro 支持。
¥Size: Output resolution formatted as width x height. 1024x1792 and 1792x1024 are only supported by Sora 2 Pro.
选项#
¥Options
- 参考:用于指导生成的可选图片参考。必须以二进制项的形式传入。
¥Reference: Optional image reference that guides generation. Has to be passed in as a binary item.
- 等待超时:等待视频生成的时间(以秒为单位)。默认值为 300。
¥Wait Timeout: Time to wait for the video to be generated in seconds. Defaults to 300.
- 输出字段名称:用于存放二进制文件数据的输出字段的名称。默认为
data。
¥Output Field Name: The name of the output field to put the binary file data in. Defaults to data.
有关更多信息,请参阅 视频生成 | OpenAI。
¥Refer to Video Generation | OpenAI for more information.