Skip to main content
Six MiniMax H3 Max editing nodes take a video or a still image as their starting point and edit that material. They run through your Comfy API account like the other H3 API nodes, and were added in ComfyUI 0.44.0. Three of them ship with workflow templates: Cast Swap (api_minimax_h3_max_recast), Aspect Ratio Reframe (api_minimax_h3_max_reframe) and Camera Control (api_minimax_h3_max_camera_control). The other three are in the node library under Partner Nodes > video > MiniMax, ready to drop into your own workflow. The first two are walked through below; the Camera Control template orbits a still image and lays a music bed under the clip. For generation with MiniMax H3, H3 Max, and H3 Max Turbo, see MiniMax H3 API Video Generation.
To use the Partner Nodes, you need to ensure that you are logged in properly and using a permitted network environment. Please refer to the Partner Nodes Overview section of the documentation to understand the specific requirements for using the Partner Nodes.
Make sure your ComfyUI is updated.Workflows in this guide can be found in the Workflow Templates. If you can’t find them in the template, your ComfyUI may be outdated.If nodes are missing when loading a workflow, possible reasons:
  1. You are not using the latest ComfyUI version (Nightly version)
  2. Some nodes failed to import at startup

MiniMax H3 Max: Cast Swap

Replace the people in a finished clip without a reshoot: the node keeps the motion, the framing, the cuts and the original audio, and generates the new people from your reference photos.

Run on Comfy Cloud

Open in Comfy Cloud

Download Workflow

Download JSON or search “Cast Swap: MiniMax H3 Max” in Template Library

Source clip: ad_video_demo.mp4

Source clip for the workflow, or use your own.

Replacement person: woman_in_red.png

Reference photo of the new person, or use your own.
Load your own clip and connect one to four photos, one per new person. By default the photos replace the main people in the clip from left to right, so connect them in the order you want. The prompt is optional: name the photos as @Image1 to @Image4 and say who becomes whom, plus anything that has to stay the same.
  • Source clip: 5 to 30 seconds, with no single shot longer than 15 seconds, and an aspect ratio between 0.4 and 2.5
  • Reference photos: at least 256 x 256 pixels, up to four
  • Resolution: 768P or 1080P
  • Enhance realism: off by default. Turn it on for more natural skin texture and a better blend into the scene

MiniMax H3 Max: Aspect Ratio Reframe

Fit a clip to a different aspect ratio without cropping the subject. The source keeps its position, timing and audio on the new canvas, and the model generates the surrounding picture.

Run on Comfy Cloud

Open in Comfy Cloud

Download Workflow

Download JSON or search “Aspect Ratio Reframe: MiniMax H3 Max” in Template Library

Source clip: futurist_pilot.mp4

Source clip for the workflow, or use your own.
The bundled demo turns a vertical portrait clip into a 16:9 frame. Load your own clip, pick the target aspect ratio and resolution, and use the prompt to describe what fills the new area, for example continuing the background that is already behind the subject on both sides.
  • Source clip: 0.5 to 300 seconds
  • Aspect ratio: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 or 9:21
  • Resolution: 480P, 768P or 1080P

MiniMax H3 Max editing nodes

In the Recast, Extend Video and Insert Video prompts, refer to connected references as @Image1, @Video1 or @Audio1, numbered in connection order. Recast checks @Image tags, Extend Video @Audio tags, and Insert Video @Image and @Video tags; a tag of a checked kind that points past the connected references of that kind stops the run with an error, and other kinds pass through unchanged. The Reference to Video generation node resolves all three. Rates per node and resolution are in the Minimax pricing table.