Video Editor

From 13.1 credits

Edit existing videos with AI. Change style, add effects, modify scenes, or transform the entire look.

Still needed: Video to Edit, Instructions

Examples

Before / AfterGrok Imagine Video

Night → golden dawn (cinematic)

Grok Imagine Video. The ultrawide night glide reimagined as a golden sunrise over a sea of clouds: a full environment and lighting transformation from one instruction, Pyra herself kept sharp and untouched.

0103

Video Editor API

Call this pipeline from your own code. One request dispatches a run; the model is an input field, not a separate endpoint.

Get an API token
inputs
4
required
2
Pricing
13.1 to 33.3 credits
Language
Language
bun add @pipe2-ai/sdk
Run a pipeline
import { createClient } from "@pipe2-ai/sdk";

const client = createClient(process.env.PIPE2_TOKEN!);

const { run_pipeline } = await client.RunPipeline({
  pipeline_slug: "video-editor",
  input: {
    video_url: "https://example.com/interview.mp4",
    instructions: "Turn the scene into a snowy night. Keep the subject and camera movement unchanged.",
    model: "gemini-omni-1-1-flash",
  },
});

pip install pipe2
Run a pipeline
import asyncio
import os

from pipe2 import Pipe2Client

client = Pipe2Client(token=os.environ["PIPE2_TOKEN"])

run = asyncio.run(client.run_pipeline(
    pipeline_slug="video-editor",
    input={
        "video_url": "https://example.com/interview.mp4",
        "instructions": "Turn the scene into a snowy night. Keep the subject and camera movement unchanged.",
        "model": "gemini-omni-1-1-flash",
    },
))

go get github.com/pipe2-ai/sdk-go
Run a pipeline
client := pipe2.NewClient(os.Getenv("PIPE2_TOKEN"))

input := json.RawMessage(`{
  "video_url": "https://example.com/interview.mp4",
  "instructions": "Turn the scene into a snowy night. Keep the subject and camera movement unchanged.",
  "model": "gemini-omni-1-1-flash"
}`)

run, err := pipe2.RunPipeline(context.Background(), client, "video-editor", input)
if err != nil {
    log.Fatal(err)
}

brew install pipe2-ai/tap/pipe2
Run a pipeline
pipe2 pipelines run \
  --pipeline video-editor \
  --input-json '{"video_url": "https://example.com/interview.mp4", "instructions": "Turn the scene into a snowy night. Keep the subject and camera movement unchanged.", "model": "gemini-omni-1-1-flash"}' \
  --wait

Full API reference CLI reference

Frequently Asked Questions

What video formats are supported?
Upload any standard video format like MP4 or WebM. For very long clips, run Video Trim first.
How long does editing take?
Typically 1-3 minutes depending on complexity. The pipeline processes asynchronously.
Does it preserve the original video?
The AI aims to keep the rest of the scene consistent, though it regenerates the video rather than editing pixels in place.
Can I chain edits?
Yes, the output can be fed back into Video Editor for iterative refinements, or into Video Reel for assembly.
How many credits does it cost?
13.1 to 33.3 credits per edit.

Video Editor: AI-Powered Video Editing

Upload a video and describe what you want to change. AI modifies the footage, add visual effects, change the style, alter the mood, or transform entire scenes.

How It Works

  1. Upload a video: any short clip up to 10 seconds
  2. Describe the changes: what to add, remove, or modify
  3. AI edits the video: preserves untouched elements while applying your changes

What You Can Edit

  • Change the visual style, make it cinematic, add film grain, shift to night scene
  • Add weather effects, rain, snow, storm clouds, fog
  • Modify colors and mood, warm tones, cool desaturation, vintage look
  • Transform elements, change backgrounds, alter objects, add visual effects

Explore more pipelines

Video Generator
from 9.5
Video Generator
Image Generator
0.2-6.4
Image Generator
Audio Generator
0.002-40.0
Audio Generator
Music Generator
2.5-22.6
Music Generator