interface MiniMaxNodeParameters {
aspectRatio?:
| "16:9"
| "9:16"
| "1:1"
| "2:3"
| "21:9"
| "3:2"
| "3:4"
| "4:3";
binaryPropertyName?: string;
downloadAudio?: boolean;
downloadImage?: boolean;
downloadVideo?: boolean;
duration?: 10
| 6;
imageInputType?: "url" | "binary";
imageUrl?: string;
messages?: {
values: {
content?: string;
role?: "user" | "assistant";
}[];
};
modelId?: | "MiniMax-M2"
| "MiniMax-M2.1"
| "MiniMax-M2.1-highspeed"
| "MiniMax-M2.5"
| "MiniMax-M2.5-highspeed"
| "MiniMax-M2.7"
| "MiniMax-M2.7-highspeed"
| "speech-02-hd"
| "speech-02-turbo"
| "speech-2.6-hd"
| "speech-2.6-turbo"
| "speech-2.8-hd"
| "speech-2.8-turbo"
| "image-01"
| "MiniMax-Hailuo-2.3"
| "MiniMax-Hailuo-02"
| "T2V-01-Director"
| "T2V-01"
| "I2V-01"
| "I2V-01-Director"
| "I2V-01-live"
| "MiniMax-Hailuo-2.3-Fast";
numberOfImages?: number;
operation?: | "message"
| "generate"
| "textToVideo"
| "imageToVideo"
| "textToSpeech";
options?: | {
audioFormat?: "mp3"
| "pcm"
| "flac"
| "wav";
emotion?:
| "angry"
| "calm"
| "disgusted"
| "fearful"
| "happy"
| "sad"
| "surprised";
languageBoost?: | "auto"
| "Arabic"
| "Chinese"
| "English"
| "French"
| "German"
| "Indonesian"
| "Italian"
| "Japanese"
| "Korean"
| "Portuguese"
| "Russian"
| "Spanish"
| "Thai"
| "Turkish"
| "Vietnamese";
pitch?: number;
speed?: number;
volume?: number;
}
| { promptOptimizer?: boolean; seed?: number }
| {
hideThinking?: boolean;
maxTokens?: number;
maxToolsIterations?: number;
system?: string;
temperature?: number;
topP?: number;
}
| { promptOptimizer?: boolean }
| {
lastFrameBinaryPropertyName?: string;
lastFrameImageUrl?: string;
lastFrameInputType?: "none" | "url" | "binary";
promptOptimizer?: boolean;
subjectReferenceBinaryPropertyName?: string;
subjectReferenceImageUrl?: string;
subjectReferenceInputType?: "none" | "url" | "binary";
};
prompt?: string;
resolution?: "720P"
| "1080P"
| "768P"
| "512P";
resource?: "video" | "text" | "image" | "audio";
simplify?: boolean;
text?: string;
voiceId?: string;
}Properties§
readonly aspect Ratio?:
| "16:9"
| "9:16"
| "1:1"
| "2:3"
| "21:9"
| "3:2"
| "3:4"
| "4:3"readonly binary Property Name?: stringDefault: "data" Type options: {"binaryDataProperty":true}
readonly download Audio?: booleanWhether to download the generated audio as binary data. When disabled, only the audio URL is returned. Default: true
readonly download Image?: booleanWhether to download the generated image as binary data. When disabled, only the image URL is returned. Default: true
readonly download Video?: booleanWhether to download the generated video as binary data. When disabled, only the video URL is returned. Default: true
readonly duration?: 10 | 6Duration of the generated video Default: 6
readonly image Input Type?: "url" | "binary"How to provide the first frame image Default: "url"
readonly image Url?: stringPublic URL of the image to use as first frame (JPG, JPEG, PNG, WebP, <20MB)
readonly messages?: { ... }Default: {"values":[{"content":"","role":"user"}]} Type options: {"sortable":true,"multipleValues":true}
readonly model Id?:
| "MiniMax-M2"
| "MiniMax-M2.1"
| "MiniMax-M2.1-highspeed"
| "MiniMax-M2.5"
| "MiniMax-M2.5-highspeed"
| "MiniMax-M2.7"
| "MiniMax-M2.7-highspeed"
| "speech-02-hd"
| "speech-02-turbo"
| "speech-2.6-hd"
| "speech-2.6-turbo"
| "speech-2.8-hd"
| "speech-2.8-turbo"
| "image-01"
| "MiniMax-Hailuo-2.3"
| "MiniMax-Hailuo-02"
| "T2V-01-Director"
| "T2V-01"
| "I2V-01"
| "I2V-01-Director"
| "I2V-01-live"
| "MiniMax-Hailuo-2.3-Fast"The speech synthesis model to use Default: "speech-2.8-hd"
readonly number Of Images?: numberNumber of images to generate per request (1-9) Default: 1 Type options: {"minValue":1,"maxValue":9}
readonly operation?:
| "message"
| "generate"
| "textToVideo"
| "imageToVideo"
| "textToSpeech"Default: "textToSpeech"
readonly options?:
| {
audioFormat?: "mp3"
| "pcm"
| "flac"
| "wav";
emotion?:
| "angry"
| "calm"
| "disgusted"
| "fearful"
| "happy"
| "sad"
| "surprised";
languageBoost?: | "auto"
| "Arabic"
| "Chinese"
| "English"
| "French"
| "German"
| "Indonesian"
| "Italian"
| "Japanese"
| "Korean"
| "Portuguese"
| "Russian"
| "Spanish"
| "Thai"
| "Turkish"
| "Vietnamese";
pitch?: number;
speed?: number;
volume?: number;
}
| { promptOptimizer?: boolean; seed?: number }
| {
hideThinking?: boolean;
maxTokens?: number;
maxToolsIterations?: number;
system?: string;
temperature?: number;
topP?: number;
}
| { promptOptimizer?: boolean }
| {
lastFrameBinaryPropertyName?: string;
lastFrameImageUrl?: string;
lastFrameInputType?: "none" | "url" | "binary";
promptOptimizer?: boolean;
subjectReferenceBinaryPropertyName?: string;
subjectReferenceImageUrl?: string;
subjectReferenceInputType?: "none" | "url" | "binary";
}Default: {}
readonly prompt?: stringText description of the image to generate (max 1500 characters) Type options: {"rows":4}
readonly resolution?: "720P" | "1080P" | "768P" | "512P"Resolution of the generated video. Available options depend on the model. Default: "768P"
readonly resource?: "video" | "text" | "image" | "audio"Default: "text"
readonly simplify?: booleanWhether to return a simplified version of the response instead of the raw data Default: true
readonly text?: stringThe text to convert to speech (max 10,000 characters) Type options: {"rows":4}
readonly voice Id?: stringVoice ID to use for speech synthesis. Browse available voices in the MiniMax documentation. Default: "English_Graceful_Lady"
Aspect ratio of the generated image Default: "1:1"