新規ユーザーは無料クレジットを獲得、クレジットカード不要 はじめる
無料API
APIキー保護、無料で利用可能

Image Region Replace

Replace masked regions of one image with content from another image.

エンドポイント
POST /api/free/image-replace
無料枠: 5 RPM。有料ユーザー: 500 RPM。制限はすべての無料APIエンドポイントで共有されます。

利用メモ

  • White or bright mask pixels are replaced by the replacement image.
  • Returns JSON with a base64 PNG result.

API例

curl -X POST "https://api.apiany.ai/api/free/image-replace" \
  -H "Authorization: Bearer $API_KEY" \
  -F "original=@original.png" \
  -F "replacement=@replacement.png" \
  -F "mask=@mask.png"

Playground

リクエストはブラウザからこのサイトへ、あなたのAPIキーを使って送信されます。

Original image *
Replacement image *
Mask image *
APIキーと必須項目を入力すると実行できます。POST /api/free/image-replace