Spiral gives your agent every tool with one account. Browse the tools →

Muse Code · VideoReleased 2026-10-01

How to Use MiniMax H3 Max Recast in Muse Code

MiniMax H3 Max Recast replaces people in existing footage using reference photos. Use it when the cast needs to change while the original performance, camera movement, cuts, and audio stay.

Prompts to try with MiniMax H3 Max Recast in Muse Code

Copy an example into Muse Code, or ask in your own words.

Use MiniMax H3 Max Recast on assets/demo.mp4 with assets/presenter.jpg. First check that the clip is 5 to 30 seconds and no shot exceeds 15 seconds, then replace only the central presenter and preserve the demonstration and audio.

MiniMax H3 Max RecastMuse Code
Try asking
  • Create two casting previews with MiniMax H3 Max Recast from assets/intro.mp4, using assets/cast-a.jpg and assets/cast-b.jpg in separate renders. Keep the same performance and cuts, and place the previews beside the source for review.

  • Use MiniMax H3 Max Recast on assets/dialogue.mp4. Replace the speaker on the right with assets/new-speaker.jpg, explicitly preserve the speaker on the left, and save a 1080p result.

  • Inspect the videos in assets/training and use MiniMax H3 Max Recast on clips that meet the 5 to 30-second total and 15-second shot limits. Replace the instructor with assets/instructor.jpg and flag clips that need editing first.

  • Use MiniMax H3 Max Recast to replace the host in assets/tour.mp4 with assets/host.jpg at 768p. Prepare a comparison view that lets me check the room details, handwritten signs, background people, and original audio.

How to set up MiniMax H3 Max Recast in Muse Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run MiniMax H3 Max Recast

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "fal",
        "model": "minimax/h3-max/recast",
        "input": {
          "video_url": "https://v3b.fal.media/files/b/0aac8cc6/lOHY4Mitfg5x1UDerR3RB_dw9Hs7ChHU-Fqwzz0W9cq_video.mp4",
          "reference_image_urls": [
            "<reference_image_urls>"
          ]
        }
      }'

Then paste one of the prompts above: Muse Code finds MiniMax H3 Max Recast on Spiral, shows the price and runs it.

MiniMax H3 Max Recast providers and prices

Spiral runs MiniMax H3 Max Recast through fal. Open a card for today's price, with every fee included.

falVideo
H3 Max Recast
minimax/h3-max/recast

Settings you can ask for

MiniMax H3 Max Recast works from your video URL, reference image URLs, and prompt. Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Resolution768P or 1080P1080P
Seeda whole number from 0

Random seed. Leave empty for a random one.

Enhance realismon or offoff

More natural skin textures and better blending of the new people into the scene. Off unless set.

Every API field of H3 Max Recast is on its tool page: open its card above.

What can you do with MiniMax H3 Max Recast in Muse Code?

Recast presenters in project videos while preserving the recorded performance and edit. A coding agent can inspect clip lengths, prepare explicit replacement instructions, and organize source-and-result comparisons.

Compare casting choices

Try different reference portraits on the same short performance. Compare the casting choices while keeping the source timing and edit.

Refresh a product presenter

Replace the presenter in an existing product demonstration. Explicitly ask to preserve the demonstration, product details, camera movement, and soundtrack.

Update training footage

Recast the instructor in a short training scene using a replacement portrait. Keep the original explanation and action timing, then review the result against the source.

Recast a property tour

Change the person presenting a room while requesting that the room finishes, walkthrough motion, camera path, and audio stay.

Replace one person in a dialogue

Map a reference portrait to one speaker in a short conversation. Explicitly identify the other speaker as someone to preserve.

Change a cast across cuts

Recast a short sequence with several shots using one reference photo per replacement person. Keep the total between 5 and 30 seconds and every shot at 15 seconds or less.

Questions about MiniMax H3 Max Recast in Muse Code

Can Muse Code use MiniMax H3 Max Recast?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run MiniMax H3 Max Recast like any built-in tool.

How much does MiniMax H3 Max Recast cost in Muse Code?

Up to $24.725855 per run at the default inputs for 60 seconds of input. `resolution`: 768P $18.095855, 1080P (default) $24.725855. $28.60 per 1M input tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

Do I need a fal account to use MiniMax H3 Max Recast in Muse Code?

No. Spiral runs MiniMax H3 Max Recast on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up MiniMax H3 Max Recast in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while MiniMax H3 Max Recast runs?

MiniMax H3 Max Recast runs in the background. Muse Code starts the run, checks on it and gives you the video when it's ready.

What is MiniMax H3 Max Recast good for?

Changing who appears in a finished clip while retaining its motion, camera movement, cuts, and audio. Suggested uses include presenter replacements, casting comparisons, and refreshed training footage.

How long can a clip be, and what resolution can it return?

The source must run from 5 to 30 seconds, and each individual shot must be 15 seconds or shorter. Output is available at 768p or 1080p.

How many people can I replace?

Supply up to four reference photos, one per replacement person. For scenes with several people, explicitly state which photo replaces which person.

Does replacing a presenter change their voice or spoken language?

The result keeps the source sound, including the original voice and spoken language. Plan any dubbing or translation as a separate task.

What should I put in the prompt?

State who becomes whom, then identify what should stay. For example: replace the presenter on the right with the person in reference photo 1; keep the other presenter, camera movement, room, and audio unchanged.

Get started

Start using MiniMax H3 Max Recast in Muse Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Muse Code:

Set up Muse Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options