[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [MiniMax Video 01 Text to Video](https://spiral.ai/integrations/opencode/minimax-video-01-text-to-video)

# How to Use MiniMax Video 01 Text to Video in opencode

MiniMax Video 01 Text to Video turns written scenes into six-second clips for storyboards, B-roll, and visual concepts. Unlike MiniMax Video 01 Image to Video, it builds the scene from text alone.

|  |  |
| --- | --- |
| Model | MiniMax Video 01 Text to Video |
| Available through | fal |
| Category | Video |
| Price | $0.65 per video. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with MiniMax Video 01 Text to Video in opencode

- Read the landing page copy and use MiniMax Video 01 Text to Video to create a six-second background shot of wind moving through tall grass at dawn. Keep the camera still, the light steady, and the center of the frame visually quiet.
- Read the game's opening scene brief and use MiniMax Video 01 Text to Video to make a six-second mood study of an empty railway platform in light rain. Use a slow pan and keep the lighting consistent.
- Use MiniMax Video 01 Text to Video to generate two six-second shots of a paper boat drifting across a pond. Keep the scene and camera description identical, change only the lighting from overcast to late afternoon, and set prompt_optimizer to false.
- Estimate, then generate a 5-second 9:16 clip with MiniMax Video 01 Text to Video: a paper boat drifting down a rainy street. Save the result in ./assets.
- Make a 10-second product teaser with MiniMax Video 01 Text to Video for a smartwatch, slow orbit shot, studio lighting.

## How to set up MiniMax Video 01 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.

```bash
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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run MiniMax Video 01 Text to Video**: One request; the result comes back by polling or a webhook.

```bash
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",
    "input": {
      "prompt": "A stylish woman walks down a Tokyo street filled with warm glowing neon and animated city signage. She wears a black leather jacket, a long red dress, and black…"
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## MiniMax Video 01 Text to Video tools and prices

- [MiniMax (Hailuo AI) Video 01 · Text to Video](https://spiral.ai/tools/fal/fal-ai/minimax/video-01) (fal): $0.65 per video.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| prompt_optimizer |  | true | Whether to use the model's prompt optimizer |

## What can you do with MiniMax Video 01 Text to Video in opencode?

Create short video assets for a website, app, or game from the project's creative brief. Have the coding agent turn the brief into a focused shot description, then review the six-second result in context.

### Storyboard motion tests

Test one six-second shot before committing to a sequence. Focus on the action, framing, and camera direction you need to evaluate.

### Atmospheric B-roll

Create a brief cutaway of rain on a window, steam above a cup, or grass moving in the wind. Give the shot one clear source of motion.

### Social ad concepts

Try a short visual idea for an ad, such as a backpack on a mountain overlook with a slow camera push. Compare the composition and mood before developing the campaign.

### Website background footage

Create a restrained scene for a website background, such as slowly drifting clouds or rippling water. Check the full six-second clip before placing text over it.

### Film mood studies

Explore how lighting, setting, and a simple camera move affect a shot. Keep the action unchanged while comparing different visual treatments.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## MiniMax Video 01 Text to Video in other agents

- [Amp](https://spiral.ai/integrations/amp/minimax-video-01-text-to-video)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/minimax-video-01-text-to-video)
- [Claude](https://spiral.ai/integrations/claude-desktop/minimax-video-01-text-to-video)
- [Claude Code](https://spiral.ai/integrations/claude-code/minimax-video-01-text-to-video)
- [Cline](https://spiral.ai/integrations/cline/minimax-video-01-text-to-video)
- [Codex](https://spiral.ai/integrations/codex/minimax-video-01-text-to-video)
- [Cursor](https://spiral.ai/integrations/cursor/minimax-video-01-text-to-video)
- [Devin](https://spiral.ai/integrations/devin/minimax-video-01-text-to-video)
- [dots](https://spiral.ai/integrations/dots/minimax-video-01-text-to-video)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/minimax-video-01-text-to-video)
- [Gemini](https://spiral.ai/integrations/gemini/minimax-video-01-text-to-video)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/minimax-video-01-text-to-video)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/minimax-video-01-text-to-video)
- [goose](https://spiral.ai/integrations/goose/minimax-video-01-text-to-video)
- [Grok](https://spiral.ai/integrations/grok/minimax-video-01-text-to-video)
- [Grok Build](https://spiral.ai/integrations/grok-build/minimax-video-01-text-to-video)
- [Hermes](https://spiral.ai/integrations/hermes/minimax-video-01-text-to-video)
- [Instinct](https://spiral.ai/integrations/instinct/minimax-video-01-text-to-video)
- [Manus](https://spiral.ai/integrations/manus/minimax-video-01-text-to-video)
- [Muse](https://spiral.ai/integrations/muse/minimax-video-01-text-to-video)
- [Muse Code](https://spiral.ai/integrations/muse-code/minimax-video-01-text-to-video)
- [n8n](https://spiral.ai/integrations/n8n/minimax-video-01-text-to-video)
- [Notion](https://spiral.ai/integrations/notion/minimax-video-01-text-to-video)
- [OpenClaw](https://spiral.ai/integrations/openclaw/minimax-video-01-text-to-video)
- [Perplexity](https://spiral.ai/integrations/perplexity/minimax-video-01-text-to-video)
- [Raycast](https://spiral.ai/integrations/raycast/minimax-video-01-text-to-video)
- [VS Code](https://spiral.ai/integrations/vscode/minimax-video-01-text-to-video)
- [Windsurf](https://spiral.ai/integrations/windsurf/minimax-video-01-text-to-video)
- [Zapier](https://spiral.ai/integrations/zapier/minimax-video-01-text-to-video)

## More opencode guides

- [MiniMax Video 01 Live Text to Video](https://spiral.ai/integrations/opencode/minimax-video-01-live-text-to-video)
- [Mirelo SFX 2.0 Video to Video](https://spiral.ai/integrations/opencode/mirelo-sfx-2-0-video-to-video)
- [MiniMax Video 01 Live Image to Video](https://spiral.ai/integrations/opencode/minimax-video-01-live-image-to-video)
- [Mureka 9.5 Lyrics Video](https://spiral.ai/integrations/opencode/mureka-9-5-lyrics-video)
- [MiniMax Video 01 Image to Video](https://spiral.ai/integrations/opencode/minimax-video-01-image-to-video)
- [OmniHuman](https://spiral.ai/integrations/opencode/omnihuman)

## Questions about MiniMax Video 01 Text to Video in opencode

**Can opencode use MiniMax Video 01 Text to Video?**

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

**How much does MiniMax Video 01 Text to Video 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 MiniMax Video 01 Text to Video in opencode?**

No. Spiral runs MiniMax Video 01 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 MiniMax Video 01 Text to Video in opencode?**

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

**Does opencode wait while MiniMax Video 01 Text to Video runs?**

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

**How long are MiniMax Video 01 clips, and what resolution do they use?**

Video 01 produces six-second clips at 1280 × 720 resolution and 25 frames per second. Plan each generation as a short shot.

**What should I include in a Video 01 prompt?**

Specify the subject, one main action, the setting, the camera movement, the lighting, and the visual style. For example, describe a cyclist riding along a coastal road with a slow tracking camera and steady afternoon light.

**How much text can a Video 01 prompt contain?**

Keep the video description within 2,000 characters. Use that space to explain the shot clearly.

**When should I turn off prompt optimization?**

Turn it off when you want more precise control over your wording. This is a useful choice when comparing carefully written shot descriptions.

**What actions should I avoid asking Video 01 to show?**

Treat intricate hand-object interactions, such as tying shoelaces, as difficult shots. Simplify the action and inspect the result for objects or anatomy that change between frames.

