이미지Black Forest Labs

Inpaint (FLUX Fill)

프롬프트에서 마스크된 영역을 다시 칠하고 나머지 이미지에 혼합합니다.

model: "inpaint-flux-fill"

API 문서에이전트 문서

모드

하나의 모델 ID, 아래의 모든 모드. 전송하는 필드가 모드를 선택하고, 가격은 모드에 따릅니다.

모드선택 기준일반 가격
이미지 입력, 이미지 출력image_urlmask_url
요청 예시
{
  "model": "inpaint-flux-fill",
  "input": {
    "image_url": "https://example.com/image.jpg",
    "mask_url": "https://example.com/image.jpg",
    "prompt": "a lighthouse at dusk"
  }
}
$0.050

실제 실행

이것은 옆 이미지에 대한 도구의 실제 출력입니다. 아래 플레이그라운드는 같은 입력으로 열리므로 직접 실행해볼 수 있습니다.

Inpaint (FLUX Fill): 전
전
Inpaint (FLUX Fill): 후
후

입력

필수

What to paint in the masked area.

필수

The image to work on (https URL, or an upload URL from POST /v1/uploads).. A public https URL, or an upload URL from POST /v1/uploads.

필수

White marks the area to repaint, black is kept (https URL).. A public https URL, or an upload URL from POST /v1/uploads.

고급 옵션 (3)

주요 컨트롤 이상의 공급자 설정. 모델의 기본값을 사용하려면 비워두세요.

선택사항

Let the model rewrite the prompt for better results.

선택사항

File format of the result.

선택사항

Random seed. The same seed and input reproduce the same result.

결과

Inpaint (FLUX Fill)예시 결과물

이 모델의 실제 결과입니다. 실행하여 여기서 당신의 결과를 확인하세요.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "inpaint-flux-fill",
  "input": {
    "image_url": "https://assets.arteza.ai/generations/6d82f9c2-c1a0-4ad0-9b3e-96a532c1748d/babdfe77-4b1f-47a5-b168-02ca5830abb6/0.jpg",
    "mask_url": "https://assets.arteza.ai/uploads/6d82f9c2-c1a0-4ad0-9b3e-96a532c1748d/api/oqsLYVdazMWOeIzRouFbFA.png",
    "prompt": "a small red ribbon bow"
  }
}'
Inpaint (FLUX Fill) 1Inpaint (FLUX Fill) 2