사용 모델
API예시
밤 → 황금빛 새벽 (시네마틱)
Grok Imagine Video. 울트라와이드 야간 활공을 구름 바다 위 황금빛 일출로 다시 상상했습니다. 지시 하나로 환경과 조명을 통째로 바꾸면서도 Pyra는 또렷하고 그대로입니다.
영상 편집 API
직접 작성한 코드에서 이 파이프라인을 호출하세요. 요청 한 번으로 실행이 시작되며, 모델은 별도의 엔드포인트가 아니라 입력 필드입니다.
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매개변수
-
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" }
}
}
}비디오 에디터: AI 기반 영상 편집
영상을 업로드하고 바꾸고 싶은 것을 설명하세요. AI가 영상을 수정합니다, 시각 효과 추가, 스타일 변경, 분위기 조정, 또는 전체 장면 변환.
작동 방식
- 영상 업로드: 약 8초 이내의 짧은 클립
- 변경 사항 설명: 추가, 제거, 또는 수정할 내용
- AI가 영상 편집: 손대지 않은 요소는 보존하면서 변경 사항을 적용합니다
편집할 수 있는 것
- 시각 스타일 변경, 시네마틱하게 만들기, 필름 그레인 추가, 밤 장면으로 전환
- 날씨 효과 추가, 비, 눈, 폭풍 구름, 안개
- 색상과 분위기 수정, 따뜻한 톤, 차가운 채도 감소, 빈티지 룩
- 요소 변환, 배경 변경, 사물 변형, 시각 효과 추가
자주 묻는 질문
어떤 영상 형식이 지원되나요?
편집에 얼마나 걸리나요?
원본 영상을 보존하나요?
편집을 연결할 수 있나요?
비용은 몇 크레딧인가요?
더 많은 파이프라인 살펴보기
전체 보기 →텍스트 프롬프트, 이미지, 또는 참조 클립으로 AI 영상을 생성합니다. 시네마틱 샷, 제품 공개, 라이프스타일 광고, 동기화된 오디오와 자연스러운 모션과 함께.
텍스트나 참조 사진에서 AI 이미지를 생성하세요. 제품 사진, 캐릭터 아트, 읽기 쉬운 텍스트가 담긴 포스터, 사실적인 인물 사진, 몇 초 만에 고해상도로.
수십 가지 음성, 70개 이상의 언어, 그리고 톤·억양·속도를 위한 맞춤 스타일 지시로 텍스트를 자연스러운 음성으로 바꿉니다.
원하는 분위기, 장르, 길이에 맞는 오리지널 배경 음악을 생성하세요. 로열티 프리, 몇 초 만에 준비됩니다.