[Integrations](https://spiral.ai/integrations) › [Devin](https://spiral.ai/integrations/devin) › [RIFE](https://spiral.ai/integrations/devin/rife)

# How to Use RIFE in Devin

RIFE generates intermediate frames to smooth motion in existing video. Use it for a finishing pass on camera pans, product footage, or animation, and review scene cuts for smearing.

|  |  |
| --- | --- |
| Model | RIFE |
| Available through | fal |
| Category | Video |
| Price | Up to $0.1014 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 RIFE in Devin

- Use RIFE on the product rotation video in this project's assets. Process a preview first and prepare a comparison with the original.
- Find the camera pan in this project's demo video and use RIFE to interpolate it. Keep the original and processed clips available for review.
- Use RIFE on the edited walkthrough video in this repository with scene detection enabled. Prepare previews around each cut so I can inspect smearing.
- Use RIFE to create a motion preview from the project's rendered animation. Include the section with the most complex movement in the comparison.
- Use RIFE on the project's promotional video twice, with scene detection enabled and disabled. Prepare a comparison around the cuts and the lighting change.

## How to set up RIFE in Devin

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

### Use Spiral's MCP server

1. **Add a custom MCP**: Open Customize › MCPs. Click + and choose New MCP. Fill in:

2. **Sign in to Spiral and approve**: In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.

3. **Check it**: On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.

### Use the Spiral skill

1. **Send Devin 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 RIFE**: 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/rife/video",
    "input": {
      "video_url": "https://storage.googleapis.com/falserverless/example_inputs/interpolation-video-input.mp4"
    }
  }'
```

Then paste one of the prompts above: Devin finds RIFE on Spiral, shows the price and runs it.

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

## RIFE tools and prices

- [RIFE · Video Interpolation](https://spiral.ai/tools/fal/fal-ai/rife/video) (fal): $0.00169 per second.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| num_frames | 1 to 4 | 1 | The number of frames to generate between the input video frames. |
| use_scene_detection |  | false | If True, the input video will be split into scenes before interpolation. This removes smear frames between scenes, but can result in false positives if the scene detection is not accurate. If False, the entire video will be treated as a single scene. |
| use_calculated_fps |  | true | If True, the function will use the calculated FPS of the input video multiplied by the number of frames to determine the output FPS. If False, the passed FPS will be used. |
| fps | 1 to 60 | 8 | Frames per second for the output video. Only applicable if use_calculated_fps is False. |
| loop |  | false | If True, the final frame will be looped back to the first frame to create a seamless loop. If False, the final frame will not loop back. |

## What can you do with RIFE in Devin?

Turn existing project videos into smoother motion previews with RIFE. Have your coding agent select representative sections and prepare comparisons before replacing a video asset.

### Product rotation previews

Interpolate an existing turntable video, then compare the product's outline during rotation before using the processed version.

### Camera pan cleanup

Test interpolation on a continuous camera pan and compare its motion with the original at normal playback speed.

### Animation review

Create a smoother preview from an existing animation clip. Review the result against the original timing before choosing an export.

### Generated video finishing

Try an interpolation pass on an existing generated clip. Compare the busiest motion before deciding whether to keep the processed version.

### Edited montage review

Process a montage with scene detection, then inspect each cut for smearing and incorrectly detected scene changes.

### Rendered walkthrough previews

Test smoother motion on an existing architectural walkthrough. Compare camera movement through doorways and around corners before accepting the result.

## Overview

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

## RIFE in other agents

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

## More Devin guides

- [Pixelcut Looping Video](https://spiral.ai/integrations/devin/pixelcut-looping-video)
- [Seedance 1.0 Pro Fast Image to Video](https://spiral.ai/integrations/devin/seedance-1-0-pro-fast-image-to-video)
- [PixVerse VibeMV](https://spiral.ai/integrations/devin/pixverse-vibemv)
- [Seedance 1.0 Pro Fast Text to Video](https://spiral.ai/integrations/devin/seedance-1-0-pro-fast-text-to-video)
- [PixVerse V6 Transition](https://spiral.ai/integrations/devin/pixverse-v6-transition)
- [Seedance 1.0 Pro Image to Video](https://spiral.ai/integrations/devin/seedance-1-0-pro-image-to-video)

## Questions about RIFE in Devin

**Can Devin use RIFE?**

Yes. Add Spiral to Devin as an MCP server, and Devin can find and run RIFE like any built-in tool.

**How much does RIFE cost in Devin?**

Up to $0.1014 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 Devin plan is separate.

**Do I need a fal account to use RIFE in Devin?**

No. Spiral runs RIFE on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up RIFE in Devin?**

About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.

**Does Devin wait while RIFE runs?**

RIFE runs in the background. Devin starts the run, checks on it and gives you the video when it's ready.

**What does RIFE do to a video?**

RIFE generates frames between existing frames. Use it when you want smoother motion in footage you already have.

**What should I tell my agent when using RIFE?**

Identify the source video and the motion you want to smooth, such as a camera pan or product rotation. Ask for a preview of that section before processing the complete edit.

**How should I handle scene cuts?**

Try scene detection when your video contains cuts to reduce smearing between shots. Review the result because scene detection can also flag cuts incorrectly.

**What footage needs the closest review?**

Start with complex motion and changes in lighting, which the RIFE paper identifies as challenges for frame interpolation. Compare those sections with the original before accepting the result.

**How should I evaluate whether interpolation helped?**

Compare the original and processed video at normal playback speed, then inspect the most difficult motion. For edited footage, include the frames around every scene cut in your review.

