パイプライン一覧に戻る

画像エディター

あらゆる画像をAIで編集。スタイルの変更、オブジェクトの削除、要素の修正、あるいは見た目全体の変換ができます。

1.9

未入力の項目: 編集する画像, Edit Instructions

使用モデル

API

変更前 / 変更後

小物を足す:Pyraのあたたかいマフラー

Grok Imagine Quality。指示1つでPyraに手編みの紫のマフラーを。足したのは小物1つだけで、その下のドラゴンは同じまま——紫の瞳も、光る無限マークもそのままです。

このパイプラインに関する記事

画像エディター API

このパイプラインをご自身のコードから呼び出せます。1回のリクエストで実行が始まり、モデルは独立したエンドポイントではなく入力フィールドです。

4 個の入力
2 必須
1.9 to 5.3 クレジット
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: "image-editor",
  input: {
    image_url: "https://example.com/product.jpg",
    instructions: "Remove the background and place the product on a soft grey studio backdrop",
    model: "grok-imagine-image-quality",
  },
});
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="image-editor",
    input={
        "image_url": "https://example.com/product.jpg",
        "instructions": "Remove the background and place the product on a soft grey studio backdrop",
        "model": "grok-imagine-image-quality",
    },
))
go get github.com/pipe2-ai/sdk-go
client := pipe2.NewClient(os.Getenv("PIPE2_TOKEN"))

input := json.RawMessage(`{
  "image_url": "https://example.com/product.jpg",
  "instructions": "Remove the background and place the product on a soft grey studio backdrop",
  "model": "grok-imagine-image-quality"
}`)

run, err := pipe2.RunPipeline(context.Background(), client, "image-editor", input)
if err != nil {
    log.Fatal(err)
}
brew install pipe2-ai/tap/pipe2
pipe2 pipelines run \
  --pipeline image-editor \
  --input-json '{"image_url": "https://example.com/product.jpg", "instructions": "Remove the background and place the product on a soft grey studio backdrop", "model": "grok-imagine-image-quality"}' \
  --wait

APIトークンを取得 →

パラメータ

image_url 必須

Public URL of the image to edit.

string
instructions 必須

What to change, in plain language — the edit is applied to the whole image.

string
aspect_ratio

Output aspect ratio. Leave unset to keep the source image's ratio.

1:116:99:164:33:4 既定値 1:1
4 個の入力をすべて表示
model

Image engine to use. Leave unset and Pipe2 picks one that supports your edit.

grok-imagine-image-qualitygrok-imagine-imagegemini-3-1-flash-imagegemini-3-pro-image 既定値 grok-imagine-image-quality

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が画像を編集します。オブジェクトの削除、背景の変更、スタイルの変更、要素の追加、あるいは見た目の完全な変換, すべてテキストプロンプトから。

できること

  • オブジェクトの削除: 不要な要素をシームレスに消去
  • 背景の変更: 任意の背景を記述したシーンに差し替え
  • スタイル転送: 絵画、スケッチ、シネマティックなど任意のスタイルに変換
  • 要素の追加: オブジェクト、人物、エフェクトをシーンに挿入
  • カラーグレーディング: 言葉でムード、トーン、ライティングを調整

モデルを選ぶ

  • Grok Imagine: 最も低コストで自然言語による高速な編集
  • Grok Imagine Quality: より高い忠実度とディテールの保持
  • Gemini 3.1 Flash Image: 複数参照のディテールに対応した高い指示追従性
  • Gemini 3 Pro Image: 正確なテキストと複雑なレイアウト向けのプレミアム階層

よくある質問

どんな編集ができますか?
ほぼ何でも:オブジェクトの削除、背景の変更、スタイルの変更、要素の追加、ライティングと色の調整、あるいは画像の完全な再構想。
編集で元の構図は保持されますか?
はい, AIはあなたの画像をベースとして使い、記述した部分だけを修正します。変更を指示しない限り、構造と構図を保持します。
どのアスペクト比に対応していますか?
1:1(正方形)、16:9(横長)、9:16(縦長)、4:3(クラシック)、3:4(縦型)。
何クレジットかかりますか?
選ぶ品質レベルに応じて、1回の編集につき 1.9 to 5.3 クレジット。
他のパイプラインと連結できますか?
はい, 出力画像を image-motion に送って動画にしたり、text-card でオーバーレイに使ったり、video-generator の開始フレームにしたりできます。

他のパイプラインを見る

すべて見る →
動画生成
from 9.5
動画生成
画像生成
0.2-6.4
画像生成
音声生成
0.7-1.3
音声生成
音楽生成
2.5-45.1
音楽生成