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

opencode · VideoReleased 2025-10-28

How to Use Hailuo 2.3 Pro Text to Video in opencode

Create six-second 1080p scenes from a written brief with Hailuo 2.3 Pro Text to Video. Unlike Hailuo 2.3 Pro Image to Video, it starts without a source image.

Prompts to try with Hailuo 2.3 Pro Text to Video in opencode

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

Use Hailuo 2.3 Pro Text to Video to create a six-second 1080p background shot for the travel page in this project: a mountain cabin at dawn, mist moving through the trees, and a slow camera push toward the door. Match the mood described in the design brief.

Hailuo 2.3 Pro Text to Videoopencode
Try asking
  • Use Hailuo 2.3 Pro Text to Video to draft a ten-second 768p scene for the game's opening: an illustrated traveler walks toward a wooden gate and stops in front of it. Follow the traveler with the camera and use the project's art direction.

  • Estimate, then generate a 5-second 9:16 clip with Hailuo 2.3 Pro Text to Video: a paper boat drifting down a rainy street. Save the result in ./assets.

  • Make a 10-second product teaser with Hailuo 2.3 Pro Text to Video for a smartwatch, slow orbit shot, studio lighting.

  • Generate three 5-second b-roll clips of a busy coffee shop with Hailuo 2.3 Pro Text to Video and list what each cost.

How to set up Hailuo 2.3 Pro Text to Video in opencode

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

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 Hailuo 2.3 Pro Text to Video

    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": "fal-ai/minimax/hailuo-2.3/pro/text-to-video",
        "input": {
          "prompt": "The camera follows the snowboarder as they carve down the mountain through deep powder, each turn sending up huge rooster tails of snow. They navigate between…"
        }
      }'

Then paste one of the prompts above: opencode finds Hailuo 2.3 Pro Text to Video on Spiral, shows the price and runs it.

Hailuo 2.3 Pro Text to Video providers and prices

Spiral runs Hailuo 2.3 Pro Text to Video through fal. Open a card for today's price, with every fee included.

falVideo
MiniMax Hailuo 2.3 Pro · Text to Video
fal-ai/minimax/hailuo-2.3/pro/text-to-video

Settings you can ask for

Hailuo 2.3 Pro Text to Video works from your prompt. Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Prompt optimizeron or offon

Whether to use the model's prompt optimizer

Every API field of MiniMax Hailuo 2.3 Pro · Text to Video is on its tool page: open its card above.

What can you do with Hailuo 2.3 Pro Text to Video in opencode?

Create short motion assets for a site, app, or game using the project's visual brief. Let the coding agent prepare focused shots and place the selected footage where the project needs it.

Product ad shots

Create a short product shot with a deliberate movement, such as a bottle rotating under studio lighting. Build the image-based shot around a product still, or describe the scene for text-to-video.

Human movement studies

Try a short dance turn, a walking shot, or a simple athletic movement. Use the result to review timing, body movement, and camera placement before planning a shoot.

Character reaction shots

Plan a close-up around a small expression change, such as surprise becoming relief. Keep the camera steady so the expression remains the focus.

Stylized story scenes

Draft an anime or illustrated scene around one action, such as a traveler opening a gate. Review the visual treatment and movement before expanding the story.

Establishing shots from a brief

Describe a location, lighting, and one camera move to draft an opening shot. Try a camera moving toward a mountain cabin or across an empty theater.

Scene concept tests

Turn a written scene idea into a short visual test before commissioning artwork. Compare realistic and illustrated treatments of the same action.

Questions about Hailuo 2.3 Pro Text to Video in opencode

Can opencode use Hailuo 2.3 Pro Text to Video?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Hailuo 2.3 Pro Text to Video like any built-in tool.

How much does Hailuo 2.3 Pro Text to Video cost in opencode?

$0.637 per run at the default inputs. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

Do I need a fal account to use Hailuo 2.3 Pro Text to Video in opencode?

No. Spiral runs Hailuo 2.3 Pro Text to Video on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up Hailuo 2.3 Pro Text to Video in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while Hailuo 2.3 Pro Text to Video runs?

Hailuo 2.3 Pro Text to Video runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.

What is Hailuo 2.3 useful for?

Use it for short shots built around movement: a product turning, a person dancing, or a character reacting. MiniMax highlights physical actions, stylization, and subtle facial expressions as strengths.

Can Hailuo 2.3 make animation?

Yes. MiniMax specifically names anime and illustration among its supported styles, so you can request a stylized scene rather than a photorealistic one.

How should I describe a shot?

Describe the subject, its movement, the camera movement, and the lighting. Keep the brief focused on one shot so you can judge whether the requested action came through.

How much action should I put in one clip?

Start with one clear action, such as a dancer completing a turn or a person looking up and smiling. Use separate clips for additional scenes, then edit them into a longer sequence.

How can I compare different motion ideas?

Keep the subject, lighting, and framing consistent, then change one movement at a time. For example, compare a slow camera push with a stationary camera before changing the subject's action.

Get started

Start using Hailuo 2.3 Pro Text to Video in opencode

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

Paste this into opencode:

Set up opencode

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