Skip to content

#AIBrush

Submit a black and white mask on the original image, and the white painted areas are redrawn by AI.

http
POST /v1/images/brush
ParametersTypeRequiredDescription
imagestringYesOriginal image URL or base64
maskstringYesWhite mask on black, URL or base64
webhook_urlstringNoCompletion callback address

The mask size must be exactly the same as the original image and contain at least one clearly visible white area.

bash
curl -X POST https://api.modelgo.moneygo.ai/v1/images/brush \
  -H "Authorization: Bearer sk-your-key" \
  -H "Idempotency-Key: brush-order-1001" \
  -H "Content-Type: application/json" \
  -d '{"image":"https://example.com/photo.jpg","mask":"https://example.com/mask.png"}'
Copyright © 2026 ModelGo all rights reserved | Technology powered by MoneyGo.ai