使用モデル
API例
夜 → 黄金の夜明け(シネマティック)
Grok Imagine Video。超ワイドの夜間飛行を、雲海の上に昇る黄金の朝日として再構成。指示1つで環境とライティングを丸ごと変えながら、Pyra自身はシャープなまま変わりません。
動画編集 API
このパイプラインをご自身のコードから呼び出せます。1回のリクエストで実行が始まり、モデルは独立したエンドポイントではなく入力フィールドです。
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以上の言語に対応し、トーン・アクセント・テンポをスタイル指定でカスタマイズできます。
記述したムード、ジャンル、長さに合ったオリジナルのBGMを生成。ロイヤリティフリーで、数秒で用意できます。