- Home
- Resources
- Integrations
- MiniMax
n8n MiniMax nodeConfigure MiniMax in n8n.
One credential, and a workflow can speak, draw and film. The n8n MiniMax node packs 5 operations over 4 resources: audio, image, text and video. It runs like any action node, once per incoming item, so the same record can leave with a voice-over, an illustration and a short clip.
Verified Trustpilot reviews · AI, automation & growth agency
What does the n8n MiniMax node actually do?
The MiniMax node connects a workflow to MiniMax AI models. It turns a text prompt into an image, a script into synthesized speech, a prompt or a first frame into a video, and a message into a model answer. Four resources, 5 operations, and the same credential behind all of them. Nothing else on the node: no trigger, no sub-node port, no list or search call.
Think of it as a media worker sitting in the middle of a workflow. Something upstream produces a row, a ticket or a form answer, MiniMax produces the asset, and a downstream node files it away. That last step is where the node pairs with the rest of your stack of connectors, most often Google Sheets for the tracking table or Slack for the review channel.
First scenario, a product catalog that needs visuals. A loop reads the product list, image.generate builds one picture per row from the description, and Number of Images set higher returns several variants in a single call so a human picks the best one. With Seed filled in, the same prompt gives the same picture again, which matters when someone asks for a regenerate with one word changed.
Second scenario, an audio version of written content. audio.textToSpeech takes the text field of the item, applies a voice and returns either binary audio or a URL, depending on Download Audio. Keep the binary output when the next node uploads a file, keep the URL when you only store a link. Sending the result out by email is a one-node hop away with Gmail.
Third scenario, short video from a still. video.imageToVideo animates a first frame, and on the models that support it a last frame or a face reference keeps the result consistent. Pair it with video.textToVideo when there is no image to start from.
When to reach for something else: the node talks to MiniMax models only. For an assistant that decides which tool to call, plans steps and keeps a conversation in memory, the AI Agent node is the root node and a chat model plugs into it as a sub-node, which is a node that never runs on its own. Vendors like OpenAI or Google Gemini cover that role too. The MiniMax node is the direct call: one item in, one asset out.
Known limits, worth checking before you build: the node is at version 1, the prompt fields are capped, and video duration is a choice between two values rather than a free number. Generation happens on the MiniMax side, so the workflow waits for the model, and a long video is not an instant response.
How do you connect MiniMax to n8n?
- 01
Create the MiniMax credential
Open the Credentials menu in n8n and add a MiniMax credential, or create it straight from the node's credential field. A credential is the stored secret n8n reuses instead of asking for a key in every workflow. Once saved, every MiniMax node in every workflow of that instance can select it from the dropdown, and rotating the key later is a single edit rather than a hunt through your workflows.
- 02
Or switch on Gateway credits
On n8n Cloud there is a second route. Select Use Gateway credits in the node's credential field and the node runs without a MiniMax account at all, billed through your n8n Cloud credits. It is the fastest way to test the node before anyone signs up for anything. On a self-hosted instance the option does not apply, so plan for your own key there.
- 03
Run one operation before wiring the rest
Pick the cheapest call to prove the setup:
text.messagewith a short prompt and Simplify Output left on. If the answer comes back, the credential is valid for the other three resources too, since they all sit behind it. Then switch the operation to the one you actually need and map the real fields with expressions such as{{ $json.prompt }}, which reads a field from the incoming item.
What can each MiniMax operation do?
The MiniMax node exposes 5 operations across 4 resources. For each one: the node as you configure it in n8n, the required fields, and our field notes.
| Resource | Generate an Image | Generate Video From Image | Message a Model | Text to Speech | Generate Video From Text |
|---|---|---|---|---|---|
| Audio | ✓ | ||||
| Image | ✓ | ||||
| Text | ✓ | ||||
| Video | ✓ | ✓ |
Operations index
Audio
1 operationConvert text to speech
audio.textToSpeechWhat you see in n8n
Notes & use cases
Sends text to a MiniMax speech model and gets spoken audio back, as binary data on the item or as a URL.
Key parameters
- Text: the script to read, capped at
10000characters, usually{{ $json.text }}. - Voice ID: the voice reference, such as
English_Graceful_Lady, taken from the MiniMax documentation. - Model: six choices from
speech-02-hdtospeech-2.8-turbo, HD for quality, turbo for speed and languages. - Download Audio: on, the file rides along as binary; off, only the audio URL comes back.
- Options: Emotion, Speed, Volume, Pitch, Language Boost and Audio Format, where WAV works in non-streaming mode only.
Image
1 operationGenerate an image
image.generateWhat you see in n8n
Notes & use cases
Turns a written description into one or several pictures, returned as binary files or as URLs.
Key parameters
- Prompt: the description of what to draw, up to 1500 characters, often assembled from item fields.
- Model:
image-01, the image generation model of the node. - Aspect Ratio: eight framings with their pixel sizes, from
1:1at 1024x1024 to21:9at 1344x576. - Number of Images: 1 to 9 per request, useful when a human picks from a batch.
- Download Image: binary file or URL only.
- Options: Prompt Optimizer rewrites the prompt before sending it, Seed makes a result reproducible with the same parameters.
Text
1 operationMessage a model
text.messageWhat you see in n8n
Notes & use cases
Sends one or more messages to a MiniMax language model and returns its answer, raw or trimmed.
Key parameters
- Model: seven options from
MiniMax-M2toMiniMax-M2.7, with highspeed variants. - Messages: the conversation itself, each entry pairing a Prompt with a Role,
userto ask,assistantto set a tone or persona. - Simplify Output: on, the node hands back a short response object instead of the full raw payload.
- Options: System Message, Hide Thinking to strip the reasoning, Maximum Number of Tokens (1024 by default), Max Tool Calls Iterations (15, or 0 for no limit), Output Randomness (Temperature) and Output Randomness (Top P).
Video
2 operationsGenerate video from text prompt
video.textToVideoWhat you see in n8n
Notes & use cases
Produces a short clip from a written scene, with camera moves written into the prompt itself.
Key parameters
- Prompt: the scene, up to 2000 characters; bracket commands such as
[Push in]or[Pan left]drive the camera. - Model: four choices,
MiniMax-Hailuo-2.3andMiniMax-Hailuo-02for realism and longer output,T2V-01-Directorwhen the camera commands matter,T2V-01as the standard. - Duration (Seconds): 6 or 10.
- Resolution: 720P, 768P or 1080P, and what is available depends on the model chosen.
- Download Video: the clip as binary data, or only its URL.
- Prompt Optimizer: rewrites the scene description before generation.
Generate video from image
video.imageToVideoWhat you see in n8n
Notes & use cases
Starts from a still picture and animates it.
Key parameters
- Image Input Type:
urlorbinary, and that choice decides which of the next two fields is required. - Image URL: the public address of the first frame, JPG, JPEG, PNG or WebP under 20MB.
- Input Data Field Name: the binary field carrying the image when it arrives from an upload node rather than a link.
- Model: six options, from
I2V-01toMiniMax-Hailuo-2.3-Fast. - Prompt: optional here, up to 2000 characters, same bracket syntax for camera moves.
- Options: Last Frame Image Input Type, supported by MiniMax-Hailuo-2.3 and MiniMax-Hailuo-02 only, and Subject Reference Input Type, supported by MiniMax-Hailuo-2.3 only, for facial consistency.
Need help automating MiniMax with n8n?
A person reads every message.
MiniMax and n8n, the questions that come next
01Is the MiniMax node included in n8n?
02What do you need for the n8n MiniMax node to work?
03What are the limits of the MiniMax node in n8n?
04When should you use the MiniMax node instead of an AI Agent?
05n8n or Make for MiniMax generation?
Get our weekly integration tips.
No spam. Unsubscribe anytime.



