[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [FLUX 3 Max Image to Video](https://spiral.ai/integrations/opencode/flux-3-max-image-to-video)

# How to Use FLUX 3 Max Image to Video in opencode

FLUX 3 Max Image to Video animates a still, with an optional ending image to guide the finish. Unlike FLUX 3 Max Text to Video, it starts with your composition, so the prompt can focus on movement.

|  |  |
| --- | --- |
| Model | FLUX 3 Max Image to Video |
| Available through | fal |
| Category | Video |
| Price | $1.105 per run at the default inputs. `resolution`: 720p (default) $1.105, 1080p $1.885. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with FLUX 3 Max Image to Video in opencode

- Use the ceramic cup photo in the project's assets with FLUX 3 Max Image to Video. Make an 8-second, 1080p shot with a slow push toward the cup, steam rising, and quiet room sound.
- Use the closed-box and open-box images in this project as the opening and ending frames for FLUX 3 Max Image to Video. Make a 10-second reveal with a fixed camera, paper rustling, and a lid sliding onto the table.
- Animate the image I attach with FLUX 3 Max Image to Video: slow push-in, leaves moving in the wind. Save the result in ./assets.
- Turn this product photo into a 5-second rotating shot with FLUX 3 Max Image to Video.
- Bring this portrait to life with FLUX 3 Max Image to Video: a subtle smile and a blink.

## How to set up FLUX 3 Max Image 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 FLUX 3 Max Image 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": "blackforestlabs/flux-3-max/image-to-video",
    "input": {
      "prompt": "The monkey leans into his microphone and says, \"Welcome back to the show!\" The polar bear laughs and nods along, tapping the desk. Jungle birdsong on the left,…",
      "image_url": "https://storage.googleapis.com/falserverless/example_inputs/veo31_i2v_input.jpg"
    }
  }'
```

Then paste one of the prompts above: opencode finds FLUX 3 Max Image to Video on Spiral, shows the price and runs it.

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

## FLUX 3 Max Image to Video tools and prices

- [FLUX 3 Max Image to Video](https://spiral.ai/tools/fal/blackforestlabs/flux-3-max/image-to-video) (fal): $1.105 per run at the default inputs. `resolution`: 720p (default) $1.105, 1080p $1.885.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| end_image_url |  | — | Optional URL of the image used as the last frame of the video (PNG, JPEG, or WebP). |
| duration | 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 | 5 | Duration of the generated video in seconds. |
| resolution | 720p, 1080p | 720p | Resolution of the generated video. |
| reasoning_level | low, high | high | How much effort the harness spends reasoning about the given prompt. Higher reasoning effort means slower generation time. |
| aspect_ratio | auto, 21:9, 2:1, 16:9, 4:3, 1:1, 3:4, 9:16 | auto | Aspect ratio of the generated video. `auto` uses 16:9 for text prompts and follows the first image otherwise. |
| generate_audio |  | true | Whether to generate audio for the video. |

## What can you do with FLUX 3 Max Image to Video in opencode?

Turn a project's creative brief into short video assets with directed motion and sound. A coding agent can prepare shot descriptions from project files and place reviewed clips into the app or site.

### Product scene concepts

Explore a short tabletop scene: a ceramic cup sits beside a pouring kettle as steam rises. Direct one camera move and the sound of pouring water.

### Establishing shots

Create a brief opening view for a fictional location, such as a harbor at dawn with boats rocking and distant gulls.

### Short narrative beats

Stage one story moment, such as a traveler entering a station and pausing beneath the departure board. Keep the action within a 5 to 20-second shot.

### Camera movement studies

Compare a locked camera with a slow push toward the same subject. Use the clips to choose a visual direction before planning a shoot.

### Atmosphere inserts

Make short inserts of rain, drifting steam, or wind moving fabric. Pair the visible movement with specific environmental sounds.

### Dialogue scene tests

Try a brief exchange or a single spoken line before committing to a longer scene. Review the picture and generated speech together.

### Animate a product photograph

Start with a supplied product photo and direct movement around its opening composition, such as a slow camera approach and shifting reflections.

### Connect two planned frames

Supply opening and ending images for a packaging reveal, then describe the action that connects them.

## Overview

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

## FLUX 3 Max Image to Video in other agents

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

## More opencode guides

- [FLUX 3 Keyframes to Video Draft](https://spiral.ai/integrations/opencode/flux-3-keyframes-to-video-draft)
- [FLUX 3 Max Keyframes to Video](https://spiral.ai/integrations/opencode/flux-3-max-keyframes-to-video)
- [FLUX 3 Keyframes to Video](https://spiral.ai/integrations/opencode/flux-3-keyframes-to-video)
- [FLUX 3 Max Text to Video](https://spiral.ai/integrations/opencode/flux-3-max-text-to-video)
- [FLUX 3 Image to Video Draft](https://spiral.ai/integrations/opencode/flux-3-image-to-video-draft)
- [FLUX 3 Text to Video](https://spiral.ai/integrations/opencode/flux-3-text-to-video)

## Questions about FLUX 3 Max Image to Video in opencode

**Can opencode use FLUX 3 Max Image to Video?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run FLUX 3 Max Image to Video like any built-in tool.

**How much does FLUX 3 Max Image to Video cost in opencode?**

$1.105 per run at the default inputs. `resolution`: 720p (default) $1.105, 1080p $1.885. 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 FLUX 3 Max Image to Video in opencode?**

No. Spiral runs FLUX 3 Max Image 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 FLUX 3 Max Image to Video in opencode?**

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

**Does opencode wait while FLUX 3 Max Image to Video runs?**

FLUX 3 Max Image to Video runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.

**What is FLUX 3 Max useful for?**

Use it for short scenes with directed action, camera movement, lighting, and generated sound. Practical starting points include product scenes, establishing shots, and short story beats.

**How long can a FLUX 3 Max video be?**

Each generation lasts 5 to 20 seconds, in one-second increments. Plan a longer piece as separate shots to edit together.

**Is FLUX 3 Max's 1080p output native?**

The video is generated at 720p, then upscaled for 1080p delivery. Exact pixel dimensions depend on the chosen frame shape.

**Can FLUX 3 Max make dialogue and sound effects?**

Yes. Speech, effects, and environmental sound can be generated alongside the picture; describe the intended sound in your scene prompt.

**How should I describe camera movement?**

Name one movement and its speed, such as a slow push toward the subject. Start with that simple direction before adding more camera behavior.

