파이프라인으로 돌아가기

이미지 에디터

AI로 어떤 이미지든 편집하세요. 스타일 변경, 객체 제거, 요소 수정, 또는 전체적인 느낌 변환.

1.9

입력이 필요합니다: 편집할 이미지, Edit Instructions

사용 모델

API

예시

전 / 후

소품 더하기: Pyra의 포근한 목도리

Grok Imagine Quality. 지시 하나로 Pyra에게 손뜨개 보라색 목도리를 둘러 줍니다. 더한 건 소품 하나뿐, 그 아래 드래곤은 그대로 — 같은 보라색 눈과 빛나는 무한대 문양입니다.

이 파이프라인 관련 기사

이미지 에디터 API

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

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.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
음악 생성