파이프라인으로 돌아가기

영상 편집

AI로 기존 영상을 편집하세요. 스타일 변경, 효과 추가, 장면 수정, 또는 전체 룩 변환.

13.1

입력이 필요합니다: 편집할 비디오, 지시사항

사용 모델

API

예시

전 / 후Grok Imagine Video

밤 → 황금빛 새벽 (시네마틱)

Grok Imagine Video. 울트라와이드 야간 활공을 구름 바다 위 황금빛 일출로 다시 상상했습니다. 지시 하나로 환경과 조명을 통째로 바꾸면서도 Pyra는 또렷하고 그대로입니다.

영상 편집 API

직접 작성한 코드에서 이 파이프라인을 호출하세요. 요청 한 번으로 실행이 시작되며, 모델은 별도의 엔드포인트가 아니라 입력 필드입니다.

4 개 입력
2 필수
13.1 to 29.8 크레딧
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"}' \
  --wait

API 토큰 발급 →

매개변수

instructions 필수

What to change, in plain language.

string
video_url 필수

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-video 기본값 gemini-omni-flash
입력 4개 모두 보기
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

AI 에이전트에서 사용하기

MCP 클라이언트를 pipe2에 연결하면 에이전트가 이 도구들을 사용할 수 있습니다. 이 파이프라인을 찾아 위와 동일한 스키마를 읽고 실행합니다.

  • 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" }
    }
  }
}

전체 API 레퍼런스 MCP 설정 CLI 레퍼런스

비디오 에디터: AI 기반 영상 편집

영상을 업로드하고 바꾸고 싶은 것을 설명하세요. AI가 영상을 수정합니다, 시각 효과 추가, 스타일 변경, 분위기 조정, 또는 전체 장면 변환.

작동 방식

  1. 영상 업로드: 약 8초 이내의 짧은 클립
  2. 변경 사항 설명: 추가, 제거, 또는 수정할 내용
  3. AI가 영상 편집: 손대지 않은 요소는 보존하면서 변경 사항을 적용합니다

편집할 수 있는 것

  • 시각 스타일 변경, 시네마틱하게 만들기, 필름 그레인 추가, 밤 장면으로 전환
  • 날씨 효과 추가, 비, 눈, 폭풍 구름, 안개
  • 색상과 분위기 수정, 따뜻한 톤, 차가운 채도 감소, 빈티지 룩
  • 요소 변환, 배경 변경, 사물 변형, 시각 효과 추가

자주 묻는 질문

어떤 영상 형식이 지원되나요?
MP4나 WebM 같은 표준 영상 형식을 업로드하세요. 매우 긴 클립은 먼저 Video Trim을 사용하세요.
편집에 얼마나 걸리나요?
복잡도에 따라 일반적으로 1~3분입니다. 파이프라인은 비동기로 처리됩니다.
원본 영상을 보존하나요?
AI는 장면의 나머지 부분을 일관되게 유지하려 하지만, 픽셀을 제자리에서 편집하는 대신 영상을 다시 생성합니다.
편집을 연결할 수 있나요?
네, 출력물을 Video Editor에 다시 넣어 반복적으로 다듬거나, Video Reel에 넣어 조립할 수 있습니다.
비용은 몇 크레딧인가요?
편집당 13.1 to 29.8 크레딧입니다.

더 많은 파이프라인 살펴보기

전체 보기 →
영상 생성
from 9.5
영상 생성
이미지 생성
0.2-6.4
이미지 생성
음성 생성
0.7-1.3
음성 생성
음악 생성
2.5-45.1
음악 생성