Video Editor
Edit existing videos with AI. Change style, add effects, modify scenes, or transform the entire look.
Still needed: Video to Edit, Instructions
Runs on
APIExamples
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.
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.
bun add @pipe2-ai/sdk 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: "Cut the dead air at the start and add a slow zoom on the speaker",
model: "gemini-omni-flash",
},
});pip install pipe2 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": "Cut the dead air at the start and add a slow zoom on the speaker",
"model": "gemini-omni-flash",
},
))go get github.com/pipe2-ai/sdk-go client := pipe2.NewClient(os.Getenv("PIPE2_TOKEN"))
input := json.RawMessage(`{
"video_url": "https://example.com/interview.mp4",
"instructions": "Cut the dead air at the start and add a slow zoom on the speaker",
"model": "gemini-omni-flash"
}`)
run, err := pipe2.RunPipeline(context.Background(), client, "video-editor", input)
if err != nil {
log.Fatal(err)
}brew install pipe2-ai/tap/pipe2 pipe2 pipelines run \
--pipeline video-editor \
--input-json '{"video_url": "https://example.com/interview.mp4", "instructions": "Cut the dead air at the start and add a slow zoom on the speaker", "model": "gemini-omni-flash"}' \
--waitParameters
-
instructionsrequired -
What to change, in plain language.
string -
video_urlrequired -
Public URL of the video to edit.
string -
model -
Video engine to use. Leave unset and Pipe2 picks one that supports your edit.
gemini-omni-flashgrok-imagine-videodefaultgemini-omni-flash
Show all 4 inputs
-
reference_images -
Optional: up to 4 images the edit borrows a subject or style from. Gemini Omni Flash only — Grok Imagine cannot read reference images.
array
Use it from an AI agent
Point any MCP client at pipe2 and your agent gets these tools. It finds this pipeline, reads the same schema above, then runs it.
- list_pipelines
- get_pipeline_schema
- run_pipeline
- get_pipeline_run_status
- request_upload
https://mcp.pipe2.ai/mcp {
"mcpServers": {
"pipe2ai": {
"url": "https://mcp.pipe2.ai/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}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
- Upload a video: any short clip up to ~8 seconds
- Describe the changes: what to add, remove, or modify
- 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
Frequently Asked Questions
What video formats are supported?
How long does editing take?
Does it preserve the original video?
Can I chain edits?
How many credits does it cost?
Explore more pipelines
See all →Generate AI videos from a text prompt, image, or reference clip. Cinematic shots, product reveals, lifestyle ads, with synchronized audio and natural motion.
Generate AI images from text or reference photos. Product shots, character art, posters with readable text, photoreal portraits, high resolution in seconds.
Turn text into natural speech with dozens of voices, 70+ languages, and custom style directions for tone, accent, and pacing.
Generate original background music that matches any mood, genre, and length you describe. Royalty-free, ready in seconds.