[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [FLUX Video Upscale](https://spiral.ai/integrations/opencode/flux-video-upscale)

# How to Use FLUX Video Upscale in opencode

FLUX Video Upscale enlarges existing footage for 1080p, 2K, or 4K delivery. Choose Precise for recognizable faces and products, or Creative to add texture detail when some visual changes are acceptable.

|  |  |
| --- | --- |
| Model | FLUX Video Upscale |
| Available through | fal |
| Category | Video |
| Price | Up to $3.51 per run at the default inputs for 60 seconds of input. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with FLUX Video Upscale in opencode

- Use FLUX Video Upscale on the project's 10-second, 1280 × 720 product demo. Enlarge it 2 times in Precise mode and save the result beside the original for review.
- Use FLUX Video Upscale to make Precise and Creative comparisons of the project's 8-second generated forest clip at 2 times enlargement. For Creative, describe dense leaves, rough bark, and moss.
- Find the project's 12-second interview excerpt and use FLUX Video Upscale with Precise mode at 1.5 times enlargement. Keep the original and add a comparison link to the review page.
- Use FLUX Video Upscale on the project's 6-second stone courtyard animation at 2 times enlargement in Creative mode. Guide the added detail with rough paving, weathered stone, and leafy trees.
- Use FLUX Video Upscale on the project's 15-second campaign clip in Precise mode at 2 times enlargement. Check that the MP4 is under 50 MB and no larger than 2560 × 1440 before processing.

## How to set up FLUX Video Upscale 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 Video Upscale**: 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-video-upscale",
    "input": {
      "video_url": "https://v3b.fal.media/files/b/0a93a27d/-iFpecUCsSdwXVMevsZa3_output_5s_448x256.mp4"
    }
  }'
```

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

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

## FLUX Video Upscale tools and prices

- [Flux Video Upscale · Video Upscaler](https://spiral.ai/tools/fal/blackforestlabs/flux-video-upscale) (fal): $0.0585 per second.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| upscale_factor | 1.5 to 3 | 2 | Output scaling factor. The source aspect ratio is preserved. |
| creativity | 0, 1 | 1 | Use 0 for a source-faithful upscale or 1 for creative detail enhancement. |
| prompt |  | — | Optional description used to guide creative detail enhancement. |
| safety_tolerance | 0 to 4 | 2 | Moderation strictness. Lower values are stricter. |

## What can you do with FLUX Video Upscale in opencode?

Prepare larger versions of short project videos for product pages, demos, and campaign previews. A coding agent can organize comparisons and select Precise for recognizable subjects or Creative for added texture detail.

### Product demonstration clips

Enlarge short product videos with Precise mode when the product's shape and recognizable details matter.

### Interview excerpts

Prepare short interview clips for larger displays with Precise mode, keeping the source audio.

### Generated landscape footage

Use Creative mode to add fine detail to generated mountains, forests, and other scenery.

### Texture studies

Enlarge existing fabric, stone, or foliage clips with Creative mode and a description of the visible material.

### Brand campaign footage

Use Precise mode for short campaign shots containing recognizable people, products, or brand assets.

### Generated crowd scenes

Add detail to generated crowd footage with Creative mode when individual identities do not need to remain exact.

## Overview

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

## FLUX Video Upscale in other agents

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

## More opencode guides

- [FLUX 3 Video Edit Fast](https://spiral.ai/integrations/opencode/flux-3-video-edit-fast)
- [Gemini Omni 1.1 Flash](https://spiral.ai/integrations/opencode/gemini-omni-1-1-flash)
- [FLUX 3 Text to Video Draft](https://spiral.ai/integrations/opencode/flux-3-text-to-video-draft)
- [Gemini Omni 1.1 Flash Preview](https://spiral.ai/integrations/opencode/gemini-omni-1-1-flash-preview)
- [FLUX 3 Text to Video](https://spiral.ai/integrations/opencode/flux-3-text-to-video)
- [Gemini Omni 1.2 Flash](https://spiral.ai/integrations/opencode/gemini-omni-1-2-flash)

## Questions about FLUX Video Upscale in opencode

**Can opencode use FLUX Video Upscale?**

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

**How much does FLUX Video Upscale cost in opencode?**

Up to $3.51 per run at the default inputs for 60 seconds of input. 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 Video Upscale in opencode?**

No. Spiral runs FLUX Video Upscale 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 Video Upscale in opencode?**

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

**Does opencode wait while FLUX Video Upscale runs?**

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

**What is FLUX Video Upscale useful for?**

It enlarges existing footage for 1080p, 2K, or 4K delivery. Use it to prepare product shots, portraits, generated scenes, or landscape clips for larger displays.

**Can FLUX Video Upscale change a face or product?**

Yes. Creative mode invents detail and can change recognizable features, so choose Precise when a person's appearance or a product's design matters.

**How long can the source video be?**

Each source clip must be an MP4 of 20 seconds or less and no larger than 50 MB. The maximum source resolution is 2560 × 1440.

**Does every enlargement produce 4K?**

No. Output size depends on the source dimensions and enlargement factor, which ranges from 1.5 to 3 times. The source aspect ratio is preserved, with a cap of about 14.4 megapixels per frame.

**Does FLUX Video Upscale keep the original audio?**

Yes. The output carries over the source clip's audio track.

