> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# MinimaxHailuo03MaxRecastNode - ComfyUI Built-in Node Documentation

> Recast replaces the people in a video with the people from reference photos while keeping the motion, camera, cuts and sound of the source clip.

Recast replaces the people in a video with the people from reference photos while keeping the motion, camera, cuts and sound of the source clip. The video is uploaded, the Hailuo 03 Max job is polled, and the recast video comes back at the resolution you choose.

## Inputs

### Common Inputs

| Parameter | Description | Data Type | Required | Range |
| - | - | - | - | - |
| `model` | Model to use for video generation. | DYNAMIC\_COMBO | Yes | "MiniMax H3 Max" |

### MiniMax H3 Max Inputs

| Parameter | Description | Data Type | Required | Range |
| - | - | - | - | - |
| `video` | Source video, 5 to 30 seconds long; every shot must be 15 seconds or shorter. The aspect ratio must be between 0.4 and 2.5. | VIDEO | Yes | 5 to 30 seconds |
| `reference_images` | Growable slot: connect 1 to 4 photos (`image_1`...`image_4`), one per new person, at least 256x256 pixels. By default they replace the main people in the video from left to right. | IMAGE | Yes | 1 to 4 images |
| `prompt` | Optional. Who becomes whom, or what else to keep or change. Refer to the photos as `@Image1`..`@Image4`, for example "the man becomes @Image2". | STRING | Yes | 0 to 2000 characters |
| `resolution` | Resolution of the output video (default: "768P"). | COMBO | Yes | "768P" "1080P" |
| `enhance_realism` | More natural skin textures and better blending of the new people into the scene (default: false). | BOOLEAN | No | true false |
| `seed` | Random seed. The same request with the same seed gives similar, but not guaranteed identical, results (default: 42). | INT | Yes | 0 to 4294967295 |

## Outputs

| Output Name | Description | Data Type |
| - | - | - |
| `video` | The recast video with the new people in place. | VIDEO |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/MinimaxHailuo03MaxRecastNode/en.md)

***

**Source fingerprint (SHA-256):** `a9e6f9edf12653f9f361992a097d1d57e7ba14b3e7dd20008b0e022cabc14c1b`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.