Free API
API key protected, free to use
Image Region Replace
Replace masked regions of one image with content from another image.
Endpoint
POST /api/free/image-replaceFree tier: 5 RPM. Paid users: 500 RPM. Limits are shared across Free API endpoints.
Usage notes
- White or bright mask pixels are replaced by the replacement image.
- Returns JSON with a base64 PNG result.
API example
curl -X POST "https://apiany.ai/api/free/image-replace" \ -H "Authorization: Bearer $API_KEY" \ -F "original=@original.png" \ -F "replacement=@replacement.png" \ -F "mask=@mask.png"
Playground
Calls are sent from your browser to this site using your API key.
Original image *
Replacement image *
Mask image *
Add an API key and required inputs to enable the request.POST /api/free/image-replace