#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| Parameters | Type | Required | Description |
|---|---|---|---|
image | string | Yes | Original image URL or base64 |
mask | string | Yes | White mask on black, URL or base64 |
webhook_url | string | No | Completion 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"}'