Documentation Index
Fetch the complete documentation index at: https://dripart-mintlify-e28287af.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
MiniMax Image to Video ノードは、MiniMax の API を用いて、入力画像およびテキストプロンプトから動画を生成します。
パラメーター
必須パラメーター
| パラメーター | 型 | デフォルト値 | 説明 |
|---|
| image | 画像 | - | 動画生成の最初のフレームとして使用される入力画像 |
| prompt_text | 文字列 | "" | 動画生成をガイドするテキストプロンプト |
| model | 選択肢 | ”I2V-01” | 利用可能なモデル: “I2V-01-Director”、“I2V-01”、“I2V-01-live” |
オプションパラメーター
| パラメーター | 型 | 説明 |
|---|
| seed | 整数 | ノイズ生成に使用される乱数シード |
ソースコード
[ノードのソースコード(2025-05-03 更新)]
class MinimaxImageToVideoNode(MinimaxTextToVideoNode):
"""
Generates videos synchronously based on an image and prompt, and optional parameters using Minimax's API.
"""
@classmethod
def INPUT_TYPES(s):
return {
"required": {
"image": (
IO.IMAGE,
{
"tooltip": "Image to use as first frame of video generation"
},
),
"prompt_text": (
"STRING",
{
"multiline": True,
"default": "",
"tooltip": "Text prompt to guide the video generation",
},
),
"model": (
[
"I2V-01-Director",
"I2V-01",
"I2V-01-live",
],
{
"default": "I2V-01",
"tooltip": "Model to use for video generation",
},
),
},
"optional": {
"seed": (
IO.INT,
{
"default": 0,
"min": 0,
"max": 0xFFFFFFFFFFFFFFFF,
"control_after_generate": True,
"tooltip": "The random seed used for creating the noise.",
},
),
},
"hidden": {
"auth_token": "AUTH_TOKEN_COMFY_ORG",
},
}
RETURN_TYPES = ("VIDEO",)
DESCRIPTION = "Generates videos from an image and prompts using Minimax's API"
FUNCTION = "generate_video"
CATEGORY = "api node/video/Minimax"
API_NODE = True
OUTPUT_NODE = True