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

opencode · VideoReleased 2025-02-11

How to Use Hailuo T2V-01 Director in opencode

Hailuo T2V-01 Director turns written scenes into short videos with camera direction, useful for testing shot ideas. Unlike Hailuo I2V-01 Director, it starts from text alone.

Prompts to try with Hailuo T2V-01 Director in opencode

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

Read the website brief and use Hailuo T2V-01 Director to create a six-second workshop shot: [Pan right] A potter shapes a clay bowl beside a sunlit window. Save the clip with the project's draft media.

Hailuo T2V-01 Directoropencode
Try asking
  • Read the game trailer notes and use Hailuo T2V-01 Director for one six-second location reveal: [Pull out] A lone traveler stands at the entrance to a ruined stone city at dawn.

  • Use Hailuo T2V-01 Director to create a six-second placeholder for the forest section: [Tracking shot] A fox walks along a narrow woodland path in soft morning light. Add the clip to the local page preview.

  • Estimate, then generate a 5-second 9:16 clip with Hailuo T2V-01 Director: a paper boat drifting down a rainy street. Save the result in ./assets.

  • Make a 10-second product teaser with Hailuo T2V-01 Director for a smartwatch, slow orbit shot, studio lighting.

How to set up Hailuo T2V-01 Director 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 T2V-01 Director

    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/video-01-director",
        "input": {
          "prompt": "[Push in]Close up of a tense woman looks to the left, startled by a sound, in a darkened kitchen, Pots and pans hang ominously, the window in the kitchen is…"
        }
      }'

Then paste one of the prompts above: opencode finds Hailuo T2V-01 Director on Spiral, shows the price and runs it.

Hailuo T2V-01 Director providers and prices

Spiral runs Hailuo T2V-01 Director through fal. Open a card for today's price, with every fee included.

falVideo

Settings you can ask for

Hailuo T2V-01 Director 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 AI) Video 01 Director · T2V-01 Director (Camera Control) is on its tool page: open its card above.

What can you do with Hailuo T2V-01 Director in opencode?

Turn a project's creative brief into short camera-directed shots for a website mockup, trailer, or storyboard. Your coding agent can use project context to draft prompts and organize takes for review.

Preview a film shot

Test a push toward a character or a pull back that reveals the setting before planning a shoot. Keep each test to one short story beat.

Compare camera treatments

Generate separate takes of the same scene with a pan, a tracking shot, and a static camera. Review how each choice changes the emphasis.

Draft a product ad shot

Try a six-second close-up of a bottle, bag, or watch with a deliberate camera move. Use the result to discuss framing and pacing.

Create an establishing shot

Explore a street, landscape, or interior with a slow pan or reveal. Use the clip as a short introduction within a larger edit.

Plan a game trailer moment

Preview a character entering a scene or a camera revealing a location. Compare the shot with the trailer's intended mood before building the final sequence.

Prepare background footage for a website

Generate a short atmospheric shot for a page mockup, such as a quiet workshop or wind moving through trees. Review it in the layout before choosing final footage.

Questions about Hailuo T2V-01 Director in opencode

Can opencode use Hailuo T2V-01 Director?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Hailuo T2V-01 Director like any built-in tool.

How much does Hailuo T2V-01 Director cost in opencode?

$0.65 per video. 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 T2V-01 Director in opencode?

No. Spiral runs Hailuo T2V-01 Director 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 T2V-01 Director in opencode?

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

Does opencode wait while Hailuo T2V-01 Director runs?

Hailuo T2V-01 Director runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.

What is Hailuo 01 Director useful for?

Use it to test how a short shot should move: a camera pushing toward a subject, tracking an action, or revealing a scene. MiniMax designed the Director models to reduce random movement and improve control over camera direction.

How long are Hailuo 01 Director videos?

Clips run up to six seconds at 720p and 25 frames per second. Plan a longer sequence as separate shots that you edit together.

How should I describe camera movement?

Write the scene and add an explicit direction such as [Push in] or [Pan left]. Natural-language descriptions also work, but MiniMax says explicit commands produce more accurate results.

Can I combine camera movements?

Yes. Commands inside one bracket, such as [Pan left, Tilt up], happen simultaneously; keep combinations to three movements or fewer.

What limits should I plan around?

The six-second clip length and 720p output are the main production constraints. For a longer story, use short shots with a clear action in each.

Get started

Start using Hailuo T2V-01 Director 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