[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [RIFE](https://spiral.ai/integrations/grok/rife)

# How to Use RIFE in Grok

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 Grok

- Use RIFE to smooth the product rotation video I supplied. Give me a preview to compare with the original before processing the complete clip.
- Use RIFE on this camera pan. Prepare an original-versus-processed comparison so I can judge the motion at normal playback speed.
- Use RIFE on this montage with scene detection turned on. Include a preview around each cut for review.
- Use RIFE to make an interpolation preview of this animation. Start with the section containing the most complex motion.
- Use RIFE on this walkthrough with scene detection turned on and then turned off. Show me the section where the lighting changes so I can compare the results.

## How to set up RIFE in Grok

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

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok 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: Grok finds RIFE on Spiral, shows the price and runs it.

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

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

Create smoother versions of existing videos with RIFE from a conversation. Ask your chat agent to prepare a focused preview and help you compare motion and scene cuts.

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

## 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 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 Grok guides

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

## Questions about RIFE in Grok

**Can Grok use RIFE?**

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

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

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

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

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

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while RIFE runs?**

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

