# Remake a video

> Turn any motion video into an editable Raylight project, shot by shot.

Give your AI a video. It studies every frame and builds the same film in Raylight, layer by layer, ready to edit. Remakes are free.

> **Let your AI do it** Paste this into Claude Code or Codex and it handles every step below.

Prompt:

```text
Read https://www.raylight.app/docs/remake.md and remake this video in Raylight: <file or link>
```

## What you need

- [Claude Code](https://claude.com/claude-code) or [Codex](https://openai.com/codex), signed in with your plan. The study runs on it.
- [Node.js](https://nodejs.org) 20 or newer.
- A Raylight account. You sign in during the first run.
- A video up to 3 minutes and 1 GB. MP4, MOV or WebM, or a link to one.

## Steps

1. **Install the skill.** Run this once in your terminal, from any folder. It adds the `video-to-project` skill to Claude Code and Codex.

   ```bash
   npx raylight skills add
   ```
2. **Start a remake.** Open Claude Code or Codex and type the command with your video's path or link.

   Claude Code:

   ```text
   /video-to-project ~/Downloads/launch.mp4
   ```

   Codex:

   ```text
   $video-to-project ~/Downloads/launch.mp4
   ```
3. **Sign in and confirm.** Open the sign-in link it sends. Then tell it you own the video or have the right to use it. Nothing uploads before you answer.
4. **Keep the tab open.** A Raylight tab opens and builds the project shot by shot. Switch tabs freely, just don't close it.
5. **Edit.** When it's done you get the project link and a side by side video of the original next to the remake.

## Without the skill

Run it straight from the terminal. It picks whichever of Claude Code or Codex is installed.

```bash
npx raylight video-to-project ~/Downloads/launch.mp4
```

## If something stops

| If | Then |
| --- | --- |
| You hit your Claude Code or Codex limit | Run the same command after the limit resets. Nothing is lost. |
| The tab closed or your laptop slept | Reopen the project. The build picks back up. |
| The terminal closed | Run `npx raylight video-to-project --resume`. |
| The link is YouTube, Vimeo or X | Install [yt-dlp](https://github.com/yt-dlp/yt-dlp), or download the video and pass the file. |
| You want to stop | Click **Cancel** on the banner in the project. Shots built so far stay. |

One remake runs at a time, up to 5 a day.

## Keep editing with AI

Connect Raylight to your AI to change copy, colors or product shots in the finished project.

Claude Code:

```bash
claude mcp add --transport http raylight https://api.raylight.app/mcp
```

Codex:

```bash
codex mcp add raylight --url https://api.raylight.app/mcp
codex mcp login raylight
```

In Claude Code, type `/mcp` afterward to sign in. Other apps: see [AI assistants](https://www.raylight.app/docs/mcp.md).

> **Your data** Your video and its breakdown may help improve Raylight's motion library. Turn that off in Settings, Improve Raylight.

## More

- Previous: [AI assistants](https://www.raylight.app/docs/mcp.md)
- Next: [Greenlight links](https://www.raylight.app/docs/greenlight-links.md)
- All docs: https://www.raylight.app/llms.txt
- Everything in one file: https://www.raylight.app/llms-full.txt
- OpenAPI: https://api.raylight.app/v1/openapi.json
