[Integrations](https://spiral.ai/integrations) › [Hermes](https://spiral.ai/integrations/hermes) › [RIFE](https://spiral.ai/integrations/hermes/rife)

# How to Use RIFE in Hermes

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 Hermes

- Each morning, use RIFE to prepare interpolation previews of new product rotation videos in our incoming video feed. Include the originals for comparison.
- Every Friday, use RIFE on the new camera pan clips in our approved video feed. Collect original and processed previews for editorial review.
- Each night, use RIFE on newly approved montage videos with scene detection turned on. Include previews around the cuts in the review collection.
- Every Monday, use RIFE to prepare previews of new rendered walkthrough videos from our production feed. Include sections with complex movement or lighting changes.
- Each week, use RIFE to process the animation clips marked for motion review in our video feed. Keep original and processed versions together for comparison.

## How to set up RIFE in Hermes

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

### Use the Spiral skill

1. **Send Hermes 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 Spiral's MCP server

1. **Add the server and sign in**: Hermes opens your browser: sign in to Spiral and click Authorize. No API key. When Hermes asks Enable all tools? \[Y/n/select], answer Y: n cancels without saving the server, and select hides the tools you leave out.

```bash
hermes mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --auth oauth \
  --connect-timeout 300
```

2. **Check it**: In a chat that was already open, run `/reload-mcp`.

```bash
hermes mcp list
hermes mcp test spiral
```

### 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: Hermes finds RIFE on Spiral, shows the price and runs it.

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

## 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 Hermes?

Prepare recurring motion previews of incoming videos with RIFE. Have your scheduled agent collect comparisons of difficult movement and scene cuts for review.

### 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 Hermes guides](https://spiral.ai/integrations/hermes)

## 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)
- [Devin](https://spiral.ai/integrations/devin/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)
- [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 Hermes guides

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

## Questions about RIFE in Hermes

**Can Hermes use RIFE?**

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

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

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 Hermes plan is separate.

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

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 Hermes?**

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

**Does Hermes wait while RIFE runs?**

RIFE runs in the background. Hermes 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.

