AI & Moderation API
Base path /v1/images (AI slice). All requests require Authorization and X-SialFlow-Project-ID.
Shipped today: async background remove on images. Auto-tag / enrich / moderate endpoints are roadmap — not listed as live.
| Method | Path | Description |
|---|---|---|
| POST | /{id}/bg-remove | Async background remove |
| GET | /jobs/{id} | Poll ImageJob (kind=bg_remove) |
Example
curl -X POST https://api.sialflow.com/v1/images/$IMAGE_ID/bg-remove \
-H "Authorization: Bearer $SIALFLOW_API_KEY" \
-H "X-SialFlow-Project-ID: $SIALFLOW_PROJECT_ID" \
-H "Content-Type: application/json" \
-d '{"format":"png"}'